Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Apache Tomcat 6.0 Server Unable to Start
Apache Tomcat 6.0 Server Unable to Start [message #511553] Tue, 02 February 2010 00:17 Go to next message
Jason LuBean is currently offline Jason LuBeanFriend
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?
Re: Apache Tomcat 6.0 Server Unable to Start [message #511705 is a reply to message #511553] Tue, 02 February 2010 10:46 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
The lack of output in the Console view suggests that the attempt to
launch Tomcat is failing. After attempting to start Tomcat, switch to
the Debug perspective and look in the Debug window. You should see a
terminated launch. You can right-click on the nested item under the
terminated launch and select Properties. This should display the
command line that is being used to launch Tomcat. You could try that
command in a terminal window to see what happens. If it is using
"javaw", change that to "java". Note that I have no experience on the
Mac, so I don't know if any of this info might be different for the Mac.
Post back with that command line and the terminal window results and
we'll see if there are any useful clues to be found.

Cheers,
Larry

Jason LuBean wrote:
> 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?
Re: Apache Tomcat 6.0 Server Unable to Start [message #511764 is a reply to message #511705] Tue, 02 February 2010 18:25 Go to previous messageGo to next message
Jason LuBean is currently offline Jason LuBeanFriend
Messages: 2
Registered: February 2010
Junior Member
Thanks for the suggestion. Here are the properties for the terminated launch:

Path:

/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/H ome/bin/java

Command Line:

/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/H ome/bin/java -Dcatalina.base=/Users/jason/Documents/src/live/.metadata/.p lugins/org.eclipse.wst.server.core/tmp0 -Dcatalina.home=/Applications/apache-tomcat-6.0.24 -Dwtp.deploy=/Users/jason/Documents/src/live/.metadata/.plug ins/org.eclipse.wst.server.core/tmp0/wtpwebapps -Djava.endorsed.dirs=/Applications/apache-tomcat-6.0.24/endo rsed -Dfile.encoding=MacRoman -Xbootclasspath:/System/Library/Frameworks/JavaVM.framework/ Versions/1.6/Classes/classes.jar:/System/Library/Frameworks/ JavaVM.framework/Versions/1.6/Classes/ui.jar:/System/Library /Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/app le_provider.jar:/System/Library/Frameworks/JavaVM.framework/ Versions/1.6.0/Home/lib/ext/dnsns.jar:/System/Library/Framew orks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/localedata .jar:/System/Library/Frameworks/JavaVM.framework/Versions/1. 6.0/Home/lib/ext/sunjce_provider.jar:/System/Library/Framewo rks/JavaVM.framework/Versions/1.6.0/Home/lib/ext/sunpkcs11.j ar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6. 0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framewor k/Versions/1.6.0/Classes/jsse.jar -classpath /Applications/apache-tomcat-6.0.24/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap start

When I run the command line above in the Terminal window, I get the following error:

-bash: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/H ome/bin/java: Bad CPU type in executable

At least I have something else to look into.

[Updated on: Tue, 02 February 2010 18:30]

Report message to a moderator

Re: Apache Tomcat 6.0 Server Unable to Start [message #514316 is a reply to message #511553] Sun, 14 February 2010 03:32 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1049
Registered: July 2009
Senior Member

Did you solve this? I have the same problem and find it hard to locate the error:

My properties are:

"C:\Program Files\Java\jre6\bin\javaw.exe" "-Dcatalina.base=C:\Documents and Settings\d034797\Desktop\Documents\16_EclipsePro
jects\20_WebpageExamples\.metadata\.plugins\org.eclipse.wst. server.core\tmp0 " "-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 6.0" "-Dwtp.de
ploy=C:\Documents and Settings\d034797\Desktop\Documents\16_EclipseProjects\20_Web pageExamples\.metadata\.plugins\org.eclipse.wst.server.core\ tmp0\wtpwebapps " "
-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 6.0\endorsed" -Dfile.encoding=Cp1252 -classpath "C:\Program Files\Apache Software Founda
tion\Tomcat 6.0\bin\bootstrap.jar" org.apache.catalina.startup.Bootstrap start

I did check the paths and I believe they are correct. If I paste the the line into a command line nothing happens.

Re: Apache Tomcat 6.0 Server Unable to Start [message #514491 is a reply to message #514316] Mon, 15 February 2010 14:59 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
Lars Vogel wrote:
> Did you solve this? I have the same problem and find it hard to locate
> the error:
>
> My properties are:
>
> "C:\Program Files\Java\jre6\bin\javaw.exe" "-Dcatalina.base=C:\Documents
> and Settings\d034797\Desktop\Documents\16_EclipsePro
> jects\20_WebpageExamples\.metadata\.plugins\org.eclipse.wst.
> server.core\tmp0 " "-Dcatalina.home=C:\Program Files\Apache Software
> Foundation\Tomcat 6.0" "-Dwtp.de
> ploy=C:\Documents and
> Settings\d034797\Desktop\Documents\16_EclipseProjects\20_Web
> pageExamples\.metadata\.plugins\org.eclipse.wst.server.core\
> tmp0\wtpwebapps " "
> -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat
> 6.0\endorsed" -Dfile.encoding=Cp1252 -classpath "C:\Program Files\Apache
> Software Founda
> tion\Tomcat 6.0\bin\bootstrap.jar" org.apache.catalina.startup.Bootstrap
> start
>
> I did check the paths and I believe they are correct. If I paste the the
> line into a command line nothing happens.
>
>

Something happens, but you don't see it because of the "javaw.exe". The
"w" means "windowless". Change the "javaw.exe" to "java.exe" so you can
see what is happening.

Cheers,
Larry
Re: Apache Tomcat 6.0 Server Unable to Start [message #514514 is a reply to message #511553] Mon, 15 February 2010 16:41 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1049
Registered: July 2009
Senior Member

Hello Larry,

thank you, sorry for overlooking that.

Strangely today Tomcat starts in Eclipse without any complaints. I did restart Eclipse with the -clean option.

Thanks to you I now know how to look into this issue if it occurs again.

Cheers, Lars
Re: Apache Tomcat 6.0 Server Unable to Start [message #514615 is a reply to message #514514] Tue, 16 February 2010 01:03 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1049
Registered: July 2009
Senior Member

Hi Larry,

I summerized your tips in a short blog entry: http://www.vogella.de/blog/2010/02/16/tomcat-unable-to-start /

Thank you again, Lars
Re: Apache Tomcat 6.0 Server Unable to Start [message #535855 is a reply to message #514615] Wed, 26 May 2010 03:29 Go to previous messageGo to next message
Thang   Le is currently offline Thang LeFriend
Messages: 6
Registered: May 2010
Location: Vietnam
Junior Member
for me:

"C:\Program Files\Java\jdk1.6.0_17\bin\java.exe" -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:1859 -Dcatalina.base=D:\eclipse\workspace\.metadata\.plugins\org. eclipse.wst.server.core\tmp0 -Dcatalina.home=D:\eclipse\apache-tomcat-6.0.26 -Dwtp.deploy=D:\eclipse\workspace\.metadata\.plugins\org.ecl ipse.wst.server.core\tmp0\wtpwebapps -Djava.endorsed.dirs=D:\eclipse\apache-tomcat-6.0.26\endorse d -Dfile.encoding=UTF-8 -classpath " D:\eclipse\apache-tomcat-6.0.26\bin\bootstrap.jar;C:\Program Files\Java\jdk1.6.0_17\lib\tools.jar" org.apache.catalina.startup.Bootstrap start


ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../.
./../src/share/back/debugInit.c:690]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_E
RROR_TRANSPORT_INIT(197)



Re: Apache Tomcat 6.0 Server Unable to Start [message #536062 is a reply to message #535855] Wed, 26 May 2010 20:19 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
On 5/25/2010 11:29 PM, ThangLe wrote:
> for me:
>
> "C:\Program Files\Java\jdk1.6.0_17\bin\java.exe"
> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:1859
> -Dcatalina.base=D:\eclipse\workspace\.metadata\.plugins\org.
> eclipse.wst.server.core\tmp0
> -Dcatalina.home=D:\eclipse\apache-tomcat-6.0.26
> -Dwtp.deploy=D:\eclipse\workspace\.metadata\.plugins\org.ecl
> ipse.wst.server.core\tmp0\wtpwebapps
> -Djava.endorsed.dirs=D:\eclipse\apache-tomcat-6.0.26\endorse d
> -Dfile.encoding=UTF-8 -classpath "
> D:\eclipse\apache-tomcat-6.0.26\bin\bootstrap.jar;C:\Program
> Files\Java\jdk1.6.0_17\lib\tools.jar"
> org.apache.catalina.startup.Bootstrap start
>
>
> ERROR: transport error 202: connect failed: Connection refused
> ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
> JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
> initialized [../.
> /../src/share/back/debugInit.c:690]
> FATAL ERROR in native method: JDWP No transports initialized,
> jvmtiError=AGENT_E
> RROR_TRANSPORT_INIT(197)
>
>
>
>

This is likely a problem between Java and your system. Google may be
your best bet for info.

Cheers,
Larry
Re: Apache Tomcat 6.0 Server Unable to Start [message #536095 is a reply to message #511553] Thu, 27 May 2010 02:17 Go to previous messageGo to next message
Thang   Le is currently offline Thang LeFriend
Messages: 6
Registered: May 2010
Location: Vietnam
Junior Member
Thank you , Lars
Re: Apache Tomcat 6.0 Server Unable to Start [message #541386 is a reply to message #536095] Sun, 20 June 2010 19:10 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hi All,

I checked all the above mentioned hints.
But could not find soln. to my problem.

I pasted the commands in the cmd and i get till 'server started in 332ms.
But the resources on the server could not be found and i get the timeout error in eclipse.

Thanks and Regards,
Saurav


Re: Apache Tomcat 6.0 Server Unable to Start [message #541388 is a reply to message #511553] Sun, 20 June 2010 19:44 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Though i get this in the console


INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:


Re: Apache Tomcat 6.0 Server Unable to Start [message #541758 is a reply to message #541386] Tue, 22 June 2010 12:40 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
On 6/20/2010 3:10 PM, saurav wrote:
> Hi All,
>
> I checked all the above mentioned hints.
> But could not find soln. to my problem.
>
> I pasted the commands in the cmd and i get till 'server started in 332ms.
> But the resources on the server could not be found and i get the timeout
> error in eclipse.
>
> Thanks and Regards,
> Saurav

This is a different problem. Tomcat is starting, but Eclipse's attempt
to ping the server to see if it's started is not working for some
reason. Without details about your configuration, it's hard to say more.

Cheers,
Larry
Re: Apache Tomcat 6.0 Server Unable to Start [message #541759 is a reply to message #541388] Tue, 22 June 2010 12:46 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
On 6/20/2010 3:44 PM, saurav wrote:
> Though i get this in the console
>
>
> INFO: The Apache Tomcat Native library which allows optimal performance
> in production environments was not found on the java.library.path:

This INFO output is normal. The AprLifecycleListener will try to
auto-enable use of an APR connector. This message is that listener
letting you know it couldn't enable an APR connector because it could
load the Apache Runtime Library it needs, which is not present by default.

Cheers,
Larry
Re: Apache Tomcat 6.0 Server Unable to Start [message #541860 is a reply to message #511553] Tue, 22 June 2010 19:02 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Hi Larry,

You are absolutely correct.I do see the same server being started up in my office network usccessfully.My office network works with proxy settings.
But still unable to find out the solution for my home connection Sad.

Regards,
Saurav


Previous Topic:Consuming a .net ws in eclipse?
Next Topic:fcrec files in org.eclipse.wst.javascript.ui
Goto Forum:
  


Current Time: Sun Dec 21 06:23:55 GMT 2014

Powered by FUDForum. Page generated in 0.04132 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software