File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Problm in Weblogic Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Problm in Weblogic Classpath" Watch "Problm in Weblogic Classpath" New topic
Author

Problm in Weblogic Classpath

VidyaVikas Yalamanchili
Greenhorn

Joined: Nov 26, 2007
Posts: 10
In our application we have jacorb.jar in classpath.Some of the classes are colliding with rt.jar and if i run my application from outside by providing my jar in classpath the collided classes have been taken from rt.jar and out application is working fine.

When we start our application with in Weblogic it is not taking rt.jar first it is taking jacorb.jar only.

Can any one give me a solution where i can point rt.jar as the first jar to take classes from in weblogic(We tried Adding rt.jar into Xbootclasspath and adding rt.jar to classpath in weblogic it didnt worked)


with Regards,<br />VidyaVikas Yalamanchili SCJP 5.0
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

Are you using Weblogic 10.0? There is (or was) a known problem with the server using it's own classes instead of the application's, even when the deployment descriptor specified to prefer the "local" class. We moved to 10.3 after I found that "feature", so I don't know if it was ever fixed.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
VidyaVikas Yalamanchili
Greenhorn

Joined: Nov 26, 2007
Posts: 10
Joe Ess wrote:Are you using Weblogic 10.0? There is (or was) a known problem with the server using it's own classes instead of the application's, even when the deployment descriptor specified to prefer the "local" class. We moved to 10.3 after I found that "feature", so I don't know if it was ever fixed.


Yup we are using Weblogic 10MP1 but here the issue is instead of taking the class from jre it is taking from application.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problm in Weblogic Classpath