Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » unwanted (?) WAR-file inside a WAR-File (Newbie)
unwanted (?) WAR-file inside a WAR-File (Newbie) [message #168683] Wed, 10 December 2003 09:31 Go to next message
Eclipse UserFriend
Originally posted by: peter.tilm.gmx.de

Hello,

i'm just trying to build/run the struts-example with eclipse. When
building the deploy WAR-file it includes a WAR-file into the deployed
WAR-file. The "inner WAR-file" also holds the .properties. If i install
the deployed WAR and click on it i receive the following:

-----
description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: Missing message for key "index.title"
org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:673)
org.apache.jsp.index_jsp._jspService(index_jsp.java:84)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

root cause

javax.servlet.jsp.JspException: Missing message for key "index.title"
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageT ag.java:297)
org.apache.jsp.index_jsp._jspx_meth_bean_message_0(index_jsp .java:163)
org.apache.jsp.index_jsp._jspx_meth_html_html_0(index_jsp.ja va:105)
org.apache.jsp.index_jsp._jspService(index_jsp.java:76)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
-----

the "index.title" i found in a file called
"ApplicationResources.properties" in a WAR-file inside(!) the WAR-file
that's (mainly) deployed...Anyone a clue?

thanks,
Pete
Re: unwanted (?) WAR-file inside a WAR-File (Newbie) [message #168773 is a reply to message #168683] Wed, 10 December 2003 11:59 Go to previous message
Eclipse UserFriend
Guess:

Are you using a wildcard when building the war file such
that the previous one is being included recursively? I did
the same with jars once and without knowing anything about
the struts side of things it sounds too similar not to suggest.

Rich

Peter wrote:
> Hello,
>
> i'm just trying to build/run the struts-example with eclipse. When
> building the deploy WAR-file it includes a WAR-file into the deployed
> WAR-file. The "inner WAR-file" also holds the .properties. If i install
> the deployed WAR and click on it i receive the following:
>
> -----
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Missing message for key "index.title"
> org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:673)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:84)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:133)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:311)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:301)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java :248)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> root cause
>
> javax.servlet.jsp.JspException: Missing message for key "index.title"
> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageT ag.java:297)
> org.apache.jsp.index_jsp._jspx_meth_bean_message_0(index_jsp .java:163)
> org.apache.jsp.index_jsp._jspx_meth_html_html_0(index_jsp.ja va:105)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:76)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:133)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:311)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:301)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java :248)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> -----
>
> the "index.title" i found in a file called
> "ApplicationResources.properties" in a WAR-file inside(!) the WAR-file
> that's (mainly) deployed...Anyone a clue?
>
> thanks,
> Pete
>
Previous Topic:javadoc in Eclipse
Next Topic:Adding to file menu... arrrgh
Goto Forum:
  


Current Time: Wed Nov 05 23:12:03 EST 2025

Powered by FUDForum. Page generated in 0.03337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top