Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-894

Docs for JWS (xPaaS) does not mention remote debugging capability

    XMLWordPrintable

Details

    • 1
    • Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial, User Experience

    Description

      Would be useful add some lines into the "RED HAT JBOSS WEB SERVER FOR OPENSHIFT" doc page [1] about the ability to do remote debugging using the JPDA protocol.

      It's possible to enable remote debugging on JWS (tomcat) adding an env var DEBUG=true in DC. The JWS images's $JWS_HOME/bin/catalina.sh uses that env var to open JPDA listening on port 8000. In order to connect remotely you just need to use the oc port forwarding mechanism:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      oc port-forward [pod name> 8000:8000
      

      [1] https://access.redhat.com/documentation/en-us/red_hat_jboss_middleware_for_openshift/3/html-single/red_hat_jboss_web_server_for_openshift/

      Attachments

        Activity

          People

            dphilips@redhat.com Daniel Philips (Inactive)
            rafael.soares Rafael Soares
            Michal Karm Michal Karm
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: