Hi,

this is a weblogic issue. but why do you have the jar in both directories?
it should be only in lib

as it is in our project.

then when you use castor from the lib, you have to set the proper
classloader to make your classes visible to castor.

Rgds,
Peter

> ----------
> Von:  Akash Gunjal[SMTP:[EMAIL PROTECTED]
> Antwort an:   [EMAIL PROTECTED]
> Gesendet:     Dienstag, 1. April 2003 12:19
> An:   [EMAIL PROTECTED]
> Betreff:      [castor-dev] Hi..weblogic castor problem (CLASS LOADER)
> 
> Hi,
> 
> When deploying an EAR in WL6.1sp1, I noticed that
> when using the same library in both the EAR as well
> as in the WEB-INF/lib directory, the classloader of
> the WAR file uses not the library from the WEB-INF
> location but from the EAR.
> No great problem there, except when using libraries
> that instantiate classes, like castor. This tool
> complains about not able to load classes, which
> are in the webapp.war, which shouldn't be the case
> if the library from WEB-INF/lib is used.
> 
> This is the structure:
> 
> EAR
> \ webapp.war
> \ common.jar
> \ castor-xml.jar
> 
> webapp.war
> \ WEB-INF/lib/castor-xml.jar
> \ WEB-INF/classes/...
> 
> Any suggestions anybody? Is this a bug?
> 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to