At 07:50 AM 8/12/2003 +0200, you wrote:
The third party software is excelon. There are no other web applications
running inside this tomcat instance. I'm just wondering if Tomcat itself
could run into a problem when I replace the xerces version.
Yep, it should be able to.
Further, it's documented in the classloader-howo paper that I can deploy my
own xerces version into web-inf\lib. But that doesn't work. Probably Tomcat
loads some classes from xerces 2.x (common/endorsed) and some from
web-inf\lib.
Any documentation that says this is dead wrong. Ask any Tomcat developer
and they will tell you this. I'm not sure why the docs haven't been
updated, but you shouldn't put Xerces or any endorsed packages in
WEB-INF/lib. The latter violate the Sun classloading spec and the former
is just too problematic to support. Weird classloader stuff that you don't
want to mess with. Putting these packages in a parent classloader
including common/endorsed, common/lib, and shared/lib is the correct way to
do things.
Do you know how I can increase the debug level of the WebAppClassloader?
I'm interested in which classes are loaded from which classloader.
Not sure. Hopefully someone else will have more info about this.
Jake
Jacob
Kjome
[EMAIL PROTECTED] An: Tomcat Users
List [EMAIL PROTECTED]
Kopie:
12.08.2003 07:42 Thema: Re: Antwort:
Tomcat 3.3.1 - Tomcat 4.1.x (Xerces), WebAppClassloader debug
Bitte
antworten level
an Tomcat
Users
List
At 06:52 AM 8/12/2003 +0200, you wrote:
It did run well with Tomcat 3.3.1
I found out that the included xerces version of this third party software
uses xerces 1.4.x. So, I removed the xerces jars in common/endorsed and
put
the version 1.4.4 in there. Then, my application works again.
Is that the correct way to solve my problem or am I running in other
problems now?
What is your third party software that uses xerces-1.4.4? This solution
certainly works for most cases, but you may run into trouble if other apps
expect Xerces2.
Jake
Oliver
Wulff
[EMAIL PROTECTED] An:
[EMAIL PROTECTED]
rich.ch Kopie:
Thema: Tomcat 3.3.1 -
Tomcat 4.1.x (Xerces), WebAppClassloader debug level
11.08.2003
16:50
Bitte
antworten
an Tomcat
Users
List
Hi
I've got a big problem running my web application inside Tomcat 4.1. I'm
using a third party software in my servlet implementation. This
third-party
jar contains xerces classes. But my web application is not running anymore
(VerifyError).
I don't know if there is a versioning conflict with Xerces. So I wanted to
increase the debug level of the webappclassloader to see whether some
classes from Xerces are loaded through the parent classloader and some by
the webappclassloader.
Context path=/k__offerten docBase=k__offerten debug=4
reloadable=true crossContext=true
Logger
className=org.apache.catalina.logger.FileLogger
prefix=kloff_log. suffix=.txt
timestamp=true debug=4/
/Context
But there are no logging information. How can I log the webappclassloader
logevents?
Does anybody have an idea how to solve my xerces problem?
Regards
Oliver
*** BITTE BEACHTEN ***
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]