tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Kwiatek" <Michal.Kwia...@cern.ch>
Subject Classloader / oracle JDBC
Date Wed, 13 Oct 2004 17:30:28 GMT
Hello All,

I have a problem using oracle jdbc in tomcat. 

JDBC call fails with "java.sql.SQLException: Non supported character
set: oracle-character-set-46"  (see full stack trace below).

After some investigation, I came to the conlusion that translation
tables that are in the *.gbl files in orai18n.jar are not read properly.


Is it possible that tomcat classloader does not allow reading *.gbl
files from orai18n.jar?

Or perhaps there is some other reason jdbc crashes on tomcat? 

Versions:
Tomcat 5.0.28
Oracle jdbc 10.1.0.2.0, both OCI and thin
Oracle 9.2.0.5.0 database in WE8ISO8859P15 characterset

Thank you in advance,
Michal. 

-------------------------
java.sql.SQLException: Non supported character set:
oracle-character-set-46
        at oracle.gss.util.NLSError.throwSQLException(NLSError.java:65)
        at
oracle.sql.CharacterSetUnknown.failCharsetUnknown(CharacterSetFactoryThi
n.java:178)
        at
oracle.sql.CharacterSetUnknown.convert(CharacterSetFactoryThin.java:145)
        at oracle.sql.CHAR.<init>(CHAR.java:147)
        at oracle.jpub.runtime.Util._convertToOracle(Util.java:166)
        at oracle.jpub.runtime.Util.convertToOracle(Util.java:138)
        at
oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:2
92)
        at
oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:
311)
        at
oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:109)
        at
org.glite.data.catalog.service.database.principalTokenFAS.toDatum(princi
palTokenFAS.java:43)
        at
oracle.jdbc.driver.OraclePreparedStatement.setORADataInternal(OraclePrep
aredStatement.java:7112)
        at
oracle.jdbc.driver.OracleCallableStatement.setORAData(OracleCallableStat
ement.java:4522)
        at
org.glite.data.catalog.service.database.OraReplicaCatalog.setdefaultuser
permission(OraReplicaCatalog.java:791)
        at
org.glite.data.catalog.service.replica.ReplicaCatalogSoapBindingImpl.set
DefaultUserPermission(ReplicaCatalogSoapBindingImpl.java:628)
        at
org.glite.data.catalog.service.replica.ReplicaCatalogSoapBindingSkeleton
.setDefaultUserPermission(ReplicaCatalogSoapBindingSkeleton.java:493)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java
:402)
        at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.ja
va:309)
        at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333
)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:854)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j
ava:339)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
ntext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
20)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
9)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
        at java.lang.Thread.run(Thread.java:534)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message