Anyone who can shed any light on the following gets my everlasting gratitude (I realise that there may not be many WebSphere Studio gurus here but maybe the problem looks familiar to someone?)
Trying to setup WebSphere Studio v5 to do Cactus unit tests using Cactus-1.5-rc1 via the ServletRedirector. So far, Junit testing no problems, Cactus testing via the ServletTestRunner servlet no problems. But client-server... I have one main Web Project, say WEB1, containing my application under test. I have also created a separate Java Project, say JAVA1, to contain the TestCases. JAVA1 references WEB1 on its build path as well as the external jars for Cactus, Junit, AspectJ, Commons-logging and HttpClient. In WEB1 I have the necessary jars (Junit, AspectJ and Cactus - commons-logging is already available via WAS) in WEB-INF\lib. I have a cactus.properties file on the claasspath in both projects and have copied the TestCases from JAVA1 to WEB1 (to avoid a build cycle). All sounds fine? When the tests are run on the client with the server running, I get NoClassDefFound errors for org.apache.cactus.configuration.ServletConfiguration. Weird as that's in the Cactus jar. But I can get everything to work fine if I place the HttpClient jar on the server too. Sounds as if I'm launching the client in the server project environment, but I've checked and double checked that I'm running the TestSuite in JAVA1. Any thoughts appreciated. Neil C --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
