Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot forward session to another destination

Status
Not open for further replies.

Vadim

Programmer
Feb 5, 2002
75
US
1. Test Application:
______________________________________________

<jsp:include page="ChkLogin.jsp">
<jsp:param name="APPL" value="PAYROLL" />
</jsp:include>
<%
int iSession = tomcatsecurity.SessionGuard.getActiveSessions();
%>
<HTML><HEAD><BODY >...

______________________________________________
2. ChkLogin.jsp - this page forward to signon page.
______________________________________________

<% sTarget = "/SignOn.jsp";
session.getServletContext().getRequestDispatcher(sTarget).forward(request, response); %>

______________________________________________
3. Signon page
______________________________________________

<% out.println("SignOn 1"); %>

______________________________________________
4. Apache httpd.conf - this is how it envolve the tomcat4:
ProxyVia On
ProxyPass /intranet/ ProxyPassReverse /intranet/
After I call the first page tomcat throw me a IlligalState error for ApplicationDispatcher:
ApplicationDispatcher[] Servlet.service() for servlet default threw exception
java.lang.IllegalStateException


Please, tell me what I did wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top