Unable to Instrument Informatica Powercenter 10.4.1 using Java agent. Has anyone tried it ?
Tried to put jvm arguments in setenv.bat / Catalina.bat / infaservice.bat but nowhere it is picking it up and hooking up with the application.
Suggestions are invited
Hi Rohit
Can you share how you are adding the config to the infaservice.bat file? And what OS you are using?
Ciao
Hi Mario,
I am adding CATALINA_OPTS variable with javaagent.jar path before start of tomcat service parameters in infaservice.bat
OS is Windows.
please let me know if exact jvm argument is required.
Hi Rohit
Informatica PowerCenter uses the following for
https://knowledge.informatica.com/s/article/301535?language=en_US
Use the INFA_JAVA_OPTS env variable to add the startup parameters as well as add it to the registry configuration
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InformaticaServiceName\Parameters
It seems you have to set both
Ciao
Thanks for checking this, I had checked these recommendations and was sceptic of how modification of registry may be a risky idea.
Also I had found INFA_JAVA_OPTS was not in the environment variables, just wondering , can we add to the windows environment variables ?
Regards
Rohit
Hi, Can you share the content of you infraservice.bat file ?
Just remove any sensitive data if any
Ho Rohit
From what I gather, you need to put it in the place where it will always be used when starting the application
I believe adding the data to the System Env Variable, and/or registry should be the best way to do this.
Here is a video as well - https://www.youtube.com/watch?v=M6HAwrlHbTs, which should guide you to what you need to do.
As always, test in non-production:)
Ciao
Thanks for the valuable info Mario, I think the video makes it very clear. I will check on this today and update how it went.
Thanks and Regards