I get this error, but this is due to the security. If you remove the
security it will work...ie accessing web page without logon. 


-----Original Message-----
From: Sean Zhang [mailto:[EMAIL PROTECTED]]
Sent: 11 January 2002 21:59
To: Cactus Users List
Subject: RE: Using Cactus to test EJB deployed to Weblogic6.1


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:[EMAIL PROTECTED]]
                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:[EMAIL PROTECTED]]
                > 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:[EMAIL PROTECTED]]
                >               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:[EMAIL PROTECTED]]
                >               > 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-
                >               > [EMAIL PROTECTED]>
                >               > For additional commands, e-mail:
<mailto:cactus-user-
                >               > [EMAIL PROTECTED]>
                >               >
                > 
                > 
                > 
                > 
                >               --
                >               To unsubscribe, e-mail:
                > <mailto:[EMAIL PROTECTED]>
                >               For additional commands, e-mail:
                > <mailto:[EMAIL PROTECTED]>
                > 
                > --
                > To unsubscribe, e-mail:   <mailto:cactus-user-
                > [EMAIL PROTECTED]>
                > For additional commands, e-mail: <mailto:cactus-user-
                > [EMAIL PROTECTED]>
                > 




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

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


======National Bank Of Abu Dhabi Confidentiality Note======

This message is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material.
Any use of this information by persons or entities other than the intended
recipient is prohibited. If you receive this in error, please contact the 
sender and delete the material from the computer.



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

Reply via email to