Hi Stefan, I think you have downloaded the binary distribution and created the war using "ant create.war". There is an inconsistency in creating the war distribution. When we create the the war using maven, Axis2 copies axis2-codegen-1.4.jar to the war. So you can see it in the released Axis2 war [1]. But the build script in the binary distribution, explicitly excludes axis2-adb-codegen*.jar , axis2-codegen*.jar, jibx-bind*.jar. Anyway thanks for pointing out.
regards, nandana [1] - http://ftp.wayne.edu/apache/ws/axis2/1_4/axis2-1.4-war.zip On Tue, May 6, 2008 at 7:41 PM, Nandana Mihindukulasoooriya < [EMAIL PROTECTED]> wrote: > Hi Stefan, > > Found something for my latest bug with noclassdeffound: > > > Actually you have to copy the axis2-codegen-1.4.jar to the lib directory. > > > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg32879.html > > > > Is there somewhere a HOWTO, that explains all steps that must be taken > > to run rampart with Axis2? > > > > I think we should add a FAQ to the Rampart site. Please go on and create a > JIRA [1]. > > Sanjay, Joana : I have done some changes to Rampart site ( documentation > module ), and I will commit them soon. Shall we improve the documentation so > that these questions won't be repeated in the list :). > > thanks, > nandana > > [1] - http://issues.apache.org/jira/browse/Rampart > > Joana M. F. Trindade wrote: > > > Hi Stefan, > > > > > > You should enable the rampart module in the "global modules" section > > of the > > > axis2 configuration file (conf/axis2.xml), and in the service > > configuration > > > file (services.xml). You can do this by adding <module ref="rampart"> > > to > > > these files. > > > > > > Cheers, > > > Joana > > > > > > On Tue, May 6, 2008 at 9:48 AM, Stefan Lischke <[EMAIL PROTECTED]> > > wrote: > > > > > >> Hi, > > >> > > >> Hmm, i'm using latest Axis2 1.4 and there is already a Security phase > > in > > >> OutFaultFlow axis2.xml. > > >> > > >> My Question, do i have to modify anything on axis2.xml if i use > > <module > > >> ref="rampart"> in the > > >> service.xml of my service. > > >> > > >> I dont want to add the module globally for all services used in my > > axis2 > > >> instance. Or do i have to > > >> add <module ref="rampart"> to the axis2.xml ? > > >> > > >> thanx in advance > > >> > > >> Stefan > > >> > > >> > > >> Sanjay Vivek wrote: > > >>> Hi Stefan, > > >>> > > >>> You can find out more about how to enable this in axis2.xml at [1]. > > This > > >>> was incidentally posted by Joana :). > > >>> > > >>> [1] - > > >>> > > http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200802.mbox/%3cf > > >>> [EMAIL PROTECTED] > > >>> > > >>> Regards > > >>> Sanjay > > >>> > > >>>> -----Original Message----- > > >>>> From: Stefan Lischke [mailto:[EMAIL PROTECTED] On Behalf > > >>>> Of Stefan Lischke > > >>>> Sent: 06 May 2008 13:23 > > >>>> To: rampart-dev@ws.apache.org > > >>>> Subject: Re: where to put the rampart-*.jars > > >>>> > > >>>> Hi, > > >>>> > > >>>> I just enabled it in the service.xml. Do i have to enable it > > >>>> also in the axis2.xml? > > >>>> Please tell me how or link me to a proper documentation > > >>>> > > >>>> thanx in advance > > >>>> > > >>>> Stefan > > >>>> > > >>>> Joana M. F. Trindade wrote: > > >>>>> Hi Stefan, > > >>>>> > > >>>>> Yes, you should enable it using <module ref="rampart">. Are you > > >>>>> enabling it also in the axis2.xml file? > > >>>>> > > >>>>> Cheers, > > >>>>> Joana > > >>>>> > > >>>>> On Tue, May 6, 2008 at 9:11 AM, Stefan Lischke > > >>>> <[EMAIL PROTECTED]> wrote: > > >>>>>> thanks for your answer, > > >>>>>> > > >>>>>> so my libs are in the right place, and i also added "<module > > >>>>>> ref="rampart"/>" to my service.xml it seems to deploy in > > >>>>>> org.apache.axis2.transport.http.SimpleHTTPServer but not in > > tomcat > > >>>>>> > > >>>>>> ;-( > > >>>>>> > > >>>>>> i did not used any client stuff yet, just wanted to deploy > > >>>> without error. > > >>>>>> is it possible that i have to use > > >>>>>> <module ref="rampart-642231"/> > > >>>>>> > > >>>>>> instead of > > >>>>>> > > >>>>>> "<module ref="rampart"/>" > > >>>>>> > > >>>>>> beacuse there are > > >>>>>> tomcat/webapps/axis2/WEB-INF/modules/rahas-642231.mar > > >>>>>> tomcat/webapps/axis2/WEB-INF/modules/rampart-642231.mar > > >>>>>> > > >>>>>> > > >>>>>> Stefan > > >>>>>> > > >>>>>> > > >>>>>> Joana M. F. Trindade wrote: > > >>>>>>> Hi Stefan, > > >>>>>>> > > >>>>>>> Yes, this is the right place to put the rampart .jars at the > > server > > >>>>>> side. > > >>>>>>> For the client application side, they should be put in the > > >>>> classpath > > >>>>>>> of > > >>>>>> the > > >>>>>>> application. Did you put the rampart module in a "modules" > > folder, > > >>>>>>> and informed this path to a ConfigurationContext object in the > > >>>>>>> client application? > > >>>>>>> > > >>>>>>> Cheers, > > >>>>>>> Joana > > >>>>>>> > > >>>>>>> On Tue, May 6, 2008 at 8:54 AM, Stefan Lischke < > > [EMAIL PROTECTED]> > > >>>>>> wrote: > > >>>>>>>> Hi, > > >>>>>>>> > > >>>>>>>> I have a problem with deployment. When using > > >>>>>>>> org.apache.axis2.transport.http.SimpleHTTPServer i put > > >>>> the rampart > > >>>>>>>> jars in the classpath and everything works fine. > > >>>>>>>> > > >>>>>>>> But when using axis2 in a real tomcat, i got the Error: > > >>>>>>>> org.apache.axis2.deployment.DeploymentException: The > > >>>> rampart module > > >>>>>>>> is > > >>>>>> not > > >>>>>>>> valid or has not been > > >>>>>>>> deployed. at > > >>>>>>>> > > >>>>>>>> it seems that the jars are not found. They are present in > > >>>>>>>> > > >>>>>>>> tomcat/webapps/axis2/WEB-INF/lib/ > > >>>>>>>> > > >>>>>>>> Is this the right position or should i put them in a lib > > directory > > >>>>>> under > > >>>>>>>> modules? > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> thanx in advance > > >>>>>>>> > > >>>>>>>> Stefan > > >>>>>>>> > > >> > > > > > > > > > >