axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gold, Jack L \(US SSA\)" <jack.g...@baesystems.com>
Subject RE: echo samples with Axis2/C Module for Apache2
Date Fri, 12 Sep 2008 12:51:44 GMT
Supun,

            I decided to try this again this morning with the math
sample.  Using TCPMon, I sent the command to "add 40 8
http://localhost/axis2/services/math"

 

>From this log message in the axis2.log I took this morning, it looks as
though the request is getting through to the server:

 

[Fri Sep 12 08:21:23 2008] [debug] apache2_worker.c(199)
http://localhost/axis2/services/math/

[Fri Sep 12 08:21:23 2008] [debug] apache2_worker.c(229) Client HTTP
version HTTP/1.1

[Fri Sep 12 08:22:15 2008] [debug] apache2_worker.c(199)
http://localhost/axis2/services/math/

[Fri Sep 12 08:22:15 2008] [debug] apache2_worker.c(229) Client HTTP
version HTTP/1.1

 

            I get: <html><head><title>500 Internal Server
Error</title></head><body><h2>Internal Server Error</h2><p>The
server
encountered an unexpected condition which prevented it from fulfilling
the request.</p></body></html>.

 

            The axis2.log doesn't tell me any more than that.

 

Interestingly, I checked the access_log for Apache and found that when I
attempt to call the math sample from the command line:

 

./math add 40 8 http://localhost/axis2/services/math

 

I get a "POST /axis2/services/math HTTP/1.1" 301 318 "-" "Axis2C/1.5.0"

 

Whereas, if I send the request via TCPMon, 

 

I get a "POST /axis2/services/math HTTP/1.1" 500 210 "-" "Axis/2.0"

 

Why would the Axis version be different depending on how I call it?
There is only one server and module running as far as I know.

 

--Jack

 

  _____  

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
Sent: Friday, September 12, 2008 5:48 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

Hi Jack,

>From your log files it seems that the client request has not reached the
server. You can use a tool like tcpmon[]1 to verify this. Send the
request through tcpmon and you will see weather it reaches the target.  

[1] http://ws.apache.org/commons/tcpmon/download.cgi

Supun..

On Thu, Sep 11, 2008 at 5:58 PM, Qasim Ijaz <qijaz@uab.edu> wrote:

How can I get off this list? I have tried in the past but the email
address for unsubscribing doesn't work. Can anyone help?

 

Thanks.

 

Qasim.

 

  _____  

From: Gold, Jack L (US SSA) [mailto:jack.gold@baesystems.com] 
Sent: Thursday, September 11, 2008 7:57 AM


To: Apache AXIS C User List

Subject: RE: echo samples with Axis2/C Module for Apache2

 

The spam filter is preventing reception of the math_blocking.log file.
Sorry.  I don't know how else to post it to you.

 

--Jack

 

  _____  

From: Supun Kamburugamuva [mailto:supun06@gmail.com] 
Sent: Thursday, September 11, 2008 1:45 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

Can you please send the server log file for the failed test cases with
Apache Server? Usually if a sample works with axis2_http_server it works
with Apache server as well. Please note that google and yahoo sample
failures have nothing to do with the local server. These requests go to
google and yahoo servers respectively. 

Supun..

On Thu, Sep 11, 2008 at 12:37 AM, Gold, Jack L (US SSA)
<jack.gold@baesystems.com> wrote:

It seems that some of the services are working and echo was just an
example of one that wasn't.  I have now run all the samples.

Under Libmod_axis2 with Apache2:

echo - Fails
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - fails
google - soap fault
math - fails
mtom - fails
notify - fails
yahoosearch - fails

Under axis_simple_server:

echo - Succeeds
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - succeeds
google - soap fault
math - succeeds
mtom - succeeds
notify - succeeds
yahoosearch - fails

I would have expected the same results through both servers with maybe
the exception of echo_rest and mtom.  What bothers me is that some of
the tests are successful only on the simple axis server, yet some work
in both configurations.  Any ideas?

--Jack



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org




-- 
Software Engineer, WSO2 Inc




-- 
Software Engineer, WSO2 Inc
http://wso2.com


Mime
View raw message