[Seasar-user:20435] Re: ESSR0046コンポーネントが見つかりません について

[E-MAIL ADDRESS DELETED] [E-MAIL ADDRESS DELETED]
2010年 12月 15日 (水) 17:45:27 JST


お世話になっております。栗原です。


  ご指摘のスタックトレースを送信します。--> NO1

 また、Tomcat起動時のみ、このサンプルアプリの配備でエラーが出ることに気づ
きました。
コンテキスト定義の更新を行っての再配備ではエラーが出ないため見落としていま
した。
蛇足かもしれませんが、念のためTomcat起動時に出力されるエラーを NO2 に添
付します。

どうぞ宜しくお願い致します。

NO1------------------------------------------------------------------
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.seasar.framework.beans.IllegalPropertyRuntimeException: 
[ESSR0059]クラス(org.seasar.extension.jdbc.manager.JdbcManagerImpl)のプロ
パティ(dialect)の設定に失敗しました。理由は
org.seasar.framework.container.ComponentNotFoundRuntimeException: 
[ESSR0046]コンポーネント(db2Dialect)が見つかりません
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.getValue(AbstractBindingTypeDef.java:273)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.bindManual(AbstractBindingTypeDef.java:126)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.bind(AbstractBindingTypeDef.java:74)
        at 
org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:50)
        at 
org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:41)
        at 
org.seasar.framework.container.assembler.AutoPropertyAssembler.assemble(AutoPropertyAssembler.java:56)
        at 
org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:68)
        at 
org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:48)
        at 
org.seasar.framework.container.impl.ComponentDefImpl.getComponent(ComponentDefImpl.java:111)
        at 
org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:129)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.getValue(AbstractBindingTypeDef.java:295)
        ... 56 more
Caused by: 
org.seasar.framework.container.ComponentNotFoundRuntimeException: 
[ESSR0046]コンポーネント(db2Dialect)が見つかりません
        at 
org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponentDef(S2ContainerBehavior.java:165)
        at 
org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponent(S2ContainerBehavior.java:158)
        at 
org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromGetComponent(S2ContainerBehavior.java:62)
        at 
org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:124)
        at 
org.seasar.framework.container.impl.ComponentNameExpression.evaluate(ComponentNameExpression.java:55)
        at 
org.seasar.framework.container.impl.ArgDefImpl.getValue(ArgDefImpl.java:60)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.getValue(AbstractBindingTypeDef.java:271)
        ... 66 more
DEBUG 2010-12-15 17:29:20,343 [http-8080-1] 

** after *****************************************: /dlabtbg.do
  Response class=org.apache.catalina.connector.ResponseFacade, 
instance=[E-MAIL ADDRESS DELETED]
 
[request]dlabtbgAction=sample.kaikei.action.DlabtbgAction$$EnhancedByS2AOP$$[E-MAIL ADDRESS DELETED]
 
[request]dlabtbgActionForm=[E-MAIL ADDRESS DELETED]
  [request]dlabtbgForm=[E-MAIL ADDRESS DELETED]
  [request]javax.servlet.forward.context_path=/sample2
  [request]javax.servlet.forward.request_uri=/sample2/dlabtbg/
  [request]javax.servlet.forward.servlet_path=/dlabtbg/
 
[request]org.apache.struts.action.MESSAGE=[E-MAIL ADDRESS DELETED]
 
[request]org.apache.struts.action.MODULE=[E-MAIL ADDRESS DELETED]
 
