RE: Tomcat 4.0b7 and struts-example webapp

2001-08-30 Thread Ian Kallen [EMAIL PROTECTED]


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.

On Wed, 29 Aug 2001, Thinh Doan wrote:

 I got this same error running under Jrun.  Look into web.xml and make sure
 struts stuff is there (tlds etc..)
 
 T.
 
 -Original Message-
 From: Ian Kallen [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 29, 2001 4:17 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat 4.0b7 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
 Resources.properties
 and web.xml has:
 servlet-nameaction/servlet-name
 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
 init-param
   param-nameapplication/param-name
 
 param-valueorg.apache.struts.webapp.example.ApplicationResources/param-va
 lue
 /init-param
 right out of the war file...
 
 This is the error:
 javax.servlet.ServletException: Cannot find message resources under key
 org.apache.struts.action.MESSAGE
 
 So what's up?  Is there something extra to setup the classpaths inside
 webapps under Tomcat 4.0?
 
 cheers,
 -Ian
 
 --
 Ian Kallen [EMAIL PROTECTED] | AIM: iankallen
 
 
 

cheers,
-Ian

--
Ian Kallen [EMAIL PROTECTED] | AIM: iankallen




Re: Tomcat 4.0b7 and struts-example webapp

2001-08-30 Thread Ian Kallen [EMAIL PROTECTED]


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
  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 confusing. Actually, the problem is caused
 because there's no XML parser (which is only mentioned in the logs).
 
 After I add one, the app works fine, and the messages are displayed
 correctly (so the properties file gets correctly loaded).
 
 Remy
 
 

cheers,
-Ian

--
Ian Kallen [EMAIL PROTECTED] | AIM: iankallen




mod_webapp with Apache 2.0

2001-08-13 Thread Ian Kallen [EMAIL PROTECTED]


I was just perusing the jakarta-tomcat-connectors tree and found plenty
about building with Apache 1.3 but no mention of 2.0 -- is there a
separate tree for it or something?

cheers,
-Ian

--
Ian Kallen [EMAIL PROTECTED] | AIM: iankallen