RE: apache + tomcat + *.do mapping problem

2002-04-24 Thread MICHEL Stéphane

I found a solution of this problem on the Apache Mailing List Archives
(posted by Craig R. McClanahan, (Wed, 03 jan 2001 19:43:35 GMT)) :

...
Tell Apache (in "apache/conf/httpd.conf" file) to forward "*.do" URIs to
Tomcat so that Struts can process them (assumes you are using MOD_JSERV) :

AddHandler jserv-servlet .do

...

I hope it will help you...

SM

> -Message d'origine-
> De:   Oliver Kiessler [SMTP:[EMAIL PROTECTED]]
> Date: mercredi 24 avril 2002 10:46
> À:Struts Users Mailing List
> Objet:    apache + tomcat + *.do mapping problem
> 
> hello,
> can't solve this problem: i have webspace with a provider that uses
> apache 1.3.2something and tomcat 3.2.23. i deployed the struts-example
> webapp just for testing. so i opened my webapp in my browser and found
> out that all the .do mappings do not work. whenever i access tomcat
> directly (port 8080) everything is fine. what can i do?
> 
> thanks in advance,
> oli
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>

--- Interscan -- (on antivirus)

email-body was scanned and no virus found
-  Traite Par  --



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


RE: apache + tomcat + *.do mapping problem

2002-04-24 Thread Chen, Dean

I have sort of a reverse problem, when I use Tomcat 4 & Struts, the tomcat
log says this:
However, my struts/application works fine. Any ideas on how I can get rid of
this error?

Parse Error at line 225 column 17: The content of element type
"struts-config" must match "(data-sources?,security-roles
?,form-beans?,global-forwards?,action-mappings?)".
org.xml.sax.SAXParseException: The content of element type "struts-config"
must match "(data-sources?,security-roles?,fo
rm-beans?,global-forwards?,action-mappings?)".
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(X
MLValidator.java:1851)
at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator
.java:1495)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1149)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:137)
at org.apache.struts.digester.Digester.parse(Digester.java:755)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332)
at
org.apache.struts.action.ActionServlet.reload(ActionServlet.java:795)
at
org.apache.struts.actions.ReloadAction.perform(ReloadAction.java:119)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
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.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
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:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
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:5
66)
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.http.HttpProcessor.process(HttpProcessor.java:
1012)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107
)
at java.lang.Thread.run(Thread.java:479)

Dean Chen

-Original Message-
From: Jeffrey Bonevich [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 8:53 AM
To: Struts Users Mailing List
Subject: Re: apache + tomcat + *.do mapping problem


Very interesting.  I am 

Re: apache + tomcat + *.do mapping problem

2002-04-24 Thread Jeffrey Bonevich

Very interesting.  I am getting similar problems running the 
struts-example in Tomcat 4 under Apache 2, so possibly there is a common 
cross-version problem going on here.  Can you provide the errors from 
the log that you get?

I have already posted several times to this list, struts-dev and 
tomcat-user asking this question, and have yet to get it resolved.  See:

http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg28996.html

jeff


Oliver Kiessler wrote:

> hello,
> can't solve this problem: i have webspace with a provider that uses
> apache 1.3.2something and tomcat 3.2.23. i deployed the struts-example
> webapp just for testing. so i opened my webapp in my browser and found
> out that all the .do mappings do not work. whenever i access tomcat
> directly (port 8080) everything is fine. what can i do?
> 
> thanks in advance,
> oli
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 
> 


-- 
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, e-mail:   
For additional commands, e-mail: 




AW: apache + tomcat + *.do mapping problem

2002-04-24 Thread juraj Lenharcik

Hi,

perhaps it is a configuration error. Your provider has to pass the *.do to
tomcat. I think your provider pass only *.jsp to tomcat


juraj

-Ursprüngliche Nachricht-
Von: Oliver Kiessler [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 24. April 2002 10:46
An: Struts Users Mailing List
Betreff: apache + tomcat + *.do mapping problem


hello,
can't solve this problem: i have webspace with a provider that uses
apache 1.3.2something and tomcat 3.2.23. i deployed the struts-example
webapp just for testing. so i opened my webapp in my browser and found
out that all the .do mappings do not work. whenever i access tomcat
directly (port 8080) everything is fine. what can i do?

thanks in advance,
oli




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

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




apache + tomcat + *.do mapping problem

2002-04-24 Thread Oliver Kiessler

hello,
can't solve this problem: i have webspace with a provider that uses
apache 1.3.2something and tomcat 3.2.23. i deployed the struts-example
webapp just for testing. so i opened my webapp in my browser and found
out that all the .do mappings do not work. whenever i access tomcat
directly (port 8080) everything is fine. what can i do?

thanks in advance,
oli




--
To unsubscribe, e-mail:   
For additional commands, e-mail: