You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by harsh112 <ha...@gmail.com> on 2008/04/15 00:04:49 UTC

tomcat-util.jar and catalina-util-xml.jar not found in tomcat 6.0 though they were in use in web-application developed on tomcat-5.x

Hi All,
 The application I've been using was developed on tomcat-5.5.17 which
configures a customized NTLMRealm class in server.xml under it's realm tag.
The related jar for developing this customized realm bundled in a jar under
server/lib and this utilizes server/lib/(tomcat-util.jar and
catalina-util-xml.jar) files.

Now, this application requires upgrade to tomcat-6.0.16 which doesn't have
tomcat-util.jar and catalina-util-xml.jar under it's lib directory though
other jars from server/lib (5.x) are found under lib (6.x) directory.

My question are,
1. Are the classes from tomcat-util.jar and catalina-util-xml.jar are not
supposed to be used with application deployed on 6.x release OR If it is not
so where can I find these jars?
2. By using tomcat-util.jar and catalina-util-xml.jar from tomcat-5.x
release with tomcat-6.x, the application works fine. Is this advisable to
just copy the jars from a previous release (5.x) to some current release? or
this may cause any issues ?

I suppose though not the web-applications it self but the customization of
configuration of tomcat, say using own NTLMRealm may require these utility
jars.

I 've searched on this issue on many forums/groups but couldn't find the
reason why these jars are not bundled with tomcat-6.x release.

I would appreciate any answers/comments on this.

Thanks and Regards,
Harsh.
-- 
View this message in context: http://www.nabble.com/tomcat-util.jar-and-catalina-util-xml.jar-not-found-in-tomcat-6.0-though-they-were-in-use-in-web-application-developed-on-tomcat-5.x-tp16691076p16691076.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: tomcat-util.jar and catalina-util-xml.jar not found in tomcat6.0though they were in use in web-application developed on tomcat-5.x

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: harsh112 [mailto:harsh.112.vt@gmail.com] 
> Subject: RE: tomcat-util.jar and catalina-util-xml.jar not 
> found in tomcat6.0though they were in use in web-application 
> developed on tomcat-5.x
> 
> Though I could not find 
> tomcat-5.5.17/server/lib/catalina-util-xml.jar from
> which org.apache.catalina.util.xml.XMLAction and XMLMapper 
> classes are being referred by one of my class.

Those classes appear to have been part of Tomcat 4.0, last released
about 5.5 years ago.  Might be time to think about modernization using
the current XML mechanisms that are part of a standard JRE.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: tomcat-util.jar and catalina-util-xml.jar not found in tomcat 6.0though they were in use in web-application developed on tomcat-5.x

Posted by harsh112 <ha...@gmail.com>.
Thanks Chuck, This was a useful reply for me.
Though I could not find tomcat-5.5.17/server/lib/catalina-util-xml.jar from
which org.apache.catalina.util.xml.XMLAction and XMLMapper classes are being
referred by one of my class.
By looking at the API docs of 6.0 release, I couldn't find package
org.apache.catalina.util.xml.
Should I look at some other package/jar for these classes?

Thanks and Regards,
Harsh.


Caldarale, Charles R wrote:
> 
>> From: harsh112 [mailto:harsh.112.vt@gmail.com] 
>> Subject: tomcat-util.jar and catalina-util-xml.jar not found 
>> in tomcat 6.0though they were in use in web-application 
>> developed on tomcat-5.x
>> 
>> Now, this application requires upgrade to tomcat-6.0.16 which 
>> doesn't have tomcat-util.jar and catalina-util-xml.jar under
>> it's lib directory though other jars from server/lib (5.x) are
>> found under lib (6.x) directory.
> 
> The classes from tomcat-util.jar are now in tomcat-coyote.jar, at least
> all the ones I spot checked.
> 
> There is no catalina-util-xml.jar in any 5.5 download that I can find,
> so I have no idea where you might have gotten that one from.
> 
>> 2. By using tomcat-util.jar and catalina-util-xml.jar from 
>> tomcat-5.x release with tomcat-6.x, the application works fine.
> 
> Perhaps, but have you tested every possible execution path?  I wouldn't
> count on it.
> 
>> Is this advisable to just copy the jars from a previous release
>> (5.x) to some current release?
> 
> Definitely not.  Lots of things were restructured between 5.5 and 6.0,
> so you're really asking for trouble by running blindly ahead.  You need
> to examine the 6.0 APIs and make sure your realm is still compatible
> with them:
> http://tomcat.apache.org/tomcat-6.0-doc/api/index.html
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/tomcat-util.jar-and-catalina-util-xml.jar-not-found-in-tomcat-6.0-though-they-were-in-use-in-web-application-developed-on-tomcat-5.x-tp16691076p16691726.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: tomcat-util.jar and catalina-util-xml.jar not found in tomcat 6.0though they were in use in web-application developed on tomcat-5.x

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: harsh112 [mailto:harsh.112.vt@gmail.com] 
> Subject: tomcat-util.jar and catalina-util-xml.jar not found 
> in tomcat 6.0though they were in use in web-application 
> developed on tomcat-5.x
> 
> Now, this application requires upgrade to tomcat-6.0.16 which 
> doesn't have tomcat-util.jar and catalina-util-xml.jar under
> it's lib directory though other jars from server/lib (5.x) are
> found under lib (6.x) directory.

The classes from tomcat-util.jar are now in tomcat-coyote.jar, at least
all the ones I spot checked.

There is no catalina-util-xml.jar in any 5.5 download that I can find,
so I have no idea where you might have gotten that one from.

> 2. By using tomcat-util.jar and catalina-util-xml.jar from 
> tomcat-5.x release with tomcat-6.x, the application works fine.

Perhaps, but have you tested every possible execution path?  I wouldn't
count on it.

> Is this advisable to just copy the jars from a previous release
> (5.x) to some current release?

Definitely not.  Lots of things were restructured between 5.5 and 6.0,
so you're really asking for trouble by running blindly ahead.  You need
to examine the 6.0 APIs and make sure your realm is still compatible
with them:
http://tomcat.apache.org/tomcat-6.0-doc/api/index.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org