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 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 Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
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

What in the world is it looking for? Is this a bad build from Apache?
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