You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by BinhMinh Nguyen <st...@yahoo.com> on 2001/10/04 20:29:00 UTC
Problem integrating STRUTS and WEBLOGIC 6.0
Hi,
I posted this one once, but I have response, please
help me.
I download the Struts overnight release version, I
then copy the struts-upload.war into the app directory
of weblogic. I then got the below error message.
Please help me spot out my problem, it took my hours
and I still could not fix it. It also happened when I
copy this same struts-upload.war into Tomcat 3.2.3
I really need this to be fix, help me please.
Thank you very much
BHN
Error Message:
<Oct 4, 2001 11:30:53 AM PDT> <Error> <HTTP>
<[WebAppServletContext(3162544,struts-upload)] Error
loading
et: 'action'
java.lang.NoSuchMethodError
at
org.apache.commons.digester.Digester.parse(Digester.java:859)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1273)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:460)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:526)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1078)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:1022)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:499)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
RE: Problem integrating STRUTS and WEBLOGIC 6.0
Posted by Ajay Chitre <Aj...@DiligentTeam.com>.
BinhMinh,
Here's what I did to run this on Tomcat 3.2.3:
1) Copied the struts-upload.war file to \jakarta-tomcat-3.2.3\webapps
folder.
2) In \jakarta-tomcat-3.2.3\conf\server.xml, I added the following lines;
<Context path="/upload"
docBase="webapps/struts-upload"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
3) Started Tomcat and typed : http://localhost:8080/upload
This works for me under Tomcat.
I haven't heard good things about Weblogic 6.0, so I would recommend
upgrading to 6.1 or downgrading to 5.1. If you still run into problems with
Weblogic 5.1 or 6.1, let me know. I will send you instruction for those
later.
Hope this helps. Thanks.
-----Original Message-----
From: BinhMinh Nguyen [mailto:struts_information@yahoo.com]
Sent: Thursday, October 04, 2001 11:29 AM
To: struts-user@jakarta.apache.org
Subject: Problem integrating STRUTS and WEBLOGIC 6.0
Hi,
I posted this one once, but I have response, please
help me.
I download the Struts overnight release version, I
then copy the struts-upload.war into the app directory
of weblogic. I then got the below error message.
Please help me spot out my problem, it took my hours
and I still could not fix it. It also happened when I
copy this same struts-upload.war into Tomcat 3.2.3
I really need this to be fix, help me please.
Thank you very much
BHN
Error Message:
<Oct 4, 2001 11:30:53 AM PDT> <Error> <HTTP>
<[WebAppServletContext(3162544,struts-upload)] Error
loading
et: 'action'
java.lang.NoSuchMethodError
at
org.apache.commons.digester.Digester.parse(Digester.java:859)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1273)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:460)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:526)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:1078)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:1022)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:499)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just
$8.95/month.
http://geocities.yahoo.com/ps/info1