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

JON Tomcat7: Web apps unreachable when Tomcat Connector configured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JWS 3.0.2 CR2
    • JWS 3.0.1 DR1, JWS 3.0.1 CR2
    • JON plugin, tomcat7
    • None
    • Release Notes
    • Hide
      When using JBoss ON to manage Tomcat 7 in JBoss Web Server, web applications may begin to throw exceptions and incorrect redirects after attempting to configure a Tomcat 7 HTTP connecter through JBoss ON.

      The cause of this issue is currently under investigation.
      Show
      When using JBoss ON to manage Tomcat 7 in JBoss Web Server, web applications may begin to throw exceptions and incorrect redirects after attempting to configure a Tomcat 7 HTTP connecter through JBoss ON. The cause of this issue is currently under investigation.
    • Documented as Resolved Issue
    • Hide

      1. Configure and import Tomcat 7 from EWS3.0.1-DR1 into JON3.3 Server with latest Web Server Plugin Pack Update-01.
      2. Configure ajp and http connectors:

      • Select and configure ajp connector
      • Tomcat Servers -> Tomcat (...:8080) -> Tomcat Connectors -> ajp-apr...8009
      • Configuration (of ajp connector) -> Max Threads -> change value (e.g. from 200 to 300) & save
      • Select and configure http connector
      • Tomcat Servers -> Tomcat (...:8080) -> Tomcat Connectors -> http-apr...8080
      • Configuration (of http connector) -> Max Threads -> change value (e.g. from 200 to 300) & save
        3. Restart Tomcat server
      • Tomcat Servers -> Tomcat (...:8080) -> Operations -> Schedules -> Restart

      (not necessary step)
      (4. Add a metric to Tomcat Web Application)

      • Tomcat Servers -> Tomcat (...:8080) -> Tomcat Virtual Hosts -> localhost -> Tomcat Web Application (WAR) -> e.g. /examples
      • Monitoring -> Schedules -> enable e.g. Requests served

      Exception when reaching e.g. http://10.16.93.109:8080/examples app:
      The browser is redirected to http://null:8080/examples/

      The correct handling of such address is when the slash is added at the end of address http://10.16.93.109:8080/examples/

      Show
      1. Configure and import Tomcat 7 from EWS3.0.1-DR1 into JON3.3 Server with latest Web Server Plugin Pack Update-01. 2. Configure ajp and http connectors: Select and configure ajp connector Tomcat Servers -> Tomcat (...:8080) -> Tomcat Connectors -> ajp-apr...8009 Configuration (of ajp connector) -> Max Threads -> change value (e.g. from 200 to 300) & save Select and configure http connector Tomcat Servers -> Tomcat (...:8080) -> Tomcat Connectors -> http-apr...8080 Configuration (of http connector) -> Max Threads -> change value (e.g. from 200 to 300) & save 3. Restart Tomcat server Tomcat Servers -> Tomcat (...:8080) -> Operations -> Schedules -> Restart (not necessary step) (4. Add a metric to Tomcat Web Application) Tomcat Servers -> Tomcat (...:8080) -> Tomcat Virtual Hosts -> localhost -> Tomcat Web Application (WAR) -> e.g. /examples Monitoring -> Schedules -> enable e.g. Requests served Exception when reaching e.g. http://10.16.93.109:8080/examples app: The browser is redirected to http://null:8080/examples/ The correct handling of such address is when the slash is added at the end of address http://10.16.93.109:8080/examples/

      The incorrect handling of web apps addresses, when Tomcat Connector configured in JON and tomcat7 is restarted.

              mbabacek1@redhat.com Karm Karm
              fgoldefu@redhat.com Filip Goldefus (Inactive)
              Radim Hatlapatka Radim Hatlapatka (Inactive)
              Lucas Costi Lucas Costi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: