• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Libs inside ear or jar?

 
Raghunath Nandyala
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I'm writing one EJB (DATBean).This bean needs specific libs "tap.jar,okr.jar"(Should available to only my application)
I build ear like this
DATEar:
DATBean.jar
META-INF----application.xml+MANIFEST.MF
tap.jar
ok.jar

But The bean is not picking the libs inside EAR

Please help

RaghuNath.
--------------------
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which application server are you using?
 
seshu Palamanti
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even though EAR file format for application server is more of Sun Standard Different application servers look at this in a different way. Example Weblogic will put all jars in Ear/App-inf/classes/*.jar in classpath your code might not find jars else where in weblogic.So please check up your server documentation about packaging your application.
 
Raghunath Nandyala
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks jaikiran pai,seshu Palamanti

I got the solution ..I'm using weblogic 8.1

EAR :

APP-INF--lib---(All libs)
META-INF
MDB.jar
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic