I have discovered that the axis2.war file created by the build.xml file in axis2-1.3/webapp folder excludes axis2-codegen*.jar. This is the reason SimpleServer runs in axis2, but the axis2.war file fails to load the rampart module when running under tomcat.
Jon Ruchith Fernando wrote: > > Hi, > > org.apache.axis2.wsdl.codegen.extension.ModulePolicyExtension has been > moved to the axis2-codegen.jar and this is not available in the > axis2.war. You will have to add the axis2-codegen-1.3.jar to the > WEB-INF/lib/ dir of the axis2.war to solve this issue. > > All rampart samples with work without any issue with the axis2 > standard binary dist since axis2-codegen-1.3 jar is available in it. > > Thanks, > Ruchith > > On 8/23/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: >> We are still voting on the release, please try this with Axis2 1.3 >> http://people.apache.org/~ruchithf/rampart/1_3/ >> >> -- dims >> >> On 8/22/07, Skinner, Gregory W. <[EMAIL PROTECTED]> wrote: >> > >> > >> > I have been trying to get Axis 1.2 or 1.3 working with a version of >> Rampart. >> > When I try to use Axis 1.3 with Rampart 1.2, the module does not deploy >> and >> > I get >> > >> > [ERROR] The rampart-1.2.mar module, which is not valid, caused >> > org/apache/axis2/modules/ModulePolicyExtension >> > java.lang.NoClassDefFoundError: >> > org/apache/axis2/modules/ModulePolicyExtension >> > at java.lang.ClassLoader.defineClass1(Native >> > Method) >> > >> > When I try to use Axis2 1.2 with Rampart 1.2 (deployed in Tomcat), I >> end up >> > getting a NullPointerException after I get : >> > >> > Unknown top level PED found: >> > org.apache.neethi.builders.xml.XmlPrimtiveAssertion >> > >> > Can anyone suggest which versions of Axis / Rampart are compatible and >> where >> > I might find them? >> > >> > Thanks, >> > Greg >> > >> >> >> -- >> Davanum Srinivas :: http://davanum.wordpress.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > www.ruchith.org > www.wso2.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Rampart-and-Axis2-1.3-tf4313742.html#a12411157 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
