You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ali Sadik Kumlali <as...@yahoo.com> on 2006/05/16 10:01:12 UTC
[Axis2][1.0] "Transport error 500" for EchoBlockingDualClient & echoF
Hi all,
When I use EchoBlockingDualClient to invoke echoF service which throws
AxisFault, I run into a strange(?) situation.
Server returnes back an error through the *first* channel. Error says
"Transport error 500 . Error Message is <html><head><title>Apache
Tomcat/5.5.14 - Error report...".
Then the server sends the actual error over the *second* channel.
When I look at the server logs, AxisFault thrown by echoF is shown.
There seems no transport related errors.
However, client *only* catches the first error and writes it down to
the console. Then, it throws another exception that says
"org.apache.axis2.AxisFault: Time out while waiting for the server to
send the response"
I've listed echoF and the client side stack trace below.
Is this the expected behaviour or should I create a JIRA log?
Thanks in advance,
Ali Sadik Kumlali
--------------------------------------------------------------------
public OMElement echoF(OMElement element) throws AxisFault {
throw new AxisFault("MyFault message", "MyFaultCode");
}
--------------------------------------------------------------------
- Transport error 500 . Error Message is <html><head><title>Apache
Tomcat/5.5.14 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 500 - </h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u></u></p><p><b>description</b> <u>The server encountered an internal
error () that prevented it from fulfilling this request.</u></p><HR
size="1" noshade="noshade"><h3>Apache Tomcat/5.5.14</h3></body></html>;
nested exception is:
...
org.apache.axis2.AxisFault: Time out while waiting for the server to
send the response[SimpleHTTPServer] Stop called
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:448)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
at
userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:54)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: [Axis2][1.0] "Transport error 500" for EchoBlockingDualClient & echoF
Posted by Ali Sadik Kumlali <as...@yahoo.com>.
Hi Deepal,
Thanks for the reply. I had already created a JIRA issue:
http://issues.apache.org/jira/browse/AXIS2-741
Regards,
Ali Sadik Kumlali
--- Deepal Jayasinghe <de...@opensource.lk> wrote:
> create a JIRA
>
> Ali Sadik Kumlali wrote:
>
> >Hi all,
> >
> >When I use EchoBlockingDualClient to invoke echoF service which
> throws
> >AxisFault, I run into a strange(?) situation.
> >
> >Server returnes back an error through the *first* channel. Error
> says
> >"Transport error 500 . Error Message is <html><head><title>Apache
> >Tomcat/5.5.14 - Error report...".
> >
> >Then the server sends the actual error over the *second* channel.
> >
> >When I look at the server logs, AxisFault thrown by echoF is shown.
> >There seems no transport related errors.
> >
> >However, client *only* catches the first error and writes it down to
> >the console. Then, it throws another exception that says
> >"org.apache.axis2.AxisFault: Time out while waiting for the server
> to
> >send the response"
> >
> >I've listed echoF and the client side stack trace below.
> >
> >Is this the expected behaviour or should I create a JIRA log?
> >
> >Thanks in advance,
> >
> >Ali Sadik Kumlali
> >
> >--------------------------------------------------------------------
> >
> >public OMElement echoF(OMElement element) throws AxisFault {
> > throw new AxisFault("MyFault message", "MyFaultCode");
> >}
> >
> >--------------------------------------------------------------------
> >- Transport error 500 . Error Message is <html><head><title>Apache
> >Tomcat/5.5.14 - Error report</title><style><!--H1
>
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> >H2
>
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> >H3
>
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> >BODY
>
>{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> >B
>
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> >P
>
>{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> >{color : black;}A.name {color : black;}HR {color :
> #525D76;}--></style>
> ></head><body><h1>HTTP Status 500 - </h1><HR size="1"
> >noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
> ><u></u></p><p><b>description</b> <u>The server encountered an
> internal
> >error () that prevented it from fulfilling this request.</u></p><HR
> >size="1" noshade="noshade"><h3>Apache
> Tomcat/5.5.14</h3></body></html>;
> >nested exception is:
> >...
> >
> >
> >org.apache.axis2.AxisFault: Time out while waiting for the server to
> >send the response[SimpleHTTPServer] Stop called
> > at
>
>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:448)
> > at
>
>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
> > at
>
>userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:54)
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam? Yahoo! Mail has the best spam protection around
> >http://mail.yahoo.com
> >
> >
> >
> >
>
> --
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2][1.0] "Transport error 500" for EchoBlockingDualClient
& echoF
Posted by Deepal Jayasinghe <de...@opensource.lk>.
create a JIRA
Ali Sadik Kumlali wrote:
>Hi all,
>
>When I use EchoBlockingDualClient to invoke echoF service which throws
>AxisFault, I run into a strange(?) situation.
>
>Server returnes back an error through the *first* channel. Error says
>"Transport error 500 . Error Message is <html><head><title>Apache
>Tomcat/5.5.14 - Error report...".
>
>Then the server sends the actual error over the *second* channel.
>
>When I look at the server logs, AxisFault thrown by echoF is shown.
>There seems no transport related errors.
>
>However, client *only* catches the first error and writes it down to
>the console. Then, it throws another exception that says
>"org.apache.axis2.AxisFault: Time out while waiting for the server to
>send the response"
>
>I've listed echoF and the client side stack trace below.
>
>Is this the expected behaviour or should I create a JIRA log?
>
>Thanks in advance,
>
>Ali Sadik Kumlali
>
>--------------------------------------------------------------------
>
>public OMElement echoF(OMElement element) throws AxisFault {
> throw new AxisFault("MyFault message", "MyFaultCode");
>}
>
>--------------------------------------------------------------------
>- Transport error 500 . Error Message is <html><head><title>Apache
>Tomcat/5.5.14 - Error report</title><style><!--H1
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
>H2
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
>H3
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
>BODY
>{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
>B
>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
>P
>{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
>{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
></head><body><h1>HTTP Status 500 - </h1><HR size="1"
>noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
><u></u></p><p><b>description</b> <u>The server encountered an internal
>error () that prevented it from fulfilling this request.</u></p><HR
>size="1" noshade="noshade"><h3>Apache Tomcat/5.5.14</h3></body></html>;
>nested exception is:
>...
>
>
>org.apache.axis2.AxisFault: Time out while waiting for the server to
>send the response[SimpleHTTPServer] Stop called
> at
>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:448)
> at
>org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
> at
>userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:54)
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [Axis2][1.0] "Transport error 500" for EchoBlockingDualClient & echoF
Posted by Ali Sadik Kumlali <as...@yahoo.com>.
Hi,
Since I beleive this is a bug, to enable easier following, I created a
JIRA log: http://issues.apache.org/jira/browse/AXIS2-741
Since separate listener case is very important, I beleive this is
actually a blocker issue. (If I'm not missing something ;-)
Regards,
Ali Sadik Kumlali
--- Ali Sadik Kumlali <as...@yahoo.com> wrote:
> Hi all,
>
> When I use EchoBlockingDualClient to invoke echoF service which
> throws
> AxisFault, I run into a strange(?) situation.
>
> Server returnes back an error through the *first* channel. Error says
> "Transport error 500 . Error Message is <html><head><title>Apache
> Tomcat/5.5.14 - Error report...".
>
> Then the server sends the actual error over the *second* channel.
>
> When I look at the server logs, AxisFault thrown by echoF is shown.
> There seems no transport related errors.
>
> However, client *only* catches the first error and writes it down to
> the console. Then, it throws another exception that says
> "org.apache.axis2.AxisFault: Time out while waiting for the server to
> send the response"
>
> I've listed echoF and the client side stack trace below.
>
> Is this the expected behaviour or should I create a JIRA log?
>
> Thanks in advance,
>
> Ali Sadik Kumlali
>
> --------------------------------------------------------------------
>
> public OMElement echoF(OMElement element) throws AxisFault {
> throw new AxisFault("MyFault message", "MyFaultCode");
> }
>
> --------------------------------------------------------------------
> - Transport error 500 . Error Message is <html><head><title>Apache
> Tomcat/5.5.14 - Error report</title><style><!--H1
>
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
>
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
>
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
>
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
> B
>
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
>
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color :
> #525D76;}--></style>
> </head><body><h1>HTTP Status 500 - </h1><HR size="1"
> noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
> <u></u></p><p><b>description</b> <u>The server encountered an
> internal
> error () that prevented it from fulfilling this request.</u></p><HR
> size="1" noshade="noshade"><h3>Apache
> Tomcat/5.5.14</h3></body></html>;
> nested exception is:
> ...
>
>
> org.apache.axis2.AxisFault: Time out while waiting for the server to
> send the response[SimpleHTTPServer] Stop called
> at
>
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:448)
> at
>
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
> at
>
userguide.clients.EchoBlockingDualClient.main(EchoBlockingDualClient.java:54)
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com