Re: [O.T.] Installing struts under tomcat 4 and apache 2

2003-02-23 Thread Bill Barker
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using%20Apach
eConfig


Dani [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hello. I'm trying to install struts 1.0.2 under red hat 7.2, with tomcat
 4.1.18 and apache 2.0.44. I've read the documentation here
 http://jakarta.apache.org/struts/userGuide/installation-tc.html
 but it refers to tomcat 3.2, not tomcat 4.0. It says Note that the
 instructions for Tomcat 4 will be different than those for Tomcat 3, but
the
 Tomcat 4.0 web connector is still under development. Versions of Tomcat
 prior to 3.2.1 are not recommend for use with Struts.

 ¿What about tomcat 4?

 The documentation talk about a file: Tomcat will generate a file
 $TOMCAT_HOME/conf/tomcat-apache.conf that will be used by Apache. This
 file is regenerated every time you start Tomcat, so copy this file to a
safe
 place (such as your Apache configuration directory; on Unix systems this
is
 usually /usr/local/apache/conf. . But I can't find this file (or it
doesn't
 exist).

 ¿Which file must I configure?

 Thank you very much.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[O.T.] Installing struts under tomcat 4 and apache 2

2003-02-22 Thread Dani
Hello. I'm trying to install struts 1.0.2 under red hat 7.2, with tomcat
4.1.18 and apache 2.0.44. I've read the documentation here
http://jakarta.apache.org/struts/userGuide/installation-tc.html
but it refers to tomcat 3.2, not tomcat 4.0. It says Note that the
instructions for Tomcat 4 will be different than those for Tomcat 3, but the
Tomcat 4.0 web connector is still under development. Versions of Tomcat
prior to 3.2.1 are not recommend for use with Struts.

¿What about tomcat 4?

The documentation talk about a file: Tomcat will generate a file
$TOMCAT_HOME/conf/tomcat-apache.conf that will be used by Apache. This
file is regenerated every time you start Tomcat, so copy this file to a safe
place (such as your Apache configuration directory; on Unix systems this is
usually /usr/local/apache/conf. . But I can't find this file (or it doesn't
exist).

¿Which file must I configure?

Thank you very much.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problems with struts under Tomcat 4 + Apache 2 + mod_webapp

2002-04-21 Thread Jeffrey Bonevich
)
  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
  at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:217)
  at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194)
  at java.lang.Thread.run(Thread.java:539)
- Root Cause -
java.lang.IllegalArgumentException: object is not an instance of
declaring class
  at
org.apache.struts.digester.Digester.startElement(Digester.java:531)
  at
org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
  at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1490)
[snip]


Strikes me that it may be a resource loading issue - is the webapp
getting confused as to where to find /WEB-INF/struts-config.xml, etc.?
Any one else using struts with Tomcat 4/Apache 2/mod_webapp and have it
working fine for them?  I can supply apache configs and tomcat configs
as well if that will help.

Thanx!

jeff

-- 
Jeffrey Bonevich
Ann Arbor, Michigan
[EMAIL PROTECTED]
http://www.bonevich.com

Hwæt! Wë Gär-Dena   in geär-dagum,
peod-cyninga,   prym gefrünon,
hü ða aepelingas   ellen fremedon!



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




struts and tomcat 4

2001-09-17 Thread Christoph Rooms

Hi all,

I tried to run a struts application on tomcat 3.2 and it worked.

Now I'm running it under tomcat 4rc2 I  get this exception :

Cannot find ActionMappings or ActionFormBeans collection

anyone an idea ?

thanks !!!

christoph






Re: struts and tomcat 4

2001-09-17 Thread Craig R. McClanahan



On Mon, 17 Sep 2001, Christoph Rooms wrote:

 Date: Mon, 17 Sep 2001 18:58:59 +0200
 From: Christoph Rooms [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts and tomcat 4

 Hi all,

 I tried to run a struts application on tomcat 3.2 and it worked.

 Now I'm running it under tomcat 4rc2 I  get this exception :

 Cannot find ActionMappings or ActionFormBeans collection

 anyone an idea ?

 thanks !!!

 christoph





You need to check the log files created by Tomcat 4 to make sure, but the
most likely explanation is that you did not include an XML parser inside
your web app.  Tomcat 4, up until this point, has not made an XML parser
available to web apps by default.

NOTE:  This will change, however, in the 4.0 final release.  An XML parser
will be made available -- see the Release Notes document that will come
with Tomcat 4.0 (final) for details.

Craig McClanahan





Re: struts and tomcat 4

2001-09-17 Thread simon colston

On Mon, 17 Sep 2001 10:06:26 -0700 (PDT)
Craig R. McClanahan [EMAIL PROTECTED] wrote:

CM 
CM You need to check the log files created by Tomcat 4 to make sure, but the
CM most likely explanation is that you did not include an XML parser inside
CM your web app.  Tomcat 4, up until this point, has not made an XML parser
CM available to web apps by default.
CM 
CM NOTE:  This will change, however, in the 4.0 final release.  An XML parser
CM will be made available -- see the Release Notes document that will come
CM with Tomcat 4.0 (final) for details.

But we'll be able to use our favourite XML parser on a per context basis right?

CM 
CM Craig McClanahan
CM 
CM 
CM 


--
simon colston
[EMAIL PROTECTED]



Re: struts and tomcat 4

2001-09-17 Thread Craig R. McClanahan



On Tue, 18 Sep 2001, simon colston wrote:

 Date: Tue, 18 Sep 2001 10:35:09 +0900
 From: simon colston [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: struts and tomcat 4

 On Mon, 17 Sep 2001 10:06:26 -0700 (PDT)
 Craig R. McClanahan [EMAIL PROTECTED] wrote:

 CM
 CM You need to check the log files created by Tomcat 4 to make sure, but the
 CM most likely explanation is that you did not include an XML parser inside
 CM your web app.  Tomcat 4, up until this point, has not made an XML parser
 CM available to web apps by default.
 CM
 CM NOTE:  This will change, however, in the 4.0 final release.  An XML parser
 CM will be made available -- see the Release Notes document that will come
 CM with Tomcat 4.0 (final) for details.

 But we'll be able to use our favourite XML parser on a per context
 basis right?


Yes.

 CM
 CM Craig McClanahan
 CM
 CM
 CM


 --
 simon colston
 [EMAIL PROTECTED]