You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Nitin Pingle <pi...@yahoo.com> on 2002/01/09 05:27:11 UTC
stream corrupted exception
i am running a simple example and am not gettingto understand what the
error means
i checked up with the FAQ where it said :
A good way to check whether your requests are reaching a
Cactus redirector is to manually enter in the URLs for all
of the redirectors you use into the navigation bar of your
web-browser. If the URL yields a 500 error and you get a
stack trace (in the log or along with your error page that)
says Missing service name
parameter [] in HTTP request. then that particular URL is
probably pointing to a valid
server-side Cactus install
so i am getting the Missing service name thus indicating that my servlet
redirector is in th eright place
but i still i am gettingthe following error
in my tomcat 4 directory structure i hace in my WEB-INF
classes - containing my test class and server class
lib - where the cactus and junit jar are present
java.io.StreamCorruptedException: InputStream does not contain a
serialized object
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168)
at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:148)
at
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422)
at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)
please help
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: stream corrupted exception
Posted by Vincent Massol <vm...@octo.com>.
Nitin,
It probably means that you do not have the correct jars in your
WEB-INF/lib directory or that there are Cactus/junit/log4j jars
specified in your CLASSPATH environment variable when you start
weblogic. Check the getting started guide on the web site for how to
configure the classpath.
Hope it helps.
-Vincent
> -----Original Message-----
> From: Nitin Pingle [mailto:pingle_nitin@yahoo.com]
> Sent: 09 January 2002 04:27
> To: cactus-user@jakarta.apache.org
> Subject: stream corrupted exception
>
> i am running a simple example and am not gettingto understand what the
> error means
> i checked up with the FAQ where it said :
>
> A good way to check whether your requests are reaching a
> Cactus redirector is to manually enter in the URLs for all
> of the redirectors you use into the navigation bar of your
> web-browser. If the URL yields a 500 error and you get a
> stack trace (in the log or along with your error page that)
> says Missing service name
> parameter [] in HTTP request. then that particular URL is
> probably pointing to a valid
> server-side Cactus install
>
> so i am getting the Missing service name thus indicating that my
servlet
> redirector is in th eright place
>
> but i still i am gettingthe following error
> in my tomcat 4 directory structure i hace in my WEB-INF
> classes - containing my test class and server class
> lib - where the cactus and junit jar are present
>
> java.io.StreamCorruptedException: InputStream does not contain a
> serialized object
> at
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849)
> at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168)
> at
>
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
va
> :148)
> at
>
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:
42
> 2)
> at
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
> at
> org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)
>
> please help
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>