on 03-31-2010 6:34 PM
I need to set a JVM Parameter -javaagent:WebContent/WEB-INF/lib/spring-agent.jar
This parameter is to support the AspectJ Loadtime weaving.
Is there any way to pass this JVM parameter for my NetWeaver Application Server?
I tried to add the parameter in AS Java Config tool > VM Parameters > Additional
The server started successfully but my application is still returning exception, saying it is missing the above jar in JVM Parameters
Is there any way to resolve this?
ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you really could put the javaagent-jar as startup-parameter for NetWeaver AS, you may get performance issues because every class might go through the weaving-enhancement-process.
Since SAP NetWeaver most likely does not support you to hook into its classloading process for bytecode enhancement, I recommend bytecode weaving at compile/build time. AspectJ does support this, the result at runtime is the same.
Regards
Rolf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
to my knowledge libraries should not be added to the server via parameters. To deploy your library, which obviously is Spring software, please check [Third party integration|http://www.sdn.sap.com/irj/sdn/opensource-integration?rid=/webcontent/uuid/6000c426-008a-2a10-aeac-9a66ae62edcf]
Regards,
Benny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.