Frances - We are on Websphere 3.02 and the following is at least the
beginning of the error when we use response.sendRedirect("url") in java
using Websphere.  Any ideas?

Thanks for your help!
Steve Raisor

23.955 40dca6ef WebApp        X Error.occurred.while.invoking.error.reporter

com.ibm.servlet.engine.webapp.WebAppErrorReport: [servlets.login.Login2]
reported an error
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:81)

com/ibm/servlet/engine/webapp/WebAppDispatcherResponse.sendError(ILjava/lang
/String;)V+38 (WebAppDispatcherContext.java:240)

com/ibm/servlet/engine/webapp/WebAppDispatcherResponse.sendError(I)V+37
(WebAppDispatcherContext.java:219)

com/ibm/servlet/engine/webapp/WebAppDispatcherResponse.sendRedirect(Ljava/la
ng/String;)V+31 (WebAppDispatcherContext.java:203)

servlets/login/Login2.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/s
ervlet/http/HttpServletResponse;)V+0 (Login2.java:21)

servlets/login/Login2.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/se
rvlet/http/HttpServletResponse;)V+0 (Login2.java:16)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletReques
t;Ljavax/servlet/http/HttpServletResponse;)V+32 (HttpServlet.java:534)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/
servlet/ServletResponse;)V+25 (HttpServlet.java:639)

com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;)V+21
(ServletManager.java:557)

com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;)V+46
(StrictLifecycleServlet.java:160)

com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/Servlet
Request;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebApp
ServletInvocationEvent;)V+186 (ServletManager.java:349)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(L
com/ibm/servlet/engine/webapp/WebAppRequest;Lcom/ibm/servlet/engine/webapp/W
ebAppResponse;Z)V+534 (WebApp.java:1129)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servle
t/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+111 (WebApp.java:1001)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;)V+1 (WebApp.java:960)

com/ibm/servlet/engine/webapp/InvokerServlet.service(Ljavax/servlet/http/Htt
pServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+610
(InvokerServlet.java:172)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/
servlet/ServletResponse;)V+25 (HttpServlet.java:639)

com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;)V+21
(ServletManager.java:557)

com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;)V+46
(StrictLifecycleServlet.java:160)

com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/Servlet
Request;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebApp
ServletInvocationEvent;)V+186 (ServletManager.java:349)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(L
com/ibm/servlet/engine/webapp/WebAppRequest;Lcom/ibm/servlet/engine/webapp/W
ebAppResponse;Z)V+534 (WebApp.java:1129)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servle
t/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+111 (WebApp.java:1001)

com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet
/ServletRequest;Ljavax/servlet/ServletResponse;)V+1 (WebApp.java:960)

com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Obj
ect;)V+84 (WebGroup.java:681)

com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/la
ng/Object;)V+25 (CachedInvocation.java:67)

com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/
String;Lcom/ibm/servlet/engine/srp/ISRPConnection;)V+839
(ServletRequestProcessor.java:139)

com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/se
rvlet/engine/oselistener/api/IOSEConnection;)V+95 (OSEListener.java:300)

com/ibm/servlet/engine/oselistener/SQEventListenerImp$ServiceRunnable.run()V
+155 (SQEventListenerImp.java:230)

com/ibm/servlet/engine/oselistener/SQEventListenerImp.notifySQEvent(Lcom/ibm
/servlet/engine/oselistener/api/ISQEvent;)V+184
(SQEventListenerImp.java:104)

com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lco
m/ibm/servlet/engine/oselistener/api/SQEventImp;)V+40
(SQEventSource.java:202)

com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRu
nnable.notifyService()V+116 (SQWrapperEventSource.java:347)

com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRu
nnable.run()V+124 (SQWrapperEventSource.java:216)

com/ibm/servlet/engine/oselistener/outofproc/OutOfProcThread$CtlRunnable.run
()V+104 (OutOfProcThread.java:248)
      java/lang/Thread.run()V+11 (Thread.java:466)



>
> What's the cryptic error message, and what version of WebSphere are you
> using?
>
> Frances Stewart
> WebSphere Application Server for iSeries 400
> External: (507) 253-2795
> Tie-line: 8-553-2795
> IBM Rochester
>
> I was wondering if anyone could shed some light on  a problem I'm having
> with websphere and java. When I use  response.sendRedirect("ExampleURL"),
> everything works fine, except I get a  cryptic error message in the server
> log. Anyone have any ideas or had a  similar problem? The strange thing
> is that it redirects to the page  fine.
>
> Thanks for your help in advance!
> Steve Raisor


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.