<div dir="ltr"><div><span style="font-size:12.8000001907349px">Yes Rod!. now tomcat is able to locate "</span><b style="font-size:12.8px;color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif">idp.properties</b><span style="font-size:12.8000001907349px">". But now we end up with below cast error </span><br></div><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px;color:rgb(255,0,0)">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</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.</span><span style="font-size:12.8000001907349px">context.ContextLoaderListener</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.BeanCreationException:</span><span style="font-size:12.8000001907349px;color:rgb(255,0,0)"> 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</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.initializeBean(</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.java:1566)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.doCreateBean(</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.java:539)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.createBean(</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.java:476)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractBeanFactory$1.</span><span style="font-size:12.8000001907349px">getObject(AbstractBeanFactory.</span><span style="font-size:12.8000001907349px">java:303)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">DefaultSingletonBeanRegistry.</span><span style="font-size:12.8000001907349px">getSingleton(</span><span style="font-size:12.8000001907349px">DefaultSingletonBeanRegistry.</span><span style="font-size:12.8000001907349px">java:230)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.doGetBean(</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.java:299)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.getBean(</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.java:194)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.doGetBean(</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.java:293)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.getBean(</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.java:194)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.doGetBean(</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.java:293)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.getBean(</span><span style="font-size:12.8000001907349px">AbstractBeanFactory.java:194)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">DefaultListableBeanFactory.</span><span style="font-size:12.8000001907349px">preInstantiateSingletons(</span><span style="font-size:12.8000001907349px">DefaultListableBeanFactory.</span><span style="font-size:12.8000001907349px">java:755)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.context.</span><span style="font-size:12.8000001907349px">support.</span><span style="font-size:12.8000001907349px">AbstractApplicationContext.</span><span style="font-size:12.8000001907349px">finishBeanFactoryInitializatio</span><span style="font-size:12.8000001907349px">n(AbstractApplicationContext.</span><span style="font-size:12.8000001907349px">java:757)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.context.</span><span style="font-size:12.8000001907349px">support.</span><span style="font-size:12.8000001907349px">AbstractApplicationContext.</span><span style="font-size:12.8000001907349px">refresh(</span><span style="font-size:12.8000001907349px">AbstractApplicationContext.</span><span style="font-size:12.8000001907349px">java:480)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.web.</span><span style="font-size:12.8000001907349px">context.ContextLoader.</span><span style="font-size:12.8000001907349px">configureAndRefreshWebApplicat</span><span style="font-size:12.8000001907349px">ionContext(ContextLoader.java:</span><span style="font-size:12.8000001907349px">403)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.web.</span><span style="font-size:12.8000001907349px">context.ContextLoader.</span><span style="font-size:12.8000001907349px">initWebApplicationContext(</span><span style="font-size:12.8000001907349px">ContextLoader.java:306)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.web.</span><span style="font-size:12.8000001907349px">context.ContextLoaderListener.</span><span style="font-size:12.8000001907349px">contextInitialized(</span><span style="font-size:12.8000001907349px">ContextLoaderListener.java:</span><span style="font-size:12.8000001907349px">106)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.core.</span><span style="font-size:12.8000001907349px">StandardContext.listenerStart(</span><span style="font-size:12.8000001907349px">StandardContext.java:5016)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.core.</span><span style="font-size:12.8000001907349px">StandardContext.startInternal(</span><span style="font-size:12.8000001907349px">StandardContext.java:5528)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.util.</span><span style="font-size:12.8000001907349px">LifecycleBase.start(</span><span style="font-size:12.8000001907349px">LifecycleBase.java:150)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.core.</span><span style="font-size:12.8000001907349px">ContainerBase.</span><span style="font-size:12.8000001907349px">addChildInternal(</span><span style="font-size:12.8000001907349px">ContainerBase.java:901)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.core.</span><span style="font-size:12.8000001907349px">ContainerBase.addChild(</span><span style="font-size:12.8000001907349px">ContainerBase.java:877)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.core.</span><span style="font-size:12.8000001907349px">StandardHost.addChild(</span><span style="font-size:12.8000001907349px">StandardHost.java:652)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.startup.</span><span style="font-size:12.8000001907349px">HostConfig.deployDescriptor(</span><span style="font-size:12.8000001907349px">HostConfig.java:672)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.catalina.startup.</span><span style="font-size:12.8000001907349px">HostConfig$DeployDescriptor.</span><span style="font-size:12.8000001907349px">run(HostConfig.java:1882)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at java.util.concurrent.</span><span style="font-size:12.8000001907349px">Executors$RunnableAdapter.</span><span style="font-size:12.8000001907349px">call(Executors.java:471)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at java.util.concurrent.</span><span style="font-size:12.8000001907349px">FutureTask.run(FutureTask.</span><span style="font-size:12.8000001907349px">java:262)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at java.util.concurrent.</span><span style="font-size:12.8000001907349px">ThreadPoolExecutor.runWorker(</span><span style="font-size:12.8000001907349px">ThreadPoolExecutor.java:1145)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at java.util.concurrent.</span><span style="font-size:12.8000001907349px">ThreadPoolExecutor$Worker.run(</span><span style="font-size:12.8000001907349px">ThreadPoolExecutor.java:615)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at java.lang.Thread.run(Thread.</span><span style="font-size:12.8000001907349px">java:724)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Caused by: java.lang.</span><span style="font-size:12.8000001907349px">IllegalArgumentException: com.sun.org.apache.xerces.</span><span style="font-size:12.8000001907349px">internal.util.SecurityManager cannot be cast to org.apache.xerces.util.</span><span style="font-size:12.8000001907349px">SecurityManager</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.apache.xerces.jaxp.</span><span style="font-size:12.8000001907349px">DocumentBuilderFactoryImpl.</span><span style="font-size:12.8000001907349px">setAttribute(Unknown Source)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at net.shibboleth.utilities.java.</span><span style="font-size:12.8000001907349px">support.xml.BasicParserPool.</span><span style="font-size:12.8000001907349px">doInitialize(BasicParserPool.</span><span style="font-size:12.8000001907349px">java:570)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at net.shibboleth.utilities.java.</span><span style="font-size:12.8000001907349px">support.component.</span><span style="font-size:12.8000001907349px">AbstractInitializableComponent</span><span style="font-size:12.8000001907349px">.initialize(</span><span style="font-size:12.8000001907349px">AbstractInitializableComponent</span><span style="font-size:12.8000001907349px">.java:61)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at sun.reflect.</span><span style="font-size:12.8000001907349px">NativeMethodAccessorImpl.</span><span style="font-size:12.8000001907349px">invoke0(Native Method)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at sun.reflect.</span><span style="font-size:12.8000001907349px">NativeMethodAccessorImpl.</span><span style="font-size:12.8000001907349px">invoke(</span><span style="font-size:12.8000001907349px">NativeMethodAccessorImpl.java:</span><span style="font-size:12.8000001907349px">57)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at sun.reflect.</span><span style="font-size:12.8000001907349px">DelegatingMethodAccessorImpl.</span><span style="font-size:12.8000001907349px">invoke(</span><span style="font-size:12.8000001907349px">DelegatingMethodAccessorImpl.</span><span style="font-size:12.8000001907349px">java:43)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at java.lang.reflect.Method.</span><span style="font-size:12.8000001907349px">invoke(Method.java:606)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.invokeCustomInitMethod(</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.java:1694)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.invokeInitMethods(</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.java:1633)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> at org.springframework.beans.</span><span style="font-size:12.8000001907349px">factory.support.</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.initializeBean(</span><span style="font-size:12.8000001907349px">AbstractAutowireCapableBeanFac</span><span style="font-size:12.8000001907349px">tory.java:1562)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> ... 29 more</span><br style="font-size:12.8000001907349px"><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Jun 06, 2015 3:13:22 PM org.apache.catalina.core.</span><span style="font-size:12.8000001907349px">StandardContext startInternal</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">SEVERE: Error listenerStart</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Jun 06, 2015 3:13:22 PM org.apache.catalina.core.</span><span style="font-size:12.8000001907349px">StandardContext startInternal</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px;color:rgb(255,0,0)">SEVERE: Context [/idp] startup failed due to previous errors</span><br><div><span style="font-size:12.8000001907349px;color:rgb(255,0,0)"><br></span></div><div><span style="font-size:12.8000001907349px"><font color="#000000">Thank you for patience.</font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 5, 2015 at 8:58 PM, Rod Widdowson <span dir="ltr"><<a href="mailto:rdw@steadingsoftware.com" target="_blank">rdw@steadingsoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If the V2 IdP is not installed at /opt/shibboleth-idp you need to tell your container about it.<br>
<a href="https://wiki.shibboleth.net/confluence/display/IDP30/Jetty9" target="_blank">https://wiki.shibboleth.net/confluence/display/IDP30/Jetty9</a> and<br>
<a href="https://wiki.shibboleth.net/confluence/display/IDP30/ApacheTomcat8" target="_blank">https://wiki.shibboleth.net/confluence/display/IDP30/ApacheTomcat8</a><br>
<br>
Have instructions (but beware that if you are using Tomcat 8 and the path has a space then this will not work see <a href="https://issues.shibboleth.net/jira/browse/IDP-722" target="_blank">https://issues.shibboleth.net/jira/browse/IDP-722</a>)<br>
<span class="HOEnZb"><font color="#888888"><br>
/Rod<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br></div>