end0tknr's kipple - 新web写経開発

http://d.hatena.ne.jp/end0tknr/ から移転しました

tomcatでshibboleth idp 2.4.3を起動したら...

起動はしますが、激しくstack trace。
shibbolethのlogging.xmlの影響? それとも、logback.groovy ...? それとも、java ee ?
気が向いたら、まじめに調べます

Mar 02, 2015 7:44:21 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 02, 2015 7:44:21 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 844 ms
Mar 02, 2015 7:44:21 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 02, 2015 7:44:21 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.43
Mar 02, 2015 7:44:21 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Mar 02, 2015 7:44:21 PM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [j2ee_web_services_1_1.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Mar 02, 2015 7:44:21 PM org.apache.tomcat.util.descriptor.DigesterFactory locationFor
WARNING: The XML schema [javaee_web_services_1_2.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled.
Mar 02, 2015 7:44:22 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Mar 02, 2015 7:44:22 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive idp.war
19:44:22,794 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
19:44:22,794 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
19:44:22,795 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/endo/local/apache-tomcat-6.0.43/endorsed/shibboleth-identityprovider-2.4.3.jar!/logback.xml]
19:44:22,796 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@370875ae - URL [jar:file:/home/endo/local/apache-tomcat-6.0.43/endorsed/shibboleth-identityprovider-2.4.3.jar!/logback.xml] is not of type file
19:44:22,814 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
19:44:22,817 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@3:16 - RuntimeException in Action for tag [configuration] java.lang.NullPointerException
        at java.lang.NullPointerException
        at      at ch.qos.logback.classic.util.EnvUtil.isGroovyAvailable(EnvUtil.java:25)
        at      at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:59)
        at      at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130)
        at      at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
        at      at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
        at      at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
        at      at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
        at      at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
        at      at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
        at      at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
        at      at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
        at      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
        at      at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156)
        at      at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
        at      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:274)
        at      at org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)
        at      at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)
        at      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
        at      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
        at      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
        at      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
        at      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
        at      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
        at      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
        at      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
        at      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
        at      at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
        at      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
        at      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at      at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
        at      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at      at java.lang.reflect.Method.invoke(Method.java:606)
        at      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
19:44:22,818 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@3172cef6 - Registering current configuration as safe fallback point

19:44:22,794 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
19:44:22,794 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
19:44:22,795 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/endo/local/apache-tomcat-6.0.43/endorsed/shibboleth-identityprovider-2.4.3.jar!/logback.xml]
19:44:22,796 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@370875ae - URL [jar:file:/home/endo/local/apache-tomcat-6.0.43/endorsed/shibboleth-identityprovider-2.4.3.jar!/logback.xml] is not of type file
19:44:22,814 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
19:44:22,817 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@3:16 - RuntimeException in Action for tag [configuration] java.lang.NullPointerException
        at java.lang.NullPointerException
        at      at ch.qos.logback.classic.util.EnvUtil.isGroovyAvailable(EnvUtil.java:25)
        at      at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:59)
        at      at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130)
        at      at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
        at      at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
        at      at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
        at      at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
        at      at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
        at      at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
        at      at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
        at      at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
        at      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
        at      at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156)
        at      at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
        at      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:274)
        at      at org.springframework.web.context.ContextLoader.<clinit>(ContextLoader.java:146)
        at      at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:53)
        at      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:44)
        at      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
        at      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
        at      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
        at      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
        at      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
        at      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
        at      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
        at      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
        at      at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
        at      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
        at      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at      at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
        at      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at      at java.lang.reflect.Method.invoke(Method.java:606)
        at      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
19:44:22,818 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@3172cef6 - Registering current configuration as safe fallback point
19:44:22,836 |-WARN in Logger[org.springframework.web.context.ContextLoader] - No appenders present in context [default] for logger [org.springframework.web.context.ContextLoader].
19:44:23,271 |-INFO in edu.internet2.middleware.shibboleth.common.log.LogbackConfigurationChangeListener@20b13914 - Loading logging configuration file: /home/endo/local/shibboleth-idp/conf/logging.xml
19:44:23,273 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
19:44:23,273 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@2:16 - RuntimeException in Action for tag [configuration] java.lang.NullPointerException
        at java.lang.NullPointerException
        at      at ch.qos.logback.classic.util.EnvUtil.isGroovyAvailable(EnvUtil.java:25)
        at      at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:59)
        at      at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130)
        at      at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
        at      at edu.internet2.middleware.shibboleth.common.log.LogbackConfigurationChangeListener.configureLogback(LogbackConfigurationChangeListener.java:65)
        at      at edu.internet2.middleware.shibboleth.common.log.LogbackConfigurationChangeListener.onResourceCreate(LogbackConfigurationChangeListener.java:38)
        at      at edu.internet2.middleware.shibboleth.common.log.LogbackLoggingService.<init>(LogbackLoggingService.java:51)
        at      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        at      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
        at      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
        at      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
        at      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at      at java.security.AccessController.doPrivileged(Native Method)
        at      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
        at      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
        at      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
        at      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
        at      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
        at      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
        at      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
        at      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
        at      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
        at      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
        at      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
        at      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
        at      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
        at      at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
        at      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
        at      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at      at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at      at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
        at      at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at      at java.lang.reflect.Method.invoke(Method.java:606)
        at      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
19:44:23,274 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@531a60d0 - Registering current configuration as safe fallback point
Mar 02, 2015 7:45:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Mar 02, 2015 7:45:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Mar 02, 2015 7:45:30 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Mar 02, 2015 7:45:30 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 02, 2015 7:45:30 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /127.0.0.1:8009
Mar 02, 2015 7:45:30 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/26  config=null
Mar 02, 2015 7:45:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 68385 ms