You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henri Gomez <hg...@apache.org> on 2003/10/13 10:28:48 UTC

TC 3.3.2-dev and endorsed lib

In TC 4.1.x and 5.0.x there is support for endorsed lib but
nothing like this in tc 3.3.2-dev.

Since we may have people (including myself), who will have
to use SDK 1.4.x with Tomcat 3.3.2, I like to add such feature
to Tomcat 3.3.2-dev.

I was thinking put the endorsed in lib/endorsed, ie next
to lib/common, lib/apps and lib/container.

I'll modify run scripts and build for such feature.

If a classloader specialist could see if something is
required (from TC 4.1 it seems yes).

Regards



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


Re: TC 3.3.2-dev and endorsed lib

Posted by Henri Gomez <hg...@apache.org>.
Bill Barker a écrit :

> ----- Original Message ----- 
> From: "Henri Gomez" <hg...@apache.org>
> To: "Tomcat Developers List" <to...@jakarta.apache.org>
> Sent: Monday, October 13, 2003 2:09 AM
> Subject: Re: TC 3.3.2-dev and endorsed lib
> 
> 
> 
>>Bill Barker a écrit :
>>
>>
>>>----- Original Message ----- 
>>>From: "Henri Gomez" <hg...@apache.org>
>>>To: "Tomcat Developers List" <to...@jakarta.apache.org>
>>>Sent: Monday, October 13, 2003 1:28 AM
>>>Subject: TC 3.3.2-dev and endorsed lib
>>>
>>>
>>>
>>>
>>>>In TC 4.1.x and 5.0.x there is support for endorsed lib but
>>>>nothing like this in tc 3.3.2-dev.
>>>>
>>>>Since we may have people (including myself), who will have
>>>>to use SDK 1.4.x with Tomcat 3.3.2, I like to add such feature
>>>>to Tomcat 3.3.2-dev.
>>>>
>>>
>>>
>>>It's not really necessary for 3.3.x, since the XML parsing requirements
> 
> for
> 
>>>Tomcat are pretty limited (without looking, we are currently shipping
> 
> with a
> 
>>>jaxp1.x version I believe).
>>>
>>>
>>>
>>>>I was thinking put the endorsed in lib/endorsed, ie next
>>>>to lib/common, lib/apps and lib/container.
>>>>
>>>
>>>
>>>I'm +0 as long as the lib/endorsed directory is empty in the default
>>>install.  Otherwise, I'm -1.
>>>
>>>
>>>
>>>
>>>>I'll modify run scripts and build for such feature.
>>>>
>>>>If a classloader specialist could see if something is
>>>>required (from TC 4.1 it seems yes).
>>>
>>>
>>>The Tomcat 3.3 ClassLoaders are all delegating loaders (so it is much
>>>simpler than the 4.x/5.x case).  If you are using a 1.4.x JVM, Tomcat
> 
> 3.3
> 
>>>will always grap the XML parser from the System ClassLoader (either the
> 
> one
> 
>>>that ships-with, or the endorsed).
>>
>>Even if we set -Djava.endorsed and fill the directory with the jars we
>>want it to use ?
>>
> 
> 
> That should work much like it does for 4.1.x/5.0.x (but I haven't tried it
> :).  Once you get out of the WebappClassLoader, the 4.1.x/5.0.x ClassLoaders
> are delegating CLs.  Again, I'm +0 to set the -Djava.endorsed.dir to an
> empty directory (that the user can copy their favorite xerces version to),
> and -1 to populate it by default.

Ok, I will just create structure but don't populate by default


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


Re: TC 3.3.2-dev and endorsed lib

Posted by Bill Barker <wb...@wilshire.com>.
----- Original Message ----- 
From: "Henri Gomez" <hg...@apache.org>
To: "Tomcat Developers List" <to...@jakarta.apache.org>
Sent: Monday, October 13, 2003 2:09 AM
Subject: Re: TC 3.3.2-dev and endorsed lib