[request]org.apache.struts.action.mapping.instance=ActionConfig[path=/dlabtbg,name=dlabtbgActionForm,scope=request,validate=false,cancellable=false
 
[request]org.seasar.framework.container.hotdeploy.HotdeployFilter=[E-MAIL ADDRESS DELETED]
 
[request]org.seasar.struts.util.S2ExecuteConfigUtil=[E-MAIL ADDRESS DELETED]
  [session]org.apache.struts.action.LOCALE=ja
 
[context]javax.servlet.context.tempdir=C:\workspace_1209_study\sample2\work
 
[context]org.apache.AnnotationProcessor=[E-MAIL ADDRESS DELETED]
  [context]org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@18ef90d
 
[context]org.apache.catalina.jsp_classpath=/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/classes/;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/antlr-2.7.7.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/aopalliance-1.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-beanutils-1.7.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-collections-3.1.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-digester-1.6.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-el-1.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-fileupload-1.2.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-io-1.3.2.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-logging-1.1.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/commons-validator-1.2.0.jar;/C:/workspace_1209_study/sample2/s!
 rc/main/webapp/WEB-INF/lib/geronimo-annotation_1.0_spec-1.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/geronimo-ejb_3.0_spec-1.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/geronimo-interceptor_3.0_spec-1.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/geronimo-jpa_3.0_spec-1.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/geronimo-jta_1.1_spec-1.0.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/h2-1.0.69.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/jakarta-oro-2.0.8.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/jakarta-taglibs-standard-1.1.2.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/javassist-3.4.ga.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/jstl-1.1.2.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/log4j-1.2.13.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/o!
 gnl-2.6.9-patch-20090427.jar;/C:/workspace_1209_study/sample2/src/main
/webapp/WEB-INF/lib/poi-3.0-FINAL.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/s2-extension-2.4.43.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/s2-framework-2.4.43.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/s2-tiger-2.4.43.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/sa-struts-1.0.4-sp8.jar;/C:/workspace_1209_study/sample2/src/main/webapp/WEB-INF/lib/struts-1.2.9.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/annotations-api.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/catalina-ant.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/catalina-ha.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/catalina-tribes.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/catalina.jar;/C:/Program%20Files/Apache%20Software%20Fo!
 undation/Tomcat%206.0/lib/el-api.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/jasper-el.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/jasper-jdt.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/jasper.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/jsp-api.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/servlet-api.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/tomcat-coyote.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/tomcat-dbcp.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/tomcat-i18n-es.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/tomcat-i18n-fr.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/lib/tomcat-i18n-ja.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/bin/bootstrap.jar;/C:/Program%20Files/Java/jre1.!
 6.0_07/lib/ext/dnsns.jar;/C:/Program%20Files/Java/jre1.6.0_07/lib/ext/

localedata.jar;/C:/Program%20Files/Java/jre1.6.0_07/lib/ext/sunjce_provider.jar;/C:/Program%20Files/Java/jre1.6.0_07/lib/ext/sunmscapi.jar;/C:/Program%20Files/Java/jre1.6.0_07/lib/ext/sunpkcs11.jar
 
[context]org.apache.catalina.resources=[E-MAIL ADDRESS DELETED]
 
[context]org.apache.commons.validator.VALIDATOR_RESOURCES=[E-MAIL ADDRESS DELETED]
 
[context]org.apache.struts.action.ACTION_SERVLET=[E-MAIL ADDRESS DELETED]
 
[context]org.apache.struts.action.MESSAGE=[E-MAIL ADDRESS DELETED]
 
[context]org.apache.struts.action.MODULE=[E-MAIL ADDRESS DELETED]
 
[context]org.apache.struts.action.PLUG_INS=[Lorg.apache.struts.action.PlugIn;@9d8918
 
[context]org.apache.struts.action.REQUEST_PROCESSOR=[E-MAIL ADDRESS DELETED]
  [context]org.apache.struts.action.SERVLET_MAPPING=*.do
 
[context]org.apache.struts.globals.MODULE_PREFIXES=[Ljava.lang.String;@938d20
  [context]org.apache.struts.validator.STOP_ON_ERROR.=true

DEBUG 2010-12-15 17:29:20,390 [http-8080-1] HOT deployを終了しました


NO2------------------------------------------------------------------
情報: 設定記述子 sample2.xml を配備します
DEBUG 2010-12-15 17:27:55,453 [main] 
ContextRealPath=C:\workspace_1209_study\sample2\src\main\webapp\
  SERVER_SOFTWARE=Apache Tomcat/6.0.29, ServletContextName=null, 
MajorVersion=2, MinorVersion=5
INFO  2010-12-15 17:27:55,953 [main] Loading validation rules file from 
'/WEB-INF/validator-rules.xml'
INFO  2010-12-15 17:27:56,312 [main] s2-frameworkのバージョンは2.4.43です
。
INFO  2010-12-15 17:27:56,312 [main] s2-extensionのバージョンは2.4.43です
。
INFO  2010-12-15 17:27:56,312 [main] s2-tigerのバージョンは2.4.43です。
DEBUG 2010-12-15 17:27:56,609 [main] 環境変数#Envにファイル(env.txt)から値
(ct)が設定されました
DEBUG 2010-12-15 17:27:56,843 [main] S2Containerを作成します。
path=hotdeploy.dicon
DEBUG 2010-12-15 17:27:56,843 [main] S2Containerを作成します。
path=convention.dicon
DEBUG 2010-12-15 17:27:57,250 [main] S2Containerを作成しました。
path=convention.dicon
DEBUG 2010-12-15 17:27:57,250 [main] S2Containerを作成します。
path=customizer.dicon
DEBUG 2010-12-15 17:27:57,281 [main] S2Containerを作成します。
path=default-customizer.dicon
DEBUG 2010-12-15 17:27:57,281 [main] S2Containerを作成します。
path=std-customizer.dicon
DEBUG 2010-12-15 17:27:57,328 [main] S2Containerを作成します。
path=std-customizer-tiger.dicon
DEBUG 2010-12-15 17:27:57,453 [main] S2Containerを作成しました。
path=std-customizer-tiger.dicon
DEBUG 2010-12-15 17:27:57,500 [main] S2Containerを作成しました。
path=std-customizer.dicon
DEBUG 2010-12-15 17:27:57,515 [main] S2Containerを作成しました。
path=default-customizer.dicon
DEBUG 2010-12-15 17:27:57,562 [main] S2Containerを作成しました。
path=customizer.dicon
DEBUG 2010-12-15 17:27:57,562 [main] S2Containerを作成します。
path=creator.dicon
DEBUG 2010-12-15 17:27:57,656 [main] S2Containerを作成しました。
path=creator.dicon
DEBUG 2010-12-15 17:27:57,656 [main] S2Containerを作成しました。
path=hotdeploy.dicon
DEBUG 2010-12-15 17:27:57,781 [main] S2Containerを作成します。
path=app.dicon
DEBUG 2010-12-15 17:27:57,796 [main] S2Containerを作成します。
path=convention.dicon
DEBUG 2010-12-15 17:27:57,812 [main] S2Containerを作成しました。
path=convention.dicon
DEBUG 2010-12-15 17:27:57,812 [main] S2Containerを作成します。
path=aop.dicon
DEBUG 2010-12-15 17:27:58,125 [main] S2Containerを作成しました。
path=aop.dicon
DEBUG 2010-12-15 17:27:58,125 [main] S2Containerを作成します。
path=j2ee.dicon
DEBUG 2010-12-15 17:27:58,140 [main] S2Containerを作成します。
path=jta.dicon
DEBUG 2010-12-15 17:27:58,218 [main] S2Containerを作成しました。
path=jta.dicon
DEBUG 2010-12-15 17:27:58,218 [main] S2Containerを作成します。
path=jdbc.dicon
DEBUG 2010-12-15 17:27:58,296 [main] S2Containerを作成しました。
path=jdbc.dicon
DEBUG 2010-12-15 17:27:58,343 [main] S2Containerを作成しました。
path=j2ee.dicon
DEBUG 2010-12-15 17:27:58,343 [main] S2Containerを作成します。
path=s2jdbc.dicon
DEBUG 2010-12-15 17:27:58,375 [main] S2Containerを作成します。
path=s2jdbc-internal.dicon
DEBUG 2010-12-15 17:27:58,421 [main] S2Containerを作成しました。
path=s2jdbc-internal.dicon
DEBUG 2010-12-15 17:27:58,562 [main] S2Containerを作成しました。
path=s2jdbc.dicon
DEBUG 2010-12-15 17:27:58,578 [main] S2Containerを作成しました。
path=app.dicon
2010/12/15 17:27:58 org.apache.catalina.core.ApplicationContext log
致命的: StandardWrapper.Throwable
org.seasar.framework.beans.IllegalPropertyRuntimeException: [ESSR0059]クラ
ス(org.seasar.extension.dbcp.impl.XADataSourceImpl)のプロパティ
(driverClassName)の設定に失敗しました。理由は
org.seasar.framework.exception.SIllegalArgumentException: [ESSR0098]クラス
(org.seasar.extension.dbcp.impl.XADataSourceImpl)[WebappClassLoader
  context: /sample2
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[E-MAIL ADDRESS DELETED]
]の型(java.lang.String)[null]のプロパティ(driverClassName)に、型
(java.lang.String)[null]の値(com.ibm.db2.jcc.DB2Driver)を設定できませんで
した。対象のクラスは
(org.seasar.extension.dbcp.impl.XADataSourceImpl)[WebappClassLoader
  context: /sample2
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[E-MAIL ADDRESS DELETED]
]です。
        at 
org.seasar.framework.beans.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:279)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.setValue(AbstractBindingTypeDef.java:321)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.bindManual(AbstractBindingTypeDef.java:127)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.bind(AbstractBindingTypeDef.java:74)
        at 
org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:50)
        at 
org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:41)
        at 
