The error comes up only when starting Tomcat 6 from with the eclipse environment, not when I start the same instance of the server from command line. How does it find the class when started from the command line and not when started from the eclipse environment. Any pointers will be appreciated.
Thanks, Monisha --- On Thu, 3/25/10, Chinmoy Chakraborty <[email protected]> wrote: From: Chinmoy Chakraborty <[email protected]> Subject: Re: Deploying Axis2 and Secure web service To: [email protected], [email protected] Cc: "Nandana Mihindukulasooriya" <[email protected]> Date: Thursday, March 25, 2010, 10:49 PM You have to add org.apache.axis2.webapp.AxisAdminServlet.class manually. This class file is there in the binary distribution. You can look at AXIS2-4467 .... On Fri, Mar 26, 2010 at 5:37 AM, SM <[email protected]> wrote: Thanks Nandana. I used eclipse Gamypede to generate webservices in the past with tomcat 6. Was using the service archive and the code generator wizard. However the loading of axis2 fails with the following error on a new version of eclipse Galileo 3.5SR2. Tomcat version 6.0 is being used. repositories: /WEB-INF/classes/----------> Parent Classloader:org.apache.catalina.loader.standardclassloa...@6e70c7 org.apache.axis2.transport.http.AxisAdminServletjava.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Boots I want to deploy, test and then make it a secure web service. Any tips or pointers will be helpful. Thanks,Monisha--- On Tue, 3/23/10, Nandana Mihindukulasooriya <[email protected]> wrote: From: Nandana Mihindukulasooriya <[email protected]> Subject: Re: Deploying Axis2 and Secure web service To: [email protected], [email protected] Date: Tuesday, March 23, 2010, 4:56 PM Hi Monisha, Apache Rampart is the module which is used to secure Axis2 based web services and the information here [1],[2] will be useful. Best regards, Nandana [1] - http://ws.apache.org/rampart/articles.html [2] - http://wso2.org/library/3190 On Wed, Mar 24, 2010 at 12:43 AM, SM <[email protected]> wrote: Hi all, Is there a tutorial that any of u can point me to so that I can create a secure web service. That is a web service incorporating the ws-security standards when creating the webservice and also when creating the client that communicates with this web service. Your response in this regards will be appreciated. Best, Monisha
