Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1704

Roller stops working with Apache 2.0, Glassfish and JK2 connector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0
    • None
    • None
    • Ubuntu 7.1 - kernel 2.6.20-16-386
      Apache 2.2.4
      mod_jk/1.2.23
      tomcat-ajp.jar form Tomcat 5.5.23
      Glassfish v2 b58g
    • Firefox 2.0.0.13 and IE 6.0
    • petrobras.com.br
    • PostgreSQL 8.2.3
    • java 1.6.0_03-b05
    • 2 days
    • Ubuntu 7.1 - kernel 2.6.20-16-386

    Description

      Roller installs and works very well in a brand new Glassfish instalation, but stops working after the configuration of Glassfish v2 with Apache 2.2.4.
      Other WebApplications continue working with this new configuration, and if I remove only the configuration of Glassfish, Roller starts working again.

      This is what I'm doing to setup mod_jk with Apache:
      1. Install with apt-get install libapache2-mod-jk ;
      2. Set apache2.conf with:
      JkWorkersFile /etc/apache2/worker.properties
      JkShmFile /var/log/apache2/jk-runtime-status
      JkLogFile /var/log/apache2/mod_jk.log
      JkLogLevel info
      JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
      JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories +ForwardURIEscaped
      JkRequestLogFormat "%w %V %T"
      JkMount /*.jsp worker1
      JkMount /roller* worker1
      3. Set worker.properties with:

      1. Define 1 real worker using ajp13
        worker.list=worker1
      2. Set properties for worker1 (ajp13)
        worker.worker1.type=ajp13
        worker.worker1.host=localhost.localdomain
        worker.worker1.port=8009
        worker.worker1.lbfactor=50
        worker.worker1.cachesize=10
        worker.worker1.cache_timeout=600
        worker.worker1.socket_keepalive=1
        worker.worker1.socket_timeout=300
        4. Restart Apache

      This is what I'm doing to setup Glasshfish:
      1. Turn on the JK VM setting with: asadmin create-jvm-options -Dcom.sun.enterprise.web.connector.enableJK=8009 ;
      2. Copy tomcat-ajp.jar (from Tomcat 5.5.23), commons-logging.jar (from commons-logging-1.0.4) and commons-modeler.jar (from commons modeler 1.1) to $Glassfish_home/lib ;
      3. Restart Glassfish

      Attachments

        1. Log Entry Detail.03.htm
          17 kB
          Augusto Cesar Righetto
        2. Log Entry Detail.02.htm
          23 kB
          Augusto Cesar Righetto
        3. Log Entry Detail.01.htm
          23 kB
          Augusto Cesar Righetto

        Activity

          People

            roller_unassigned Roller Unassigned
            augustorighetto Augusto Cesar Righetto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: