• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Use thirdparty JAR in EJB project in RSA 6.0.1  RSS feed

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • 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: 24488
55
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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
  • 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: 39285
727
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!