How to enable JavaEE debugging?
OPTION 1:
1. Include the line PERFORMASURE_OPTIONS=-Dquest.debug=1 in the modified startup script, just before the call to integrate.sh/cmd script.
For example:
@REM BEGIN *** Quest Foglight integration *** BEGIN
set QUEST_PREINST_OPTS=
set PERFORMASURE_OPTIONS=-Dquest.debug=1
set QUEST_AGENT_CONFIG=
set QUEST_LOG_CONFIG=
set QUEST_DEPLOYMENT_DIRECTORY=C:\\Quest\\Foglight Agent Manager\\agents\\JavaEE
set QUEST_JAVA_ENV_OPTS=WEBLOGIC:SERVER
call "%QUEST_DEPLOYMENT_DIRECTORY%\integrate-WebLogic_on_Windows-_startWebLogic_bigjava10gdev.cmd"
if ERRORLEVEL 1 echo Quest Agent NOT enabled
@REM END *** Quest Foglight integration *** END
2. Restart the application server with the modified script.
3. Reproduce the issue
4. Generate a FglAM support bundle
5. Turn off the debug by reversing the changes and restarting the application server
This option is preferred since it ensures that the startup script can be modified regardless of the permission setting.
OPTION 2:
1. Include the line PERFORMASURE_DEBUG=2 in the modified startup script, just before the call to integrate.sh/cmd script.
For example:
@REM BEGIN *** Quest Foglight integration *** BEGIN
set QUEST_PREINST_OPTS=
set PERFORMASURE_OPTIONS=
set QUEST_AGENT_CONFIG=
set QUEST_LOG_CONFIG=
set PERFORMASURE_DEBUG=2
set QUEST_DEPLOYMENT_DIRECTORY=C:\\Quest\\Foglight Agent Manager\\agents\\JavaEE
set QUEST_JAVA_ENV_OPTS=WEBLOGIC:SERVER
call "%QUEST_DEPLOYMENT_DIRECTORY%\integrate-WebLogic_on_Windows-_startWebLogic_bigjava10gdev.cmd"
if ERRORLEVEL 1 echo Quest Agent NOT enabled
@REM END *** Quest Foglight integration *** END
2. Restart the application server with the modified script.
3. Reproduce the issue
4. Generate a FglAM support bundle
5. Turn off the debug by reversing the changes and restarting the application server
OPTION 3:
When instrumentation is done through remote agent integration using JavaEEDeploymentManager properties(For 5.8.x versions):
1. Add the following option in the AGENT_OPTS column:(s).
2. Click Save Changes and close the dialogue box.
3. At the bottom of the page, click Save, and then click Back To Agent Status.
4. On the agent status page, deactivate and reactivate the JavaEEDeploymentManager agent.
5. Start or restart the application server(s).
6. Collect a FglAM support bundle.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center