Turning debug menu on permanently
Often, during development, you will spend a lot of time in the Debug pages.
In order to enable this menu, use the following java option when starting your app server JVM:
# Support putting the Debug page on the main screen:
JAVA_OPTS="-Dsailpoint.debugPages=true $JAVA_OPTS"
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
Hi Chris Hajdu.
Thanks for this hint - that's great.
Just one more question: Does this enable the full blown debug menu for anyone independent of the user's rights?
Thanks,
Daniel
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
The menu shows up for everyone, but what you can do is tied to your user type. I just turned it on and spadmin saw everything, but another user only saw "Call Timings and Connections".
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
Hi Chris,
Can you please suggest me how to restrict debug page to show one user.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
Hi Chris,
Where exactly I need to add this line, could you please guide me...
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
You want to place this in your startup script for your app server. Typically you want this to go into your JAVA_OPTS before you statup the app server.
I'm running tomcat and put this in my catalina.sh startup file.
Tomcat, JBoss, WebLogic, and Websphere all support setting JAVA_OPTS.
In my catalina.sh file, I have these following lines prior to starting up the server:
JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=256m -Xms768m -Xmx1024m"
JAVA_OPTS="-Dsailpoint.debugPages=true $JAVA_OPTS"
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
Hi Chris,
Thanks for the response, It worked for me...
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
For anyone using Windows, this can also be done using the Tomcat Configuration Tool from the Start Menu. Add the line to the Java Options on the Java tab, apply and restart your app server.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
Hi Chris,
I observed one strange thing, Initially, when I added above lines in my catalina.sh file, debug menu showed up in UI, but later when I checked couple of days later in my sandbox, I don't see any debug menu but still, code exists in the same catalina.sh file.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
Make sure you are starting it the same way each time. You want to pull in the debug startup properties each time.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Content to Moderator
Hi,
If the user have out of box 'catalina.sh' then where should those lines be added? Can you give the line(starting the server) details above which we have to place those JAVA_OPTS?
Thanks
Sahil