I remember Craig McClanahan addressing the issue of Struts and Tomcat 4.0.
As some of you might not know he is a primary developer for both projects.
Here is what he said:
The only thing you need to do is make sure an XML parser is visible to
your webapps -- either copy the JAXP jar files (or
-Original Message-
From: Marcel Mare [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 02, 2001 12:24 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 4.0b7 and struts-example webapp
I had this same problem when putting crimson.jar and
jaxp.jar from my own
JAXP 1.1 installation. I solved
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: vrijdag 31 augustus 2001 23:43
Aan: [EMAIL PROTECTED]
Onderwerp: Re: Tomcat 4.0b7 and struts-example webapp
So the problem was that the Struts example wouldn't load in Tomcat4.0 B7
because it didn't have a parser or the jaxp.jar. Someone
PROTECTED], (bcc:
Craig
Reichenbach/CAM/Lotus)
08/30/2001 Subject: Re: Tomcat 4.0b7 and
struts-example webapp
03:00 PM
This is more a question for the Tomcat list, but since it came up below,
what is the best practice for including needed libraries and
implementations (such as crimson.jar jaxp.jar) in Catalina? While Ian's
suggestion below moves these from /jasper to /lib, I found the struts
example also
]
cc: (bcc: Craig Reichenbach/CAM/Lotus)
08/31/2001 03:05Subject: Re: Tomcat 4.0b7 and
struts-example webapp
PM
Informative error messages and docs generally hasten developer time
investment (and hoperfully adoption) of a new technology. So I would say
yes! :)
On Fri, 31 Aug 2001, Remy Maucherat wrote:
leaving them in jasper. Can someone point me to where I can discern the
differences between the
and struts-example webapp
IIRC, the struts-example from struts 1.0 was happy with most of the recent
Tomcat 3.2.x releases but with 4.0b7, it's not picking up the
ApplicationResources.properties file. yes, it's in
/struts-example/WEB-INF/classes/org/apache/struts/webapp/example
Does this mean that TC 4.0b7's web.xml parsing is not backwards
compatible to the older webapp format? This sounds like a bug, not a
feature. I'm using a webapp that just runs dropped into a TC 3.2.x
installation straight out of the struts distribution.
I tried it, and the error is
Thanks! For the record,
mv $CATALINA_HOME/jasper/crimson.jar $CATALINA_HOME/lib/crimson.jar
mv $CATALINA_HOME/jasper/jaxp.jar $CATALINA_HOME/lib/jaxp.jar
seems to have fixed it!
-Ian
On Thu, 30 Aug 2001, Remy Maucherat wrote:
Does this mean that TC 4.0b7's web.xml parsing is not backwards
IIRC, the struts-example from struts 1.0 was happy with most of the recent
Tomcat 3.2.x releases but with 4.0b7, it's not picking up the
ApplicationResources.properties file. yes, it's in
/struts-example/WEB-INF/classes/org/apache/struts/webapp/example/ApplicationResources.properties
and
and struts-example webapp
IIRC, the struts-example from struts 1.0 was happy with most of the recent
Tomcat 3.2.x releases but with 4.0b7, it's not picking up the
ApplicationResources.properties file. yes, it's in
/struts-example/WEB-INF/classes/org/apache/struts/webapp/example/Application
12 matches
Mail list logo