You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Oliver Zeigermann <ol...@zeigermann.de> on 2004/10/03 20:52:17 UTC

JAASRealm classloder problem with Tomcat 5 (not 4)

I mentioned before that in Tomcat 5 there was the old silly classloader 
problem with the JAASRealm we had with the ordinary SlideRealm before. 
So I decided to stick to the SlideRealm. I have, however, found out what 
the problem was

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29406

and it obviously has been fixed in 5.0.28. You just have to change the 
configuration in server.xml and add something like

useContextClassLoader="false"

to your JAAS ream defintion and things work from a single war.

What about changing the default Tomcat bundle to this setting? Maybe 
even for the 2.1 release?

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: JAASRealm classloder problem with Tomcat 5 (not 4)

Posted by Oliver Zeigermann <ol...@zeigermann.de>.
No. The reason was Tomcat 5 was pretty new at the time of the 2.0 
release and people were asking to have the "reliable" 4 version as well. 
I can see no more reasons to stick to 4 anymore. Except: We already had 
the 2.1 with the Tomcat 4 distribution. However, if anyone has to fo 
with Tomcat 4 he/she can still patch it with the ant tasks.

Oliver

Unico Hommes schrieb:

> I don't use the tomcat bundles but to me it makes perfect sense to have 
> only one out-of-the box distribution. What was the reason for having 
> both in the first place? Was it this JAASRealm issue? In that case even 
> more reason to drop tomcat 4 bundle.
> 
> -- 
> Unico
> 
> Oliver Zeigermann wrote:
> 
>> Isn't it about time do drop the Tomcat 4 bundle as a distribution 
>> along with that?
>>
>> Oliver
>>
>> Unico Hommes schrieb:
>>
>>> Oliver Zeigermann wrote:
>>>
>>>> I mentioned before that in Tomcat 5 there was the old silly 
>>>> classloader problem with the JAASRealm we had with the ordinary 
>>>> SlideRealm before. So I decided to stick to the SlideRealm. I have, 
>>>> however, found out what the problem was
>>>>
>>>> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29406
>>>>
>>>> and it obviously has been fixed in 5.0.28. You just have to change 
>>>> the configuration in server.xml and add something like
>>>>
>>>> useContextClassLoader="false"
>>>>
>>>> to your JAAS ream defintion and things work from a single war.
>>>>
>>>> What about changing the default Tomcat bundle to this setting? Maybe 
>>>> even for the 2.1 release?
>>>>
>>>>
>>>
>>> I'd say go for it :-)
>>>
>>> -- 
>>> Unico
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: JAASRealm classloder problem with Tomcat 5 (not 4)

Posted by Unico Hommes <un...@hippo.nl>.
I don't use the tomcat bundles but to me it makes perfect sense to have 
only one out-of-the box distribution. What was the reason for having 
both in the first place? Was it this JAASRealm issue? In that case even 
more reason to drop tomcat 4 bundle.

--
Unico

Oliver Zeigermann wrote:

> Isn't it about time do drop the Tomcat 4 bundle as a distribution 
> along with that?
>
> Oliver
>
> Unico Hommes schrieb:
>
>> Oliver Zeigermann wrote:
>>
>>> I mentioned before that in Tomcat 5 there was the old silly 
>>> classloader problem with the JAASRealm we had with the ordinary 
>>> SlideRealm before. So I decided to stick to the SlideRealm. I have, 
>>> however, found out what the problem was
>>>
>>> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29406
>>>
>>> and it obviously has been fixed in 5.0.28. You just have to change 
>>> the configuration in server.xml and add something like
>>>
>>> useContextClassLoader="false"
>>>
>>> to your JAAS ream defintion and things work from a single war.
>>>
>>> What about changing the default Tomcat bundle to this setting? Maybe 
>>> even for the 2.1 release?
>>>
>>>
>>
>> I'd say go for it :-)
>>
>> -- 
>> Unico
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: JAASRealm classloder problem with Tomcat 5 (not 4)

Posted by Oliver Zeigermann <ol...@zeigermann.de>.
Isn't it about time do drop the Tomcat 4 bundle as a distribution along 
with that?

Oliver

Unico Hommes schrieb:

> Oliver Zeigermann wrote:
> 
>> I mentioned before that in Tomcat 5 there was the old silly 
>> classloader problem with the JAASRealm we had with the ordinary 
>> SlideRealm before. So I decided to stick to the SlideRealm. I have, 
>> however, found out what the problem was
>>
>> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29406
>>
>> and it obviously has been fixed in 5.0.28. You just have to change the 
>> configuration in server.xml and add something like
>>
>> useContextClassLoader="false"
>>
>> to your JAAS ream defintion and things work from a single war.
>>
>> What about changing the default Tomcat bundle to this setting? Maybe 
>> even for the 2.1 release?
>>
>>
> 
> I'd say go for it :-)
> 
> -- 
> Unico
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: JAASRealm classloder problem with Tomcat 5 (not 4)

Posted by Unico Hommes <un...@hippo.nl>.
Oliver Zeigermann wrote:

> I mentioned before that in Tomcat 5 there was the old silly 
> classloader problem with the JAASRealm we had with the ordinary 
> SlideRealm before. So I decided to stick to the SlideRealm. I have, 
> however, found out what the problem was
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29406
>
> and it obviously has been fixed in 5.0.28. You just have to change the 
> configuration in server.xml and add something like
>
> useContextClassLoader="false"
>
> to your JAAS ream defintion and things work from a single war.
>
> What about changing the default Tomcat bundle to this setting? Maybe 
> even for the 2.1 release?
>
>

I'd say go for it :-)

--
Unico



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org