Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Error while Starting Tomcat 6.0(Getting Error when starting Tomcat 6.0 server from Eclipse galileo)
Error while Starting Tomcat 6.0 [message #553051] Mon, 16 August 2010 09:25 Go to next message
Siddhesh  is currently offline Siddhesh Friend
Messages: 1
Registered: August 2010
Junior Member
Hi,

I am getting 2 errors while starting Tomcat 6.0 from within Eclipse Galileo

My Setup is -
eclipse-jee-galileo-SR2-win32
java.version=1.6.0_16
apache-tomcat-6.0.29

My Tomcat was working properly before but then for some reason I had to reinstall Java and Tomcat at different location which is
C:\Java\ and C:\Tomcat_6_0
and since then it started giving this problem, Eclipse was installed before reinstalling these two.
Even the Default JRE location is properly set..

Quote:
Error Message :-
An internal error occurred during: "Publishing to Tomcat v6.0 Server at localhost...".

Exception Stack Trace :-
java.lang.NoSuchMethodError: org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTempDirectory(Z)Lorg/eclipse/core/runtime/IPath;
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTempDirectory(TomcatServerBehaviour.java:619)
at org.eclipse.jst.server.tomcat.core.internal.TomcatVersionHel per.getStandardBaseDirectory(TomcatVersionHelper.java:154)
at org.eclipse.jst.server.tomcat.core.internal.Tomcat60Handler. getRuntimeBaseDirectory(Tomcat60Handler.java:112)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get RuntimeBaseDirectory(TomcatServer.java:271)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getRuntimeBaseDirectory(TomcatServerBehaviour.java:103 )
at org.eclipse.jst.server.tomcat.core.internal.PublishOperation 2. <init>(PublishOperation2.java:50)
at org.eclipse.jst.server.tomcat.core.internal.PublishTask.getT asks(PublishTask.java:34)
at org.eclipse.wst.server.core.internal.PublishTask.getTasks(Pu blishTask.java:89)
at org.eclipse.wst.server.core.internal.Server.getTasks(Server. java:1186)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTasks(ServerBehaviourDelegate.java:1055)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:834)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.pu blish(ServerBehaviourDelegate.java:708)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Serv er.java:2731)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(S erver.java:278)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)



2nd Error
Quote:
Error Message :-
An internal error occurred during: "Starting Tomcat v6.0 Server at localhost".

Exception Stack Trace :-
java.lang.NoSuchMethodError: org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTempDirectory(Z)Lorg/eclipse/core/runtime/IPath;
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTempDirectory(TomcatServerBehaviour.java:619)
at org.eclipse.jst.server.tomcat.core.internal.TomcatVersionHel per.getStandardBaseDirectory(TomcatVersionHelper.java:154)
at org.eclipse.jst.server.tomcat.core.internal.Tomcat60Handler. getRuntimeBaseDirectory(Tomcat60Handler.java:112)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get RuntimeBaseDirectory(TomcatServer.java:271)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getRuntimeBaseDirectory(TomcatServerBehaviour.java:103 )
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getRuntimeProgramArguments(TomcatServerBehaviour.java: 115)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.setupLaunchConfiguration(TomcatServerBehaviour.java:83 2)
at org.eclipse.wst.server.core.internal.Server.setupLaunchConfi guration(Server.java:1440)
at org.eclipse.wst.server.core.internal.Server.getLaunchConfigu ration(Server.java:1526)
at org.eclipse.wst.server.core.internal.Server.startImpl2(Serve r.java:3048)
at org.eclipse.wst.server.core.internal.Server.startImpl(Server .java:3001)
at org.eclipse.wst.server.core.internal.Server$StartJob.run(Ser ver.java:300)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)



