IdPv3 Upgrade error -unable to find /conf/idp.properties

Surinaidu Majji pioneer.suri at gmail.com
Sat Jun 6 07:30:15 EDT 2015


Yes Rod!. now tomcat is able to locate "*idp.properties*". But now we end
up with below cast error

Error creating bean with name 'shibboleth.ParserPool' defined in file
[D:\IdPv2.4.0-ws\system\conf\global-system.xml]: Invocation of init method
failed; nested exception is java.lang.IllegalArgumentException:
com.sun.org.apache.xerces.internal.util.SecurityManager cannot be cast to
org.apache.xerces.util.SecurityManager

SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.ParserPool' defined in file
[D:\IdPv2.4.0-ws\system\conf\global-system.xml]: Invocation of init method
failed; nested exception is java.lang.IllegalArgumentException:
com.sun.org.apache.xerces.internal.util.SecurityManager cannot be cast to
org.apache.xerces.util.SecurityManager
       at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.initializeBean(
AbstractAutowireCapableBeanFactory.java:1566)
       at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.doCreateBean(
AbstractAutowireCapableBeanFactory.java:539)
       at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFac
tory.java:476)
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.
getObject(AbstractBeanFactory.java:303)
       at org.springframework.beans.factory.support.
DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.
java:230)
       at org.springframework.beans.factory.support.
AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
       at org.springframework.beans.factory.support.
AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
       at org.springframework.beans.factory.support.
AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
       at org.springframework.beans.factory.support.
AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
       at org.springframework.beans.factory.support.
AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
       at org.springframework.beans.factory.support.
AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
       at org.springframework.beans.factory.support.
DefaultListableBeanFactory.preInstantiateSingletons(
DefaultListableBeanFactory.java:755)
       at org.springframework.context.support.AbstractApplicationContext.
finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
       at org.springframework.context.support.AbstractApplicationContext.
refresh(AbstractApplicationContext.java:480)
       at org.springframework.web.context.ContextLoader.
configureAndRefreshWebApplicationContext(ContextLoader.java:403)
       at org.springframework.web.context.ContextLoader.
initWebApplicationContext(ContextLoader.java:306)
       at org.springframework.web.context.ContextLoaderListener.
contextInitialized(ContextLoaderListener.java:106)
       at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:5016)
       at org.apache.catalina.core.StandardContext.startInternal(
StandardContext.java:5528)
       at org.apache.catalina.util.LifecycleBase.start(
LifecycleBase.java:150)
       at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:901)
       at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:877)
       at org.apache.catalina.core.StandardHost.addChild(
StandardHost.java:652)
       at org.apache.catalina.startup.HostConfig.deployDescriptor(
HostConfig.java:672)
       at org.apache.catalina.startup.HostConfig$DeployDescriptor.
run(HostConfig.java:1882)
       at java.util.concurrent.Executors$RunnableAdapter.
call(Executors.java:471)
       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
       at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalArgumentException:
com.sun.org.apache.xerces.internal.util.SecurityManager
cannot be cast to org.apache.xerces.util.SecurityManager
       at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.setAttribute(Unknown
Source)
       at net.shibboleth.utilities.java.support.xml.BasicParserPool.
doInitialize(BasicParserPool.java:570)
       at net.shibboleth.utilities.java.support.component.
AbstractInitializableComponent.initialize(AbstractInitializableComponent
.java:61)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:606)
       at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(
AbstractAutowireCapableBeanFactory.java:1694)
       at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.invokeInitMethods(
AbstractAutowireCapableBeanFactory.java:1633)
       at org.springframework.beans.factory.support.
AbstractAutowireCapableBeanFactory.initializeBean(
AbstractAutowireCapableBeanFactory.java:1562)
       ... 29 more

Jun 06, 2015 3:13:22 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
Jun 06, 2015 3:13:22 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Context [/idp] startup failed due to previous errors

Thank you for patience.

On Fri, Jun 5, 2015 at 8:58 PM, Rod Widdowson <rdw at steadingsoftware.com>
wrote:

> If the V2 IdP is not installed at /opt/shibboleth-idp you need to tell
> your container about it.
> https://wiki.shibboleth.net/confluence/display/IDP30/Jetty9 and
> https://wiki.shibboleth.net/confluence/display/IDP30/ApacheTomcat8
>
> Have instructions (but beware that if you are using Tomcat 8 and the path
> has a space then this will not work see
> https://issues.shibboleth.net/jira/browse/IDP-722)
>
> /Rod
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150606/34a12e09/attachment-0001.html>


More information about the users mailing list