Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Re:bug#244862
Re:bug#244862 [message #230259] Sun, 12 April 2009 15:47 Go to next message
Xia Jun Shi is currently offline Xia Jun ShiFriend
Messages: 15
Registered: July 2009
Junior Member
I want to investigate the bug 244862, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=244862. In this bug, because
the server didn't stop properly, we can't start the server again without
changing the port numbers. I wonder which classes are related to checking
or getting the port numbers? It is because the program can't get the
server delegate or server behavior delegate, or something else?

For this bug, what should we do? I mean when we delete a server project
with a started server, we should delete the server first,or at least stop
the started server before delete the server project. Thanks for any
suggestion.

Cheers,
Shelley
Re: bug#244862 [message #230330 is a reply to message #230259] Tue, 14 April 2009 13:30 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Xia Jun Shi wrote:
> I want to investigate the bug 244862, see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=244862. In this bug,
> because the server didn't stop properly, we can't start the server again
> without changing the port numbers.

The issue is that because the stop couldn't execute successfully, the
Server's view loses contact with the server and leaves an "orphan"
Tomcat running. The solution is to stop or kill that Tomcat manually.
Then you don't need to change port numbers.

> I wonder which classes are related to
> checking or getting the port numbers? It is because the program can't
> get the server delegate or server behavior delegate, or something else?
>
> For this bug, what should we do? I mean when we delete a server project
> with a started server, we should delete the server first,or at least
> stop the started server before delete the server project. Thanks for any
> suggestion.

I would recommend that the user should be prevented from closing the
Servers project while servers are running and prevented from deleting
the project while servers are defined that use it. Closing or deleting
the Servers project in these cases is most likely a mistake which is
best not performed.

Cheers,
Larry

>
> Cheers,
> Shelley
>
>
Previous Topic:WTP 3.0.4, JBoss 5.1.0.Beta1, and Web Beans RI (beta)
Next Topic:what method is invoked when right-click on a jsp and select Run on Server?
Goto Forum:
  


Current Time: Fri Apr 26 10:00:13 GMT 2024

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

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

Back to the top