[Seasar-user:12677] [SAStruts]COOLdeployでtomcat起動時にエラー

二戸源康 [E-MAIL ADDRESS DELETED]
2008年 1月 29日 (火) 20:57:43 JST


はじめまして二戸です。

SAStrutsでCOOL deployで起動すると以下のエラーが発生します。
HOT deployの場合は起きません。env.txtにはproductと記述しております。

環境
・jdk1.6.0_03
・apache-tomcat-6.0.14

・s2-extension-2.4.22.jar
・s2-framework-2.4.22.jar
・s2-tiger-2.4.22.jar
・sa-struts-1.0.0.jar


情報: Starting Servlet Engine: Apache Tomcat/6.0.14
INFO  2008-01-29 20:50:32,937 [main] Loading validation rules file
from '/WEB-INF/validator-rules.xml'
DEBUG 2008-01-29 20:50:33,125 [main] 環境変数#Envにファイル(env.txt)から値(product)が設定されました
DEBUG 2008-01-29 20:50:33,187 [main] S2Containerを作成します。path=cooldeploy.dicon
DEBUG 2008-01-29 20:50:33,265 [main] S2Containerを作成しました。path=cooldeploy.dicon
DEBUG 2008-01-29 20:50:33,281 [main] S2Containerを作成します。path=app.dicon
DEBUG 2008-01-29 20:50:33,281 [main] S2Containerを作成します。path=convention.dicon
DEBUG 2008-01-29 20:50:33,312 [main] S2Containerを作成しました。path=convention.dicon
DEBUG 2008-01-29 20:50:33,312 [main] S2Containerを作成します。path=aop.dicon
DEBUG 2008-01-29 20:50:33,359 [main] S2Containerを作成しました。path=aop.dicon
DEBUG 2008-01-29 20:50:33,359 [main] S2Containerを作成します。path=j2ee.dicon
DEBUG 2008-01-29 20:50:33,359 [main] S2Containerを作成します。path=jta.dicon
DEBUG 2008-01-29 20:50:33,375 [main] S2Containerを作成しました。path=jta.dicon
DEBUG 2008-01-29 20:50:33,375 [main] S2Containerを作成します。path=jdbc.dicon
DEBUG 2008-01-29 20:50:33,406 [main] S2Containerを作成しました。path=jdbc.dicon
DEBUG 2008-01-29 20:50:33,406 [main] S2Containerを作成しました。path=j2ee.dicon
DEBUG 2008-01-29 20:50:33,406 [main] S2Containerを作成します。path=s2jdbc.dicon
DEBUG 2008-01-29 20:50:33,421 [main]
S2Containerを作成します。path=s2jdbc-internal.dicon
DEBUG 2008-01-29 20:50:33,437 [main]
S2Containerを作成しました。path=s2jdbc-internal.dicon
DEBUG 2008-01-29 20:50:33,453 [main] S2Containerを作成しました。path=s2jdbc.dicon
DEBUG 2008-01-29 20:50:33,468 [main] S2Containerを作成しました。path=app.dicon
DEBUG 2008-01-29 20:50:33,468 [main]
S2Containerを作成します。path=cooldeploy-autoregister.dicon
DEBUG 2008-01-29 20:50:33,468 [main] S2Containerを作成します。path=customizer.dicon
DEBUG 2008-01-29 20:50:33,468 [main]
S2Containerを作成します。path=default-customizer.dicon
DEBUG 2008-01-29 20:50:33,468 [main] S2Containerを作成します。path=std-customizer.dicon
DEBUG 2008-01-29 20:50:33,484 [main]
S2Containerを作成します。path=std-customizer-tiger.dicon
DEBUG 2008-01-29 20:50:33,484 [main]
S2Containerを作成しました。path=std-customizer-tiger.dicon
DEBUG 2008-01-29 20:50:33,531 [main]
S2Containerを作成しました。path=std-customizer.dicon
DEBUG 2008-01-29 20:50:33,546 [main]
S2Containerを作成しました。path=default-customizer.dicon
DEBUG 2008-01-29 20:50:33,562 [main] S2Containerを作成しました。path=customizer.dicon
DEBUG 2008-01-29 20:50:33,562 [main] S2Containerを作成します。path=creator.dicon
DEBUG 2008-01-29 20:50:33,562 [main] S2Containerを作成しました。path=creator.dicon
DEBUG 2008-01-29 20:50:33,578 [main]
S2Containerを作成しました。path=cooldeploy-autoregister.dicon
2008/01/29 20:50:33 org.apache.catalina.core.ApplicationContext log
致命的: StandardWrapper.Throwable
java.lang.NullPointerException
	at org.seasar.struts.util.URLEncoderUtil.encode(URLEncoderUtil.java:39)
	at org.seasar.struts.config.S2ExecuteConfig.<init>(S2ExecuteConfig.java:109)
	at org.seasar.struts.customizer.ActionCustomizer.setupMethod(ActionCustomizer.java:136)
	at org.seasar.struts.customizer.ActionCustomizer.createActionMapping(ActionCustomizer.java:90)
	at org.seasar.struts.customizer.ActionCustomizer.customize(ActionCustomizer.java:66)
	at org.seasar.framework.container.customizer.CustomizerChain.doCustomize(CustomizerChain.java:140)
	at org.seasar.framework.container.customizer.AbstractCustomizer.customize(AbstractCustomizer.java:145)
	at org.seasar.framework.container.creator.ComponentCreatorImpl.customize(ComponentCreatorImpl.java:309)
	at org.seasar.framework.container.creator.ComponentCreatorImpl.createComponentDef(ComponentCreatorImpl.java:269)
	at org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister.createComponentDef(CoolComponentAutoRegister.java:253)
	at org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister.processClass(CoolComponentAutoRegister.java:232)
	at org.seasar.framework.util.ClassTraversal.traverseFileSystem(ClassTraversal.java:121)
	at org.seasar.framework.util.ClassTraversal.traverseFileSystem(ClassTraversal.java:115)
	at org.seasar.framework.util.ClassTraversal.traverseFileSystem(ClassTraversal.java:115)
	at org.seasar.framework.util.ClassTraversal.forEach(ClassTraversal.java:73)
	at org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister$FileSystemStrategy.registerAll(CoolComponentAutoRegister.java:286)
	at org.seasar.framework.container.cooldeploy.CoolComponentAutoRegister.registerAll(CoolComponentAutoRegister.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:93)
	at org.seasar.framework.container.assembler.AbstractMethodAssembler.invoke(AbstractMethodAssembler.java:94)
	at org.seasar.framework.container.assembler.DefaultInitMethodAssembler.assemble(DefaultInitMethodAssembler.java:49)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:69)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:48)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.init(SingletonComponentDeployer.java:76)
	at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:236)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:563)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
	at org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:150)
	at org.seasar.framework.container.servlet.SingletonS2ContainerInitializer.initialize(SingletonS2ContainerInitializer.java:55)
	at org.seasar.framework.container.servlet.S2ContainerServlet.initializeContainer(S2ContainerServlet.java:139)
	at org.seasar.framework.container.servlet.S2ContainerServlet.init(S2ContainerServlet.java:127)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


Seasar-user メーリングリストの案内