Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 41365 - Launcher loop behaviour after an un-install/re-install
Summary: Launcher loop behaviour after an un-install/re-install
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.1.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Dorian Birsan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 37686
Blocks:
  Show dependency tree
 
Reported: 2003-08-11 02:46 EDT by Jeff Turnham CLA
Modified: 2004-03-03 13:13 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Turnham CLA 2003-08-11 02:46:57 EDT
The is a problem found during the testing of WSAD 5.1

1.  Install WSAD 5.1 (on Windows)
2.  Start the product to create a workspace
3.  Un-install WSAD 5.1
4.  Re-install WSAD 5.1 to the same location
5.  Try to start the product with the workspace from #2.

The product never comes up but repeatedly keeps showing the splash screen.  
The .log contains a bunch of lines like this:

java.fullversion=J2RE 1.3.1 IBM J9 build 20030702 (JIT enabled)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Command-line arguments: -os win32 -ws win32 -arch x86 -data G:\workspaces\ws1 -
install file:G:/installedWSAD/eclipse/
!ENTRY org.eclipse.core.runtime 2 1 Jul 22, 2003 17:16:51.731
!MESSAGE Problems encountered loading the plug-in registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Jul 22, 2003 17:16:51.731
!MESSAGE Two plug-ins found with the same id: "com.rational.clearcase.help". 
Ignoring duplicate 
at "file:g:/installedWSAD/rational/eclipse/plugins/com.rational.clearcase.help_2
.1.6/plugin.xml".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Jul 22, 2003 17:16:51.731
!MESSAGE Two plug-ins found with the same id: "com.rational.clearcase". 
Ignoring duplicate 
at "file:g:/installedWSAD/rational/eclipse/plugins/com.rational.clearcase_2.2.36
/plugin.xml".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Jul 22, 2003 17:16:51.731
!MESSAGE Two plug-ins found with the same id: "com.ibm.accessibility.doc". 
Ignoring duplicate 
at "file:g:/installedWSAD/wstools/eclipse/plugins/com.ibm.accessibility.doc_5.1.
0/plugin.xml".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Jul 22, 2003 17:16:51.731
!MESSAGE Two plug-ins found with the same id: "com.ibm.debug.help.doc". 
Ignoring duplicate 
at "file:g:/installedWSAD/wstools/eclipse/plugins/com.ibm.debug.help.doc_5.1.0/p
lugin.xml".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Jul 22, 2003 17:16:51.731
!MESSAGE Two plug-ins found with the same id: "com.ibm.debug.javascript.doc". 
Ignoring duplicate 
at "file:g:/installedWSAD/wstools/eclipse/plugins/com.ibm.debug.javascript.doc_5
.1.0/plugin.xml".
!SUBENTRY 1 org.eclipse.core.runtime 2 1 Jul 22, 2003 17:16:51.731

After an un-install, we completely removed the directory and the problem still 
happens, so this is not a case of some remnant from the first install remaining.
This is a problem with the saved state in the workpace.

The workarounds we currently have are:
1) Install to a different location
2) Delete the workspace/.metadata/.config directory.

Marked this as major since it is quite ugly for our customers since one you get 
into the looping state, your only recourse is to kill the eclipse.exe and 
javaw.exe processes.
Comment 1 Dorian Birsan CLA 2003-08-11 08:46:40 EDT
This bug should be fixed once we move the config state out of the workspace.
We have submitted a patch to the Core team and are waiting for its integration 
in a build.
Comment 2 Dorian Birsan CLA 2003-09-02 15:26:44 EDT
I managed to get a different scenario that also exhibits the launcher loop:

1. install a new feature to a different site (say, c:\newEclipse)
2. add a .link (in the links directory) to this new site 
3. restart eclipse.
4. the above results in an infinite restarting loop
Comment 3 Dorian Birsan CLA 2003-09-04 11:45:52 EDT
A fix for 2.1.2 is risky: we don't have a full understanding of the cause and 
the code fixes would involve touching very sensitive code in the startup 
process.
The workarounds mentioned by Jeff should be fine. We will need to add them to 
the README.
Comment 4 stefan berger CLA 2003-10-12 07:57:37 EDT
I have a similar problem, if u have a solution please let me know.
Comment 5 stefan berger CLA 2003-10-12 08:19:44 EDT
similar bug 44716.
Comment 6 Dorian Birsan CLA 2004-03-03 13:13:51 EST
As of latest integration build, Eclipse startup should no longer have a 2-
phase startup that would trigger looping.