Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

weblogic\lib --and-- weblogicaux.jar why ????

 
Ganeshb
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we are setting the classpath for weblogic\lib, why we need to explicitly set weblogic\lib\weblogicaux.jar again,when we know that weblogicaux.jar is the sub directory for lib.
Please justify(dont say that weblogicaux has jar files, that is the reason-that is true but,lib should take care of it ,b-coz lib is said to be parent direcory.
 
Chee
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You should understand the diffrence between a Sub directory and a JAR file.
First n Foremost..Weblogicaux.jar is itself a jar file which holds all the class files need to develop an EJB..Just open it and see.
When you set the classpath to \\weblogic\lib it does not mean that the classfiles can be extracted automatically and referenced in your EJB, Hence we explicitly set the classpath for this particular Jar file.
Cheers Johnson
 
Ganeshb
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
Good ! But ,please explain when we are setting the classpath by weblogic\lib\weblogicaux.jar,how it is able to unjar the file,and why cant it unjar when it is treated as a sub directory?
And also please let me know ,if that is the case,should we set classpath for all the jar files which come with weblogic?
 
George Brown
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ganeshb,
Your name does not currently meet our criteria for naming. Please look at the JavaRanch naming policy. Thankyou.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic