IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 3 replies
  • Latest Post - ‏2011-03-10T05:27:22Z by SystemAdmin
SystemAdmin
SystemAdmin
308 Posts

Pinned topic WebServices Service Pack CN01

‏2011-03-07T21:57:48Z |
Hi, has anyone successfully connected the web services service pack to a
TXSeries CICS region? I am experiencing a problem and can't seem to locate
the root cause.

Symptoms: Am receiving the following java error in the log file
(c:\opt\cics\wui\logs\error-log-0.html)


2011/03/07 16:09:31.056 SEVERE Webcontainer : com.ibm.ws.webcontainer.webapp.WebApp : [Servlet Error]-[
{0
}]: 
{1
}([WSGateway, java.lang.StringIndexOutOfBoundsException]) Thread[HttpServer : 1,5,main] ::class.method=com.ibm.ejs.ras.Tr.error() ::thread=HttpServer : 1 ::loggername=com.ibm.ejs.ras 2011/03/07 16:09:31.056 SEVERE [Servlet Error]-[
{0
}]: 
{1
}([WSGateway, java.lang.StringIndexOutOfBoundsException]) ::class.method=com.ibm.ejs.ras.Tr.logPossibleThrowables() ::thread=HttpServer : 1 ::loggername=com.ibm.ejs.ras   java.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1088) at com.ibm.txseries.ws.soap.SOAPRequestParser.getContent(SOAPRequestParser.java:76) at com.ibm.txseries.ws.soap.SOAPRequestParser.parse(SOAPRequestParser.java:59) at com.ibm.txseries.ws.controller.helper.PostRequestHelper.handlePost(PostRequestHelper.java:81) at com.ibm.txseries.ws.controller.WSController.doPost(WSController.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:971) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:477) at com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:86) at com.ibm.pvc.internal.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:102) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3124) at com.ibm.pvc.internal.webcontainer.webapp.BundleWebApp.handleRequest(BundleWebApp.java:451) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:235) at com.ibm.pvc.internal.webcontainer.VirtualHost.handleRequest(VirtualHost.java:96) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:41) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:464) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:355) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

I have tested the LWI environment and ensured that I successfully get the wsdl
returned to me so I know that this piece is working. I have a working IPIC
type listener running in my CICS region - there are no errors associated with
the LD entry in the CICS logs.

I have reviewed the file 'lwiservicestdout.log' in c:\opt\cics\wui\logs and it
is completely empty (there would be text there if a configuration error had occurred)

I am using SOAPUI to send a web service request into my program and I can tell that
there is no connection happening to the CICS region. I am able to test the service
program thru a simple 3270 interface program which calls the service program passing
it a commarea. The fact that I get the above error suggests that I am making it into
the LWI environment.

What I receive out of SOAP UI html log is this as a response (without all of the
date/time stuff):


"HTTP/1.1 500 OK[\r][\n]" 
"HTTP/1.1 500 OK[\r][\n]" 
"Server: Lotus Expeditor Web Container/6.1[\r][\n]" 
"Content-Type: text/html;charset=UTF-8[\r][\n]" 
"$WSEP: [\r][\n]" 
"Content-Language: en-US[\r][\n]" 
"Content-Length: 13[\r][\n]" 
"Connection: close[\r][\n]" 
"[\r][\n]" 
"Error 500: [\r][\n]"

Does anyone have any ideas or experience with this?

Thank you,

David
Updated on 2011-03-10T05:27:22Z at 2011-03-10T05:27:22Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    308 Posts

    Re: WebServices Service Pack CN01

    ‏2011-03-08T05:38:00Z  
    Try to see the SOAP request coming from the SOAPUI tool to the LWI server is proper, which can be seen by enabling LWI log/trace.
    You can do following steps to configure LWI trace.

    Open the 'logging.properties' file exists in directory "/TXSeries-install-dir/conf/overrides". (If this file does not exist, copy
    the logging.properties file exists in "/TXSeries-install-dir/conf" to "/TXSeries-install-dir/conf/overrides" directory).

    Changes the following properties as follows.

    .level=FINE
    SystemOut.level=FINE
    SystemErr.level=FINE

    Restart LWI, and send the SOAP request and verify the SOAP request message is coming properly in the LWI logs.
  • SystemAdmin
    SystemAdmin
    308 Posts

    Re: WebServices Service Pack CN01

    ‏2011-03-08T18:26:56Z  
    Hi, I have successfully changed the logging levels to Fine.
    I see the request arriving in the logs.

    2011/03/08 13:04:27.302 FINE TXWS:SOAP Request Message: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dms="http://www.DMSOPING.DMSCPING.Request.com"> <soapenv:Header/> <soapenv:Body> <dms:DMSOPINGOperation> <dms:tx_soap_ping> <dms:ping_applid>AAAAAAAA</dms:ping_applid> <dms:ping_sysid>AAAA</dms:ping_sysid> <dms:ping_date>AAAAAAAAAA</dms:ping_date> <dms:ping_time>AAAAAAAA</dms:ping_time> </dms:tx_soap_ping> </dms:DMSOPINGOperation> </soapenv:Body></soapenv:Envelope> ::class.method=com.ibm.txseries.ws.controller.helper.PostRequestHelper.handlePost() ::thread=HttpServer : 2 ::loggername=com.ibm.txseries.ws.controller.helper

    followed by the following two error messages:

    2011/03/08 13:04:27.302 SEVERE Webcontainer : com.ibm.ws.webcontainer.servlet.ServletWrapper : Uncaught service() exception thrown by servlet {0}: {1}(http://WSGateway, java.lang.StringIndexOutOfBoundsException) ThreadHttpServer : 2,5,main ::class.method=com.ibm.ejs.ras.Tr.error() ::thread=HttpServer : 2 ::loggername=com.ibm.ejs.ras
    2011/03/08 13:04:27.302 SEVERE Uncaught service() exception thrown by servlet {0}: {1}(http://WSGateway, java.lang.StringIndexOutOfBoundsException) ::class.method=com.ibm.ejs.ras.Tr.logPossibleThrowables() ::thread=HttpServer : 2 ::loggername=com.ibm.ejs.ras

    Which are then followed by the previously presented java stack trace. I have attached the entire trace-log-0.html file

    I can't see what I have done wrong!

    Thank you for reviewing.

    David
  • SystemAdmin
    SystemAdmin
    308 Posts

    Re: WebServices Service Pack CN01

    ‏2011-03-10T05:27:22Z  
    The SOAP request message looks fine.

    Please contact IBM support for this issue. Please use following link to raise.

    https://www-946.ibm.com/support/servicerequest/help/srHelp.action?category=25

    Thanks