Re: v1.5 on XP fails to load mod_axis2.dll
John Hawkins wrote: I can't remember whether reboot is still required for env vars in windows Definitely not required, as my environment changes would show up in any new shell that I launched after the changes. Note that any existing shells and programs still see the environnment prior to the change. This was my reasoning in stopping the server and monitor in between changes. __ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/
Re: v1.5 on XP fails to load mod_axis2.dll
Thanks to Stephane for emailing me to confirm that he has had the same troubles. He also found the main problem: The install instructions (http://ws.apache.org/axis/cpp/wininstall-guide.html) are missing a crucial instruction. Thanks for the kindness of strangers! To complete the install: = Add another environnment variable: AXIS_HOME=[Axis_Folder] Note that this is the same value as for AXISCPP_DEPLOY. After this change, I restarted the Apache Service Monitor, and apache started right up, and I was able to run the calculator client application. NOTE TO THE ADMINISTRATORS: Please either update the install documentation or explain to me (via private email please) how you want to work with me to have me do it. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: v1.5 on XP fails to load mod_axis2.dll
John Hawkins wrote: ... I've just trawled the code and can find no instance of AXIS_HOME being used anywhere So I removed the definition of the AXIS_HOME environment variable, rebooted, and axis still works! I'm puzzled. I was careful to shut down the apache server and exit the Apache Service Monitor between changes, thinking that this was all that was needed. Is it possible that some environment settings are not seen until a reboot? Maybe due to some service staying resident? Perhaps it was the reboot that helped? I now have Apache working with axis-C++ from built sources on both win2k and winXP. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: v1.5 on XP fails to load mod_axis2.dll
We need to revisit the docs for sure. That will save time on the part of both users as well as developers. Peter wrote: John Hawkins wrote: ... I've just trawled the code and can find no instance of AXIS_HOME being used anywhere So I removed the definition of the AXIS_HOME environment variable, rebooted, and axis still works! I'm puzzled. I was careful to shut down the apache server and exit the Apache Service Monitor between changes, thinking that this was all that was needed. Is it possible that some environment settings are not seen until a reboot? Maybe due to some service staying resident? Perhaps it was the reboot that helped? I now have Apache working with axis-C++ from built sources on both win2k and winXP. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: v1.5 on XP fails to load mod_axis2.dll
Sorry - I don't see the rest of the thread? What messages are you seeing ? Peter [EMAIL PROTECTED] wrote on 14/09/2005 15:22:43: Could someone please offer me advice on what I should do to get past my initialization failure as detailed in this thread? I am stuck. Initialization on XP seems to be a common problem, and I would like to know whether I have an apache or axis configuration problem. I would be happy to hear anything constructive, such as: A configuration error is the only known problem., or It seems that it may be an actual problem. Thanks in advance. Peter __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [Fwd: Re: v1.5 on XP fails to load mod_axis2.dll]
--- Samisa Abeysinghe [EMAIL PROTECTED] wrote: Could you please capture the Request/Response messages that is passes back and forth for a sample and send it. It will take me a few days before I have time to try this. But please understand that I cannot bring up the server without using the debugger to change the execution as described. It seems to me that I should resolve this problem first. Please reply if you still think it is worth capturing the messages. Also, I have assumed that all of this should work on a network that is not connected to the internet (an intranet). My network does not have DNS, so I am using IP addresses. Thanks, Peter __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
RE: [Fwd: Re: v1.5 on XP fails to load mod_axis2.dll]
Hi all, To know how to use SVN please reffer Windows Developer's Guide or Axis C++ ANT Build Guide. http://ws.apache.org/axis/cpp/windev-guide.html#svncheckout http://ws.apache.org/axis/cpp/antbuild-guide.html#svnExtract Thanks Chinthana -Original Message- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 10:17 PM To: Apache AXIS C User List Subject: Re: [Fwd: Re: v1.5 on XP fails to load mod_axis2.dll] Peter wrote: Samisa Abeysinghe wrote: I would also suggest tat you also try the latest code from SVN, building it on your own. I figured out that you meant the repository. I used CVS to get the lastest versions, and built axis C++. I then followed the build and install instructions for Windows. I checked my DLL using the dependencies viewer, and all seem to resolve correctly. I used Xerces 2.6 instead of 2.2. I tried the code from CVS over the weekend and noticed that it is not in sync with SVN (We migrated to Subversion aka SVN recently) Hence you got to get the source from SVN not CVS. I think there was some effort to document how to do this, can someone lead us to the doc please? I noticed an error in the Axis C++ Windows Developers Guide: under the section Deploying Axis in Apache step (3), it says to set the PATH to include the directory [Apache_Folder], which has no *.exe or *.dll files. I wonder if this is intended to refer to another directory? Your path variable should contain the folder that has the Axis C++ DLLs. Also you should have the Xerces DLL on the path. Anyway, upon running Apache, I still get the same errors. There are no error reports. Any further advice would be appreciated. Thanks, Peter __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
Re: v1.5 on XP fails to load mod_axis2.dll
I repeated the install on a Win2000 machine and got exactly the same (failed) results. Please note too that (on both configurations) when I try to start the apache server from the "Apache Service Monitor" an error dialog pops up that reports: "The requested operation has failed!" Also, I am sure that the .../axis/lib directory is in the path. I tested this by moving a program there, giving ita unique name, and then trying to run that from somewhere else -- which works. I am also certain that this directory contains the xerces-c_2_2_0.dll file. I believe that either the install instructions are incorrect, or I have two unsupported (yet typical) machine configurations. I do have various flavors of MS C++ development tools on both machines. Also, it seems that this is a common problem. Thanks for your help. Note regarding assistance: I also know of no other resources to help me with resolving this problem.Ihave tried the IRC channel #apache-axis,but it does not seem to have activity (#ws-apache seems to be dead). I am new to both apache and axis, and would like to get going with these. As I am new to both, I am not anxious to build them in debug mode and sort out the reason for these failures for myself. Any advice would be appreciated. [By the way, I live in Redwood City, CA.] Click here to donate to the Hurricane Katrina relief effort.
RE: v1.5 on XP fails to load mod_axis2.dll
Hmmm, Im using Apache 2.0.54 (installed using apache_2.0.54-win32-x86-no_ssl.msi) and Axis C++ latest version checked out from SVN and built using ant in Windows XP 2002. I have my mod_axis2.dll in APACHE_HOME/modules/ folder and all other env. vars are correctly set. Apache version is as follows C:\Documents and Settings\dchandradasaapache -v Server version: Apache/2.0.54 Server built: Apr 16 2005 14:25:31 httpd.conf file contains the following LoadModule axis_module modules/mod_axis2.dll Location /axis SetHandler axis /Location I didnt get any problem of starting apache and I can browse the axis starting page in the browser. Im wondering why do you get this error. Thanks, dushshantha From: not given [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 2:48 AM To: axis-c-user@ws.apache.org Subject: v1.5 on XP fails to load mod_axis2.dll Problem: - Apache fails during startup (only) when the following line in httpd.conf is uncommented: LoadModule axis_module modules/mod_axis2.dll Related Problems: -- dated a few days ago: (1) http://marc.theaimsgroup.com/?l=axis-c-userm=112601466412086w=2 dated more than a year ago: (2) JIRA bug reporthttp://issues.apache.org/jira/browse/AXISCPP-98closed and marked won't fix (3)http://mail-archives.apache.org/mod_mbox/ws-axis-c-user/200404.mbox/[EMAIL PROTECTED] (4) http://marc.theaimsgroup.com/?l=axis-c-userm=108245073118681w=2 Seems to indicate that the responder confirmed the problem, but that later versions corrected it. System configuration: --- Win XPservice pack2 Apache version: 2.0.54 (apache_2.0.54-win32-x86-no_ssl.msi) simple tests work Axis C++ 1.5 (axis-c-win32-current-bin.zip) Added xerces-c_2_2_0.dll to .\Apache2\Axis\lib Environment Vars: - Note: The string apache root is actually C:\Program Files\Apache Group\Apache2 AXISCPP_DEPLOY=apache root\Axis PATH=...;apache root\bin;apache root\Axis\lib Symptoms: - The windows Event Viewer shows two errors: (1) Syntax error on line 143 of apache root/conf/httpd.conf Note that 143 corresponds to the LoadModule line above. (2) Cannot load apache root/modules/mod_axis2.dll into the server. The specified module could not be found. My actions: - I followed the instructions, and double checked them. MSVC++6 Dependency Walker shows no errors with mod_axis2.dll Thank you for your help. Click here to donate to the Hurricane Katrina relief effort.