> Bill Barker a écrit :
>
> > ----- Original Message ----- 
> > From: "Henri Gomez" <hg...@apache.org>
> > To: "Tomcat Developers List" <to...@jakarta.apache.org>
> > Sent: Monday, October 13, 2003 1:28 AM
> > Subject: TC 3.3.2-dev and endorsed lib
> >
> >
> >
> >>In TC 4.1.x and 5.0.x there is support for endorsed lib but
> >>nothing like this in tc 3.3.2-dev.
> >>
> >>Since we may have people (including myself), who will have
> >>to use SDK 1.4.x with Tomcat 3.3.2, I like to add such feature
> >>to Tomcat 3.3.2-dev.
> >>
> >
> >
> > It's not really necessary for 3.3.x, since the XML parsing requirements
for
> > Tomcat are pretty limited (without looking, we are currently shipping
with a
> > jaxp1.x version I believe).
> >
> >
> >>I was thinking put the endorsed in lib/endorsed, ie next
> >>to lib/common, lib/apps and lib/container.
> >>
> >
> >
> > I'm +0 as long as the lib/endorsed directory is empty in the default
> > install.  Otherwise, I'm -1.
> >
> >
> >
> >>I'll modify run scripts and build for such feature.
> >>
> >>If a classloader specialist could see if something is
> >>required (from TC 4.1 it seems yes).
> >
> >
> > The Tomcat 3.3 ClassLoaders are all delegating loaders (so it is much
> > simpler than the 4.x/5.x case).  If you are using a 1.4.x JVM, Tomcat
3.3
> > will always grap the XML parser from the System ClassLoader (either the
one
> > that ships-with, or the endorsed).
>
> Even if we set -Djava.endorsed and fill the directory with the jars we
> want it to use ?
>

That should work much like it does for 4.1.x/5.0.x (but I haven't tried it
:).  Once you get out of the WebappClassLoader, the 4.1.x/5.0.x ClassLoaders
are delegating CLs.  Again, I'm +0 to set the -Djava.endorsed.dir to an
empty directory (that the user can copy their favorite xerces version to),
and -1 to populate it by default.

>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


Re: TC 3.3.2-dev and endorsed lib

Posted by Henri Gomez <hg...@apache.org>.
Bill Barker a écrit :

> ----- Original Message ----- 
> From: "Henri Gomez" <hg...@apache.org>
> To: "Tomcat Developers List" <to...@jakarta.apache.org>
> Sent: Monday, October 13, 2003 1:28 AM
> Subject: TC 3.3.2-dev and endorsed lib
> 
> 
> 
>>In TC 4.1.x and 5.0.x there is support for endorsed lib but
>>nothing like this in tc 3.3.2-dev.
>>
>>Since we may have people (including myself), who will have
>>to use SDK 1.4.x with Tomcat 3.3.2, I like to add such feature
>>to Tomcat 3.3.2-dev.
>>
> 
> 
> It's not really necessary for 3.3.x, since the XML parsing requirements for
> Tomcat are pretty limited (without looking, we are currently shipping with a
> jaxp1.x version I believe).
> 
> 
>>I was thinking put the endorsed in lib/endorsed, ie next
>>to lib/common, lib/apps and lib/container.
>>
> 
> 
> I'm +0 as long as the lib/endorsed directory is empty in the default
> install.  Otherwise, I'm -1.
> 
> 
> 
>>I'll modify run scripts and build for such feature.
>>
>>If a classloader specialist could see if something is
>>required (from TC 4.1 it seems yes).
> 
> 
> The Tomcat 3.3 ClassLoaders are all delegating loaders (so it is much
> simpler than the 4.x/5.x case).  If you are using a 1.4.x JVM, Tomcat 3.3
> will always grap the XML parser from the System ClassLoader (either the one
> that ships-with, or the endorsed).

Even if we set -Djava.endorsed and fill the directory with the jars we
want it to use ?



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


Re: TC 3.3.2-dev and endorsed lib

Posted by Bill Barker <wb...@wilshire.com>.
----- Original Message ----- 
From: "Henri Gomez" <hg...@apache.org>
To: "Tomcat Developers List" <to...@jakarta.apache.org>
Sent: Monday, October 13, 2003 1:28 AM
Subject: TC 3.3.2-dev and endorsed lib


> In TC 4.1.x and 5.0.x there is support for endorsed lib but
> nothing like this in tc 3.3.2-dev.
>
> Since we may have people (including myself), who will have
> to use SDK 1.4.x with Tomcat 3.3.2, I like to add such feature
> to Tomcat 3.3.2-dev.
>

It's not really necessary for 3.3.x, since the XML parsing requirements for
Tomcat are pretty limited (without looking, we are currently shipping with a
jaxp1.x version I believe).

> I was thinking put the endorsed in lib/endorsed, ie next
> to lib/common, lib/apps and lib/container.
>

I'm +0 as long as the lib/endorsed directory is empty in the default
install.  Otherwise, I'm -1.


> I'll modify run scripts and build for such feature.
>
> If a classloader specialist could see if something is
> required (from TC 4.1 it seems yes).

The Tomcat 3.3 ClassLoaders are all delegating loaders (so it is much
simpler than the 4.x/5.x case).  If you are using a 1.4.x JVM, Tomcat 3.3
will always grap the XML parser from the System ClassLoader (either the one
that ships-with, or the endorsed).

>
> Regards
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>