Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365164 - Port Conflict Crash doesnt self clean properly
Summary: Port Conflict Crash doesnt self clean properly
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 02:53 EST by MadTom1999 CLA
Modified: 2015-05-05 14:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MadTom1999 CLA 2011-11-30 02:53:14 EST
If orion is started on an in-use port when it crashes it fails to clean up after itself so when restarted on an open port it fails to run properly.
Comment 1 John Arthorne CLA 2011-12-01 16:57:46 EST
What browser were you using? I am definitely seeing problems on Chrome doing the following:

1) Start orion 0.3 on port 8080
2) Open Chrome and point to localhost:8080. Leave it open.
3) Stop the server
4) Start another server, such as self-hosting latest orion server
5) Back in Chrome, hit F5 to refresh.

-> Chrome insists on using its cached copy not matter what kind of refreshing you do. You need to aggressively clear your chrome cache before it will load properly.

I don't think this is a problem of the server not cleaning up properly ,but the combination of browser client caching and switching to a different server at the same address.
Comment 2 MadTom1999 CLA 2011-12-02 02:36:50 EST
I was using firefox 3.6... I don't think it can  be the browser:
The problem arose thus:
orion is started on a used port and then crashes in desktop space - no browser connection was attempted so no caching.
a new port is chosen and then orion re-run and the browser connected to a blank page.
If the bash session was closed and restarted then the orion Welcome page comes up.

I've just tried to replicate but cant - I cant even get it to crash on a used port! But I do have a working orion so it may have passed some initiation point?

If I get time I'll try later on a different machine
Comment 3 John Arthorne CLA 2015-05-05 14:40:05 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html