All,
   has anyone encountered the following Exception? What is the fix?

Jul 30, 2003 8:18:05 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP 
message
com.sun.xml.messaging.saaj.SOAPExceptionImpl: 
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at 
com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:268)
at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135)     
at 
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:45)   
                                                                      
at 
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
                                            
at 
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:361)
                                                                   
at 
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:156)
                                                    
at java.security.AccessController.doPrivileged(Native Method)
at 
com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:126)

This appears to be a transient error and I have observed this only in connection with 
the SOAPConnection.
The failure occurs either prior to establishing the connection (I have seen entry in 
apache access logs) or
prior to returning results. We run the same server on 2 different configurations - 
Tomcat Standalone and
Apache-Tomcat. I noticed the following error too in Apache error log:

[Thu Aug 28 21:50:23 2003] [error] channelSocket.open() connect failed localhost :8019 
111 Connection refused
[Thu Aug 28 21:50:23 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Aug 28 21:50:23 2003] [error] ajp13.service() failed to connect endpoint 
errno=111 Connection refused
[Thu Aug 28 21:50:23 2003] [error] ajp13.service() Error  forwarding 
ajp13:localhost:8019 1 1
[Thu Aug 28 21:50:23 2003] [notice] ajp13.done() close endpoint ajp13:localhost:8019 
error_state 1
[Thu Aug 28 21:50:23 2003] [error] lb.service() worker failed 120000 for 
ajp13:localhost:8019
[Thu Aug 28 21:50:23 2003] [error] channelUn.connect() connect failed 2 No such file 
or directory
[Thu Aug 28 21:50:23 2003] [error] ajp13.connect() failed ajp13:/opt/33/work/jk2.socket
[Thu Aug 28 21:50:23 2003] [error] ajp13.service() failed to connect endpoint errno=2 
No such file or directory
[Thu Aug 28 21:50:23 2003] [error] ajp13.service() Error  forwarding 
ajp13:/opt/33/work/jk2.socket 1 1
[Thu Aug 28 21:50:23 2003] [notice] channelUn.close(): close unix socket -1
[Thu Aug 28 21:50:23 2003] [notice] ajp13.done() close endpoint 
ajp13:/opt/33/work/jk2.socket error_state 1
[Thu Aug 28 21:50:23 2003] [error] lb.service() worker failed 120000 for 
ajp13:/opt/33/work/jk2.socket
[Thu Aug 28 21:50:23 2003] [error] lb.service() worker failed 120000 for ajp13:jni
[Thu Aug 28 21:50:23 2003] [error] lb.service() unrecoverable error...
[Thu Aug 28 21:50:23 2003] [error] mod_jk.handler() Error connecting to tomcat 120000

However, I can't present any evidence regarding the failure during response. 
Appreciate any help.
sincerely,
Ramesh Mantri

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to