• 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

Use thirdparty JAR in EJB project in RSA 6.0.1

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using RSA 6.0.1 to develop a EJB project in which LOG4J is also used to log some userful information when the EJB is running. I found that RSA didn't package the log4j-1.2.11.jar into the EAR file even I have added the JAR file in the EJB project. Therefore, I have to copy the JAR file to the folder "Utility JARs" in the EAR and define the entry "Class-Path: log4j-1.2.11.jar" in META/INF/MANIFEST.MF manually or the EJB will result in NoClassDefFound for the log4J otherwise.

Can RSA do it automatically for me?
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sorry, "RSA" doesn't ring any bells with me. And my Google searches for "RSA" don't give me anything about IDEs. Can you tell us what it stands for?
 
Joe Cheung
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
RSA stands for "Rational Software Architect" which is built on top of "Eclipse" developed by IBM
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Joe,
Why are you storing the jar in the EJB project rather than the EAR? We keep all of our jars in the EAR file and refer to them in the EJB project using Java Jar Dependencies.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic