Friday, June 20, 2008

Axis2 and Rampart troubles

Trying to deploy the rampart-1.4.mar module within Axis2? You created
the axis2.war file using by changing to the webapps directory and
using the create.war ant task. It would seem that the Rampart people
didn't communicate with the Axis people the dependency on
'axis2-codegen-1.4.jar' for they explicitly exclude it in the
create.war ant task! Copy the previously mentioned jar file into the
WEB-INF\lib directory.

[ERROR] The rampart-1.4.mar module, which is not valid, caused
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(

Someone apparently thinks its been fixed since the issue[1] has been
closed. One of us is doing something wrong I reckon.

[1] -

1 comment:

  1. Using Rampart as WS-security is 'pain in the ass', because Rampart give you shit if something goes wrong.

    Like error: Error in extracting message properties

    So in long term is very difficult to live with axis2 and rampart, if my project wasn't so big I would change to another technology.