org.seasar.framework.container.assembler.AutoPropertyAssembler.assemble(AutoPropertyAssembler.java:56)
        at 
org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:68)
        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.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
        at 
org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:167)
        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:1173)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4659)
        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:546)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.seasar.framework.exception.SIllegalArgumentException: 
[ESSR0098]クラス
(org.seasar.extension.dbcp.impl.XADataSourceImpl)[WebappClassLoader
  context: /sample2
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[E-MAIL ADDRESS DELETED]
]の型(java.lang.String)[null]のプロパティ(driverClassName)に、型
(java.lang.String)[null]の値(com.ibm.db2.jcc.DB2Driver)を設定できませんで
した。対象のクラスは
(org.seasar.extension.dbcp.impl.XADataSourceImpl)[WebappClassLoader
  context: /sample2
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[E-MAIL ADDRESS DELETED]
]です。
        at 
org.seasar.framework.beans.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:258)
        ... 44 more
Caused by: org.seasar.framework.exception.ClassNotFoundRuntimeException: 
[ESSR0044]クラスが見つかりませんでした。詳細は
java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
        at org.seasar.framework.util.ClassUtil.forName(ClassUtil.java:100)
        at 
org.seasar.framework.util.DriverManagerUtil.registerDriver(DriverManagerUtil.java:41)
        at 
