Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ganeshb,
Your name does not currently meet our criteria for naming. Please look at the JavaRanch naming policy. Thankyou.
reply
    Bookmark Topic Watch Topic
  • New Topic