tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: Tomcat 5.5 question
Date Thu, 29 May 2008 16:26:00 GMT
try asking again on the users list, this one's for the TC devs.

p



Mike wrote:
> Hello,
> 
>  
> 
>             I'm trying to set up connection pooling for Tomcat 5.5 but it
> doesn't work.  When I start Tomcat, it shows in the Catalina log this:
> 
>  
> 
> SEVERE: Exception loading sessions from persistent storage
> 
> java.io.WriteAbortedException: writing aborted;
> java.io.NotSerializableException: javax.naming.InitialContext
> 
>             at java.io.ObjectInputStream.readObject0(Unknown Source)
> 
>             at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
> 
>             at java.io.ObjectInputStream.readSerialData(Unknown Source)
> 
>             at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
> 
>             at java.io.ObjectInputStream.readObject0(Unknown Source)
> 
>             at java.io.ObjectInputStream.readObject(Unknown Source)
> 
>             at
> org.apache.catalina.session.StandardSession.readObject(StandardSession.java:
> 1402)
> 
>             at
> org.apache.catalina.session.StandardSession.readObjectData(StandardSession.j
> ava:931)
> 
>             at
> org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)
> 
>             at
> org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
> 
>             at
> org.apache.catalina.session.StandardManager.start(StandardManager.java:637)
> 
>             at
> org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:432)
> 
>             at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4160)
> 
>             at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
> 60)
> 
>             at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
> 
>             at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> 
>             at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
> 
>             at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889
> )
> 
>             at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
> 
>             at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
> 
>             at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> 
>             at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> t.java:120)
> 
>             at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
> 
>             at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> 
>             at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> 
>             at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> 
>             at
> org.apache.catalina.core.StandardService.start(StandardService.java:448)
> 
>             at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> 
>             at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> 
>             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:295)
> 
>             at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> 
> Caused by: java.io.NotSerializableException: javax.naming.InitialContext
> 
>             at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 
>             at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
> 
>             at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> 
>             at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
> 
>             at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 
>             at java.io.ObjectOutputStream.writeObject(Unknown Source)
> 
>             at
> org.apache.catalina.session.StandardSession.writeObject(StandardSession.java
> :1478)
> 
>             at
> org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.
> java:948)
> 
>             at
> org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:51
> 7)
> 
>             at
> org.apache.catalina.session.StandardManager.unload(StandardManager.java:463)
> 
>             at
> org.apache.catalina.session.StandardManager.stop(StandardManager.java:667)
> 
>             at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4360)
> 
>             at
> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:893)
> 
>             at
> org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1191)
> 
>             at
> org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162)
> 
>             at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313)
> 
>             at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
> t.java:120)
> 
>             at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1055)
> 
>             at
> org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1067)
> 
>             at
> org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
> 
>             at
> org.apache.catalina.core.StandardService.stop(StandardService.java:510)
> 
>             at
> org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
> 
>             at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
> 
>             at
> org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:
> 645)
> 
>  
> 
>  
> 
>   My java code shows the error message that it "Cannot create JDBC driver of
> class 'sun.jdbc.odbc.JdbcOdbcDriver'" for my ODBC alias.
> 
>   Any help would be appreciated.
> 
>  
> 
> Thanks,
> 
>  
> 
> Mike
> 
> 


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


Mime
View raw message