Re: Loading mod_axis2.so module into Apache

2008-07-17 Thread Supun Kamburugamuva
Hi Alex, Nice description of the problem. Couldn't think of a better way to do it. This is what you need to do. You have the axis2/c distribution in /home/alex/axis2c-dist right? You should have the lib, modules and services directories under that directory. Also you need to have the axis2.xml

Re: Loading mod_axis2.so module into Apache

2008-07-17 Thread Samisa Abeysinghe
1. Compile Axis2/C on a machine with identical settings to that of the server machine. 2. Install that on server machine, following the guidelines given in binary install That should work. Samisa... Alex Bolgarov wrote: Well, our server machine is not supposed to have development tools at

Re: Loading mod_axis2.so module into Apache

2008-07-17 Thread Samisa Abeysinghe
Supun, Arn't these steps on the manual? Samisa... Supun Kamburugamuva wrote: Hi Alex, Nice description of the problem. Couldn't think of a better way to do it. This is what you need to do. You have the axis2/c distribution in /home/alex/axis2c-dist right? You should have the lib, modules

Re: Loading mod_axis2.so module into Apache

2008-07-17 Thread Supun Kamburugamuva
Hi Samisa, I think some of the instructions like setting the LD_LIBRARY_PATH is missing. Also I think we should add a faq saying what are the things that can go wrong when we deploy in Apache and possible solutions to that. Supun.. On Thu, Jul 17, 2008 at 11:57 AM, Samisa Abeysinghe [EMAIL

Re: Loading mod_axis2.so module into Apache

2008-07-17 Thread John Mocho
Around here we put the LD_LIBRARY_PATH in the envvars file in the apache httpd bin directory. That way it is loaded by the apachectl script - and is more or less immune to the environment getting messed with (usually by someone messing with shell configuration files). This is rather well

Re: Loading mod_axis2.so module into Apache

2008-07-17 Thread Alex Bolgarov
Hi, Thank you to all who replied. We managed to make it work either by setting LD_LIBRARY_PATH value to the lib directory in the axis repository before starting Apache or by adding path to the lib directory of the repository into the /etc/ld.so.conf file and running ldconfig. Using envvars file

Re: Loading mod_axis2.so module into Apache

2008-07-17 Thread Samisa Abeysinghe
Supun Kamburugamuva wrote: Hi Samisa, I think some of the instructions like setting the LD_LIBRARY_PATH is missing. Then we need to fix it. Please raise a Jira on this. Samisa... Also I think we should add a faq saying what are the things that can go wrong when we deploy in Apache and

Re: Loading mod_axis2.so module into Apache

2008-07-16 Thread lahiru gunathilake
Hi Alex, I think you have to set AXIS2C_HOME environment variable on your server machine. And why are you copying libraries from one machine to another why don't you compile Axis2C on you server machine.AFAIK if your first machine and the second machine are different,different in the sense first

Re: Loading mod_axis2.so module into Apache

2008-07-16 Thread lahiru gunathilake
On Thu, Jul 17, 2008 at 12:58 AM, lahiru gunathilake [EMAIL PROTECTED] wrote: Hi Alex, I think you have to set AXIS2C_HOME environment variable on your server machine. You don't need to set the environment variable but you are suppose to change the Axis2RepoPath in the Apache config file.

Re: Loading mod_axis2.so module into Apache

2008-07-16 Thread Alex Bolgarov
Well, our server machine is not supposed to have development tools at all. So I can't compile the Axis2/C on it. Then, how it is supposed to work if I use the Axis2C binary distribution? And it should have nothing to do with environment variables settings (other then possible LD_LIBRARY_PATH)

Re: Loading mod_axis2.so module into Apache

2008-07-16 Thread Rajika Kumarasiri
On Thu, Jul 17, 2008 at 12:03 AM, Alex Bolgarov [EMAIL PROTECTED] wrote: Hi, How do you load a mod_axis2.so module into the Apache when you copy the Axis2/C libraries to some directory Apache load mod_axis2 using the path in Axis2/c Loadmodule directives.( LoadModule axis2_module

Re: Loading mod_axis2.so module into Apache

2008-07-16 Thread Rajika Kumarasiri
On Thu, Jul 17, 2008 at 2:25 AM, Alex Bolgarov [EMAIL PROTECTED] wrote: Well, our server machine is not supposed to have development tools at all. So I can't compile the Axis2/C on it. Then, how it is supposed to work if I use the Axis2C binary distribution? 1. Unzip the binary to a