java - How do i know if my application is running in weblogic in debug mode? -


say want application behave differently when running in debug mode in weblogic - there flag can check?

ie:

if (weblogic.debug) console.writeline("running in debug mode in weblogic"); 

you can add arguments weblogic server allow debug remotely, setting -xdebug option in startweblogic script.

you can see full example in oracle docs here

and in similar question here: how debug java ee application using weblogic 10.3

once have debug turned on pull out of jvm args/system properties shown here: how vm arguments inside of java application?

if you're not asking debug instead asking how tell if server in production mode vs development mode, can access isproductionmodeenabled() via jmx, described here

you can edit logging levels servers turn debug on...


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -