SAP Mobile platform with three inbuilt Tomcat server. The complete detail
architecture of the Application is here:
has three tomcat apps on SAP JVMs namely Portal, Gateway and Mobiliser. We have
successfully instrumented the portal and Gateway but we are not able to
instrument the Mobilizer App. The Mobiliser tomcat does not have Catalina.sh.
We tried injecting the Java argument on the setenv.sh as JAVA_OPTS
and CATALINA_OPTS but both of them failed. The application server does not
detect the changes.
running out of ideas where exactly we need to put the Java arguments.
further research, I found that SAP supports Wily Introscope out of the box
for monitoring their Apps. And for configuring the Wily Introscope with
SAP Mobile platform we need to add the agent path as follows:
Can we replace the value for -Javaagent with our agent.so
path here. Will it work? I have a gut feeling it should but not 100% sure.
Although we are working on a UAT server, we do not have liberty to
restart the server that often so cannot play around with it.
Dynatrace uses a Java Native Agent which we inject via the -agentpath command line option - not the -javaagent option. What that means is that you can simply replace the -javaagent option from Wily with the -agentpath option for Dynatrace