Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Re:bug#244862
Re:bug#244862 [message #230259] Sun, 12 April 2009 11:47 Go to next message
Eclipse UserFriend
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 09:30 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 14:36:08 EDT 2025

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

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

Back to the top