File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate + Weblogic + Classpath

 
Sabyasachi Chowdhury
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks
Sabyasachi
 
Paul Clapham
Sheriff
Pie
Posts: 20158
23
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic