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:
00000002()
axis2_getopt(int * (void)* 0x00000002, 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