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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to