I did a compare of my Tomcat 5.5.27 deployment (that did not work) and my
5.5.23 deployment that did work and found they were the same as well.  I did
manage to get my 5.5.27 deployment to work this time by taking Ate's advice
with respect to the 'useContextClassLoader' value and managed to now get J2
to run and authenticate properly on the 5.5.27 instance.  It does appear (at
least in my case) that 5.5.27 requires true and 5.5.23 requires false.

<5.5.27-HOME>/conf/Catalina/localhost/jetspeed.xml:

<Realm className="org.apache.catalina.realm.JAASRealm"
         appName="Jetspeed"

userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl"

roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl"
         useContextClassLoader="true"
         debug="0"/>

<5.5.23-HOME>/conf/Catalina/localhost/jetspeed.xml:

<Realm className="org.apache.catalina.realm.JAASRealm"
         appName="Jetspeed"

userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl"

roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl"
         useContextClassLoader="false"
         debug="0"/>

Unfortunately, I am uncertain why your instance still exhibits the issue
regardless of the value used because that is exactly the behavior I
experienced on 5.5.27  when useContextClassLoader="false".

On Wed, May 13, 2009 at 6:02 PM, Jan Kowalik <[email protected]> wrote:

> >>Key areas to
> >> compare are shared/lib, conf/Catalina/localhost/jetspeed.xml
>
> > I will try to compare one from installer with deployed by maven, as you
> said.
>
> I did, and those lib directories contains same jar's and xml's are the
> same.
>
> I have also found few more threads about similar, practically same
> issue but non has solution.
>
> Summarizing, problem regards :
> ++++++++++++++++++++++++++++++++++++++++++++++
> org.apache.catalina.realm.JAASRealm parseClassNames
> SEVERE: Class org.apache.jetspeed.security.impl.UserPrincipalImpl not
> found! Class not added.
> org.apache.catalina.realm.JAASRealm parseClassNames
> SEVERE: Class org.apache.jetspeed.security.impl.RolePrincipalImpl not
> found! Class not added.
> ++++++++++++++++++++++++++++++++++++++++++++++
>
> This occurs in all tomcat catalina.out I tried with maven deployed
> JetSpeed2.1.3 -> tomcat5.5.23, tomcat5.5.27, tomcat6.0.18
>
> --
> Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to