Howdy,
I'm very interested to hear what Tomcat gurus/commiters think of this
I for one think it's unneeded. Like others, I haven't run into the
problems Senor Kruse did, have Digester working fine in multiple webapps
without modifying tomcat's source or installation.
Nonetheless, it's good to
From: Filip Hanik [mailto:[EMAIL PROTECTED]
not sure why someone would go in and mock with the Tomcat
source when there is no need to :)
My goal was simply to get it to WORK so I could continue development. This
solution worked for me. I'm not at all confident that it's the correct or
ideal
Howdy,
I think you're on the right track regarding the IDE plug-in's classpath
mangling. It will be good to report this to the plug-in's authors.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Kruse, Matt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003
I know I'm ignorant in some areas of this problem, so please forgive me if I
don't explain it well or if I'm missing something obvious!
PROBLEM: Tomcat won't startup (via Eclipse plugin) when Apache's
commons-digester.jar is included as a project lib.
QUESTION: How can I use the Digester in my
Howdy,
What tomcat version? Where's the digester jar that ships with tomcat?
You can't have more than one digest jar in the classloader hierarchy.
So keep yours in WEB-INF/lib and make sure tomcat's is in
$CATALINA_HOME/server/lib (not commons/lib or shared/lib).
Yoav Shapira
Millennium
What tomcat version?
I've tried 4.1.27 and 5.0.9 with the same results.
Where's the digester jar that ships with tomcat?
c:\tomcat\server\lib\commons-digester.jar
You can't have more than one digest jar in the classloader hierarchy.
So keep yours in WEB-INF/lib and make sure tomcat's is
Kruse, Matt wrote:
What tomcat version?
I've tried 4.1.27 and 5.0.9 with the same results.
Where's the digester jar that ships with tomcat?
c:\tomcat\server\lib\commons-digester.jar
You can't have more than one digest jar in the classloader hierarchy.
So keep yours in WEB-INF/lib and make
This works fine for me. It is very obvious: just try one
example Struts
WAR (which has commons-digester.jar), and it will work fine.
I'm not sure why this would work, but I admittedly don't know much about WAR
files. Could have something to do with when they are processed during
startup,
I have solved the problem below. The solution involved changing a couple of
the Tomcat source files due to Digester instances not using the correct
Classloader upon Tomcat startup.
The changes I made are as follows:
1) in Catalina.java:
/**
* Create and configure the Digester we will
It would take too long to tell you how to use commons-digester with Tomcat
(or whatever other application); I'm using it with a Struts application
running under Tomcat and it works greately.
I put it under WEB-INF/lib folder and I don't have it under common/lib
Marco
- Original Message -
I'm very interested to hear what Tomcat gurus/commiters think of this
mod. Given the links that describe the problem, and because I just have
this feeling that classloading issues are so replete with 'good
intentioned, but ultimately doomed architectures'... ya know... here's
someone that
not sure why someone would go in and mock with the Tomcat source when there
is no need to :)
have fun maintaining upgrades ;)
We use the digester in our webapp without any problems what so ever, we
simple place it in WEB-INF/lib
We have the following jars in WEB-inf/lib
12 matches
Mail list logo