You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2009/07/30 08:10:14 UTC
[jira] Created: (GERONIMO-4771) Defining secondary HostGBean leads
to ERROR [JAASRealm]
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.
[jira] Closed: (GERONIMO-4771) Defining secondary HostGBean leads
to ERROR [JAASRealm]
Posted by "Forrest Xia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia closed GERONIMO-4771.
---------------------------------
Verified and the error msg disappears. thanks Ivan!
> 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
> Assignee: Ivan
> Priority: Minor
> Fix For: 2.1.5
>
>
> 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.
[jira] Resolved: (GERONIMO-4771) Defining secondary HostGBean leads
to ERROR [JAASRealm]
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan resolved GERONIMO-4771.
----------------------------
Resolution: Fixed
Commit the changes to 2.1.5 at revision: 800692.
> 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
> Assignee: Ivan
> Priority: Minor
> Fix For: 2.1.5
>
>
> 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.
[jira] Updated: (GERONIMO-4771) Defining secondary HostGBean leads
to ERROR [JAASRealm]
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan updated GERONIMO-4771:
---------------------------
Priority: Minor (was: Major)
Fix Version/s: 2.1.5
Assignee: Ivan
I found that we have already discussed it in the mail list, and it did not caused any function failures.
Please refer to http://www.nabble.com/2.1.3-to-2.1.4-Upgrade-Virtual-Hosts-issue-td23123340s134.html
So I changed the priority to minor. The issue is caused by the way we add the host gbean in 2.1.*, the thread losts the context classloader used to create the host gbean.
> 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
> Assignee: Ivan
> Priority: Minor
> Fix For: 2.1.5
>
>
> 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.