• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Defining shared jars in application.xml doesn't seem to work in 8.1

 
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm coming from a JBoss background and in some apps I've worked with we'd define common jars that are ejb and war needed in our application.xml file and everything worked fine. I'm now stuck at a place using old Bea Weblogic 8.1 and it seems like I can only define the shared jars in the manifest file definitions. When I try and use application.xml to declare the shared jars that I want my ejb and webapp to use, weblogic complains with class not found errors.

The docs seem to be confusing on the issue. On one hand they have these docs on application.xml
http://e-docs.bea.com/wls/docs81/programming/app_xml.html#1007302

but in another area it mentions having to use the manifest files for declaring external jar dependencies.
 
Rick Reumann
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After doing even more research, I think what I was doing in JBoss wasn't really standard. Not positive though.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rick Reumann:
After doing even more research, I think what I was doing in JBoss wasn't really standard. Not positive though.



You are right, JBoss allows you to declared those shared libraries in the application.xml file as a < java> module. But ideally, the < java> module is meant to represent an "application-client" in J2EE.

You might want to have a look at this article, which speaks of packaging utility classes in a portable J2EE application.
 
Would anybody like some fudge? I made it an hour ago. And it goes well with a tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic