| Apache Tomcat 6.0 Server Unable to Start [message #511553] |
Mon, 01 February 2010 19:17  |
Jason LuBean Messages: 2 Registered: February 2010 |
Junior Member |
|
|
I have been using Galileo version of Eclipse on Windows Vista, developing a "Dynamic Web" project with an Apache Tomcat 6.0 server configuration (version 6.0.24).
I ended up having to switch to the Mac OS and work on the same project. I installed Eclipse Java EE IDE for Web Developers (eclipse-jee-galileo-SR1-macosx-cocoa.tar.gz, Build id: 20090920-1017) and Apache Tomcat 6.0.24. I have the Java compiler set up to use JDK 1.6. I created the "Dynamic Web" project and added a Tomcat 6.0 server to the Servers view and selected the project. When I start Tomcat for the first time, it appears to publish all of the files (the status bar shows that it is publishing the files), but when it attempts to actually start Tomcat (the status bar says "Starting Tomcat.."), after about a minute, I get an error alert that says:
| Quote: | Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
|
Nothing prints out in the Console window. I have restarted eclipse and the machine several times and have increased the timeout in the server editor, but I continue to get the same error when I attempt to start the Tomcat server. Nothing shows up in the Console tab for the server.
When I start Eclipse, I do notice some errors listed in the "Error Log" view:
- Unable to retrieve system properties
- Unable to retrieve system properties
- Failed to retrieve default libraries for /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/H ome
- System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
The stack trace for the top two errors is the following:
| Quote: |
org.eclipse.core.runtime.CoreException: Unable to retrieve system properties
at org.eclipse.jdt.launching.AbstractVMInstall.abort(AbstractVM Install.java:490)
at org.eclipse.jdt.launching.AbstractVMInstall.evaluateSystemPr operties(AbstractVMInstall.java:440)
at org.eclipse.jdt.internal.launching.environments.ExecutionEnv ironmentAnalyzer.isFoundation1_0(ExecutionEnvironmentAnalyze r.java:142)
at org.eclipse.jdt.internal.launching.environments.ExecutionEnv ironmentAnalyzer.analyze(ExecutionEnvironmentAnalyzer.java:8 9)
at org.eclipse.jdt.internal.launching.environments.Analyzer.ana lyze(Analyzer.java:40)
at org.eclipse.jdt.internal.launching.environments.Environments Manager.analyze(EnvironmentsManager.java:334)
at org.eclipse.jdt.internal.launching.environments.Environments Manager.vmAdded(EnvironmentsManager.java:373)
at org.eclipse.jdt.launching.JavaRuntime.fireVMAdded(JavaRuntim e.java:2292)
at org.eclipse.jdt.launching.JavaRuntime.initializeVMs(JavaRunt ime.java:2662)
at org.eclipse.jdt.launching.JavaRuntime.getVMInstallTypes(Java Runtime.java:510)
at org.eclipse.jdt.launching.JavaRuntime.getVMInstallType(JavaR untime.java:394)
at org.eclipse.jdt.internal.launching.JREContainerInitializer.r esolveVM(JREContainerInitializer.java:108)
at org.eclipse.jdt.internal.launching.JREContainerInitializer.i nitialize(JREContainerInitializer.java:57)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:2608)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:1778)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:2652)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(J avaProject.java:2578)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(J avaProject.java:2679)
at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspa th(JavaProject.java:1866)
at org.eclipse.jdt.internal.core.JavaProject.isOnClasspath(Java Project.java:2169)
at org.eclipse.jdt.internal.ui.BuildpathIndicatorLabelDecorator .getOverlay(BuildpathIndicatorLabelDecorator.java:47)
at org.eclipse.jdt.internal.ui.BuildpathIndicatorLabelDecorator .decorate(BuildpathIndicatorLabelDecorator.java:34)
at org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(LightweightDecoratorDefinition.java:269)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunnable.run(LightweightDecoratorManager.java: 81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(LightweightDecoratorManager.java:365)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(LightweightDecoratorManager.java:347)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(DecorationScheduler.java:371)
at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
The other two errors say "An exception stack trace is not available."
The Session Data of the errors is the following:
| Quote: | eclipse.buildId=M20090917-0800
java.version=1.5.0_22
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/jason/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -product org.eclipse.epp.package.jee.product -debug -consolelog -keyring /Users/jason/.eclipse_keyring -showlocation
|
Any ideas on what the problem could be?
|
|
|