You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by TomazM <to...@arnes.si> on 2009/03/11 11:08:46 UTC

The system is attempting to engage a module that is not available: rampart

I have web application which is using axis2 client with rampart, but I'm getting this error:
org.apache.axis2.AxisFault: The system is attempting to engage a module that is not available: rampart



Env:
OS:XP
Tomcat 6.0.18
axis 2.1.4.1
rampart 1.4

My web application use ServletContextListener which initialize axis2 client with rampart I use:
ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(conf_path, conf_path+"/axis2.xml");

In my _path I have dir structure:

ipis_axis_conf:
  - axis2.xml
  - modules:
	- addressing-1.41.mar
	- rampart-1.4.mar

In axis2.xml I use:
<module ref="rampart" />

In my WEB-INF/lib I put axis2 jars and rampart jars




2) I have the same stand alone client and it works.
In stand alone I have in classpath AXIS2_HOME

Is the problem of classpath or ENVIRONMENT variables, that ServletContextListener  don't use WEB-INF/lib??

Regards; Tomaz