Skip to Content
Author's profile photo Lluis Salvador Suarez

Ewa – Connect JAVA “introscope agent” trough saprouter – part 1/2

¡ Warning: don’t try that if you don’t need it !

You are fighting on the ewa setup for a dammed JAVA system Java Systems to a Solution Manager system, but for security reasons you need to establish that connection trough saprouter, exactly “introscope agent” using saprouter connection. you configured Solution Manager diagnostic Agent system in a new server with a SAP system, usually the agent is connected to Solution Manager system directly by P4 port but you need to use a saprouter to connect the managed system to the managing system (different that port 50004 and port 80 for SLD)  the challenger is to route the Introscope Manager trough SAProuter.

For allow that you have to take in consideration that:

– Saprouter support in Introscope byte code instrumentation agent for Java: Introscope 8.0.1 (and higher,i use 8.01 for that test )

Steps for setup the connection:

– Edit the saprouttab to allow the TCP connection to each managed system, Introscope Enterprise Manager (usually use default port 6001)

– Edit Java Bytecode Agent


1. Install the byte code agent via the standard procedure (deploy to Solution Manager, use Introscope agent setup to configure the managed system).

Do not yet restart the managed system.

2. Manually adapt the agent profile (no UI support yet)


2.1. comment out standard entries:


2.2. de-comment the saprouter entries and adapt the saprouter string:


3. Restart the managed instance to activate the changes.

4. Check in the Introscope Investigator if the agent is connected.

5. Troubleshooting

Check the Introscope agent log for connection message


–      Check saprouter los

–      Check jvm logs

( /usr/sap/SMD/J98/SMDAgent/work/*.log ) 

If the agent is connected to Solution Manager

a) From the SMD Agent Administration Console:          http://<solmanhost>:<solmanport>/smd/AgentAdmin

b) Navigate to “Agent Log Viewer”

c) Select your agent

d) Click on “Download Logs”

– The latest DefaultTrace files of the managing system:


That’s all, hope that simple guide help you for the ewa setup on java system where the network has security policies that not allow to open direct ports to manager system ( solution Manager ).

What’s Next:

Part 2/2 – Connect “wilyhost agent” trought saproute; remember that beside you setup introscope agent trough saprouter, application wilyhost agent will ned an especial setup for that, i will update ASAP.

[Update on 11/01/2014]–connect-java-wilyhost-agent-trough-saprouter–part-22

Best Regards,


Helpfull information:

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Very good information.  Looking forward to pt. 2 

      Author's profile photo Lluis Salvador Suarez
      Lluis Salvador Suarez
      Blog Post Author

      Hi Jeffrey, part 2 is ready 😉 sorry for the delay I really forgo t to update It.

      Best regards,


      Author's profile photo Former Member
      Former Member

      Hola Luis

      Tendras un documento que explique como conectar Solman 7.1 SP6 con un Managed System ABAP a travez de saprouter? No he tenido ningun problema al conectar con sistemas JAVA pero en ABAP al parecer las RFC no funcionan del todo

      Tendras una guia?

      Author's profile photo Lluis Salvador Suarez
      Lluis Salvador Suarez
      Blog Post Author

      Hola Mauricio, la verdad es que para hacerlo con un sistema ABAP es muchísimo más fácil que con el JAVA.

      Lo único que necesitas es abrir el puerto 3299 y pasar las RFC's por tu saprouter con rutas del tipo:


      Si lo has conseguido hacer con el JAVA, con ABAP no tienes que tener muchos problemas.

      Que es lo que te está dando problemas Mauricio ?