I can't see anything immediately wrong with the web.xml you have
there. A few questions:
- Does the exact same war file deploy and work fine on your
development machine?
- What's different about the production machine? Is it the same JVM
version, same Tomcat version
-t
On Oct 2, 2008, at 8:12 AM, farouk alhassan wrote:
It looks like today i'm making too much noice. After months of
development with stripes and evrything working fine, everything
seems to be falling apart as i try to move the application to a
production server. Some of the issues I am having, i have already
posted.
But this one is a bit strange.
Can someone please tell me what I am doing wrong since the people
here are running out of patience
I have the following in my web.xml
<filter>
<description>
Provides essential configuration and request processing
services
for the Stripes framework.
</description>
<display-name>Stripes Filter</display-name>
<filter-name>StripesFilter</filter-name>
<filter-class>net.sourceforge.stripes.controller.StripesFilter</
filter-class>
<!-- REQUIRED init parameter for the Stripes Filter. -->
<init-param>
<param-name>ActionResolver.Packages</param-name>
<param-value>com.lalpac.web.action</param-value>
</init-param>
</filter>
<!--
Order of the <filter-mapping>'s is important as <url-pattern>'s
are checked in order.
-->
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.action</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>StripesDispatcher</servlet-name>
<servlet-
class>net.sourceforge.stripes.controller.DispatcherServlet</servlet-
class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>StripesDispatcher</servlet-name>
<url-pattern>/dispatcher</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>StripesDispatcher</servlet-name>
<url-pattern>*.action</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>StripesDispatcher</servlet-name>
<url-pattern>/actions/*</url-pattern>
</servlet-mapping>
but I get the following error when i try to access the jsp mentioned
org.apache.jasper.JasperException: An exception occurred processing
JSP page /protected/wca/searchClient.jsp at line 22
19: <h3>Client Search</h3>
20: <p>To search for a client, please enter details below.</p>
21: <div class="hrForm">
22: <s:form action="/protected/actions/Search.action" focus="">
23: <% if (helper.getBeanSearch().isError()) {%>
24: <div style="color:red">
25: ${BeanSearch.message}
Stacktrace:
org
.apache
.jasper
.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
505)
org
.apache
.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.lalpac.web.FilterAccessControl.doFilter(FilterAccessControl.java:
49)
com
.lalpac.web.FilterSessionTimeout.doFilter(FilterSessionTimeout.java:
91)
com
.lalpac
.web.FilterSecureConnection.doFilter(FilterSecureConnection.java:97)
root cause
java.lang.NullPointerException
net.sourceforge.stripes.tag.FormTag.setAction(FormTag.java:85)
org
.apache
.jsp
.protected_.wca.searchClient_jsp._jspService(searchClient_jsp.java:
253)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org
.apache
.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.lalpac.web.FilterAccessControl.doFilter(FilterAccessControl.java:
49)
com
.lalpac.web.FilterSessionTimeout.doFilter(FilterSessionTimeout.java:
91)
com
.lalpac
.web.FilterSecureConnection.doFilter(FilterSecureConnection.java:97)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users