You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Shapira, Yoav" <Yo...@mpi.com> on 2004/11/29 14:54:03 UTC

RE: Tomcat automatically serializes session on shutdown and startup on Unix

Hi,
This is the wrong list: try again on tomcat-user.

Tomcat's startup/shutdown sequences are the same on windows and HP-UX if
you're running from the command line (which is the only option on unix).
If you're running as a Windows Service, it's a bit different, but
serialization configuration is the same.  

Please don't reply to the above here: do so on tomcat-user, where others
can help you as well.

Yoav Shapira http://www.yoavshapira.com
 

>-----Original Message-----
>From: Seow, Pek Lee [mailto:seow_peklee@emc.com]
>Sent: Friday, November 26, 2004 11:33 AM
>To: 'general@jakarta.apache.org'
>Subject: Tomcat automatically serializes session on shutdown and
startup on
>Unix
>
>Hi there,
>
>I am running in to known java.io.NotSerializableException issue when
Tomcat
>(4.1.27) shutdown or startup.
>
>The strange thing is that I do not get this error when running the
>application on Tomcat/Windows but seem to be encountering the problem
in
>Tomcat/HP-UX 11i.  Does the Tomcat shutdown or startup differently in
>Windows vs. Unix? Is the Standard Manager enabled by default? To
workaround
>that, I basically have to set the Manager component to have
pathname="null"
>and saveOnRestart="false" in server.xml.
>
>Could anyone explain the reason I am seeing two different behaviours?
>
>LOG:
>		2004-11-25 12:49:08 StandardManager[/dcm] IOException
while
>loading persisted sessions: java.io.WriteAbortedEx
>		ception: writing aborted;
java.io.NotSerializableException:
>com.documentum.web.form.FormHistory
>		java.io.WriteAbortedException: writing aborted;
>java.io.NotSerializableException: com.documentum.web.form.Form
>		History
>		        at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1278)
>		        at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>		        at
java.util.HashMap.readObject(HashMap.java:986)
>		        at
>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>		        at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9
>)
>		        at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l
>.java:25)
>		        at
java.lang.reflect.Method.invoke(Method.java:324)
>		        at
>java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824)
>		        at
>java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>		        at
>java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:164
6)
>		        at
>java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>		        at
>java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>		        at
>org.apache.catalina.session.StandardSession.readObject(StandardSession.
java
>:
>1369)
>		        at
>org.apache.catalina.session.StandardSession.readObjectData(StandardSess
ion.
>j
>ava:864)
>		        at
>org.apache.catalina.session.StandardManager.load(StandardManager.java:4
40)
>		        at
>org.apache.catalina.session.StandardManager.start(StandardManager.java:
655)
>		        at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:357
1)
>		        at
>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
ava:
>8
>21)
>		        at
>org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
>		        at
>org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
>		        at
>org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeplo
yer.
>j
>ava:307)
>		        at
>org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>		        at
>org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.jav
a:55
>9
>)
>		        at
>org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
>		        at
>org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
>		        at
>org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3
58)
>		        at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
uppo
>r
>t.java:166)
>		        at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>		        at
>org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>		        at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>		        at
>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>		        at
>org.apache.catalina.core.StandardService.start(StandardService.java:497
)
>		        at
>org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
>		        at
>org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>		        at
>org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>		        at
>org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>		        at
>sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>		        at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:3
>9
>)
>		        at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImp
>l
>.java:25)
>		        at
java.lang.reflect.Method.invoke(Method.java:324)
>		        at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
>Cheers,
>- Pek Lee -




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.


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