HTTP 200 response - Connection Failure - CF10 local Tomcat

Hello,
I am invoking a webService, FirstData to be exact.  It's SSL.  I am invoking properly, and FirstData is seeing my request as valid and successful, but the response comes back with a 200 and the filecontent is "Connection Failure".  No SOAP structure in the response.  I found that this was a bug with CF8 which I'd expect to be cleared up in CF10.  Is there a workaround?  I've attempted passing headers in various ways but it continues to fail.
<cfhttp url="XXX" method="POST" username="XXX" password="XXX" path="XXX" file="XXX" resolveurl="false" clientCert="XXX" clientCertPassword="XXX">
                    <cfhttpparam type="XML" value="#myXML#">
                    <cfhttpparam type="header" name="Accept-Encoding" value="deflate;q=0" />
                    <cfhttpparam type="header" name="TE" value="deflate;q=0" />
                    </cfhttp>
Response 
struct
Charset
utf-8
ErrorDetail
[empty string]
Filecontent
Connection Failure
Header
HTTP/1.1 200 OK Date: Fri, 22 Mar 2013 19:25:10 GMT Server: Apache/2.4.2 X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1 Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Length: 852 Connection: close Content-Type: text/xml;charset=utf-8
Mimetype
text/xml
Responseheader
struct
Accept
text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection
close
Content-Length
852
Content-Type
text/xml;charset=utf-8
Date
Fri, 22 Mar 2013 19:25:10 GMT
Explanation
OK
Http_Version
HTTP/1.1
Server
Apache/2.4.2
Status_Code
200
X-Powered-By
Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Statuscode
200 OK
Text
YES

Hi
Might be you are processing huge data because of this you are getting this error.
Regards
Dheeraj Kumar

