Parimota,

this is to do with the weblogic-servlet class loader. 

In weblogic5.1 there was a config property that allowed you to set this
weblogic-servlet-classloader location, but I have not seen a similar
property in 6.0. I think this weblogic-servlet-classloader is hardcoded to
look in web-inf for all classes. 

I also think this only applies to apps in exploded format.

___
dk-










-----Original Message-----
From: Paromita Choudhury [mailto:[EMAIL PROTECTED]]
Sent: Monday, 16 July 2001 1:23 AM
To: [EMAIL PROTECTED]
Subject: ClassNotFoundException outside of Web-INF


Hi,

I've setup cactus on Weblogic 6.0 SP2. The sample
application works fine.

I want to setup my servlet classes and test classes
outside of a web application. I tried this with the
foll. scenario.

Classes:d:\test\classes (in classpath)
com.test.MyServlet
com.test.TestMyServlet

The test fails with ClassNotFoundException.

I then moved the above classes to a sample web app's
web-inf\classes directory. In this case, the tests ran
successfuly.

I'd like to understand how I can setup my servlet and
test classes correctly. Or is it that test classes and
servlet classes have to be setup within the context of
a webapp?

Thanks.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to