Hi Oleg,

I'm currently stuck on the same problem, I need multiple copies of the files log4j.properties, hibernate.properties and applicationContext.xml all used by different webservices.

I noticed that one can put new .JAR files in the lib/ directory, but you have to restart (or reload) the Axis webapp from Tomcat manager otherwise Axis will not find the new .JAR files. But still it's ugly to have all .JAR files crammed in one dir so ideally I would like to have them stored in lib/webServiceOne/* and lib/webServiceTwo/* etc etc

Same goes for the configuration files I mentioned above, these could be stored in WEB-INF/etc/webServiceOne/* etc instead.

Classpath configuration from WSDD would of course be perfect, can someone in the Axis development team comment on this issue?


Regards, Martin Olsson

Oleg Lebedev wrote:
Greetings.

I am trying to configure my web service, which uses Hibernate, to run
with Axis. The only way I could get it to work was by copying all the
required Hibernate configuration files in WEB-INF/axis/classes/
directory, which is pretty ugly.


I am wondering if it is possible to change Axis classpath or modify the
classloader so that files can be loaded from some resource directory? Is
it possible to specify Axis classpath in a WSDD file?


I don't want to change the system classpath, because different web
services need to load different configuration files, which have the same
names, e.g. hibernate.cfg.xml.

Thanks.

Oleg ************************************* This e-mail may contain privileged or confidential material intended for the named recipient only. If you are not the named recipient, delete this message and all attachments. Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited. We reserve the right to monitor e-mail sent through our network. *************************************

Reply via email to