Re: iconv version mismatch

2008-02-19 Thread Carl Lefrançois
Thank you for your messages, Mark and Samisa

What is a jira and how do I raise one?  I will go ahead and do that for the
documentation bug about the iconv version.

Thanks for your assurance that the access violation is not related to
iconv.  This morning I cleaned and extracted the source a second time and
went through the install process again to make sure I did not miss any small
details.  The access violation is still there so I must assume there is
something incompatible with my system.  (I did a system-wide search for the
dlls Axis2c depends on and found no conflicting versions)

I am using winxp sp2 and the ms visual c++ 6.0 compiler.  I may be able to
try the suggested vs 2005 exp compiler but I am limited to a standard
corporate environment.

What I have tried so far:
-debug = 0(default) and debug = 1 in the root\build\win32\configure.in,
building with root\build\win32\build.bat: no errors during build but
access violation on launch (even of axis2_http_server.exe -h)

-debug = 1(default) and debug = 0, with_mysql = 1(default) and with_mysql =
0, with_tcp = 1 (default) and with_tcp = 0 in the root\configure.in,
building with root\build.bat: gives the following errors
=
apache2_out_transport_info.c
..\..\src\core\transport\http\server\apache2\axis2_apache2_out_transport_info.h(33)
: fatal error C1083: Cannot open include file: 'httpd.h': No such file or
directory
apache2_stream.c
..\..\src\core\transport\http\server\apache2\apache2_stream.h(25) : fatal
error C1083: Cannot open include file: 'httpd.h': No such file or directory
apache2_worker.c
..\..\src\core\transport\http\server\apache2\apache2_stream.h(25) : fatal
error C1083: Cannot open include file: 'httpd.h': No such file or directory
mod_axis2.c
..\..\src\core\transport\http\server\apache2\mod_axis2.c(19) : fatal error
C1083: Cannot open include file: 'httpd.h': No such file or directory
=
Apache is not mentioned as a dependency in the install guide.


Attaching a debugger on the access violation after launching
axis2_http_server.exe -h gives this call stack:

0002()
axis2_getopt(int * (void)* 0x0002, char * const * * (void)* 0x006215f0,
const char * 0x0040442c) line 71 + 3 bytes
main(int 2, char * * 0x006215f0) line 119 + 18 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 7c816fd7()

The instruction pointer is at line
if (optind = __argc || *(pos = __argv[optind]) != '-')
In getopt_windows.c with optind at 1.


Any suggestions on what may be wrong with my configuration are welcome :)

I will go back to using the executables from the axis2c binary
distribution.  So far I have succeeded in adding a custom service to the
server and have consumed it with a custom client.  There is a pesky access
violation resulting from axis2_svc_client_free() that I can hopefully track
down once I get debug versions of the client dlls running.


Sorry for the long message and thanks in advance for any help that might be
forthcoming.

Carl


Re: iconv version mismatch

2008-02-19 Thread Senaka Fernando
Hi Carl,

You can find the Axis2/C JIRA at [1], and the Axis2/C manual (online
version) at [2], and it is better if you could also subscribe to the
developer mailing list, where the developers do talk on Axis2/C issues.
More info on how to subscribe can be found at [3]. Also, note that the
changes you propose will be applied to the svn head which can be checked
out (downloaded) from [4]. If you are going to suggest a patch in addition
to raising an issue on the JIRA, which you can do, you will have to
propose it against the svn head.

[1] http://issues.apache.org/jira/browse/AXIS2C
[2] http://ws.apache.org/axis2/c/docs/axis2c_manual.html
[3] http://ws.apache.org/axis2/c/lists_issues.html
[4] https://svn.apache.org/repos/asf/webservices/axis2/trunk/c

Regards,
Senaka

 Thank you for your messages, Mark and Samisa

 What is a jira and how do I raise one?  I will go ahead and do that for
 the
 documentation bug about the iconv version.

 Thanks for your assurance that the access violation is not related to
 iconv.  This morning I cleaned and extracted the source a second time and
 went through the install process again to make sure I did not miss any
 small
 details.  The access violation is still there so I must assume there is
 something incompatible with my system.  (I did a system-wide search for
 the
 dlls Axis2c depends on and found no conflicting versions)

 I am using winxp sp2 and the ms visual c++ 6.0 compiler.  I may be able to
 try the suggested vs 2005 exp compiler but I am limited to a standard
 corporate environment.

 What I have tried so far:
 -debug = 0(default) and debug = 1 in the root\build\win32\configure.in,
 building with root\build\win32\build.bat: no errors during build but
 access violation on launch (even of axis2_http_server.exe -h)

 -debug = 1(default) and debug = 0, with_mysql = 1(default) and with_mysql
 =
 0, with_tcp = 1 (default) and with_tcp = 0 in the root\configure.in,
 building with root\build.bat: gives the following errors
 =
 apache2_out_transport_info.c
 ..\..\src\core\transport\http\server\apache2\axis2_apache2_out_transport_info.h(33)
 : fatal error C1083: Cannot open include file: 'httpd.h': No such file or
 directory
 apache2_stream.c
 ..\..\src\core\transport\http\server\apache2\apache2_stream.h(25) : fatal
 error C1083: Cannot open include file: 'httpd.h': No such file or
 directory
 apache2_worker.c
 ..\..\src\core\transport\http\server\apache2\apache2_stream.h(25) : fatal
 error C1083: Cannot open include file: 'httpd.h': No such file or
 directory
 mod_axis2.c
 ..\..\src\core\transport\http\server\apache2\mod_axis2.c(19) : fatal error
 C1083: Cannot open include file: 'httpd.h': No such file or directory
 =
 Apache is not mentioned as a dependency in the install guide.


 Attaching a debugger on the access violation after launching
 axis2_http_server.exe -h gives this call stack:

 0002()
 axis2_getopt(int * (void)* 0x0002, char * const * * (void)*
 0x006215f0,
 const char * 0x0040442c) line 71 + 3 bytes
 main(int 2, char * * 0x006215f0) line 119 + 18 bytes
 mainCRTStartup() line 338 + 17 bytes
 KERNEL32! 7c816fd7()

 The instruction pointer is at line
 if (optind = __argc || *(pos = __argv[optind]) != '-')
 In getopt_windows.c with optind at 1.


 Any suggestions on what may be wrong with my configuration are welcome :)

 I will go back to using the executables from the axis2c binary
 distribution.  So far I have succeeded in adding a custom service to the
 server and have consumed it with a custom client.  There is a pesky access
 violation resulting from axis2_svc_client_free() that I can hopefully
 track
 down once I get debug versions of the client dlls running.


 Sorry for the long message and thanks in advance for any help that might
 be
 forthcoming.

 Carl



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



