axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Axis2.war vs Axis2 repository
Date Sat, 01 Apr 2006 11:05:46 GMT
Hi all;

In the case of war distribution there was no way to give the repository
location and it will always picked the axis2/WEB-INF as the repository ,
and when it comes to un-pack war case it gives some problems. But now
user can change it by editing web.xml (un-commenting the following
section and set the value as he require)

<init-param
<param-name>repository</param-name>
<param-value>/WEB-INF</param-value>
</init-param>

Note : the parameter value should be absolute path , NOT a relative path

This does give a solution to unpack war scenario as well , the solution
is simple there are two options
1.Edit the web.xml as mention above (I think it is possible to do that ,
user can unpack the war and put the edited web.xml into it and pack again.)
2.Create folder called “axis2repository” inside the user.home then , if
it is present then system will take that as the repository (axis2 will
not create a file if that is not present)

Note : Axis2 can run without having a repository but the problem is what
is the use case of that , server without any web services. So better to
use one of the above options.

(This is the solution to https://issues.apache.org/jira/browse/AXIS2-240)


-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



Mime
View raw message