[Seasar-user:18998] S2DAOでjava.lang.LinkageError
800111
[E-MAIL ADDRESS DELETED]
2009年 12月 8日 (火) 12:59:13 JST
お世話になります
矢追といいますが
Tomcat5.5.23
Oracle10G
teeda-core-1.0.13-sp7
s2-dao-1.0.49
ojdbc14.jar
で開発を行っています。
SOLARISの環境で実行すると以下のエラーが
[DEBUG 2009-12-07 20:02:50,488] BEGIN
test.logic.impl.ManageUserLogicImpl#login([E-MAIL ADDRESS DELETED], [E-MAIL ADDRESS DELETED],
yaSVTVubydXdy9a0P3W4rQ==)
[DEBUG 2009-12-07 20:02:50,488] BEGIN test.dao.TPasswdDao#selectById([E-MAIL ADDRESS DELETED])
[DEBUG 2009-12-07 20:02:50,629] END test.dao.TPasswdDao#selectById([E-MAIL ADDRESS DELETED])
Throwable:java.lang.LinkageError: Class oracle/sql/converter/CharacterConverters violates loader
constraints
[DEBUG 2009-12-07 20:02:50,629] END
test.logic.impl.ManageUserLogicImpl#login([E-MAIL ADDRESS DELETED], [E-MAIL ADDRESS DELETED],
yaSVTVubydXdy9a0P3W4rQ==) Throwable:java.lang.LinkageError: Class
oracle/sql/converter/CharacterConverters violates loader constraints
[DEBUG 2009-12-07 20:02:50,630] トランザクションをロールバックしました。tx=[FormatId=4360,
GlobalId=1260183770487/0, BranchId=]
[DEBUG 2009-12-07 20:02:50,630] END
test.service.impl.LoginServiceImpl#exec([E-MAIL ADDRESS DELETED], [E-MAIL ADDRESS DELETED],
yaSVTVubydXdy9a0P3W4rQ==) Throwable:java.lang.LinkageError: Class
oracle/sql/converter/CharacterConverters violates loader constraints
[DEBUG 2009-12-07 20:02:50,630] Class oracle/sql/converter/CharacterConverters violates loader
constraints
java.lang.LinkageError: Class oracle/sql/converter/CharacterConverters violates loader constraints
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:873)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1326)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at oracle.sql.CharacterSet1Byte.getInstance(CharacterSet1Byte.java:86)
at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:103)
at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:123)
at oracle.sql.CharacterSet.make(CharacterSet.java:440)
at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:145)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:878)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at org.seasar.extension.dbcp.impl.XADataSourceImpl.getXAConnection(XADataSourceImpl.java:168)
at org.seasar.extension.dbcp.impl.XADataSourceImpl.getXAConnection(XADataSourceImpl.java:151)
at org.seasar.extension.dbcp.impl.ConnectionPoolImpl.createConnection(ConnectionPoolImpl.java:395)
at org.seasar.extension.dbcp.impl.ConnectionPoolImpl.checkOut(ConnectionPoolImpl.java:315)
at org.seasar.extension.dbcp.impl.DataSourceImpl.getConnection(DataSourceImpl.java:59)
at org.seasar.extension.jdbc.util.DataSourceUtil.getConnection(DataSourceUtil.java:51)
at org.seasar.dao.impl.DaoMetaDataImpl.initialize(DaoMetaDataImpl.java:151)
at org.seasar.dao.impl.DaoMetaDataFactoryImpl.createDaoMetaData(DaoMetaDataFactoryImpl.java:167)
at org.seasar.dao.impl.DaoMetaDataFactoryImpl.getDaoMetaData(DaoMetaDataFactoryImpl.java:131)
at org.seasar.dao.interceptors.S2DaoInterceptor.invoke(S2DaoInterceptor.java:51)
at org.seasar.dao.pager.PagerS2DaoInterceptorWrapper.invoke(PagerS2DaoInterceptorWrapper.java:71)
at
test.dao.TPasswdDao$$EnhancedByS2AOP$$ade1b6$$MethodInvocation$$selectById4.proceed(MethodInvocationClassGenerator.java)
at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
at
test.dao.TPasswdDao$$EnhancedByS2AOP$$ade1b6$$MethodInvocation$$selectById4.proceed(MethodInvocationClassGenerator.java)
at test.dao.TPasswdDao$$EnhancedByS2AOP$$ade1b6.selectById(TPasswdDao$$EnhancedByS2AOP$$ade1b6.java)
at test.logic.impl.ManageUserLogicImpl.login(ManageUserLogicImpl.java:137)
at
test.logic.impl.ManageUserLogicImpl$$EnhancedByS2AOP$$1480d96.$$login$$invokeSuperMethod$$(ManageUserLogicImpl$$EnhancedByS2AOP$$1480d96.java)
at
test.logic.impl.ManageUserLogicImpl$$EnhancedByS2AOP$$1480d96$$MethodInvocation$$login2.proceed(MethodInvocationClassGenerator.java)
at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
at
test.logic.impl.ManageUserLogicImpl$$EnhancedByS2AOP$$1480d96$$MethodInvocation$$login2.proceed(MethodInvocationClassGenerator.java)
at
test.logic.impl.ManageUserLogicImpl$$EnhancedByS2AOP$$1480d96.login(ManageUserLogicImpl$$EnhancedByS2AOP$$1480d96.java)
at test.service.impl.LoginServiceImpl.exec(LoginServiceImpl.java:35)
at
test.service.impl.LoginServiceImpl$$EnhancedByS2AOP$$11b1e39.$$exec$$invokeSuperMethod$$(LoginServiceImpl$$EnhancedByS2AOP$$11b1e39.java)
at
test.service.impl.LoginServiceImpl$$EnhancedByS2AOP$$11b1e39$$MethodInvocation$$exec0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.extension.tx.DefaultTransactionCallback.execute(DefaultTransactionCallback.java:58)
at
org.seasar.extension.tx.adapter.JTATransactionManagerAdapter.required(JTATransactionManagerAdapter.java:65)
at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:50)
at
test.service.impl.LoginServiceImpl$$EnhancedByS2AOP$$11b1e39$$MethodInvocation$$exec0.proceed(MethodInvocationClassGenerator.java)
at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:73)
at
test.service.impl.LoginServiceImpl$$EnhancedByS2AOP$$11b1e39$$MethodInvocation$$exec0.proceed(MethodInvocationClassGenerator.java)
at
test.service.impl.LoginServiceImpl$$EnhancedByS2AOP$$11b1e39.exec(LoginServiceImpl$$EnhancedByS2AOP$$11b1e39.java)
at test.web.mypage.LoginPage.doConfirm(LoginPage.java:82)
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:585)
at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:96)
at org.seasar.framework.beans.impl.BeanDescImpl.invoke(BeanDescImpl.java:218)
at
org.seasar.teeda.extension.html.impl.HtmlComponentInvokerImpl.invoke(HtmlComponentInvokerImpl.java:163)
at org.seasar.teeda.extension.html.impl.HtmlActionListener.processAction(HtmlActionListener.java:71)
at javax.faces.component.UICommand.broadcast(UICommand.java:149)
at org.seasar.teeda.extension.component.html.THtmlCommandButton.broadcast(THtmlCommandButton.java:78)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:192)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:117)
at
org.seasar.teeda.core.lifecycle.impl.InvokeApplicationPhase.executePhase(InvokeApplicationPhase.java:29)
at org.seasar.teeda.core.lifecycle.AbstractPhase.execute(AbstractPhase.java:57)
at org.seasar.teeda.core.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:97)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:100)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.seasar.framework.container.hotdeploy.HotdeployFilter.doFilter(HotdeployFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.seasar.teeda.extension.filter.MultipartFormDataFilter.doFilter(MultipartFormDataFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:69)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
出ます。WindouwsXPの環境だと出ません。
環境が違うからだと思うのですが
他のStrutsのWEBアプリは動いてます。
何かアドバイスを頂けないでしょか?
宜しくお願いします。
Seasar-user メーリングリストの案内