on 10-06-2008 2:22 PM
Hi
I posted the question [here|;, but no answer (might be the wrong forum?) Let's do one more try here:
I'd ike to configure the classpath for a deployed J2EE application on NWCE10 (setting the application classpath, not the jvm classpath). Obviously it is possible to adapt the file applicationj2ee-engine.xml and set the classpath there, but I'd like to configure it in the administration tool (<host>:<port>/nwa)
Is this possible?
Thanks for your help!
Best regards
Bettina
Hi Bettina,
No, it's not possible. application-j2ee-engine.xml is the way to go.
Regards,
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bettina,
You can find confirmation / information on how the "classpath" should be formatted in application-j2ee-engine.xml [here|http://help.sap.com/saphelp_nwce10/helpdata/en/45/053c1041f30486e10000000a155369/frameset.htm] and [here|http://help.sap.com/saphelp_nwce10/helpdata/en/44/f447a8d62b0484e10000000a155369/frameset.htm].
Actually, as you can see, you don't work with a classpath directly, rather specify references (dependencies) to other components that you should also make available on the server.
HTH!
\-- Vladimir
Hi Vladimir
thanks for helping! Actually, adding libraries is not my requirement. I need to configure a path to an xml-file which contains my log-configuration.
I know the document here: (http://help.sap.com/saphelp_nwce10/helpdata/en/45/053c1041f30486e10000000a155369/frameset.htm), but I was looking for something a little less abstract or with an example....
Is application-j2ee-engine the right place for configuring a "classpath" where an application can find single xml-fles?
Kind regards
Bettina
Hi Bettina,
No, actually the "classpath" element in the application-j2ee-engine.xsd is obsolete and should not even be in the schema. We'll fix this in the help library asap. Thanks for bringing it to our attention.
On the other hand, the log-configuration.xml file does not exist anymore (since CE 7.1 SP3). Please check this [note|http://help.sap.com/saphelp_nwce10/helpdata/en/45/daf537a1772e97e10000000a155369/frameset.htm].
Cheers,
Vladimir
Dear Vladimir,
maybe I should explain what we really would like to achieve: We are using Logback as Logging Framework. Logback uses a file called logback.xml where appenders and loggers are defined. That file must be in the classpath of our application. For Netweaver CE 7.1 we are using a modified logback.xml-File which contains a special appender to allow for SAP logging.
We would like to add the logback.xml to the classpath without storing it inside the EAR, therefore we are looking for a way to configure the path outside the EAR after deployment. How can we meet this goal?
I hope I could make myself clear now.
Best regards
Bettina
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.