Re: Axis2/C 1.2 breaks my webservice

2008-03-06 Thread Senaka Fernando
 Can you provide a sample code that could help recreate the problem. I
 tried the code that Manjula sent and I could not re-create the problem.
 Without some code to recreate the problem, it is so hard to dig into
 this kind of a problem :(

Yep, That would be great.

Regards,
Senaka


 Thanks,
 Samisa...

 Senaka Fernando wrote:
 Hi Ed,

 Have you tried this issue with the Guththila parser, using the configure
 option --enable-guththila=yes ? If you havn't can you please try that.
 Also,  if you have tried using Guththila and still get this, would it be
 possible for you to attach your log_file so that it is easier to locate
 the exact root cause of this problem. The log_file I'm referring to is
 the
 one generated by your Axis2/C Client.

 Regards,
 Senaka


 Hi Senaka,

 I am working with Subra on resolving this issue, and I am having no
 luck
 in getting Axis2/C 1.3.0 to work with the libraries he already
 discussed
 about in previous threads.  Even removing the -static-libgcc flag
 during compilation of our libraries does not resolve the issue.

 Ed

 -Original Message-
 From: Senaka Fernando [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2008 1:25 AM
 To: Apache AXIS C User List
 Subject: Re: Axis2/C 1.2 breaks my webservice

 Hi all,


 Senaka,
 1.3 has been released. Users can use the source pack. Why use svn?

 Well they should be using the source pack rather. SVN links were simply
 to
 respond to Subra's last reply. Also, I believe that the Axis2/C 1.3.0
 source pack would've solved this issue.

 Regards,
 Senaka


 Samisa...

 Senaka Fernando wrote:

 Hi Subra,

 No, I meant the whole source. You can try, [1] for this purpose. [2]

 is

 the 1.2.0 tag. I think you were rather trying an RC tag, according to
 what
 I gathered from your previous replies to this thread.

 [1] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.3.0/
 [2] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0/

 And, regarding, isn't the build.sh file from axis2 1.1good?. Did

 you

 use
 the 1.1 build.sh with, 1.2 source?

 Regards,
 Senaka



 Hi Senaka,

 I suggest you check out from a branch and try running ./build.sh so
 that


 the configure scripts will be regenerated to support your CFLAGS.

 If

 this
 also fails, may be it is the -static-libgcc -shared combination

 that

 gives trouble.



 I have downloaded ver 1.3 and would like to try my code with this
 version.
 but before I begin I just wanted to make sure that I am doing

 evrything

 correctly.

 What do you mean when you ask me to checkout from a branch? Do you

 want

 me
 to checkout just the build.sh file? isn't the build.sh file from

 axis2

 1.1good?


 Subra



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





 --
 Samisa Abeysinghe
 Software Architect; WSO2 Inc.

 http://www.wso2.com/ - Oxygenating the Web Service Platform.


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



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






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






 --
 Samisa Abeysinghe
 Software Architect; WSO2 Inc.

 http://www.wso2.com/ - Oxygenating the Web Service Platform.


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




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



RE: Axis2/C 1.2 breaks my webservice

2008-03-06 Thread Senaka Fernando
Hi Ed,

Have you tried this issue with the Guththila parser, using the configure
option --enable-guththila=yes ? If you havn't can you please try that.
Also,  if you have tried using Guththila and still get this, would it be
possible for you to attach your log_file so that it is easier to locate
the exact root cause of this problem. The log_file I'm referring to is the
one generated by your Axis2/C Client.

Regards,
Senaka

 Hi Senaka,

 I am working with Subra on resolving this issue, and I am having no luck
 in getting Axis2/C 1.3.0 to work with the libraries he already discussed
 about in previous threads.  Even removing the -static-libgcc flag
 during compilation of our libraries does not resolve the issue.

 Ed

 -Original Message-
 From: Senaka Fernando [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 05, 2008 1:25 AM
 To: Apache AXIS C User List
 Subject: Re: Axis2/C 1.2 breaks my webservice

 Hi all,

 Senaka,
 1.3 has been released. Users can use the source pack. Why use svn?

 Well they should be using the source pack rather. SVN links were simply
 to
 respond to Subra's last reply. Also, I believe that the Axis2/C 1.3.0
 source pack would've solved this issue.

 Regards,
 Senaka


 Samisa...

 Senaka Fernando wrote:
 Hi Subra,

 No, I meant the whole source. You can try, [1] for this purpose. [2]
 is
 the 1.2.0 tag. I think you were rather trying an RC tag, according to
 what
 I gathered from your previous replies to this thread.

 [1] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.3.0/
 [2] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0/

 And, regarding, isn't the build.sh file from axis2 1.1good?. Did
 you
 use
 the 1.1 build.sh with, 1.2 source?

 Regards,
 Senaka


 Hi Senaka,

 I suggest you check out from a branch and try running ./build.sh so
 that

 the configure scripts will be regenerated to support your CFLAGS.
 If
 this
 also fails, may be it is the -static-libgcc -shared combination
 that
 gives trouble.


 I have downloaded ver 1.3 and would like to try my code with this
 version.
 but before I begin I just wanted to make sure that I am doing
 evrything
 correctly.

 What do you mean when you ask me to checkout from a branch? Do you
 want
 me
 to checkout just the build.sh file? isn't the build.sh file from
 axis2
 1.1good?


 Subra




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






 --
 Samisa Abeysinghe
 Software Architect; WSO2 Inc.

 http://www.wso2.com/ - Oxygenating the Web Service Platform.


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




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





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



RE: Axis2/C 1.2 breaks my webservice

2008-03-05 Thread Liu_Edward
Hi Senaka,

I am working with Subra on resolving this issue, and I am having no luck
in getting Axis2/C 1.3.0 to work with the libraries he already discussed
about in previous threads.  Even removing the -static-libgcc flag
during compilation of our libraries does not resolve the issue.

Ed

-Original Message-
From: Senaka Fernando [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2008 1:25 AM
To: Apache AXIS C User List
Subject: Re: Axis2/C 1.2 breaks my webservice

Hi all,

 Senaka,
 1.3 has been released. Users can use the source pack. Why use svn?

Well they should be using the source pack rather. SVN links were simply
to
respond to Subra's last reply. Also, I believe that the Axis2/C 1.3.0
source pack would've solved this issue.

Regards,
Senaka


 Samisa...

 Senaka Fernando wrote:
 Hi Subra,

 No, I meant the whole source. You can try, [1] for this purpose. [2]
is
 the 1.2.0 tag. I think you were rather trying an RC tag, according to
 what
 I gathered from your previous replies to this thread.

 [1] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.3.0/
 [2] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0/

 And, regarding, isn't the build.sh file from axis2 1.1good?. Did
you
 use
 the 1.1 build.sh with, 1.2 source?

 Regards,
 Senaka


 Hi Senaka,

 I suggest you check out from a branch and try running ./build.sh so
 that

 the configure scripts will be regenerated to support your CFLAGS.
If
 this
 also fails, may be it is the -static-libgcc -shared combination
that
 gives trouble.


 I have downloaded ver 1.3 and would like to try my code with this
 version.
 but before I begin I just wanted to make sure that I am doing
evrything
 correctly.

 What do you mean when you ask me to checkout from a branch? Do you
want
 me
 to checkout just the build.sh file? isn't the build.sh file from
axis2
 1.1good?


 Subra




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






 --
 Samisa Abeysinghe
 Software Architect; WSO2 Inc.

 http://www.wso2.com/ - Oxygenating the Web Service Platform.


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




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



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



Re: Axis2/C 1.2 breaks my webservice

2008-03-04 Thread Subra A Narayanan
Hi Senaka,

I suggest you check out from a branch and try running ./build.sh so that
 the configure scripts will be regenerated to support your CFLAGS. If this
 also fails, may be it is the -static-libgcc -shared combination that
 gives trouble.


I have downloaded ver 1.3 and would like to try my code with this version.
but before I begin I just wanted to make sure that I am doing evrything
correctly.

What do you mean when you ask me to checkout from a branch? Do you want me
to checkout just the build.sh file? isn't the build.sh file from axis2 1.1good?


Subra


Re: Axis2/C 1.2 breaks my webservice

2008-03-04 Thread Samisa Abeysinghe

Subra A Narayanan wrote:

Hi Senaka,

I suggest you check out from a branch and try running ./build.sh
so that
the configure scripts will be regenerated to support your CFLAGS.
If this
also fails, may be it is the -static-libgcc -shared combination that
gives trouble.


I have downloaded ver 1.3 and would like to try my code with this 
version. but before I begin I just wanted to make sure that I am doing 
evrything correctly.


What do you mean when you ask me to checkout from a branch? Do you 
want me to checkout just the build.sh file? isn't the build.sh file 
from axis2 1.1 good?


1.3 have just been released. It will have all the build scripts in the 
pack. You do not need to checkout anything form svn.


Samisa...


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



Re: Axis2/C 1.2 breaks my webservice

2008-03-04 Thread Senaka Fernando
Hi Subra,

No, I meant the whole source. You can try, [1] for this purpose. [2] is
the 1.2.0 tag. I think you were rather trying an RC tag, according to what
I gathered from your previous replies to this thread.

[1] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.3.0/
[2] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0/

And, regarding, isn't the build.sh file from axis2 1.1good?. Did you use
the 1.1 build.sh with, 1.2 source?

Regards,
Senaka

 Hi Senaka,

 I suggest you check out from a branch and try running ./build.sh so that
 the configure scripts will be regenerated to support your CFLAGS. If
 this
 also fails, may be it is the -static-libgcc -shared combination that
 gives trouble.


 I have downloaded ver 1.3 and would like to try my code with this version.
 but before I begin I just wanted to make sure that I am doing evrything
 correctly.

 What do you mean when you ask me to checkout from a branch? Do you want me
 to checkout just the build.sh file? isn't the build.sh file from axis2
 1.1good?


 Subra



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



Re: Axis2/C 1.2 breaks my webservice

2008-03-04 Thread Samisa Abeysinghe

Senaka,
   1.3 has been released. Users can use the source pack. Why use svn?

Samisa...

Senaka Fernando wrote:

Hi Subra,

No, I meant the whole source. You can try, [1] for this purpose. [2] is
the 1.2.0 tag. I think you were rather trying an RC tag, according to what
I gathered from your previous replies to this thread.

[1] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.3.0/
[2] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0/

And, regarding, isn't the build.sh file from axis2 1.1good?. Did you use
the 1.1 build.sh with, 1.2 source?

Regards,
Senaka

  

Hi Senaka,

I suggest you check out from a branch and try running ./build.sh so that


the configure scripts will be regenerated to support your CFLAGS. If
this
also fails, may be it is the -static-libgcc -shared combination that
gives trouble.

  

I have downloaded ver 1.3 and would like to try my code with this version.
but before I begin I just wanted to make sure that I am doing evrything
correctly.

What do you mean when you ask me to checkout from a branch? Do you want me
to checkout just the build.sh file? isn't the build.sh file from axis2
1.1good?


Subra





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



  



--
Samisa Abeysinghe 
Software Architect; WSO2 Inc.


http://www.wso2.com/ - Oxygenating the Web Service Platform.


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



Re: Axis2/C 1.2 breaks my webservice

2008-03-04 Thread Senaka Fernando
Hi all,

 Senaka,
 1.3 has been released. Users can use the source pack. Why use svn?

Well they should be using the source pack rather. SVN links were simply to
respond to Subra's last reply. Also, I believe that the Axis2/C 1.3.0
source pack would've solved this issue.

Regards,
Senaka


 Samisa...

 Senaka Fernando wrote:
 Hi Subra,

 No, I meant the whole source. You can try, [1] for this purpose. [2] is
 the 1.2.0 tag. I think you were rather trying an RC tag, according to
 what
 I gathered from your previous replies to this thread.

 [1] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.3.0/
 [2] http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0/

 And, regarding, isn't the build.sh file from axis2 1.1good?. Did you
 use
 the 1.1 build.sh with, 1.2 source?

 Regards,
 Senaka


 Hi Senaka,

 I suggest you check out from a branch and try running ./build.sh so
 that

 the configure scripts will be regenerated to support your CFLAGS. If
 this
 also fails, may be it is the -static-libgcc -shared combination that
 gives trouble.


 I have downloaded ver 1.3 and would like to try my code with this
 version.
 but before I begin I just wanted to make sure that I am doing evrything
 correctly.

 What do you mean when you ask me to checkout from a branch? Do you want
 me
 to checkout just the build.sh file? isn't the build.sh file from axis2
 1.1good?


 Subra




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






 --
 Samisa Abeysinghe
 Software Architect; WSO2 Inc.

 http://www.wso2.com/ - Oxygenating the Web Service Platform.


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




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



Re: Axis2/C 1.2 breaks my webservice

2008-02-29 Thread Samisa Abeysinghe

Subra A Narayanan wrote:



You mean 1.1?
Sorry for the confusion. Yes I meant Axis2 1.1

This is a thread issues as per your description. Hence I wonder
if gdb
trace would lead to the exact problem, but it will lead to some
clues as
to where it is hanging etc.

The following information would help:
   1. What are the CFLAGS and LDFLAGS you used when compiling the
service? In other words what are the compiler options and -l (linker)
options? Have you linked your external library to the service so in
compiling? Is the external library on LD_LIBRARY_PATH or in a
locatable
path?

Here are my CFLAGS and LD_FLAGS value. Here 'myclient' is the external 
library I have been telling you about.

CFLAGS = -fPIC -static-libgcc -shared -z initfirst
LD_FLAGS = -L /deps/axis2c/lib -L /mylib/ -l axutil -l axis2_engine -l 
dl -l pthread -l myclient


Yes the library is in a locatable path. It works just fine with Axis2 
1.1. It gives me problem only with Axis2 1.2


Also I make couple of different calls to myclient library. Looks like 
only when I call a function that uses multiple threads does my code hand.


I cannot see anything wrong with LD_FLAGS.

Do you have Axis2 1.1 libs in the machine that you are testing with 
Axis2 1.2?


Also, I am not sure if -static-libgcc in CFLAGS would have a side effect.

Can you try with Axis2 1.3?

Samisa...


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



Re: Axis2/C 1.2 breaks my webservice

2008-02-29 Thread Senaka Fernando
Hi Subra,

I suggest you check out from a branch and try running ./build.sh so that
the configure scripts will be regenerated to support your CFLAGS. If this
also fails, may be it is the -static-libgcc -shared combination that
gives trouble.

And, also, this can be caused by someone hard-coding CFLAGS so that it
will not use the CFLAGS that you define, as CFLAGS = xx instead of
CFLAGS = $CFLAGS xx.

Regards,
Senaka

 Subra A Narayanan wrote:


 You mean 1.1?
 Sorry for the confusion. Yes I meant Axis2 1.1

 This is a thread issues as per your description. Hence I wonder
 if gdb
 trace would lead to the exact problem, but it will lead to some
 clues as
 to where it is hanging etc.

 The following information would help:
1. What are the CFLAGS and LDFLAGS you used when compiling the
 service? In other words what are the compiler options and -l
 (linker)
 options? Have you linked your external library to the service so in
 compiling? Is the external library on LD_LIBRARY_PATH or in a
 locatable
 path?

 Here are my CFLAGS and LD_FLAGS value. Here 'myclient' is the external
 library I have been telling you about.
 CFLAGS = -fPIC -static-libgcc -shared -z initfirst
 LD_FLAGS = -L /deps/axis2c/lib -L /mylib/ -l axutil -l axis2_engine -l
 dl -l pthread -l myclient

 Yes the library is in a locatable path. It works just fine with Axis2
 1.1. It gives me problem only with Axis2 1.2

 Also I make couple of different calls to myclient library. Looks like
 only when I call a function that uses multiple threads does my code
 hand.

 I cannot see anything wrong with LD_FLAGS.

 Do you have Axis2 1.1 libs in the machine that you are testing with
 Axis2 1.2?

 Also, I am not sure if -static-libgcc in CFLAGS would have a side effect.

 Can you try with Axis2 1.3?

 Samisa...


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




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



Re: Axis2/C 1.2 breaks my webservice

2008-02-29 Thread Manjula Peiris
Hi subra,

I compiled the program in [1] to an external library after replacing the
main function to a general c function. Then call this function through
my echo service. It worked fine for me with the current svn. As you see
it is a multithreaded program using semaphores. Following are my CFLAGS
and LDFLAGS for creating the library.

CFLAGS=$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -static-libgcc
-Wno-implicit-function-declaration
LDFLAGS=$LDFLAGS -lpthread

[1] http://www.cs.arizona.edu/~greg/mpdbook/programs/pc.sems.c

Thnaks,
-Manjula



On Fri, 2008-02-29 at 17:04 +0530, Samisa Abeysinghe wrote:
 Subra A Narayanan wrote:
 
 
  You mean 1.1?
  Sorry for the confusion. Yes I meant Axis2 1.1
 
  This is a thread issues as per your description. Hence I wonder
  if gdb
  trace would lead to the exact problem, but it will lead to some
  clues as
  to where it is hanging etc.
 
  The following information would help:
 1. What are the CFLAGS and LDFLAGS you used when compiling the
  service? In other words what are the compiler options and -l (linker)
  options? Have you linked your external library to the service so in
  compiling? Is the external library on LD_LIBRARY_PATH or in a
  locatable
  path?
 
  Here are my CFLAGS and LD_FLAGS value. Here 'myclient' is the external 
  library I have been telling you about.
  CFLAGS = -fPIC -static-libgcc -shared -z initfirst
  LD_FLAGS = -L /deps/axis2c/lib -L /mylib/ -l axutil -l axis2_engine -l 
  dl -l pthread -l myclient
 
  Yes the library is in a locatable path. It works just fine with Axis2 
  1.1. It gives me problem only with Axis2 1.2
 
  Also I make couple of different calls to myclient library. Looks like 
  only when I call a function that uses multiple threads does my code hand.
 
 I cannot see anything wrong with LD_FLAGS.
 
 Do you have Axis2 1.1 libs in the machine that you are testing with 
 Axis2 1.2?
 
 Also, I am not sure if -static-libgcc in CFLAGS would have a side effect.
 
 Can you try with Axis2 1.3?
 
 Samisa...
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: Axis2/C 1.2 breaks my webservice

2008-02-28 Thread Subra A Narayanan


 You mean 1.1?
 Sorry for the confusion. Yes I meant Axis2 1.1

 This is a thread issues as per your description. Hence I wonder if gdb
 trace would lead to the exact problem, but it will lead to some clues as
 to where it is hanging etc.

 The following information would help:
1. What are the CFLAGS and LDFLAGS you used when compiling the
 service? In other words what are the compiler options and -l (linker)
 options? Have you linked your external library to the service so in
 compiling? Is the external library on LD_LIBRARY_PATH or in a locatable
 path?

Here are my CFLAGS and LD_FLAGS value. Here 'myclient' is the external
library I have been telling you about.
CFLAGS = -fPIC -static-libgcc -shared -z initfirst
LD_FLAGS = -L /deps/axis2c/lib -L /mylib/ -l axutil -l axis2_engine -l dl -l
pthread -l myclient

Yes the library is in a locatable path. It works just fine with Axis2 1.1.
It gives me problem only with Axis2 1.2

Also I make couple of different calls to myclient library. Looks like only
when I call a function that uses multiple threads does my code hand.



2. What CFLAGS and LDFLAGS you used when compiling 1.1 and 1.2
 source trees

I used the build.sh file that came with the distribution for compiling axis.
Since there was no build.sh file in the axis1.2 source tar, I copied the one
from axis1.1



3. Are you trying to run 1.1 and 1.2 with same httpd versions or
 different httpd versions? If different, have those httpd instances been
 compiled using different configure options?

I am running both axis1.1 and 1.2 on the same version of httpd. i have a
vmware image that i use for my testing. so the run env is exactly the same.





 Thanks,

Subra

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




Re: Axis2/C 1.2 breaks my webservice

2008-02-27 Thread Subra A Narayanan
Hello folks,

Here are my findings:

A little more background first. The external library that my webservice
calls is a multithreaded library and uses semaphores for inter-thread
communication.  When I was in the process of debugging this problem, I
started httpd with the -X option (to limit httpd to a single process). When
I did this my webservice started working just fine. I stopped httpd and
started it normally and again my service hung up a particular call to my
external library.

Again the same code works just fine with Axis1.2

My question to you guys is:

- Has something changed between Axis1.1 and Axis1.2 that would cause this
behavior?
- Is this information enough or do you still want gdb trace information?

Thanks for all the help.

Subra

On Tue, Feb 26, 2008 at 10:44 PM, Dumindu Pallewela [EMAIL PROTECTED]
wrote:

 On Wed, Feb 27, 2008 at 5:50 AM, Subra A Narayanan [EMAIL PROTECTED]
 wrote:

  I am running some other tests to see if I can get any further. I will
 report
  my findings soon. In the meantime, if you guys can think of ways to
 track
  down the problem, please let me know.
 

 If you can provide a gdb trace, it would help to figure out where
 exactly the things go wrong.

 -Dumindu.

 --
 Dumindu Pallewela
 http://blog.dumindu.com
 GPG ID: 0x9E131672

 WSO2 | Oxygenating the Web Service Platform | http://wso2.com

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




Re: Axis2/C 1.2 breaks my webservice

2008-02-27 Thread Samisa Abeysinghe

Subra A Narayanan wrote:

Hello folks,

Here are my findings:

A little more background first. The external library that my 
webservice calls is a multithreaded library and uses semaphores for 
inter-thread communication.  When I was in the process of debugging 
this problem, I started httpd with the -X option (to limit httpd to a 
single process). When I did this my webservice started working just 
fine. I stopped httpd and started it normally and again my service 
hung up a particular call to my external library.


Again the same code works just fine with Axis1.2


You mean 1.1?



My question to you guys is:

- Has something changed between Axis1.1 and Axis1.2 that would cause 
this behavior?


Not to my knowledge.


- Is this information enough or do you still want gdb trace information?


This is a thread issues as per your description. Hence I wonder if gdb 
trace would lead to the exact problem, but it will lead to some clues as 
to where it is hanging etc.


The following information would help:
   1. What are the CFLAGS and LDFLAGS you used when compiling the 
service? In other words what are the compiler options and -l (linker) 
options? Have you linked your external library to the service so in 
compiling? Is the external library on LD_LIBRARY_PATH or in a locatable 
path?
   2. What CFLAGS and LDFLAGS you used when compiling 1.1 and 1.2 
source trees
   3. Are you trying to run 1.1 and 1.2 with same httpd versions or 
different httpd versions? If different, have those httpd instances been 
compiled using different configure options?


Thanks,
Samisa...


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



Re: Axis2/C 1.2 breaks my webservice

2008-02-26 Thread Michael Sutter

Hello Subra,

I have done the same with version 1.1 and 1.2 and it works without problems.
But I compiled everything with the new version.

Regards Michael

Subra A Narayanan wrote:

Hello folks,

I ran in to a curious problem and was wondering if anyone else has 
seen it too. My webservice code works just fine with Axis2/C 1.1 . But 
when I checked out version1.2 source code from here = 
http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4/ 
my service stops working. I make a call to an external library(.so 
file) from my webservice code and I see that my code hangs when I call 
this external library.


The same code works just fine with Axis2 ver 1.1. Any idea as to what 
might be wrong?


Thanks,
Subra


Subra


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Axis2/C 1.2 breaks my webservice

2008-02-26 Thread Subra A Narayanan
Hello folks,

I also recompiled my code against Axis2 1.2 before trying to run. Even then
I am having trouble running it. Its not like the webservice code doesn't
comeup at all. I can see the request coming in, the input params being
processed and then it hangs when trying to call an external library.

I am running some other tests to see if I can get any further. I will report
my findings soon. In the meantime, if you guys can think of ways to track
down the problem, please let me know.

Subra

On Tue, Feb 26, 2008 at 4:08 AM, Michael Sutter [EMAIL PROTECTED]
wrote:

 Hello Subra,

 I have done the same with version 1.1 and 1.2 and it works without
 problems.
 But I compiled everything with the new version.

 Regards Michael

 Subra A Narayanan wrote:
  Hello folks,
 
  I ran in to a curious problem and was wondering if anyone else has
  seen it too. My webservice code works just fine with Axis2/C 1.1 . But
  when I checked out version1.2 source code from here =
  http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4/
  my service stops working. I make a call to an external library(.so
  file) from my webservice code and I see that my code hangs when I call
  this external library.
 
  The same code works just fine with Axis2 ver 1.1. Any idea as to what
  might be wrong?
 
  Thanks,
  Subra
 
 
  Subra



Re: Axis2/C 1.2 breaks my webservice

2008-02-26 Thread Dumindu Pallewela
On Wed, Feb 27, 2008 at 5:50 AM, Subra A Narayanan [EMAIL PROTECTED] wrote:

 I am running some other tests to see if I can get any further. I will report
 my findings soon. In the meantime, if you guys can think of ways to track
 down the problem, please let me know.


If you can provide a gdb trace, it would help to figure out where
exactly the things go wrong.

-Dumindu.

-- 
Dumindu Pallewela
http://blog.dumindu.com
GPG ID: 0x9E131672

WSO2 | Oxygenating the Web Service Platform | http://wso2.com

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



Axis2/C 1.2 breaks my webservice

2008-02-25 Thread Subra A Narayanan
Hello folks,

I ran in to a curious problem and was wondering if anyone else has seen it
too. My webservice code works just fine with Axis2/C 1.1 . But when I
checked out version1.2 source code from here =
http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4/ my
service stops working. I make a call to an external library(.so file) from
my webservice code and I see that my code hangs when I call this external
library.

The same code works just fine with Axis2 ver 1.1. Any idea as to what might
be wrong?

Thanks,
Subra


Subra


Re: Axis2/C 1.2 breaks my webservice

2008-02-25 Thread Samisa Abeysinghe

Subra A Narayanan wrote:

Hello folks,

I ran in to a curious problem and was wondering if anyone else has 
seen it too. My webservice code works just fine with Axis2/C 1.1 . But 
when I checked out version1.2 source code from here = 
http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4/ 
my service stops working. I make a call to an external library(.so 
file) from my webservice code and I see that my code hangs when I call 
this external library.


The same code works just fine with Axis2 ver 1.1. Any idea as to what 
might be wrong?


Did you re-compile the service code with 1.2? Can you provide a gdb trace?

BTW, we are about to release 1.3, you should try that.

Samisa...


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



[Axis2] 1.2.0 branch and tag problems [was:Re: Axis2/C 1.2 breaks my webservice]

2008-02-25 Thread Samisa Abeysinghe
It looks like we have not creates a final tag for 1.2.0 of axis2/C and a 
branch for 1.2.x.


Dinesh, have you fixed the version number problem that was reported in 
the 1.2 final tag?


Thanks,
Samisa...

Subra A Narayanan wrote:

Hello folks,

I ran in to a curious problem and was wondering if anyone else has 
seen it too. My webservice code works just fine with Axis2/C 1.1 . But 
when I checked out version1.2 source code from here = 
http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4/ 
my service stops working. I make a call to an external library(.so 
file) from my webservice code and I see that my code hangs when I call 
this external library.


The same code works just fine with Axis2 ver 1.1. Any idea as to what 
might be wrong?


Thanks,
Subra


Subra


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.0/1296 - Release Date: 2/24/2008 12:19 PM
  



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



Re: [Axis2] 1.2.0 branch and tag problems [was:Re: Axis2/C 1.2 breaks my webservice]

2008-02-25 Thread Dinesh Premalal
Hi,

Samisa Abeysinghe [EMAIL PROTECTED] writes:

 It looks like we have not creates a final tag for 1.2.0 of axis2/C and
 a branch for 1.2.x.

 Dinesh, have you fixed the version number problem that was reported in
 the 1.2 final tag?

Yes, I fixed that. [1]

thanks,
Dinesh

1.https://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4/util/include/axutil_version.h


-- 
http://nethu.org

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



Re: Axis2/C 1.2 breaks my webservice

2008-02-25 Thread Manjula Peiris
Hi Subra,

I have tested echo service with an external library and it works fine
for me.

Thanks,
-Manjula.


On Tue, 2008-02-26 at 07:01 +0530, Samisa Abeysinghe wrote:
 Subra A Narayanan wrote:
  Hello folks,
 
  I ran in to a curious problem and was wondering if anyone else has 
  seen it too. My webservice code works just fine with Axis2/C 1.1 . But 
  when I checked out version1.2 source code from here = 
  http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4/ 
  my service stops working. I make a call to an external library(.so 
  file) from my webservice code and I see that my code hangs when I call 
  this external library.
 
  The same code works just fine with Axis2 ver 1.1. Any idea as to what 
  might be wrong?
 
 Did you re-compile the service code with 1.2? Can you provide a gdb trace?
 
 BTW, we are about to release 1.3, you should try that.
 
 Samisa...
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: [Axis2] 1.2.0 branch and tag problems [was:Re: Axis2/C 1.2 breaks my webservice]

2008-02-25 Thread Dinesh Premalal
Hi all,
Dinesh Premalal [EMAIL PROTECTED] writes:

 Hi,

 Samisa Abeysinghe [EMAIL PROTECTED] writes:

 It looks like we have not creates a final tag for 1.2.0 of axis2/C and
 a branch for 1.2.x.

create a tag for 1.2.0 [1] and branch for 1.2.x family [2]

thanks,
Dinesh

1.https://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0
2.https://svn.apache.org/repos/asf/webservices/axis2/branches/c/1.2.x/

-- 
http://nethu.org

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