cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

SAP Mobile Platforms

chanchal_ojha
Dynatrace Supporter
Dynatrace Supporter

Hello All,

I have
SAP Mobile platform with three inbuilt Tomcat server. The complete detail
architecture of the Application is here:

https://uacp2.hana.ondemand.com/doc/329ac769552a411b97bc7adb991b6197/3.0.12/en-US/7bff39bd70061014a4...

It
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.

I’m
running out of ideas where exactly we need to put the Java arguments.

On
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:


-javaagent:C:/SAP/MobilePlatform3/Introscope_Agent/wily/Agent.jar

-Dcom.wily.introscope.agentProfile=C:/SAP/MobilePlatform3/Introscope_Agent/wily/core/config/IntroscopeAgent_SMP.profile


-Dcom.wily.introscope.agent.agentName=SAPMobilePlatform

-XX:-UseSplitVerifier

http://help.sap.com/saphelp_smp303svr/helpdata/en/7c/306c72700610148635ba5ae6c07ad0/content.htm

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.

2 REPLIES 2

andreas_grabner
Dynatrace Guru
Dynatrace Guru

Hi

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

Andi

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

Chanchal, One more thing to add to what Andi said: You can also remove the -Dcom.wily... arguments as Dynatrace does not need anything other than the -agentpath parameter.