× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I would say that your firewall is closing connections after they are idle for a period of time. Adjusting the keep-alive timer on the system running WebSphere should help. Use the CHGTCPA command to adjust it. We have ours set to 30 (this is 30 minutes) but you need to find out what the time-out value is for the firewall and make sure what you enter is less than half of the firewall time-out (you can read the docs to find out why). Depending upon how communications work between the systems, you may also need to change this value on the remote system as well.

The change takes affect immediately for new connections but you should restart WebSphere after this change so all of the connections use the new value.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Dean.Eshleman@xxxxxxxxxxxxxx
Sent: Thursday, January 22, 2009 9:35 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Web services error

Hi,

We are using WDSC 7.0 to generate web services for our RPG programs. These
are being deployed in Websphere 5.1 Express (I know this is an old
version). This is working well for the most part, but periodically they
return a "java.lang.NullPointerException" error. We haven't been able to
figure out what circumstances cause this error. When it occurs, you can
call the web service again and then it seems to work just fine. The web
services (java code) are running on one System i and connecting to another
System i (rpg programs) thru a firewall. I don't know java, so it is hard
for me to interpret the java error messages. Here are some messages we
are seeing in the SystemOut log file in Websphere. Anyone have any ideas?
TIA

Dean Eshleman,
MMA, Inc.

[1/22/09 8:36:48:795 EST] 27933094 SystemOut O 342397:36:48.795 0
<BR>** Program Call Definition Error ** : The program alias, [GWW011],
caused error :
<BR>Exception received: '[java.net.SocketException] A connection with a
remote socket was reset by that socket.'.
<BR>Potential causes :
<BR> 1) for 'Value is not set.' error. Please restart the EAR project or
the server
<BR> to ensure that any changes made to the project are recognized by
the server.
<BR> 2) for 'ObjectDoesNotExistException' error. Please make sure the
host object defined
<BR> in the above program alias is correct and exists on the host.
<BR> 3) For all other errors, please check the setting of the reported
field in
<BR> Program Call Definition Page.

[1/22/09 8:36:48:799 EST] 27933094 SystemOut O WebIntRuntimeException
occurred : com.ibm.iseries.webint.WebIntRuntimeException: <BR>** Program
Call Definition Error ** : The program alias, [GWW011], caused error :
<BR>Exception received: '[java.net.SocketException] A connection with a
remote socket was reset by that socket.'.
<BR>Potential causes :
<BR> 1) for 'Value is not set.' error. Please restart the EAR project or
the server
<BR> to ensure that any changes made to the project are recognized by
the server.
<BR> 2) for 'ObjectDoesNotExistException' error. Please make sure the
host object defined
<BR> in the above program alias is correct and exists on the host.
<BR> 3) For all other errors, please check the setting of the reported
field in
<BR> Program Call Definition Page.

[1/22/09 8:36:48:799 EST] 27933094 SystemOut O
com.ibm.iseries.webint.WebIntRuntimeException: <BR>** Program Call
Definition Error ** : The program alias, [GWW011], caused error :
<BR>Exception received: '[java.net.SocketException] A connection with a
remote socket was reset by that socket.'.
<BR>Potential causes :
<BR> 1) for 'Value is not set.' error. Please restart the EAR project or
the server
<BR> to ensure that any changes made to the project are recognized by
the server.
<BR> 2) for 'ObjectDoesNotExistException' error. Please make sure the
host object defined
<BR> in the above program alias is correct and exists on the host.
<BR> 3) For all other errors, please check the setting of the reported
field in
<BR> Program Call Definition Page.

