You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kasinath <ka...@visualsoft-tech.com> on 2002/03/30 11:03:43 UTC
Re: Struts running under WebLogic 6.1
Hi Don,
If you are using struts1.1 ,then you put commons-logging.jar in classpath.
I got the same problem.
Thank you,
Kasinath
----- Original Message -----
From: <do...@mail.sprint.com>
To: <st...@jakarta.apache.org>
Sent: Friday, June 28, 2002 6:01 PM
Subject: Struts running under WebLogic 6.1
I am having trouble getting Struts to run under WebLogic 6.1.
What I have done:
Copied the struts-example WAR file into the WebLogic 6.1 container's
webapps directory.
I registered the war file as a webapp in WebLogic 6.1.
I deployed the war file in WebLogic 6.1.
I restarted the WebLogic 6.1 container.
I tried to hit the app, and I receive the error:
<Jun 28, 2002 8:47:38 AM CDT> <Error> <HTTP>
<[WebAppServletContext(3053750,struts-example,/struts-example)]
Root cause of ServletException
javax.servlet.jsp.JspException: Missing message for key index.title
at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
at jsp_servlet.__index._jspService(__index.java:125)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:304)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:2495)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
This error tells me that it is not able to find the properties file:
ApplicationResources.properties which does have the key index.title. I
am assuming that it can't find this file because of a classpath issue.
Has anyone successfully implemented Struts running under WebLogic 6.1?
Does anyone know a way around this problem?
Information from the Struts documentation listed below, taken from the
documentation on installation page at:
http://jakarta.apache.org/struts/doc-1.0.2/installation.html
Installing Struts with your servlet container
WARNING - Do NOT add struts.jar to the classpath of your servlet
container in an attempt to avoid placing it in the /WEB-INF/lib
directory of each individual web app! Doing so will cause problems with
ClassNotFoundException exceptions.
For most containers, you need only to:
* Copy the WAR files in your Struts /webapp directory to your
containers webapps directory.
* In some cases, you may need to restart your container if it is
running.
WebLogic 6.0+ - No additional steps required.
Thanks,
Don Keeting
Sprint IMC - Web eBusiness Support
don.keeting@mail.sprint.com
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>