tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Problem starting tomcat
Date Wed, 18 Apr 2012 09:44:11 GMT
On 18/04/2012 02:59, Fairouz Fakhfakh wrote:
> Hello,
> I have a problem when I start tomcat by cliking on "tomcat5.exe" located
> in Tomcat 5.5\bin.
> I have the following message:
> 
> GRAVE: Erreur lors du dÚploiement du rÚpertoire juddi de l'application web
> 
> java.lang.NoClassDefFoundError: *org/apache/axis/transport/http/AxisServlet*
> 
>         at java.lang.ClassLoader.defineClass1(Native Method)
> 
>         at java.lang.ClassLoader.defineClass(Unknown Source)
> 
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
> 
>         at java.net.URLClassLoader.defineClass(Unknown Source)
> 
>         at java.net.URLClassLoader.access$000(Unknown Source)
> 
>         at java.net.URLClassLoader$1.run(Unknown Source)
> 
>         at java.security.AccessController.doPrivileged(Native Method)
> 
>         at java.net.URLClassLoader.findClass(Unknown Source)
> 
>         at java.lang.ClassLoader.loadClass(Unknown Source)
> 
>         at java.lang.ClassLoader.loadClass(Unknown Source)
> 
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 
>         at java.lang.ClassLoader.loadClass(Unknown Source)
> 
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> 
> der.java:1247)
> 
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> 
> der.java:1181)
> 
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> 
> java:1027)
> 
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:92
> 
> 5)
> 
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
> 
> t.java:3857)
> 
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 
> 118)
> 
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> 
> .java:759)
> 
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 
> 9)
> 
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> 
> 
> 
>         at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
> 
> a:894)
> 
>         at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
> 
> ava:857)
> 
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475
> 
> )
> 
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
> 
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> 
> :311)
> 
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> 
> eSupport.java:119)
> 
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
> 
> 
> 
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> 
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> 
> 
> 
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
> 
> )
> 
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 
> 50)
> 
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:683
> 
> )
> 
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 
>         at java.lang.reflect.Method.invoke(Unknown Source)
> 
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> 
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> 
> 18 avr. 2012 02:51:01 org.apache.coyote.http11.Http11Protocol start
> 
> INFO: DÚmarrage de Coyote HTTP/1.1 sur http-8083
> 
> 18 avr. 2012 02:51:01 org.apache.jk.server.JkMain start
> 
> INFO: Jk running ID=0 time=0/10  config=null
> 
> 18 avr. 2012 02:51:01 org.apache.catalina.startup.Catalina start
> 
> INFO: Server startup in 2990 ms
> 
> 
> I think that the problem from axis by I didn't kbow how to resolve it.
> 
> 
> Can someone help me; please?

It's a classpath error, meaning that your application does not have the
right JAR files in the application lib directory.  E.g.

 tomcat/webapps/YOURAPPNAME/WEB-INF/lib/some-missing-dependency.jar


p

-- 

[key:62590808]


Mime
View raw message