You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Daniel Dang <dd...@dolphtech.com> on 2007/07/26 20:07:55 UTC

content header missing using IIS, tomcat and axis

Hi there,

 I am using IIS version 6.0 talk to tomcat version 5.5.16 with mod_jk
and axis version 2.4 
client recieved xml soap message fine. The problem is when axis setting
a
 attachments client recieved http error 500

The same server code working fine for apache but not for IIS
here is a content header below exception:

[Thu Jul 26 09:42:29 2007] [2968:3748] [debug] jk_ajp_common.c (1043):
received from ajp13 pos=0 len=69 max=8192
 .....Internal.Server.Error.....
Content-Type...text/xml;charset=utf-8............status = 500
Number of headers is = 1
Header[0] [Content-Type] = [text/xml;charset=utf-8]
received from ajp13 pos=0 len=2258 max=8192
...<?xml.version="1.0".encoding="UTF-8"?>

<soapenv:Envelope.xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/".xmlns:xsd="http://www.w3.org/2001/XMLSchema
                ".xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body><soapenv:Fault><faultcode.xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode>
                        <faultstring>Server.Error</faultstring>

<detail><ns2:stackTrace.xmlns:ns2="http://xml.apache.org/axis/">Server.Error
                        ...at.org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:473)
                        ...at.org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
                        ...at.org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
                        ...at.javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                        ...at.org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
                        ...at.javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                        ...at.org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                        ...at.org.apache.catalina.core.ApplicationFilterCh


Any idea of this problem, thank you in advance!

--Daniel



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: content header missing using IIS, tomcat and axis

Posted by Rainer Jung <ra...@kippdata.de>.
Can you check, if the attachment to the request has been received 
completely by your Tomcat webapp?

Regards,

Rainer

Daniel Dang wrote:
> Hi there,
> 
>  I am using IIS version 6.0 talk to tomcat version 5.5.16 with mod_jk
> and axis version 2.4 
> client recieved xml soap message fine. The problem is when axis setting
> a
>  attachments client recieved http error 500
> 
> The same server code working fine for apache but not for IIS
> here is a content header below exception:
> 
> [Thu Jul 26 09:42:29 2007] [2968:3748] [debug] jk_ajp_common.c (1043):
> received from ajp13 pos=0 len=69 max=8192
>  .....Internal.Server.Error.....
> Content-Type...text/xml;charset=utf-8............status = 500
> Number of headers is = 1
> Header[0] [Content-Type] = [text/xml;charset=utf-8]
> received from ajp13 pos=0 len=2258 max=8192
> ...<?xml.version="1.0".encoding="UTF-8"?>
> 
> <soapenv:Envelope.xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/".xmlns:xsd="http://www.w3.org/2001/XMLSchema
>                 ".xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> 
> <soapenv:Body><soapenv:Fault><faultcode.xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode>
>                         <faultstring>Server.Error</faultstring>
> 
> <detail><ns2:stackTrace.xmlns:ns2="http://xml.apache.org/axis/">Server.Error
>                         ...at.org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:473)
>                         ...at.org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
>                         ...at.org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
>                         ...at.javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>                         ...at.org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
>                         ...at.javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>                         ...at.org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>                         ...at.org.apache.catalina.core.ApplicationFilterCh
> 
> 
> Any idea of this problem, thank you in advance!
> 
> --Daniel
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org