Similar Messages

  • SOAP Adapter XI 3.0 - HTTP 200 response fails

    We have a scenario where a request message is sent successfully to a URL by the SOAP Adapter.
    However, the response message has an HTTP response of 200 (meaning ok) which is not handled correctly by the
    SOAP Adapter.
    The error text shown in SXMB_MONI is:
    com.sap.aii.af.ra.ms.api.DeliveryException: Failed to call the endpoint HTTP 200 OK
    Is there something I am missing in the configuration to allow HTTP responses in the SOAP Adapter ? It is very odd that the SOAP Request works fine, but the SOAP Response does not.
    Any ideas anyone ?
    Kind regards
    Colin.

    Hi Bill
    1. synchronous out / in
    2. yes
    3. working fine
    following the way out to the elocateserver system is working fine.
    The soap is working and the responce from the elocteserver is fine . But when the message is pick put the Timeout show up.
    below is the Responce from elocateserver to xi
    Hope this will help you
    thanks olaf
    Help
    !http://sapnt09:50200/sap/public/icman/img/theme.jpg|alt=SAP|width=122 height=61 border=0 |src=http://sapnt09:50200/sap/public/icman/img/theme.jpg!
    500 Connection timed out
    Connection timed out (-5)
    Error:
    -5
    Version:
    6040
    Component:
    ICM
    Date/Time:
    Sat Oct 16 06:13:25 2004
    Module:
    icxxthr.c
    Line:
    2556
    Server:
    sapnt09_M64_02
    Detail:
    Connection to partner timed out
    © 2001-2003, SAP AG

  • Connection failure

    I have a error!!
    <Dec 12, 2003 6:42:58 PM GMT-05:00> <Error> <HTTP> <BEA-101083> <Connection failure.
    java.net.SocketException: Error in poll for fd=100, revents=8
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:128)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    I help me!!!

    Getting the same error in SP5. I don't know it is fixed? please help how to get rid of it ? and why it is coming ?
    appreciate your response.
    Durga

  • BEA-101083 Connection failure.java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@16907c  at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger

    While trying to publish mesaage by MQ 5.3 .I got the following error
              Please help.
              <Error> <HTTP> <BEA-101083> <Connection failure.
              java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1c94ff
              3 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
              at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
              at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
              at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
              at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:49)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              

    Can you help me ? I have the same problem.

  • BEA-101083 Connection failure

    While trying to publish mesaage by MQ 5.3 .I got the following error
    Please help.
    <Error> <HTTP> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1c94ff
    3 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
    at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:49)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

    Hi, we are running WLS 8.1 SP 5 on Linux and are having this problem. It appears to have an impact on our client/GUI in the form of premature session timeout.

  • PO 7.4: NW BPM: HTTP Error response for SOAP request or invalid content-type.HTTP 200 OK

    Hi Experts
    I am trying to call NW BPM scenario(File to BPM) from PI, and using below adapter config.
    I am getting below error.
    Failed to call the endpoint: Error in call over HTTP: HTTP 200 OK
    SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Any idea how to fix this issue?
    Thanks,
    Sandeep Maurya.

    Hi Sandeep,
    Test the URL from your browser and check the proxy settings as well.
    Refer the below links
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT
    SOAP: Call failed: java.io.IOException: Failed to get the input stream from socket: java.net.SocketException: Connection…
    Regards
    Bhargava Krishna

  • HTTP Connection failure

     

    Hi, I got the same error but not with a JSP, I am using a Servlet, but it
              happened not allways at the same point, I mean, sometimes happen,
              sommetimes, not....do you know why ???
              Mick Coughlan <[email protected]> wrote in message
              news:[email protected]...
              > Hi
              > After compiling a jsp page and displaying it on the browser, a socket
              > exception as shown below appears on the
              > server console window.
              >
              > Wed Jun 07 08:52:29 GMT+00:00 2000:<I> <ZAC> ZAC packages stored in local
              > directory exports
              > Wed Jun 07 08:52:29 GMT+00:00 2000:<I> <ListenThread> Listening on port:
              > 7001
              > Wed Jun 07 08:52:30 GMT+00:00 2000:<I> <WebLogicServer> WebLogic Server
              > started
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              init
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              param
              > verbose initialized to: true
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              param
              > packagePrefix initialized to: jsp_servlet
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              param
              > compileCommand initialized to: javac
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              param
              > srcCompiler initialized to weblogic.jspc
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              param
              > superclass initialized to null
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              param
              > workingDir initialized to: /usr/local/weblogic/myserver/classfiles
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              param
              > pageCheckSeconds initialized to: 1
              > Wed Jun 07 08:52:45 GMT+00:00 2000:<I> <ServletContext-General> *.jsp:
              > initialization complete
              > Wed Jun 07 08:54:08 GMT+00:00 2000:<I> <ServletContext-General> Generated
              > java file:
              > /usr/local/weblogic/myserver/classfiles/jsp_servlet/_TestJSP/_listing.java
              > Wed Jun 07 08:55:13 GMT+00:00 2000:<E> <HTTP> Connection failure
              > java.net.SocketException: No such file or directory: No such file or
              > directory
              > at java.net.SocketInputStream.socketRead(Native Method)
              > at java.net.SocketInputStream.read(SocketInputStream.java:90)
              > at
              > weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:209)
              > at
              > weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              > Any ideas as to what causes this
              >
              > Regards
              > Mick
              >
              >
              

  • SOAP Response change from http 200 to http 204

    Hello
    I must change for a application, that call a webservice on the pi, change the
    SOAP Response from HTTP 200 OK to HTTP 204. I think that must chnage on the SOAP Adapter and wei can't change in the messages or mapping. Also wit a Fault Messages is this not runnig.
    What is with BPM, have any body do somthing with that.
    Regards Tom

    Hello Stefan
    This thrid Application need this response. We cann't change this. We spaek with this product manager, but he want change this. He want this when the interface is async, that application now no conntent come back.
    Regards Tom

  • HTTP Responses with Flex, how to transform http 500 into http 200

    Hello
    We have deployed a Web Service application in our WAS 7.10 SP6.
    Our application is a standard java 5 app with annotations (ejbs exposed as web services).
    When a web service call operation returns a java exception (any kind of exception), WAS returns http 500 to the client.
    http 500 cannot be interpreted by a flex client (2.0, 3.0 no matter which version) because of an interaction between browser and flex runtime issue.   Flex code can only obtain an i/o error when http 500 is returned by the server.
    The usual way to solve this problem is to create a filter that transforms http 500 to http 200, but we don't know how to implement a filter for web services http responses in WAS 7.1 or 7.0
    Other solutions involve using Adobe proxy, but in our case we can't use it.
    Is there any other solution to this matter?

    Hello
    We have deployed a Web Service application in our WAS 7.10 SP6.
    Our application is a standard java 5 app with annotations (ejbs exposed as web services).
    When a web service call operation returns a java exception (any kind of exception), WAS returns http 500 to the client.
    http 500 cannot be interpreted by a flex client (2.0, 3.0 no matter which version) because of an interaction between browser and flex runtime issue.   Flex code can only obtain an i/o error when http 500 is returned by the server.
    The usual way to solve this problem is to create a filter that transforms http 500 to http 200, but we don't know how to implement a filter for web services http responses in WAS 7.1 or 7.0
    Other solutions involve using Adobe proxy, but in our case we can't use it.
    Is there any other solution to this matter?

  • Secure connection failure in browser for https sites

    Recently I kept getting the error message "Secure Connection Failure" when using Firefox to go to https sites. I had a similar problem when I tried using Safari to connect to https sites.
    I fixed the problem by opening System Preferences > Parental Controls > selecting the appropriate User (as long as you have administration rights) > selected Allow unrestricted access to websites (by default Try to limit access to adult websites automatically is selected).
    Once I checked unrestricted access I was able to go to the https sites I wanted, which were my bank's site and the Firefox homepage for FAQs. Then I went back and checked "Try to limit ...". That brought back the error message again so I checked "Allow unrestricted access ...".
    The issue may have arisen because I downloaded a system security update a few days ago. Perhaps it reset the Parental Controls default.
    It would be good to block adult sites but the alternative seems to be to customize in Parental Controls the sites that are OK. This would be a tedious job because so many sites are https eg this site.
    I no longer have a problem but thought this might help others.

    Strangely, I noticed a couple of https sites I had trouble logging into from a link inside a https site.
    In System Preferences I went to Accouns and for myself unchecked "Enable parental controls".
    I was then able to log onto the the https site.

  • I'm having strange random connection failures. Are there ineffieciency in my config?

    I've been having strange, random connection failures and I'm trying to eliminate possible causes.
    What happens is while I'm browsing on the net over wifi, a link will at random not connect to the site, but instead fault to the ISP error page. It happens with highly reliable sites like google, or ebay, or whatever. If I direct connect to the cable modem, the problem site is immediately available.
    I'm sitting <6 feet from a 871W router (with antenna). There's one router in my building and others are at my neighbors. 
    Below is the conf file. Just to imagine how rediculious this problem is, here's a screen shot from a web page. This shows a web page I visited, and after clicking on a link (an embedded youtube video), the error showed up within the page itself.
    Why would only some URLs fail to connect? Is there inefficiencies in my config?
        Building configuration...
        Current configuration : 4750 bytes
        version 12.4
        no service pad
        service timestamps debug datetime msec
        service timestamps log datetime msec
        no service password-encryption
        hostname TooterTurtle
        boot-start-marker
        boot-end-marker
        logging buffered 51200 warnings
        no logging console
        aaa new-model
        aaa authentication login default local
        aaa authorization exec default local
        aaa session-id common
        clock timezone NewYork -5
        clock summer-time NewYork date Apr 6 2003 2:00 Oct 26 2003 2:00
        dot11 syslog
        dot11 ssid TooterTurtle
           vlan 2
           authentication open
           authentication key-management wpa
           guest-mode
           wpa-psk ascii 0 [my wifi password]
        no ip source-route
        no ip gratuitous-arps
        ip cef
        no ip dhcp use vrf connected
        ip dhcp excluded-address 192.168.10.1 192.168.10.10
        ip dhcp excluded-address 10.0.0.1 10.0.0.10
        ip dhcp pool vlan1
           import all
           network 192.168.10.0 255.255.255.0
           dns-server 192.168.10.1
           default-router 192.168.10.1
           domain-name Ethernet
        ip dhcp pool vlan2
           import all
           network 10.0.0.0 255.255.255.0
           domain-name WiFi
           dns-server 10.0.0.1
           default-router 10.0.0.1
        ip dhcp pool MrWizard
           host 192.168.10.100 255.255.255.0
           hardware-address 0011.0917.66fa
           client-name MrWizard
        ip dhcp pool MasterShake
           host 192.168.10.101 255.255.255.0
           hardware-address 0022.681c.fbcc
           client-name mastershake
        ip auth-proxy max-nodata-conns 3
        ip admission max-nodata-conns 3
        no ip bootp server
        ip domain name mydomain.com
        ip ddns update method ccp_ddns1
         HTTP
          add [zone edit account and url]
          remove [zone edit account and url]
        username admin privilege 15 secret 5 [encrypted secret]
        archive
         log config
          hidekeys
        no ip ftp passive
        ip ssh version 1
        bridge irb
        interface FastEthernet0
         description AdminInterface
        interface FastEthernet1
         description MrWizard
        interface FastEthernet2
         description Belkin
        interface FastEthernet3
        interface FastEthernet4
         description ComcastCableModem
         ip address dhcp
         ip verify unicast source reachable-via rx allow-default 100
         no ip redirects
         no ip unreachables
         no ip proxy-arp
         ip nat outside
         ip virtual-reassembly
         speed auto
         full-duplex
        interface Dot11Radio0
         no ip address
         no ip redirects
         no ip unreachables
         no ip proxy-arp
         encryption vlan 1 mode ciphers tkip
         encryption vlan 2 mode ciphers tkip
         ssid TooterTurtle
         speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
         station-role root
        interface Dot11Radio0.1
         description TootersWiFi
         encapsulation dot1Q 2
         no cdp enable
         bridge-group 2
         bridge-group 2 subscriber-loop-control
         bridge-group 2 spanning-disabled
         bridge-group 2 block-unknown-source
         no bridge-group 2 source-learning
         no bridge-group 2 unicast-flooding
        interface Vlan1
         description EthernetOnly
         no ip address
         no ip redirects
         no ip unreachables
         no ip proxy-arp
         ip nat inside
         ip virtual-reassembly
         bridge-group 1
        interface Vlan2
         description WiFiOnly
         no ip address
         bridge-group 2
        interface BVI1
         description EthernetOnly
         ip address 192.168.10.1 255.255.255.0
         ip nat inside
         ip virtual-reassembly
        interface BVI2
         description WiFiOnly
         ip address 10.0.0.1 255.255.255.0
         ip nat inside
         ip virtual-reassembly
        ip forward-protocol nd
        ip route 0.0.0.0 0.0.0.0 FastEthernet4
        ip http server
        ip http authentication local
        no ip http secure-server
        ip http timeout-policy idle 60 life 86400 requests 10000
        ip dns server
        ip nat inside source list 101 interface FastEthernet4 overload
        ip nat inside source list 102 interface FastEthernet4 overload
        ip nat inside source static tcp 192.168.10.100 80 interface FastEthernet4 80
        ip access-list extended vlan1
         deny   ip 10.0.0.0 0.0.0.255 any
         permit ip any any
        access-list 100 permit udp any any eq bootpc
        access-list 101 permit ip 192.168.10.0 0.0.0.255 any
        access-list 102 permit ip 10.0.0.0 0.0.0.255 any
        no cdp run
        control-plane
        bridge 1 protocol ieee
        bridge 1 route ip
        bridge 2 protocol ieee
        bridge 2 route ip
        line con 0
         no modem enable
        line aux 0
        line vty 0 4
         transport input telnet ssh
         transport output telnet ssh
        scheduler max-task-time 5000
        end

    I removed the ip router 0 0 to no great effect, which I consider to be a win.
    I'm guessing that since overload is what--I understand--translates the one outside to the many inside IPs, that the suggestion to have only one overload configured means I should combine the two ip ranges into one.
    I deleted 10.0.0.0 network. Changed the bridge references to 1 and vlan references to 1. Now wifi and ethernet should all be using the same internal network? That's the idea, right? Any more fat?
    [EDITED]
    dot11 syslog
    dot11 ssid TooterTurtle
       vlan 1
       authentication open
       authentication key-management wpa
       guest-mode
       wpa-psk ascii 0 [my passphrase]
    no ip source-route
    no ip gratuitous-arps
    ip cef
    no ip dhcp use vrf connected
    ip dhcp excluded-address 192.168.10.1 192.168.10.10
    ip dhcp pool vlan1
       import all
       network 192.168.10.0 255.255.255.0
       dns-server 192.168.10.1
       default-router 192.168.10.1
       domain-name Ethernet
    ip auth-proxy max-nodata-conns 3
    ip admission max-nodata-conns 3
    no ip bootp server
    ip domain name [my url]
    ip ddns update method ccp_ddns1
     HTTP
      add http:...[zoneedit]
      remove http:[zoneedit]
    no ip ftp passive
    ip ssh version 1
    bridge irb
    interface FastEthernet0
     description AdminInterface
    interface FastEthernet1
     description MrWizard
    interface FastEthernet2
     description Belkin
    interface FastEthernet3
    interface FastEthernet4
     description ComcastCableModem
     ip address dhcp
     ip verify unicast source reachable-via rx allow-default 100
     no ip redirects
     no ip unreachables
     no ip proxy-arp
     ip nat outside
     ip virtual-reassembly
     speed auto
     full-duplex
    interface Dot11Radio0
     no ip address
     no ip redirects
     no ip unreachables
     no ip proxy-arp
     encryption vlan 1 mode ciphers tkip
     ssid TooterTurtle
     speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
     station-role root
    interface Dot11Radio0.1
     description TootersWiFi
     encapsulation dot1Q 2
     no cdp enable
     bridge-group 1
     bridge-group 1 subscriber-loop-control
     bridge-group 1 spanning-disabled
     bridge-group 1 block-unknown-source
     no bridge-group 1 source-learning
     no bridge-group 1 unicast-flooding
    interface Vlan1
     description EthernetOnly
     no ip address
     no ip redirects
     no ip unreachables
     no ip proxy-arp
     ip nat inside
     ip virtual-reassembly
     bridge-group 1
    interface BVI1
     description EthernetOnly
     ip address 192.168.10.1 255.255.255.0
     ip nat inside
     ip virtual-reassembly
    ip forward-protocol nd
    ip http server
    ip http authentication local
    no ip http secure-server
    ip http timeout-policy idle 60 life 86400 requests 10000
    ip dns server
    ip nat inside source list 101 interface FastEthernet4 overload
    ip nat inside source static tcp 192.168.10.100 80 interface FastEthernet4 80
    ip access-list extended vlan1
     permit ip any any
    access-list 100 permit udp any any eq bootpc
    access-list 101 permit ip 192.168.10.0 0.0.0.255 any
    no cdp run
    control-plane
    bridge 1 protocol ieee
    bridge 1 route ip

  • Problem with JBDC connection to mysql in tomcat

    hi ,
    can anyone plz help me?..
    iam new to JSP. iam trying to impelement a application in JSP with JDBC connection using tomcat. Database is MYSQL .
    iam getting the following error:
    org.apache.jasper.JasperException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Server connection failure during transaction.
    Attempted reconnect 3 times. Giving up.)"
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Server connection failure during transaction.
    Attempted reconnect 3 times. Giving up.)"
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.test_jsp._jspService(test_jsp.java:81)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    THIS IS MY APPLICATION:
    <html>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select id, foo, bar from testdata
    </sql:query>
    <html>
    <head>
    <title>DB Test</title>
    </head>
    <body>
    <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
    Foo ${row.foo}
    Bar ${row.bar}
    </c:forEach>
    </body>
    </html>
    Following is the context file called "DBtest.xml" stored in webapps/DBtest/META-INF folder( i have a same copy of the file in /conf/Catelina/localhost)
    <Context path="/DBTest" docBase="DBTest"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="javauser" password="javadude" driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>
    </Context>
    i have following web.xml file in webapps/DBtest/WEB-INF
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/TestDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    i have been refering to the internet form past 3 days and making lot of changes.but,there is no use.
    plz guide me
    thanks

    Perhaps a stupid question: is MySQL running and listening on port 3306? The problem is not always in the webapp. Perhaps you can create a small test class that uses Driver to make a connection to your database.

  • Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK

    Hi PI gurus,
      Need some suggestions on one issue below -
      Scenario - proxy (SAP) to SOAP (Web based system)
      In the RWB Communication Channel Monitirong we are receiving the below error
      " Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK"
    the request from XI system is going to target system and printing the lables (as per the functionality) with no issues but the comminication channel is giving the above error and this is causing the repeated sending the same request to target sytem and the data is printing repeateadly. This issues is occuring in Quality environment.
    Strangley the same Interface with the same connectivity details is working fine in Development environment. But not working in Quality environment. Checked the firewalls settings on both in XI and Target system side and confirmed that everything is fine.
    Below are the Logs both from Quality and developement are as follows
    Quality ( Failure Case) 
    17.03.2011 07:19:59 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:25:03 Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK
    Development     (Success ful)
    17.03.2011 07:27:55 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:27:58 Success SOAP: completed the processing
    When we checked with basis team on user id J2EE_GUEST,  they confirmed that they are same in Development and Quality.
    I repeat,, that the same target url and everthing is same in XI Configuration
    Thanks in Advance. Points would be rewared for the best solution.
    Thanks,
    Jitender

    HI Jitender,
          If your scenariois working in DEV and if it is not working in QAS.Could you please check if both the systems are at same patch levels..
    Please refer below notes :1551161,817894,952402.
    Cheers!!!
    Naveen.

  • No SOAP Envelope but 1 {'}Values; HTTP 200 OK

    Hi Experts,
    I am configuring a scneario IDOC to SOAP , Asynchronous call  to an https url that is available through internet.
    When I try to post message to this url. I am getting following error:
    SOAP: call failed: java.io.IOException: No SOAP Envelope but 1 {'}Values; HTTP 200 OK
    in SOAP Adapter Log. Due to this error the message is set to NDLV.
    I am using PI7.1
    My Receiver Channel configurations are as contain
    the third party url https://target with username password authentication. I have also imported client certificates.
    Webservice host says its a problem with PI system and SAP says that its issue with Webservice.
    Please let me know how can I resolve this issue. Am I missing something in my configuration. This is kind of a burning issue currently any help will be appreciated.
    Regards,
    Raj

    Hi Raj,
    This looks strange. If the error text is telling the truth, your SSL connection was working and you could even reach some service that returned HTTP 200 OK. But this service didn't return a SOAP response. I don't know what 1 {*} Values means. It sounds broken to me. You can open a ticket.
    But the reason why you didn't get a valid SOAP response (either a good one or a fault) is probably that your target URL is incorrect. Verify the URL and run the scenario with the relevant components (refer to the SOAP adapter FAQ note) on DEBUG. The default trace file should give you more information about this apparently corrupted response.
    Best regards, Yza

  • Receiver HTTP Adaper Response Message problem

    We are using HTTP adapter as the receiver for one of our vendor to post XML PO's to vendor's URL.
    We are using Transport Protocol-HTTP 1.0
    Message Protocol-XI Payload in HTTP Body
    Adapter Engine-Integration Engine.
    When PO is posted good on vendor's site we get "200" as the reponse message and when PO is failed in the vendor system due to mapping problems still we get "200" response message, Vendor's are sending "400" message for the failure to update their system but our server is not waiting to get "400" response messages. It picks the message of "200" when PO is posted on vendor's URL it is not waiting to get the next message.
    Does anyone can help me to resolve this problem.
    Thanks in advance!
    Mrudula Patel

    Hi Mrudula,
      Can you eloborate bit more on this scenario,
    1) 200 - for posting successfully in Vendor's site
    2) 400 - if Business logic fails at Vendor's site
    3)  ?? - Sucessful transaction (Biz Logic).
    If there is only one response, which gives either 2 or 3, then you can pick up the appropriate one & post the sender with the results. The HTTP adapter's call closes once it recieves ANY reponse from recieving site (Vendor).
    hope this helps.
    Regards
    Vishnu

Maybe you are looking for