jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Exception in constructor: testSaveToSessionOK
Date Mon, 05 Jan 2004 00:22:41 GMT
make sure your own classes are included in the WAR..
in other words EVERYTHING the app uses/references should be included in the
WAR ..
----- Original Message -----
From: "Pujari, Ashis" <ashis.pujari@cbm.com>
To: "Cactus Users List" <cactus-user@jakarta.apache.org>
Sent: Sunday, January 04, 2004 5:26 PM
Subject: RE: Exception in constructor: testSaveToSessionOK

Thanks for the pointers.

I added the cactus jars to my war file and deployed. However, this does
not solve the error.

Please let me know if you want to see the war file. I need to get this


-----Original Message-----
From: J. B. Rainsberger [mailto:jbrains@rogers.com]
Sent: Sunday, January 04, 2004 4:54 PM
To: Cactus Users List
Subject: Re: Exception in constructor: testSaveToSessionOK

Martin Gainty wrote:

> Add the cactus jars to your war and re-deploy
> -Martin

This works for now. In general, I suggest you deploy two web-apps: one
with your production code, the other with your Cactus tests. Only the
Cactus test one needs the Cactus libraries. This helps avoid dependency
problems in your application and makes it easy to deploy the production
application without the tests, as in the field.
J. B. Rainsberger,
Diaspar Software Services
http://www.diasparsoftware.com :: +1 416 791-8603
Let's write software that people understand

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

View raw message