I am looking for similar capability too... For the production, it is not
desirable to have "hard-coded" repository path...
 
Gul

________________________________

From: Rishi krish [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 09, 2007 10:45 AM
To: [email protected]
Subject: axis2 repository


Hi
Below is the snippet from the web.xml file that the axis2 servlet reads
to find the repository details.
  <init-param>
   <param-name>axis2.xml.path</param-name>
   <param-value>C:\axis2\myrepository\axis2.xml</param-value> 
  </init-param>
  <init-param>
   <param-name>axis2.repository.path</param-name>
   <param-value>C:\axis2\myrepository</param-value>
  </init-param>
 
Is there a way that I can provide this programmatically at the server
startup - like setting some system property. What we are trying to avoid
is specifying that in the web.xml which is just a setup headache for end
users when we finally ship our product with axis bundled with it. We
plan to derive the axis2 repository path from some othe application
specific params and create the repository folder structure and copy all
the modules [rampart,addressing] mar files as well as the axis2.xml at
some point in the appserver startup. We will NOT mark the axis servlet
as load-on-startup to be true. What I am looking is for an api/way to
set those 2 values other than from the web.xml. 

-- 
thanks
Rishi 

Reply via email to