[1/22/09 8:36:48:808 EST] 27933094 SystemOut O at
java.lang.Throwable.<init>(Throwable.java:195)
[1/22/09 8:36:48:808 EST] 27933094 SystemOut O at
java.lang.Exception.<init>(Exception.java:41)
[1/22/09 8:36:48:808 EST] 27933094 SystemOut O at
com.ibm.iseries.webint.WebIntRuntimeException.<init>(WebIntRuntimeException.java:83)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
com.ibm.iseries.webint.WebIntProgramCall.mapException(WebIntProgramCall.java:814)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
com.ibm.iseries.webint.WebIntProgramCall.executeInternal(WebIntProgramCall.java:927)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
com.ibm.iseries.webint.WebIntProgramCall.execute(WebIntProgramCall.java:914)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
com.ibm.connector.as400.ProgramCallBean.invoke(ProgramCallBean.java:93)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
iseries.wsbeans.gww011.GWW011Services$GWW011.invoke(GWW011Services.java:319)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
iseries.wsbeans.gww011.GWW011Services.gww011(GWW011Services.java:35)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
java.lang.reflect.Method.invoke(Method.java:324)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.invokeMethod(RPCProvider.java:408)
[1/22/09 8:36:48:809 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.processRequestResponse(RPCProvider.java:300)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.processMessage(RPCProvider.java:263)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.providers.java.JavaProvider.invoke(JavaProvider.java:289)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:61)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:898)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[1/22/09 8:36:48:810 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[1/22/09 8:36:48:811 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[1/22/09 8:36:48:811 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1018)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:529)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:208)
[1/22/09 8:36:48:824 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:321)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
[1/22/09 8:36:48:825 EST] 27933094 SystemOut O at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)
[1/22/09 8:36:49:591 EST] 27933094 WebServicesSe E
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet WSWS3227E:
Error: Exception:
[1/22/09 8:36:49:792 EST] 27933094 WebServicesSe E
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet TRAS0014I:
The following exception was logged WebServicesFault
faultCode: Server.generalException
faultString: java.lang.NullPointerException
faultActor: null
faultDetail:

java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.rmi.RemoteException.<init>(RemoteException.java:71)
at
com.ibm.ws.webservices.engine.WebServicesFault.<init>(WebServicesFault.java:253)
at
com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:157)
at
com.ibm.ws.webservices.engine.providers.java.JavaProvider.invoke(JavaProvider.java:294)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at
com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:61)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at
com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
at
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1018)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:529)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:208)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:321)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)
Caused by: java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:180)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at
java.lang.NullPointerException.<init>(NullPointerException.java:36)
at
iseries.wsbeans.gww011.GWW011Services.removeInvalidXmlCharacters(GWW011Services.java:137)
at
iseries.wsbeans.gww011.GWW011Services.process_GWW011_Output(GWW011Services.java:119)
at
iseries.wsbeans.gww011.GWW011Services.gww011(GWW011Services.java:36)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.invokeMethod(RPCProvider.java:408)
at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.processRequestResponse(RPCProvider.java:300)
at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.processMessage(RPCProvider.java:263)
at
com.ibm.ws.webservices.engine.providers.java.JavaProvider.invoke(JavaProvider.java:289)
... 28 more
.
WebServicesFault
faultCode: Server.generalException
faultString: java.lang.NullPointerException
faultActor: null
faultDetail:

java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.rmi.RemoteException.<init>(RemoteException.java:71)
at
com.ibm.ws.webservices.engine.WebServicesFault.<init>(WebServicesFault.java:253)
at
com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:157)
at
com.ibm.ws.webservices.engine.providers.java.JavaProvider.invoke(JavaProvider.java:294)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at
com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:61)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at
com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
at
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1018)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:529)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:208)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:321)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)
Caused by: java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:180)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at
java.lang.NullPointerException.<init>(NullPointerException.java:36)
at
iseries.wsbeans.gww011.GWW011Services.removeInvalidXmlCharacters(GWW011Services.java:137)
at
iseries.wsbeans.gww011.GWW011Services.process_GWW011_Output(GWW011Services.java:119)
at
iseries.wsbeans.gww011.GWW011Services.gww011(GWW011Services.java:36)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.invokeMethod(RPCProvider.java:408)
at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.processRequestResponse(RPCProvider.java:300)
at
com.ibm.ws.webservices.engine.providers.java.RPCProvider.processMessage(RPCProvider.java:263)
at
com.ibm.ws.webservices.engine.providers.java.JavaProvider.invoke(JavaProvider.java:289)
... 28 more


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.