[Axis2C] mod_axis2 service shutdown problem

2008-02-19 Thread Ben Wyckoff
Hello,
I'm experimenting with mod_axis2 in Apache 2.2.4 on Solaris 10 (I know
Solaris isn't officially supported, but this appears to be a general apache2
issue.) I started with the echo service sample and started modifying it. I
allocate some resources at service init time (in echo_init) that I need to
free/close at service free time (in echo_free.)

If I run this in the simple axis2_http_server, echo_free gets called when I
stop the server. But when I run this in apache2, echo_free does NOT appear
to be called when I stop apache.

I've started to look at the code for mod_axis2, and I see where the call to
AXIS2_SVC_SKELETON_INIT is made, but I see no corresponding call to _FREE.
In apache2, shutdown handling is usually done via a registered pool cleanup
handler, and I don't see one of those either, but I haven't walked through
all of the axis2_worker code yet.

I've searched the bug DB and the email archive, and haven't found any
relevant references.

Has anyone else run into this issue? Is anyone trying to allocate resources
that have to be freed? (In particular, I'm opening a database, and I need to
properly close it - I can't just rely on the OS to free memory or close file
handles.)

Thanks,
-Ben Wyckoff

P.S. I see that 1.3.0 RC2 doesn't contain any changes to mod_axis2.c


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



Re: [AXIS2C] Need IIS 6 instructions on how to set up Axis2/C

2008-02-19 Thread Supun Kamburugamuva
Hi Dave,

I'm really sorry, still I couldn't look in to this and most probably I
won't be able to look in to this in the next few weeks also. (I have
an examination period in the next 4 weeks) After that I will look in
to this.

Regards,
Supun..

On Feb 18, 2008 12:04 PM, Dave Meier [EMAIL PROTECTED] wrote:
 Hi Supun,

 Have you had a chance to look into this?

 Thanks,

 -Dave.

 -Original Message-
 From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 03, 2008 8:44 PM
 To: Apache AXIS C User List
 Subject: Re: [AXIS2C] Need IIS 6 instructions on how to set up Axis2/C


 Hi Dave,

 The instructions are same for the IIS 5 and IIS 6. At the moment IIS
 module doesn't differentiate between IIS 6 and IIS 5.

 IIS module is built as a filter and an extension. This is the best way
 to do this in IIS 5. But in IIS 6 filters may be instantiated multiple
 times. That means multiple instances of Axis2/C. The same problem
 existed with Apache server and I think now it is fixed for Apache in
 Linux.

 There is another way that we can do this in IIS 6. In IIS 6 we can drop
 the filter part completely and use an extension only. But last time I
 checked on this there were several problems like multiple instances, how
 URL dispatching works etc. As soon as possible I will look in to this
 again and see if the module can be done in a IIS 6 specific way.

 Regards,
 Supun.

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


 **
 This email and any files transmitted with it are confidential and intended 
 solely for the use of the individual or entity to whom they are addressed. 
 Any unauthorized review, use, disclosure or distribution is prohibited. If 
 you are not the intended recipient, please contact the sender by reply e-mail 
 and destroy all copies of the original message.
 **


 -

 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: [Axis2C] mod_axis2 service shutdown problem

2008-02-19 Thread Dumindu Pallewela
Hi Ben,

On Feb 20, 2008 1:40 AM, Ben Wyckoff [EMAIL PROTECTED] wrote:
snip
 Has anyone else run into this issue? Is anyone trying to allocate resources
 that have to be freed? (In particular, I'm opening a database, and I need to
 properly close it - I can't just rely on the OS to free memory or close file
 handles.)
/snip

This seems to be a problem with mod_axis2. Although the memory
allocated with apr_pools will get free'd eventually without free
functions being called, in order to free up other resources, we need
to register relevant free functions to pool cleanup of a pool which
has resource's lifetime. Please add a jira issue.

The attached patch should solve this issue when shared memory is not
used. I'm not sure if it works when shared memory is used. Hope that
someone familiar with axis2c shared memory implementation will look
further into it.

Regards,
Dumindu.

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

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


mod_axis2_cleanup_diff
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]