Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Weblogic Web service Debug flags

$
0
0

 For advance debug logging in webservice, you can enable debugs on Weblgic webservice by adding the following -D flags to your server startup script, then restart Weblogic server:

  • Security related:

    -Dweblogic.wsee.security.verbose=true
    -Dweblogic.wsee.security.debug=true
    -Dweblogic.debug.DebugSecurityCredMap=true

  • Crypto related:

    -Dweblogic.xml.crypto.encrypt.verbose=true
    -Dweblogic.xml.crypto.dsig.debug=true
    -Dweblogic.xml.crypto.dsig.verbose=true
    -Dweblogic.xml.crypto.wss.debug=true
    -Dweblogic.xml.crypto.wss.verbose=true
    -Dweblogic.xml.crypto.keyinfo.debug=true
    -Dweblogic.xml.crypto.keyinfo.verbose=true
    -Dweblogic.xml.crypto.dsig.debug=true
    -Dweblogic.xml.crypto.dsig.verbose=true
    -Dweblogic.xml.crypto.encrypt.debug=true
    -Dweblogic.xml.crypto.encrypt.verbose=true

  • SAML related:

    -Dweblogic.debug.DebugSecuritySAMLService=true
    -Dweblogic.debug.DebugSecuritySAMLCredMap=true
    -Dweblogic.debug.DebugSecuritySAMLAtn=true
    -Dweblogic.debug.DebugSecuritySAMLLib=true
    -Dweblogic.debug.DebugSecuritySAML2Service=true
    -Dweblogic.debug.DebugSecuritySAML2CredMap=true
    -Dweblogic.debug.DebugSecuritySAML2Atn=true
    -Dweblogic.debug.DebugSecuritySAML2Lib=true

  • General:

    -Dweblogic.log.StdoutSeverity=Debug
    -Dweblogic.wsee.verbose=weblogic.wsee.conversation.*, weblogic.wsee.callback.*
    -Dweblogic.webservice.verbose=true
    -Dweblogic.wsee.debug=*
    -Dweblogic.wsee.verbose.timestamp=true

For logging of http request and response with Metro webservice, add the following to your server startup script, and restart Weblogic Server:

  • General:

    com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true

You can selectively enable the relevant debug flags, as needed.  By default, all logging goes to the WLS server log.

Note:  You can add more verbose debugging from individual subsystem in webservice using -Dweblogic.wsee.verbose by listing the subsystems in comma-separated list, as shown above. Alternatively, you can use use -Dweblogic.wsee.verbose=* to output all the debug logging.


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>