You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Samisa Abeysinghe <SA...@virtusa.com> on 2004/12/09 06:50:17 UTC

RE: [jira] Closed: (AXISCPP-299) thSafeTest gives'AxisTransportException:Unknow HTTP response' for some threads wehn morethan 32 threads invoked

Hi Nithya,
	Please check the service URL. I usually test this with Axis
Java. You can pass the service URL as the second parameter. E.g.

./thSafeTest 2 http://localhost:8080/service/axis/echo

Thanks,
Samisa...

-----Original Message-----
From: nithyakala [mailto:nithya@opensource.lk]
Sent: Thursday, December 09, 2004 10:05 AM
To: Apache AXIS C Developers List
Subject: Re: [jira] Closed: (AXISCPP-299) thSafeTest
gives'AxisTransportException:Unknow HTTP response' for some threads wehn
morethan 32 threads invoked

Hi,

I am getting a Exception : AxisTransportException:Unknown Exception
when running thSfeTest.

I tested some of the other samples like Interopbase ones, etc they are
working fine.

I have pasted the output for your reference.

./thSafeTest 2
Creating thread 0
Exception : AxisTransportException:Unknown Transport Exception
Created thread 1086852288
Creating thread 1
Exception : AxisTransportException:Unknown Transport Exception
Created thread 1095240768
Joined thread 1095240768
about to clean
about to exit
about to clean up
Done clean up


Regards,
Nithya.



