File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Hibernate + Weblogic + Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Hibernate + Weblogic + Classpath" Watch "Hibernate + Weblogic + Classpath" New topic

Hibernate + Weblogic + Classpath

Sabyasachi Chowdhury

Joined: Jul 22, 2004
Posts: 7
I was trying out hibernate in weblogic server the other day.While developing my sample application I places all the required hibernate jar files in the application classpath( WEB-INF\lib\...) but I was unable to run the app till the moment I added them in the weblogic server classpath.

My Question is, why do I need to add those hibernate required jars in weblogic class path even when I have then within my application classpath. This reduces the protability of any app and actually forces me to configure servers before I deploy any such app?

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I put all the Hibernate (and related) jar files in my application classpath in Websphere. Works just fine. So you must have a Weblogic question here. Probably a solvable one, but "unable to run the app" doesn't give a mere mortal like me enough to work with.
I agree. Here's the link:
subject: Hibernate + Weblogic + Classpath
It's not a secret anymore!