Upgraded the jdk for some Weblogic-Server : (jdk-6u111 -> jdk-6u115 jdk-7u95 -> jdk-7u101)
Now the preinstrumentation fails with :
2016-05-01 16:32:15.433 FATAL [PerformaSure Agent Main Thread] com.quest.pas.agent.app.PreInstrumentorAgent - Preinstrumentation failed; please see the log file for more details java.lang.NullPointerException at com.quest.pas.agent.plugin.instrumentor.registered.rmi.JavaJRMPInstrumentor$UnicastServerRefDispatchInstrumentation.instrument(JavaJRMPInstrumentor.java:589) at com.quest.pas.agent.plugin.instrumentor.registered.RegisteredInstrumentor.instrumentMethod(RegisteredInstrumentor.java:353) at com.quest.pas.agent.instrumentor.Instrumentor.instrumentMethods(Instrumentor.java:323) at com.quest.pas.agent.instrumentor.Instrumentor.instrumentClassRepImpl(Instrumentor.java:174) at com.quest.pas.agent.instrumentor.InstrumentorBase.instrumentClassRep(InstrumentorBase.java:291) at com.quest.pas.agent.instrumentor.Instrumentor.instrumentClass(Instrumentor.java:391) . . . 2016-05-01 16:32:15.449 INFO [PerformaSure Agent Main Thread] com.quest.pas.agent.recording.AgentRecordingManager - Session recording stopped 2016-05-01 16:32:15.449 VERBOSE [PerformaSure Agent Main Thread] com.quest.pas.agent.nexus.DataCollector - Sending event notification "agun(Thread.java:745)ent.shutdown" 2016-05-01 16:32:15.459 INFO [PerformaSure Agent Main Thread] com.quest.pas.agent.Agent - Preinstrumentor Agent shutdown completed
WORKAROUND:
For Weblogic ,Tomcat,JBoss:
1. From FMS UI: Application Servers Administration: Java Administration | Agent Configuration tab | Advanced Configuration tab
2. Choose the latest version from the dropdown
3. In the search field, type preinstrumentor
4. Edit the config "preinstrumentor-15"
5. There is a line that has JavaJRMPInstrumentor, comment out that line by placing a hash (#) in front of the line
6. Save the config
For Websphere:
1. From FMS UI: Application Servers Administration: Java Administration | Agent Configuration tab | Advanced Configuration tab
2. Choose the latest version from the dropdown
3. In the search field, type preinstrumentor
4. Edit the config "preinstrumentor-ibm-15"
5. There is a line that has JavaJRMPInstrumentor, comment out that line by placing a hash (#) in front of the line
6. Save the config
Now restart the Application Server, the preinstrumentor will be re-run and would succeed now.
You will miss any JRMP requests if you had any with commenting out this instrumentor. This will be a workaround until a fix is available if you do not worry too much about missing JRMP requests.
STATUS:
Fixed in the 5.9.8.1 and the just released 5.9.9 versions
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center