Re: Error while Starting Tomcat 6.0 [message #555703 is a reply to message #553051] Fri, 27 August 2010 17:33 Go to previous messageGo to next message
Django  is currently offline Django Friend
Messages: 1
Registered: August 2010
Junior Member
I am having the same issue. Is there any new information on this error?

Thank you

Dj
Re: Error while Starting Tomcat 6.0 [message #555833 is a reply to message #553051] Sun, 29 August 2010 10:48 Go to previous messageGo to next message
Java Lover is currently offline Java LoverFriend
Messages: 2
Registered: August 2010
Junior Member
can you start Tomcat by its own?
I mean outside of eclipse?


Muhammad Safwat
Senior Websphere Consultant
Java Tutorial
Re: Error while Starting Tomcat 6.0 [message #557431 is a reply to message #553051] Tue, 07 September 2010 11:59 Go to previous messageGo to next message
Murugapandian Ramaiah is currently offline Murugapandian RamaiahFriend
Messages: 1
Registered: September 2010
Junior Member
I have the same problem when I upgrade my tomcat from 6 to 7. Any solutions. If I start the tomcat outside, it is working fine. When I stop this and try to start from eclipse, I am getting this error

-- Error Details --
Date: Tue Sep 07 12:41:16 BST 2010
Message: An internal error occurred during: "Starting Tomcat v7.0 Server at localhost".
Severity: Error
Product: Eclipse 1.2.0.20090618-0904 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.core.jobs
Session Data:
eclipse.buildId=I20090611-1540
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


Exception Stack Trace:
java.lang.NoSuchMethodError: org.eclipse.wst.server.core.model.ServerBehaviourDelegate.ge tTempDirectory(Z)Lorg/eclipse/core/runtime/IPath;
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getTempDirectory(TomcatServerBehaviour.java:619)
at org.eclipse.jst.server.tomcat.core.internal.TomcatVersionHel per.getStandardBaseDirectory(TomcatVersionHelper.java:154)
at org.eclipse.jst.server.tomcat.core.internal.Tomcat70Handler. getRuntimeBaseDirectory(Tomcat70Handler.java:125)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServer.get RuntimeBaseDirectory(TomcatServer.java:271)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getRuntimeBaseDirectory(TomcatServerBehaviour.java:103 )
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.getRuntimeProgramArguments(TomcatServerBehaviour.java: 115)
at org.eclipse.jst.server.tomcat.core.internal.TomcatServerBeha viour.setupLaunchConfiguration(TomcatServerBehaviour.java:83 2)
at org.eclipse.wst.server.core.internal.Server.setupLaunchConfi guration(Server.java:1440)
at org.eclipse.wst.server.core.internal.Server.getLaunchConfigu ration(Server.java:1526)
at org.eclipse.wst.server.core.internal.Server.startImpl2(Serve r.java:3048)
at org.eclipse.wst.server.core.internal.Server.startImpl(Server .java:3001)
at org.eclipse.wst.server.core.internal.Server$StartJob.run(Ser ver.java:300)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


---
Pandian R
GrassField.org
Re: Error while Starting Tomcat 6.0 [message #653825 is a reply to message #553051] Fri, 11 February 2011 12:58 Go to previous messageGo to next message
Enrico Goosen is currently offline Enrico GoosenFriend
Messages: 4
Registered: July 2009
Junior Member
I am also getting this error.
When is this going to get resolved?
BTW. The link on your documentation page:
Profiling Java Application with TPTP - Tutorial
points to:
http://www.vogella.de/articles/JUnit/article.html
...which is a JUnit tutorial, not a TPTP Tutorial.

Can you send me a link to a tutorial that provides clear instructions on how to profile a web application running on Tomcat from within Eclipse.

Thank you.
Re: Error while Starting Tomcat 6.0 [message #653868 is a reply to message #653825] Fri, 11 February 2011 15:58 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On Fri, 2011-02-11 at 07:58 -0500, Enrico Goosen wrote:
> I am also getting this error.
> When is this going to get resolved?
> BTW. The link on your documentation page:
> Profiling Java Application with TPTP - Tutorial
> points to:
> http://www.vogella.de/articles/JUnit/article.html
> ..which is a JUnit tutorial, not a TPTP Tutorial.
>
> Can you send me a link to a tutorial that provides clear instructions on how to profile a web application running on Tomcat from within Eclipse.
>
> Thank you.

Please ask web development questions on the Web Tools forum. This forum
is for the JDT not for web servers.
Re: Error while Starting Tomcat 6.0 [message #654366 is a reply to message #553051] Tue, 15 February 2011 12:54 Go to previous messageGo to next message
Enrico Goosen is currently offline Enrico GoosenFriend
Messages: 4
Registered: July 2009
Junior Member
I'm happy to say that I managed to install TPTP, and profile my application running on Tomcat 6.
I upgraded from Eclipse Galileo to Helios.
Installed BIRT Report Framework 2.6.1,
Then installed TPTP 4.7.1

I installed by unzipping the above installs to my eclipse dropins folder.
Example:

<eclipse home>
	\dropins
		\birt-report-framework-2_6_1
			\eclipse
				\features
				\plugins
		\tptp-runtime-TPTP-4_7_1
			\eclipse
				\features
				\plugins

Re: Error while Starting Tomcat 6.0 [message #916142 is a reply to message #553051] Tue, 18 September 2012 15:55 Go to previous message
kaaoua amine is currently offline kaaoua amineFriend
Messages: 1
Registered: September 2012
Junior Member
Answering my own question as it may help some one like me facing the same problem.

sudo apt-get --reinstall install tzdata-java

solve the problem.
Previous Topic:Deadlock on startup with Eclipse 4.2
Next Topic:How to determine JDT indentation tab size
Goto Forum:
  


Current Time: Sat Apr 20 04:40:41 GMT 2024

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

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

Back to the top