-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

axis2.repository.path should be the full directory path. So i'd recommend that 
you don't set that as well.

mathieu fabre wrote:
| Thanks for your answer,
|
| for axis2.xml location, axisServlet search for the path
| WEB-INF/conf/axis2.xml by default.
| So, i removed the tag <param-name>axis2.xml.path</param-name> and it's
| value.
|
| But if i put the tag :
|
| <init-param>
|        <param-name>axis2.repository.path</param-name>
|        <param-value>WEB-INF</param-value>
| </init-param>
|
| I obtain an exception :
|
| org.apache.axis2.deployment.DeploymentException: The system cannot locate
| the specified repository location: WEB-INF
|     at org.apache.axis2.deployment.DeploymentEngine.loadRepository(
| DeploymentEngine.java:127)
|     at
| org.apache.axis2.deployment.WarBasedAxisConfigurator.getAxisConfiguration(
| WarBasedAxisConfigurator.java:199)
|     at
| 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
| (ConfigurationContextFactory.java:64)
|     at org.apache.axis2.transport.http.AxisServlet.initConfigContext(
| AxisServlet.java:500)
|     at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java
| :420)
|     at org.mortbay.jetty.servlet.ServletHolder.initServlet(
| ServletHolder.java:433)
|     at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java
| :256)
|     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
| :40)
| ...
|
| It seem it don't work well... :(
|
| 2008/2/20, Davanum Srinivas <[EMAIL PROTECTED]>:
| Don't specify them at all..AxisServlet looks in WEB-INF/conf for axis2.xmland 
uses WEB-INF as the repo.
|
| -- dims
|
| mathieu fabre wrote:
| | Hi,
| |
| | I use an AxisServlet in a webapp.
| |
| | in the web.xml i configure my axisServlet like that :
| |
| | <servlet>
| |     <servlet-name>AxisServlet</servlet-name>
| |     <display-name>Apache-Axis Servlet</display-name>
| |     <servlet-class>org.apache.axis2.transport.http.AxisServlet
| | </servlet-class>
| |     <init-param>
| |       <param-name>axis2.xml.path</param-name>
| |       <param-value>C:\....long
| | path....\webapp\WEB-INF\conf\axis2.xml</param-value>
| |     </init-param>
| |     <init-param>
| |       <param-name>axis2.repository.path</param-name>
| |       <param-value>C:\....long path....\webapp\WEB-INF\</param-value>
| |     </init-param>
| |     <init-param>
| |       <param-name>contextRoot</param-name>
| |       <param-value>/</param-value>
| |     </init-param>
| |     <init-param>
| |       <param-name>servicePath</param-name>
| |       <param-value>services</param-value>
| |     </init-param>
| |     <load-on-startup>1</load-on-startup>
| |   </servlet>
| |
| | But i want to configure "axis2.xml.path" and "axis2.repository.path"
| with
| | relative path like "WEB-INF\conf\axis2.xml"
| |
| | How could I do that ? I know I must use the context of my webapp but i
| don't
| | know how....
| |
| | thanks in advance,
| |
| | Mat
| |
|>
- ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|>
|>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHvGKugNg6eWEDv1kRAhs9AJ9+veyhEndd6IZso/feZ3XfEVGd4ACfUtGS
bFO7QVyqsbKhybdjoJdFPHs=
=Qftd
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to