tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Problem with starting up Tomcat 5.0.1.9 using launcher - a classpath issue?
Date Sat, 03 Apr 2004 21:03:24 GMT
The 'startup-using-launcher.bat' is pretty much unmaintained at the moment
(and has nothing to do with the "Start Menu" shortcut :).

To reproduce what the shortcut should be doing, cd to the Tomcat bin
directory and run:
  tomcatw //GT//Tomcat5

To review your startup settings run:
  tomcatw //ES//Tomcat5


"Yair Fine" <fineya@bezeqint.net> wrote in message
news:000e01c4197a$8e62a330$cd93b3d4@YAIRCOMPUTER...
> Hi,
> I installed Tomcat 5.0.1.9 on Windows 2000.
>
> When I run Start menu-> programs -> Apache Tomcat 5.0 -> Start Tomcat ,
> nothing happens, and no tomcat icon appears.
>
> When i go to bin directory and run startup-using-launcher.bat , I get an
> exception :
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>         at org.apache.commons.launcher.Launcher.start(Launcher.java:385)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at LauncherBootstrap.main(LauncherBootstrap.java:185)
>
> Indeed, if i look at ant.jar ion common\lib, there is no
> org/apache/tools/ant/launch/AntMain class
> Though is if run startup.bat, the server starts and work
> I have my JAVA_HOME variable path going to the right place
>
> Enyone have a clue ?
> Regards
> Yair Fine
>
>




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


Mime
View raw message