troubleshooting Question

New Tomcat 7.0.25 install doesn't start

Avatar of phx7
phx7 asked on
Apache Web ServerJava App Servers
4 Comments1 Solution817 ViewsLast Modified:
I just downloaded the apache-tomcat-7.0.25-windows-x64.zip file from apache and unzipped it. went to the bin directory to start it up just to validate it works, and I get this error:

C:\myTest\server\tomcat 7.0.25\bin>startup
Using CATALINA_BASE:   "C:\myTest\server\tomcat 7.0.25"
Using CATALINA_HOME:   "C:\myTest\server\tomcat 7.0.25"
Using CATALINA_TMPDIR: "C:\myTest\server\tomcat 7.0.25\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.6.0_27"
Using CLASSPATH:       "C:\myTest\server\tomcat 7.0.25\bin\bootstrap.jar;C:\myTest\server\tomcat 7.0.25\bin\tomcat-juli.jar"
Exception in thread "main" java.lang.NoClassDefFoundError: Xms1024m
Caused by: java.lang.ClassNotFoundException: Xms1024m
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: Xms1024m.  Program will exit.

Note: to see the error as the window just closes right down I edited the startup.bat
call "%EXECUTABLE%" start %CMD_LINE_ARGS%
to
call "%EXECUTABLE%" run %CMD_LINE_ARGS%

What in the world is it looking for? Is this a bad build from Apache?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros