OK, thanks first. 
What I found is that I got the following access violation:
 
First-chance exception at 0x00000002 in axis2_http_server.exe: 0xC0000005: 
Access violation reading location 0x00000002.
Unhandled exception at 0x00000002 in axis2_http_server.exe: 0xC0000005: Access 
violation reading location 0x00000002.
 
It occurs right at the beginning of the following line in http_server_main.c:
 
      while ((c = AXIS2_GETOPT(argc, argv, ":p:r:ht:l:s:f:")) != -1)
 
I stepped into AXIS2_GETOPT, and I noticed that access violation occurs at the 
following line
 if (optind >= __argc || *(pos = __argv[optind]) != '-')
 the symbals  __argc and __argv are not found because
Memory could not be displayed for the expression


--- On Wed, 3/11/09, Lefrancois, Carl <[email protected]> wrote:


From: Lefrancois, Carl <[email protected]>
Subject: RE : Cannot start axis2_http_server.exe from command line
To: "Apache AXIS C User List" <[email protected]>
Date: Wednesday, March 11, 2009, 2:14 PM


Hello Raymond,  what you have is not a windows system error.  It is
probably an access violation somewhere in the server code.  

Start with the log file and see what is the last step that works, then
in your debugger put a breakpoint at that step and go forward until it
crashes.  Like Supun suggested, it may be a missing or bad configuration
that causes the crash.  HTH

Carl


-----Message d'origine-----
De : Raymond Zhou [mailto:[email protected]] 
Envoyé : mardi, mars 10, 2009 18:02
À : [email protected]
Cc : [email protected]
Objet : Cannot start axis2_http_server.exe from command line


Hi All, 

I have been using axis2/c for a while in my web service client
component. I has been successful. I built the axis2/c libraries (version
1.5) by myself, and I am working in windows XP platform. When building
the libraries, I enabled openSSL, and use guththila XML parser. 

Now encounter a very strange problem when I try to start
axis2_http_server.exe. Seems like I am getting a windows system error,
here is the error message from the pop up windows when I start
axis2_http_server.exe from command line:

=======
axis2_http_server.exe has encountered a problem and needs to close. We
are sorry for the inconvenience.
  If you were in the middle of something, the information you were
working on might be lost.
Please tell Microsoft about this problem.
......
=======

Strange thing is, if I use the downloaded binary version of axis2/c, I
was able to start the axis2_http_server.exe without problem.

Any clue what might be going on?
Thanks!
Ray
  _____  

"Ce message est confidentiel, à l'usage exclusif du destinataire
ci-dessus et son contenu ne représente en aucun cas un engagement de la
part de AXA, sauf en cas de stipulation expresse et par écrit de la part
de AXA. Toute publication, utilisation ou diffusion, même partielle,
doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce
message, merci d'en avertir immédiatement l'expéditeur."

"This e-mail message is confidential, for the exclusive use of the
addressee and its contents shall not constitute a commitment by AXA,
except as otherwise specifically provided in writing by AXA. Any
unauthorized disclosure, use or dissemination, either whole or partial,
is prohibited. If you are not the intended recipient of the message,
please notify the sender immediately."



      

Reply via email to