I am running Tomcat 4.0.4 on Windows 2000.  I have
installed both the "jakarta-tomcat-4.0.4.exe" and the
"jakarta-tomcat-4.0.4.zip" packages and am
experiencing different behavior between the two
installations.

The 'exe' version was installed to: "C:\Program
Files\Apache Tomcat 4.0".

The 'zip' version was installed to:
"C:\jakarta-tomcat-4.0.4"

I have a WAR that contains a servlet which calls the
rmiregistry (running locally) to access an object.  I
have deployed the same WAR on both installations.

When I start Tomcat installed from the 'zip' file, the
servlet works just fine.

When I start Tomcat installed from the 'exe' file, the
servlet causes a marshalling exception (I have
attached the stack trace).

I am starting Tomcat with the 'startup.bat' script
found in the 'bin' folder from each installation.

I have removed & reinstalled the 'exe' installation
and experienced the same problem so I assUme that I do
NOT have a corrupted installation.  Also, I had a
colleague try it out on her Win2K system and had the
exact same problem (i.e., it worked with the 'zip'
installation files but not with the 'exe' installation
files).

I compiled the WAR using ant-1.4.1 and I'm running
Java 1.3.1_02-b02.

Any idea as to what could be different between the two
installations?

Thanks!

-Ed


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Starting service Tomcat-Standalone
Apache Tomcat/4.0.4
Starting service Tomcat-Apache
Apache Tomcat/4.0.4
[HttpProcessor[8080][4]] DEBUG GetServerInfoServlet:doGet -
 
########################################
GetServerInfoServlet is executing...
[HttpProcessor[8080][4]] DEBUG GetServerInfoServlet:doGet - RMI server name is 
//fpk-taz/adminServer
java.rmi.MarshalException: error marshalling arguments; nested exception is:
        java.net.SocketException: Connection aborted by peer: socket write error
java.net.SocketException: Connection aborted by peer: socket write error
        at java.net.SocketOutputStream.socketWrite(Native Method)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:72)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:116)
        at java.io.ObjectOutputStream.drain(ObjectOutputStream.java:1463)
        at java.io.ObjectOutputStream.setBlockData(ObjectOutputStream.java:1486)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:407)
        at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:268)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:106)
        at com.mng.adminserver.AdminServerImpl_Stub.FindNode(Unknown Source)
        at com.mng.Servlet.GetServerInfoServlet.doGet(GetServerInfoServlet.java:93)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
        at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
        at java.lang.Thread.run(Thread.java:484)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to