jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Zhang <sean.zh...@verizon.com>
Subject RE: Using Cactus to test EJB deployed to Weblogic6.1
Date Fri, 11 Jan 2002 17:59:04 GMT
I added the httpclient.jar and now I get another error.  

If I run my test class in debug mode, I got

Time: 0.359
There was 1 error:
1) testConvert(ejbcactustest.ConverterTest)
java.io.StreamCorruptedException: InputStream does not contain a serialized
object
	at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:374)
	at ejbcactustest.ConverterTest.main(ConverterTest.java:31)

FAILURES!!!
Tests run: 1,  Failures: 0,  Errors: 1

If I just run it, I got

Time: 0.171
There was 1 error:
1) testConvert(ejbcactustest.ConverterTest)
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:1
48)
	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)
	at ejbcactustest.ConverterTest.main(ConverterTest.java:31)

FAILURES!!!
Tests run: 1,  Failures: 0,  Errors: 1

Anybody can help?

Thanks,

Sean

		-----Original Message-----
		From:	Vincent Massol [mailto:vmassol@octo.com]
		Sent:	Thursday, January 10, 2002 5:52 PM
		To:	'Cactus Users List'
		Subject:	RE: Using Cactus to test EJB deployed to
Weblogic6.1

		Sean,

		You need to add commons-httpclient.jar to the client side
classpath of
		cactus (i.e. to your project classpath I guess).

		-Vincent

		> -----Original Message-----
		> From: Sean Zhang [mailto:sean.zhang@verizon.com]
		> Sent: 10 January 2002 23:19
		> To: Cactus Users List
		> Subject: RE: Using Cactus to test EJB deployed to
Weblogic6.1
		> 
		> Hi, Vincent,
		> 
		> I followed the EJB Howto and IDE Howto.  Now I have
Jbuilder5 working
		with
		> Cactus and the sample EJB deployed to Weblogic.  I ran the
test in
		> Jbuilder
		> and have following error,
		> 
		> There was 1 error:
		> 1) testConvert(ejbcactustest.ConverterTest)
		> java.lang.NoClassDefFoundError:
		> org/apache/commons/httpclient/NameValuePair
		> 	at
		>
	
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
		va
		> :1
		> 19)
		> 	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)
		> 	at
ejbcactustest.ConverterTest.main(ConverterTest.java:33)
		> 
		> FAILURES!!!
		> Tests run: 1,  Failures: 0,  Errors: 1
		> Can you help me to diagnose this?
		> 
		> Thanks a lot,
		> 
		> Sean
		> 
		> 		-----Original Message-----
		> 		From:	Vincent Massol
[mailto:vmassol@octo.com]
		> 		Sent:	Wednesday, January 09, 2002 3:54 PM
		> 		To:	'Cactus Users List'
		> 		Subject:	RE: Using Cactus to test EJB
deployed to
		> Weblogic6.1
		> 
		> 		Sean,
		> 
		> 		Yes, I am currently using WL 6.1 and Cactus
on a project
		and
		> it works
		> 		fine. What do you want to know ? What issues
are you
		> encountering ?
		> 
		> 		-Vincent
		> 
		> 		> -----Original Message-----
		> 		> From: Sean Zhang
[mailto:sean.zhang@verizon.com]
		> 		> Sent: 09 January 2002 21:30
		> 		> To: Cactus Mailing List (E-mail)
		> 		> Subject: Using Cactus to test EJB deployed
to
		Weblogic6.1
		> 		>
		> 		> Hi,
		> 		>
		> 		> I researching Cactus for testing EJBs
deployed to
		Weblogic
		> 6.1.
		> 		Anyone
		> 		> has
		> 		> done that successfully and can you share
some of your
		> experience with
		> 		me?
		> 		>
		> 		> Thanks,
		> 		>
		> 		> Sean
		> 		>
		> 		> --
		> 		> 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:
		> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
		> 		For additional commands, e-mail:
		> <mailto:cactus-user-help@jakarta.apache.org>
		> 
		> --
		> 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:
<mailto:cactus-user-unsubscribe@jakarta.apache.org>
		For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message