RE: Using Digester in a Tomcat project causes server not to start?

2003-09-23 Thread Shapira, Yoav
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

RE: Using Digester in a Tomcat project causes server not to start ?

2003-09-23 Thread Kruse, Matt
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

RE: Using Digester in a Tomcat project causes server not to start?

2003-09-23 Thread Shapira, Yoav
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

Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Kruse, Matt
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

RE: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Shapira, Yoav
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

RE: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Kruse, Matt
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

Re: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Remy Maucherat
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

RE: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Kruse, Matt
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,

RE: Using Digester in a Tomcat project causes server not to start ?

2003-09-22 Thread Kruse, Matt
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

Re: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Marco Tedone
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 -

RE: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Mike Curwen
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

Re: Using Digester in a Tomcat project causes server not to start?

2003-09-22 Thread Filip Hanik
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