Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-4627

Adding virtual host config causes an error message upon server startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.1, 2.1.2
    • None
    • None
    • Security Level: public (Regular issues)
    • None
    • Both WinXP and Redhat

    Description

      When adding a virtual host to the <geronimo home>/var/config/config.xml, I get the following error upon server startup:

      Module 15/72 org.apache.geronimo.configs/tomcat6/2.1.4/car 2009-05-14 09:53:20,386 ERROR [JAASRealm] Class org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal not found! Class not added.
      2009-05-14 09:53:20,387 ERROR [JAASRealm] Class org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal not found! Class not added.
      started in 1.268s

      If I remove the virtual host configuration, the error is gone.

      Here is an example of xml config that was added.

          <gbean name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1.4/car,j2eeType=Host,name=virtual-host-1" gbeanInfo="org.apache.geronimo.tomcat.HostGBean">
                  <attribute name="className">org.apache.catalina.core.StandardHost</attribute>
                  <attribute name="initParams">name=foo-1.domain.org
                                                appBase=
                                                workDir=work</attribute>
                  <attribute name="aliases">foo-2.domain.org,foo-3.domain.org</attribute>
          </gbean>
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            louis.s Louis Savoldy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified