Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Generic Server Startup - Infinite
Generic Server Startup - Infinite [message #177009] Tue, 15 August 2006 10:26 Go to next message
Bruno Wassermann is currently offline Bruno WassermannFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,

I have recently posted this on the dev list and it was suggested I seek some
ideas here.

Regards,

-- Bruno



Hi,

I am using the generic server framework and have run into a problem starting
a server as specified in its serverdef. (The server is Tomcat with Axis and
ActiveBPEL deployed).

The server remains in state 'Starting...' and never enters state 'Started'.
The server's log file looks fine, the last line indicates that it has
started a BPEL engine (as it should do). The server is up and running and
you can access the installed web apps, but its state remains in
'Starting...'.

Here's the launch snippet from its serverdef:

<start>
<mainClass>org.apache.catalina.startup.Bootstrap</mainClass >
<workingDirectory>${tomcat.home}</workingDirectory>
<programArguments>start</programArguments>
<vmParameters>-Dcatalina.base="${tomcat.home}"
-Dcatalina.home="${tomcat.home}" -Djava.io.tmpdir="${tomcat.home}/temp"
-Djava.endorsed.dirs="${tomcat.home}\common\endorsed"</vmParameters >
<classpathReference>tomcat</classpathReference>
</start>

I have tried to do some debugging, but was only able to find out that the
code doesn't even get to PingThread (listenting for startup).

Any ideas what might be going wrong here?

Thanks,

-- Bruno
Re: Generic Server Startup - Infinite [message #177017 is a reply to message #177009] Tue, 15 August 2006 12:36 Go to previous messageGo to next message
Darryl Miles is currently offline Darryl MilesFriend
Messages: 123
Registered: July 2009
Senior Member
Bruno Wassermann wrote:
> Any ideas what might be going wrong here?

<random_suggestions>
Linux or Windows ?

Firewall issue between Eclipse and ?

What IP address on port 8080 is tomcat running as.
</random_suggestions>


Darryl
Re: Generic Server Startup - Infinite [message #177201 is a reply to message #177017] Thu, 17 August 2006 10:18 Go to previous messageGo to next message
Bruno Wassermann is currently offline Bruno WassermannFriend
Messages: 21
Registered: July 2009
Junior Member
Hi Darryl,

<answers>

Windows

Firewall lets VM to run Tomcat on local host and do whatever

http://localhost:8080/

the drama is taking place entirely on localhost

</answers>

"Darryl L. Miles" <darryl@netbauds.net> wrote in message
news:44E1BFE8.7050405@netbauds.net...
> Bruno Wassermann wrote:
>> Any ideas what might be going wrong here?
>
> <random_suggestions>
> Linux or Windows ?
>
> Firewall issue between Eclipse and ?
>
> What IP address on port 8080 is tomcat running as.
> </random_suggestions>
>
>
> Darryl
Re: Generic Server Startup - Infinite [message #177209 is a reply to message #177201] Thu, 17 August 2006 12:59 Go to previous messageGo to next message
Darryl Miles is currently offline Darryl MilesFriend
Messages: 123
Registered: July 2009
Senior Member
Bruno Wassermann wrote:
> <answers>
>
> Windows
>
> Firewall lets VM to run Tomcat on local host and do whatever
>
> http://localhost:8080/
>
> the drama is taking place entirely on localhost
>
> </answers>

So you can "telnet localhost 8080" and issue a "GET / HTTP/1.0", return,
return, and get a response ?

I think the Ping function of ECLIPSE server tools, does exactly this, as
opposed to an ICMP ping (which wouldn't tell Eclipse anything useful
anyway).

Can you temporarily disable the firewall to prove the point that it
would make no difference to the problem.

I'm not entirely sure what events have to occur for the server tooling
to change the runtime state from "Starting" to "Running/Debugging".

Darryl
Re: Generic Server Startup - Infinite [message #179223 is a reply to message #177209] Fri, 15 September 2006 22:53 Go to previous message
Bruno Wassermann is currently offline Bruno WassermannFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,

Disabling the firewall had no effect at all :( Debugging it for hours on end
didn't get me anywhere. A workaround for the time being would be to
configure initialState="started" and have user start server manually - this
allows publishing from within Eclipse. But of course, that's just a dirty
fix.

If anyone has come across a similar problem or has any (any!) ideas for
tackling this, please don't be shy as I am close to despair...

-- Bruno

"Darryl L. Miles" <darryl@netbauds.net> wrote in message
news:44E46825.1020805@netbauds.net...
> Bruno Wassermann wrote:
>> <answers>
>>
>> Windows
>>
>> Firewall lets VM to run Tomcat on local host and do whatever
>>
>> http://localhost:8080/
>>
>> the drama is taking place entirely on localhost
>>
>> </answers>
>
> So you can "telnet localhost 8080" and issue a "GET / HTTP/1.0", return,
> return, and get a response ?
>
> I think the Ping function of ECLIPSE server tools, does exactly this, as
> opposed to an ICMP ping (which wouldn't tell Eclipse anything useful
> anyway).
>
> Can you temporarily disable the firewall to prove the point that it would
> make no difference to the problem.
>
> I'm not entirely sure what events have to occur for the server tooling to
> change the runtime state from "Starting" to "Running/Debugging".
>
> Darryl
Previous Topic:javascript editor - formatting code
Next Topic:Reuse WTP CSS editing
Goto Forum:
  


Current Time: Sat Apr 20 02:44:00 GMT 2024

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

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

Back to the top