Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP doesn't recognize server start(problem with tomcat)
WTP doesn't recognize server start [message #701664] Mon, 25 July 2011 12:16 Go to next message
Mario B. is currently offline Mario B.Friend
Messages: 5
Registered: July 2011
Junior Member
if i start a tomcat via the server tab, the server is correctly started and i can navigate to the hosted site via my browser. however, eclipse doesn't realize that fact, so it still writes "starting tomcat v7.." until the 45 seconds are over, after which the plugin shuts down the (running) tomcat (setting this to a higher amount of time is not an option as things like hot deploy of html doesn't seem to work)

i am using windows 7 64 bit with 64 bit java/elipse/tomcat

i already tried a lot of things:
tried with tomcat 7.0.19, 7.0.12, 6.0.32
tried with eclipse indigo and eclipse helios
created new workspaces several times
completely reinstalled eclipse serveral times
completely reinstalled operating system (arg)
turning off uac
turning off windows firewall
switching location away from workspaces metadata
changed ports to ports which i am dead sure are not used by anthing else

[Updated on: Mon, 22 August 2011 12:24]

Report message to a moderator

Re: WTP doesn't recognize server start [message #701721 is a reply to message #701664] Mon, 25 July 2011 13:13 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 7/25/2011 8:16 AM, mario.budischek wrote:
> hi, i am posting this because i am really desperate. i have a big
> problem with the wtp plugin
>
> if i start a tomcat via the server tab, the server is correctly started
> and i can navigate to the hosted site via my browser. however, eclipse
> doesn't realize that fact, so it still writes "starting tomcat v7.."
> until the 45 seconds are over, after which the plugin shuts down the
> (running) tomcat (setting this to a higher amount of time is not an
> option as things like hot deploy of html doesn't seem to work)
>
> i am using windows 7 64 bit with 64 bit java/elipse/tomcat
>
> i already tried a lot of things:
> tried with tomcat 7.0.19, 7.0.12, 6.0.32
> tried with eclipse indigo and eclipse helios
> created new workspaces several times
> completely reinstalled eclipse serveral times
> completely reinstalled operating system (arg)
> turning off uac
> turning off windows firewall
> switching location away from workspaces metadata
> changed ports to ports which i am dead sure are not used by anthing else
>
> please... if you have ANY idea... help me :(

For the duration of the timeout, the WTP Tomcat support will repeatedly
try to open a connection to the Tomcat server. If this is failing, and
you are sure the ports match and nothing is blocking the connection,
then this would imply WTP is trying to connect on the wrong host. What
is the URL that works in your browser? Also, which Java runtime are you
using.

Cheers,
Larry
Re: WTP doesn't recognize server start [message #701851 is a reply to message #701721] Mon, 25 July 2011 17:20 Go to previous messageGo to next message
Mario B. is currently offline Mario B.Friend
Messages: 5
Registered: July 2011
Junior Member
i am using jdk 1.6.0_26 (Build 1.6.0_26-b03) - 64 Bit

i am accessing my application through localhost (e.g. http: //localhost:8080/myApplication) and during the 45 seconds that just works fine

i just re-installed eclipse (again) and tried to start the tomcat without any deployed application.. same problem. (manually starting tomecat from console or with maven plugin still works fine though)
(no subject) [message #701857 is a reply to message #701721] Mon, 25 July 2011 17:20 Go to previous messageGo to next message
Mario B. is currently offline Mario B.Friend
Messages: 5
Registered: July 2011
Junior Member
i am using jdk 1.6.0_26 (Build 1.6.0_26-b03) - 64 Bit

i am accessing my application through localhost (e.g. http: //localhost:8080/myApplication) and during the 45 seconds that just works fine

i just re-installed eclipse (again) and tried to start the tomcat without any deployed application.. same problem. (manually starting tomecat from console or with maven plugin still works fine though)
Re: WTP doesn't recognize server start [message #701923 is a reply to message #701851] Mon, 25 July 2011 18:31 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
On 7/25/2011 1:20 PM, mario.budischek wrote:
> i am using jdk 1.6.0_26 (Build 1.6.0_26-b03) - 64 Bit
>
> i am accessing my application through localhost (e.g. http:
> //localhost:8080/myApplication) and during the 45 seconds that just
> works fine
>
> i just re-installed eclipse (again) and tried to start the tomcat
> without any deployed application.. same problem. (manually starting
> tomecat from console or with maven plugin still works fine though)

If you double-click on the server in the Servers view, it should open
the server editor. In the General Information section, is the value for
Host also "localhost"? Also, how are you installing Tomcat, zip or
installer.

I'm running a very similar setup here with no problems. So what is
unique to your system that is causing this isn't likely to be the
Eclipse, Tomcat, or JDK themselves. Customizing the configuration of
these could cause problems, but I'm assuming you aren't making such changes.

Cheers,
Larry
Re: WTP doesn't recognize server start [message #701993 is a reply to message #701923] Mon, 25 July 2011 20:43 Go to previous messageGo to next message
Mario B. is currently offline Mario B.Friend
Messages: 5
Registered: July 2011
Junior Member
yes, it is set to localhost

i will try to summarize everything i did after reinstalling my operating system

a) installed jdk
b) set java home to jdk and path to %java_home%\bin
c) unzipped eclipse, setting jdk in eclipse.ini with -vm argument
d) unzipped tomcat (tested manually with startup.bat -> working!)
e) created server environment in eclipse with the new server (localhost)
f) created server on top of the environment
e) started tomcat (with no project.. just the empty server)
console-output: INFO: Server startup in 477 ms
but eclipse doesnt seem to realize that Sad
if i deploy an application with the tomcat i also notice that the server IS definitly up, i can navigate to my application via http ://localhost:8080/myApp

seems to be some sort of "communication problem" with the server or something like that..
Re: WTP doesn't recognize server start [message #702348 is a reply to message #701993] Tue, 26 July 2011 08:50 Go to previous message
Mario B. is currently offline Mario B.Friend
Messages: 5
Registered: July 2011
Junior Member
i finally resolved the problem.

it was a configuration problem with microsoft TMG Firewall Client.. i really should have checked that one first .-))

thank you a lot for your help anyway!
Previous Topic:Build path,Demploye Assembly and project refrences???
Next Topic:Identifying when a value has been inserted
Goto Forum:
  


Current Time: Fri Apr 26 11:57:06 GMT 2024

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

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

Back to the top