Adding pre-built JAR files to your EAR in Rational Application Developer
I have the following jars that I want to include on the classpath of my EAR:
- jaxb-api.jar
- jaxb-impl.jar
- jsr172_1.0_api.jar
- log4j-1.2.15.jar
- spring.jar
For my Spring/JAXB/Log4J solution. I tried to look into the deployment descriptors to place prebuilt ears but I could not find it.
My solution was to open the MANIFEST.MF file inside the EJB project. You can add jars through the text editor.
My example:
Manifest-Version: 1.0
Class-Path: LoggingUtility.jar
spring.jar
jaxb-api.jar
jaxb-impl.jar
log4j-1.2.15.jar
jsr173_1.0_api.jar
Deploys and runs on WebSphere Application Server with no problem.
Related Posts
- javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package {0}
- Where’s that class being loaded from? - Which4J
- WebSphere Application Server and The Spring Framework
- WebSphere 6.1 and Jakarta Commons Logging (JCL) using Log4J in an EJB
- Still Springing Along
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply