Adding virtual host config causes an error message upon server startup
----------------------------------------------------------------------

                 Key: GERONIMO-4627
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4627
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 2.1.2, 2.1.1
         Environment: Both WinXP and Redhat
            Reporter: Louis Savoldy
             Fix For: 1.1.2


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.

{code:xml}

    <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>

{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to