WHY this happends? Maybe because iPlanet 6.0 is not a fully J2EE 1.2 compliant appserver? I suspects that core APIs as servlets and JSPs behaves differently.
Any more opinions?
Regards,
Adolfo.
From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Struts 1.0 --> 1.1 on iPlanet Date: Fri, 14 May 2004 14:34:43 -0400 (EDT)
All-
In an attempt to find the limits of iWS6.0SP5, I created a simple "Hello World" Struts app using 1.0 and have it successfully deployed and running.
To take it to the next level, I made the same app Struts 1.1 compliant by changing the struts-config.xml to 1.1 format, upgrading stuts.jar and including the required commons libs (digester, beanutils, etc). Deploying this newer version of the app causes the server to bomb with the stack trace below.
Looking into the Stuts 1.1 source, if you trace back the line in ActionServlet that seems to be causing the NPE, it's based on it loading/finding the config file and then being able to find the mapping for the incoming request.
I can't understand why iWS would be able to find the struts-config.xml when using Struts 1.0, but not with Struts 1.1.
Has anyone run into this before? Offer any thoughts on how to debug? I'd really like to get Struts 1.1 running on this baby.
-Billy
[14/May/2004:11:04:30] failure ( 678): Internal error: exception thrown
from the servlet service function (uri=/hello-world/SampleAction.do):
java.la
ng.NullPointerException, Stack: java.lang.NullPointerException
at
org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:854)
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)
at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
Method)
at
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatcher.java:48)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:415)
at _jsps._index_jsp._jspService(_index_jsp.java:61)
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)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

