You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by SM <mo...@yahoo.com> on 2010/03/26 18:40:09 UTC

When starting tomcat 6 from eclipse Galelio 2.5SR2--> error org.apache.axis2.transport.http.AxisAdminServlet java.lang.ClassNotFoundException

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.  The same instance of the Tomcat 6.0 server starts without a problem when started independent of
eclipse.  If the server is started from within the eclipse environment I get the following error.  Is there a fix for this?  


repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@6e70c7
org.apache.axis2.transport.http.AxisAdminServlet
java.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

Any tips or pointers in getting this corrected will be very beneficial.  

Thanks,
Monisha


      


      

RE: When starting tomcat 6 from eclipse Galelio 2.5SR2--> error org.apache.axis2.transport.http.AxisAdminServlet java.lang.ClassNotFoundException

Posted by SM <mo...@yahoo.com>.
Deployed axis2 war on Apache TOmcat 6.0.  Have gone into Windows --> Preferences --> Axis2 Preference and have specified the Axis2 runtime location to the place where I have my axis2 distribution unbundled at.  Do I need to do anything else in terms of setup.  Please let me know.
Thanks,Monisha

--- On Fri, 3/26/10, Muralidhar Yaragalla <ya...@gmail.com> wrote:

From: Muralidhar Yaragalla <ya...@gmail.com>
Subject: RE: When starting tomcat 6 from eclipse Galelio 2.5SR2--> error org.apache.axis2.transport.http.AxisAdminServlet java.lang.ClassNotFoundException
To: "'Tomcat Users List'" <us...@tomcat.apache.org>, moni_sparkle@yahoo.com
Date: Friday, March 26, 2010, 11:11 AM

Where are u placing the axis jar files?

-----Original Message-----
From: SM [mailto:moni_sparkle@yahoo.com] 
Sent: Friday, March 26, 2010 11:10 PM
To: users@tomcat.apache.org
Subject: When starting tomcat 6 from eclipse Galelio 2.5SR2--> error
org.apache.axis2.transport.http.AxisAdminServlet
java.lang.ClassNotFoundException


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.  The same
instance of the Tomcat 6.0 server starts without a problem when started
independent of
eclipse.  If the server is started from within the eclipse environment I
get the following error.  Is there a fix for this?  


repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@6e70c7
org.apache.axis2.transport.http.AxisAdminServlet
java.lang.ClassNotFoundException:
org.apache.axis2.transport.http.AxisAdminServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1484)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1329)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
95)
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

Any tips or pointers in getting this corrected will be very beneficial.  

Thanks,
Monisha


      


      




      

RE: When starting tomcat 6 from eclipse Galelio 2.5SR2--> error org.apache.axis2.transport.http.AxisAdminServlet java.lang.ClassNotFoundException

Posted by Muralidhar Yaragalla <ya...@gmail.com>.
Where are u placing the axis jar files?

-----Original Message-----
From: SM [mailto:moni_sparkle@yahoo.com] 
Sent: Friday, March 26, 2010 11:10 PM
To: users@tomcat.apache.org
Subject: When starting tomcat 6 from eclipse Galelio 2.5SR2--> error
org.apache.axis2.transport.http.AxisAdminServlet
java.lang.ClassNotFoundException


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.  The same
instance of the Tomcat 6.0 server starts without a problem when started
independent of
eclipse.  If the server is started from within the eclipse environment I
get the following error.  Is there a fix for this?  


repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@6e70c7
org.apache.axis2.transport.http.AxisAdminServlet
java.lang.ClassNotFoundException:
org.apache.axis2.transport.http.AxisAdminServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1484)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1329)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
95)
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

Any tips or pointers in getting this corrected will be very beneficial.  

Thanks,
Monisha


      


      


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org