struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thirumalai.veerasw...@polaris.co.in
Subject Re: Struts in iPlanet/Sun ONE Web Server 6.0 SP5 throws exception
Date Fri, 18 Jul 2003 09:28:11 GMT

Hi,

        When I debugged the location of the line of messagetag.java, i
found it is not able to retrieve the message from the properties file.

       But the message source has been configured in the struts-config.xml
file. I said null=true in action servet configuration, then it started
giving the values like ???en.welcome.heading???, ???en.welcome.message???.

        I commented the message resouces entry in struts-config file and
added the application entry in web.xml. Still it is not picking up the
messages.

       This happens only in iPlanet, in Tomcat as soon as deployed it
started working.

Regards
Thiru



                                                                                         
                         
                    thirumalai.ve                                                        
                         
                    eraswamy             To:     struts-user@jakarta.apache.org          
                         
                                         cc:                                             
                         
                    07/18/2003           Subject:     Struts in iPlanet/Sun ONE Web Server
6.0 SP5 throws          
                    10:17 AM             exception                                       
                         
                                                                                         
                         
                                                                                         
                         



Hi,

      I have deployed the struts-blank.war file in Sun ONE Web Server
6.0(iPlanet) SP5. When I access the application through the URL it throws
an exception as mentioned below.

     In the documentation I believe it mentions it will work in SP2+.

     Please do the needful.

Regards
Thiru

[18/Jul/2003:10:04:52] info ( 2448): iPlanet-WebServer-Enterprise/6.0SP5
B10/31/2002 14:41

[18/Jul/2003:10:10:53] failure ( 2448): Internal error: servlet service
function had thrown ServletException (uri=/struts-blank/Welcome.do):
javax.servlet.ServletException, stack: javax.servlet.ServletException
     at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
     at _jsps._pages._Welcome_jsp._jspService(_Welcome_jsp.java:226)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)
     at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)
     at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
     at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
     at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
     at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
Method)
     at
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatcher.java:48)
     at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
     at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
     at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
     at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
     at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
     at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
     at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
     at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
, root cause: javax.servlet.jsp.JspException
     at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:297)
     at _jsps._pages._Welcome_jsp._jspService(_Welcome_jsp.java:89)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)
     at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)
     at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
     at
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
     at
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
     at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
Method)
     at
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatcher.java:48)
     at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
     at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
     at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
     at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
     at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java




Mime
View raw message