Keith,

No, it is not normal. Your test classes could be either in the ejb jar
or in the war (WEB-INF/classes or WEB-INF/lib) and it should work. Can
you please post the stack trace you're getting and show us your ear
directory structure ?

BTW, it is not a junit issue as JUnit is not involved on the server side
(it is only used to start the test on the client side).

Thanks
-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 13 March 2002 19:20
> To: [EMAIL PROTECTED]
> Subject: NoClassDefFoundError Again
> 
> I have an ear file which contains an ejb jar file and a war file.  We
keep
> utility classes in the ear file since the classloader for the war will
> find
> classes in the ejb jar (at least on WebLogic 6.1).  When I compile the
ear
> for my test case I put the servlet entries in my web.xml for the
> ServletRedirector however; it doesn't not find the test class when it
is
> in
> either the ejb.jar or the war file.  It only finds it if I explicitly
set
> it in the system classpath for the startup of weblogic.  I have seen
> references to the fact that junit uses its own classloader.  Is this
true
> and if so could it be causing my problem?
> 
> Thanks,
> Keith
> 
> 
> --
> 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]>

Reply via email to