Defining secondary HostGBean leads to ERROR [JAASRealm]
-------------------------------------------------------
Key: GERONIMO-4771
URL: https://issues.apache.org/jira/browse/GERONIMO-4771
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Tomcat
Affects Versions: 2.1.4
Environment: Platform: Ubuntu 8.04
Java: IBM JDK 6 sr5
Reporter: Forrest Xia
Steps:
1. unzip g 214 tomcat bundle to a directory
2. modify config.xml to add a secondary HostGBean in tomcat6 module as
following:
<gbean
name="org.apache.geronimo.configs/tomcat6/2.1.4/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.1
.4/car,j2eeType=Host,name=TomcatVirtualHost_1"
gbeanInfo="org.apache.geronimo.tomcat.HostGBean">
<attribute
name="className">org.apache.catalina.core.StandardHost</attribute>
<attribute name="initParams">name=vh1.com
appBase=
workDir=work</attribute>
</gbean>
3. start server and check the console output
Problem: you will see two errors when starting module tomcat6
2009-07-30 13:36:05,822 ERROR [JAASRealm] Class
org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal not
found! Class not added.
2009-07-30 13:36:05,822 ERROR [JAASRealm] Class
org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal
not found! Class not added.
This is not reproducible for G 2.2 snapshot.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.