on 08-18-2005 7:52 AM
Hi together !
Does anyone know how to add various other jars to the deployable XYZejb.jar generated by NW Dev Studio. I would like to add Log4J for instance.
I tried to add by Add/Remove Additional Libraries within the J2EE Dev Perspective / J2EE Explorer, jars already included to the project within the Java Perspective.
I know that I could generate the jar by Ant on my own, but that seems not to be straightforeward.
Help appreciated, thankxx in advance
Matthias
Hi Matthias,
in fact additional jars should not be packed in the ejb jar, but in the ear (the application archive).
Concerning the Log4J I would recommend using the SAP Logging framework as having a common logging mechanism for both applications and Engine components will make the supportability much easier.
Anyway, if you insist on using Log4J my advice will be either to deploy it as a J2EE Engine library and declare a reference from the application to the library or pack the jar into the applicaiton archive (the ear file).
HTH
Regards,
Svetoslav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthias,
I think these are the documents you need:
http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/0c/86b46fae4039428760a11890d2a14a/frameset.htm
They should describe how to develop, pack, deploy and administer WebAS libraries. It is not that easy as just copying a jar to the lib directory, as libraries usually have runtime references to other libraries, which need to be declared.
Regards,
Svetoslav
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.