org.seasar.extension.dbcp.impl.XADataSourceImpl.setDriverClassName(XADataSourceImpl.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:96)
        at 
org.seasar.framework.beans.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:251)
        ... 44 more
Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.seasar.framework.util.ClassUtil.forName(ClassUtil.java:98)
        ... 52 more
2010/12/15 17:27:58 org.apache.catalina.core.StandardContext loadOnStartup
致命的: サーブレット /sample2 がload()例外を投げました
java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.seasar.framework.util.ClassUtil.forName(ClassUtil.java:98)
        at 
org.seasar.framework.util.DriverManagerUtil.registerDriver(DriverManagerUtil.java:41)
        at 
org.seasar.extension.dbcp.impl.XADataSourceImpl.setDriverClassName(XADataSourceImpl.java:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:96)
        at 
org.seasar.framework.beans.impl.PropertyDescImpl.setValue(PropertyDescImpl.java:251)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.setValue(AbstractBindingTypeDef.java:321)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.bindManual(AbstractBindingTypeDef.java:127)
        at 
org.seasar.framework.container.assembler.AbstractBindingTypeDef.bind(AbstractBindingTypeDef.java:74)
        at 
org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:50)
        at 
org.seasar.framework.container.assembler.AccessTypePropertyDef.bind(AccessTypePropertyDef.java:41)
        at 
org.seasar.framework.container.assembler.AutoPropertyAssembler.assemble(AutoPropertyAssembler.java:56)
        at 
org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:68)
        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.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
        at 
org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:167)
        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:1173)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4350)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4659)
        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:546)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2010/12/15 17:27:58 org.apache.catalina.startup.HostConfig deployDirectory
情報: Webアプリケーションディレクトリ docs を配備します
2010/12/15 17:27:58 org.apache.catalina.startup.HostConfig deployDirectory
情報: Webアプリケーションディレクトリ ROOT を配備します
2010/12/15 17:27:58 org.apache.coyote.http11.Http11Protocol start
情報: Coyote HTTP/1.1を http-8080 で起動します
2010/12/15 17:27:59 org.apache.jk.common.ChannelSocket init
情報: JK: ajp13 listening on /0.0.0.0:8009
2010/12/15 17:27:59 org.apache.jk.server.JkMain start
情報: Jk running ID=0 time=0/47  config=null
2010/12/15 17:27:59 org.apache.catalina.startup.Catalina start
情報: Server startup in 29905 ms

-----------------------------------------
    (株)ジェー・アイ・イー・シー
          管理本部 情報システム部    栗原 智子
          Mail: [E-MAIL ADDRESS DELETED]
-----------------------------------------
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20101215/303dfe9e/attachment.html>


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