On Mon, 2004-12-06 at 14:41, Samisa Abeysinghe (JIRA) wrote:
>      [ http://nagoya.apache.org/jira/browse/AXISCPP-299?page=history ]
>     
> Samisa Abeysinghe closed AXISCPP-299:
> -------------------------------------
>
>      Resolution: Fixed
>     Fix Version: 1.4 Beta
>
> There were some bugs due to the fact that the deserializer leaves
trailing parts of the SOAP stream on the channel itself. The subsequest
invokes get to see those leftovers. Fixed this problem by making sure
that the transport wipes out the leftovers before giving out read
results to subsequent invokes
>
> > thSafeTest gives 'AxisTransportException:Unknow HTTP response' for
some threads wehn more than 32 threads invoked
> >
------------------------------------------------------------------------
-----------------------------------------
> >
> >          Key: AXISCPP-299
> >          URL: http://nagoya.apache.org/jira/browse/AXISCPP-299
> >      Project: Axis-C++
> >         Type: Bug
> >   Components: Test
> >  Environment: Linux, Xerces parser, axis2ipv6 transports (with ipv4)
> >     Reporter: Samisa Abeysinghe
> >     Assignee: Samisa Abeysinghe
> >      Fix For: 1.4 Beta
>
> >
> > Some requests (not all) fails with exception when more than 32
threads are used.
> > ./thSafeTest 33
> > Creating thread 0
> > Created thread 26979248
> > Creating thread 1
> > Created thread 42249136
> > Creating thread 2
> > 52738992 Done
> > Created thread 52738992
> > Creating thread 3
> > Created thread 63228848
> > Creating thread 4
> > Created thread 130653104
> > Creating thread 5
> > Exception : AxisTransportException:Unknow HTTP response, cannot
process response message Protocol is not HTTP.
> > 130653104 Done
> > (output continued...)


--------------------------- -----------------------------------------------------------------
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.

Re: [jira] Closed: (AXISCPP-299) thSafeTest gives'AxisTransportException:Unknow HTTP response' for some threads wehn morethan 32 threads invoked

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Ooops!! my mistake :-(

It takes three args where the second and third are the host name and
port with the first being the no of threads. Sorry about this.
Should change this to get the endpoint URL

Samisa...


On 09 Dec 2004 15:26:31 +0600, nithyakala <ni...@opensource.lk> wrote:
> Hi Samisa,
> 
> I was trying to acces base sample in axis c++.
> 
> After the following changes in the Client.cpp
> 
> sprintf(endpoint, "http://%s:%s/axis/base", server, port);
>     //endpoint for Axis Java sample
>    // sprintf(endpoint, "http://%s:%s/axis/services/echo", server,
> port);
> 
> it works fine, I am running it as follows
> 
> ./thSafeTest 20 localhost 80
> 
> Thank you ,
> 
> Nithya.
> 
> On Thu, 2004-12-09 at 11:50, Samisa Abeysinghe wrote:
> > Hi Nithya,
> >       Please check the service URL. I usually test this with Axis
> > Java. You can pass the service URL as the second parameter. E.g.
> >
> > ./thSafeTest 2 http://localhost:8080/service/axis/echo
> >
> > Thanks,
> > Samisa...
> >
> > -----Original Message-----
> > From: nithyakala [mailto:nithya@opensource.lk]
> > Sent: Thursday, December 09, 2004 10:05 AM
> > To: Apache AXIS C Developers List
> > Subject: Re: [jira] Closed: (AXISCPP-299) thSafeTest
> > gives'AxisTransportException:Unknow HTTP response' for some threads wehn
> > morethan 32 threads invoked
> >
> > Hi,
> >
> > I am getting a Exception : AxisTransportException:Unknown Exception
> > when running thSfeTest.
> >
> > I tested some of the other samples like Interopbase ones, etc they are
> > working fine.
> >
> > I have pasted the output for your reference.
> >
> > ./thSafeTest 2
> > Creating thread 0
> > Exception : AxisTransportException:Unknown Transport Exception
> > Created thread 1086852288
> > Creating thread 1
> > Exception : AxisTransportException:Unknown Transport Exception
> > Created thread 1095240768
> > Joined thread 1095240768
> > about to clean
> > about to exit
> > about to clean up
> > Done clean up
> >
> >
> > Regards,
> > Nithya.
> >
> >
> >
> > On Mon, 2004-12-06 at 14:41, Samisa Abeysinghe (JIRA) wrote:
> > >      [ http://nagoya.apache.org/jira/browse/AXISCPP-299?page=history ]
> > >
> > > Samisa Abeysinghe closed AXISCPP-299:
> > > -------------------------------------
> > >
> > >      Resolution: Fixed
> > >     Fix Version: 1.4 Beta
> > >
> > > There were some bugs due to the fact that the deserializer leaves
> > trailing parts of the SOAP stream on the channel itself. The subsequest
> > invokes get to see those leftovers. Fixed this problem by making sure
> > that the transport wipes out the leftovers before giving out read
> > results to subsequent invokes
> > >
> > > > thSafeTest gives 'AxisTransportException:Unknow HTTP response' for
> > some threads wehn more than 32 threads invoked
> > > >
> > ------------------------------------------------------------------------
> > -----------------------------------------
> > > >
> > > >          Key: AXISCPP-299
> > > >          URL: http://nagoya.apache.org/jira/browse/AXISCPP-299
> > > >      Project: Axis-C++
> > > >         Type: Bug
> > > >   Components: Test
> > > >  Environment: Linux, Xerces parser, axis2ipv6 transports (with ipv4)
> > > >     Reporter: Samisa Abeysinghe
> > > >     Assignee: Samisa Abeysinghe
> > > >      Fix For: 1.4 Beta
> > >
> > > >
> > > > Some requests (not all) fails with exception when more than 32
> > threads are used.
> > > > ./thSafeTest 33
> > > > Creating thread 0
> > > > Created thread 26979248
> > > > Creating thread 1
> > > > Created thread 42249136
> > > > Creating thread 2
> > > > 52738992 Done
> > > > Created thread 52738992
> > > > Creating thread 3
> > > > Created thread 63228848
> > > > Creating thread 4
> > > > Created thread 130653104
> > > > Creating thread 5
> > > > Exception : AxisTransportException:Unknow HTTP response, cannot
> > process response message Protocol is not HTTP.
> > > > 130653104 Done
> > > > (output continued...)
> >
> >
> > --------------------------- -----------------------------------------------------------------
> > This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.
> >
> >
> 
>

RE: [jira] Closed: (AXISCPP-299) thSafeTest gives'AxisTransportException:Unknow HTTP response' for some threads wehn morethan 32 threads invoked

Posted by nithyakala <ni...@opensource.lk>.
Hi Samisa,

I was trying to acces base sample in axis c++.

After the following changes in the Client.cpp 

sprintf(endpoint, "http://%s:%s/axis/base", server, port);
    //endpoint for Axis Java sample
   // sprintf(endpoint, "http://%s:%s/axis/services/echo", server,
port);

it works fine, I am running it as follows

./thSafeTest 20 localhost 80

Thank you ,

Nithya.


On Thu, 2004-12-09 at 11:50, Samisa Abeysinghe wrote:
> Hi Nithya,
> 	Please check the service URL. I usually test this with Axis
> Java. You can pass the service URL as the second parameter. E.g.
> 
> ./thSafeTest 2 http://localhost:8080/service/axis/echo
> 
> Thanks,
> Samisa...
> 
> -----Original Message-----
> From: nithyakala [mailto:nithya@opensource.lk]
> Sent: Thursday, December 09, 2004 10:05 AM
> To: Apache AXIS C Developers List
> Subject: Re: [jira] Closed: (AXISCPP-299) thSafeTest
> gives'AxisTransportException:Unknow HTTP response' for some threads wehn
> morethan 32 threads invoked
> 
> Hi,
> 
> I am getting a Exception : AxisTransportException:Unknown Exception
> when running thSfeTest.
> 
> I tested some of the other samples like Interopbase ones, etc they are
> working fine.
> 
> I have pasted the output for your reference.
> 
> ./thSafeTest 2
> Creating thread 0
> Exception : AxisTransportException:Unknown Transport Exception
> Created thread 1086852288
> Creating thread 1
> Exception : AxisTransportException:Unknown Transport Exception
> Created thread 1095240768
> Joined thread 1095240768
> about to clean
> about to exit
> about to clean up
> Done clean up
> 
> 
> Regards,
> Nithya.
> 
> 
> 
> On Mon, 2004-12-06 at 14:41, Samisa Abeysinghe (JIRA) wrote:
> >      [ http://nagoya.apache.org/jira/browse/AXISCPP-299?page=history ]
> >     
> > Samisa Abeysinghe closed AXISCPP-299:
> > -------------------------------------
> >
> >      Resolution: Fixed
> >     Fix Version: 1.4 Beta
> >
> > There were some bugs due to the fact that the deserializer leaves
> trailing parts of the SOAP stream on the channel itself. The subsequest
> invokes get to see those leftovers. Fixed this problem by making sure
> that the transport wipes out the leftovers before giving out read
> results to subsequent invokes
> >
> > > thSafeTest gives 'AxisTransportException:Unknow HTTP response' for
> some threads wehn more than 32 threads invoked
> > >
> ------------------------------------------------------------------------
> -----------------------------------------
> > >
> > >          Key: AXISCPP-299
> > >          URL: http://nagoya.apache.org/jira/browse/AXISCPP-299
> > >      Project: Axis-C++
> > >         Type: Bug
> > >   Components: Test
> > >  Environment: Linux, Xerces parser, axis2ipv6 transports (with ipv4)
> > >     Reporter: Samisa Abeysinghe
> > >     Assignee: Samisa Abeysinghe
> > >      Fix For: 1.4 Beta
> >
> > >
> > > Some requests (not all) fails with exception when more than 32
> threads are used.
> > > ./thSafeTest 33
> > > Creating thread 0
> > > Created thread 26979248
> > > Creating thread 1
> > > Created thread 42249136
> > > Creating thread 2
> > > 52738992 Done
> > > Created thread 52738992
> > > Creating thread 3
> > > Created thread 63228848
> > > Creating thread 4
> > > Created thread 130653104
> > > Creating thread 5
> > > Exception : AxisTransportException:Unknow HTTP response, cannot
> process response message Protocol is not HTTP.
> > > 130653104 Done
> > > (output continued...)
> 
> 
> --------------------------- -----------------------------------------------------------------
> This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.
> 
>