Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 242621 - IAC could not be started due to invalid configuration files
Summary: IAC could not be started due to invalid configuration files
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Joel Cayne CLA
QA Contact:
URL:
Whiteboard: adopter closed472
Keywords:
: 306703 (view as bug list)
Depends on: 247352 311387
Blocks:
  Show dependency tree
 
Reported: 2008-07-30 15:38 EDT by Reto Urfer CLA
Modified: 2016-05-05 11:02 EDT (History)
7 users (show)

See Also:


Attachments
serviceconfig.xml from the shared installation (7.18 KB, text/xml)
2008-07-31 19:37 EDT, Reto Urfer CLA
no flags Details
Service config in Eclipse installation plugins dir. (6.29 KB, text/plain)
2011-04-15 06:31 EDT, Radek Adamiak CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reto Urfer CLA 2008-07-30 15:38:25 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1. Install Eclipse SDK using p2installer and choose "shared install"
2. Install TPTP features from "Ganymede" site uder "Help->Software Updates..."
3. Open Preferences, go to "Agent Controller"->Hosts, choose localhost[10002] and click on "Test Connection Button"

You get a "Security Message" box poped up containing:
Connection failed on host localhost.

Reason: IWAT0284E The Agent Controller is not available on localhost.


The Errorlog view contains the following two entries:

null
Error
Wed Jul 30 21:26:44 CEST 2008
IAC could not be started due to invalid configuration files.


null
Error
Wed Jul 30 21:26:44 CEST 2008
Execution framework config file is invalid.  This could be caused by the execution plugin checked out in your workspace.



More information:

1) A serviceconfig.xml has been created in the plugins config directory but no servicelog.log

2) If you start now ACServer.exe manually and click again on "Test Connection Button" you get "Connection Success." and everything seems to be fine.

3) If you create a standalone installation using tptp.runtime.allInOne.win32.win32.x86-TPTP-4.5.0.zip and repeat the test procedure, you get "Connection Success." and everything seems to be fine.


It seems, that IAC can not be started in a shared installation environment but there is no problem in a standalone installation!
Comment 1 Bing Xu CLA 2008-07-31 16:44:15 EDT
(In reply to comment #0)
> Build ID: I20080617-2000
> Steps To Reproduce:
> 1. Install Eclipse SDK using p2installer and choose "shared install"
> 2. Install TPTP features from "Ganymede" site uder "Help->Software Updates..."
> 3. Open Preferences, go to "Agent Controller"->Hosts, choose localhost[10002]
> and click on "Test Connection Button"

Can you attach the serviceconfig.xml created by this installation?  IAC currently has some limitations on where plugins should be installed.
Comment 2 Reto Urfer CLA 2008-07-31 19:37:47 EDT
Created attachment 108912 [details]
serviceconfig.xml from the shared installation
Comment 3 Bing Xu CLA 2008-08-13 11:59:58 EDT
Which JVM your eclipse workbench is using? Can you give me the path to the JVM?
Comment 4 Reto Urfer CLA 2008-08-13 13:34:23 EDT
I use xdt Eclipse Launcher to start the Eclipse IDE. It uses the following command used to start Eclipse:

D:\Daten\eclipse34\Test\eclipse.exe -vm D:\Tools\J2SE\6.0\jre\bin\javaw.exe -data "D:\Daten\eclipse34\Test\workspace" -showlocation  -vmargs -Xmx512m -XX:MaxPermSize=128m -Dcom.sun.management.jmxremote=true
Comment 5 Bing Xu CLA 2008-08-14 10:11:38 EDT
That error message means the JVM used by Eclipse and IAC are different.  What's the output of you 'java -version'?
Comment 6 Reto Urfer CLA 2008-08-14 12:09:53 EDT
'java -version' =>

java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
Comment 7 Bing Xu CLA 2008-09-10 10:19:23 EDT
Can you tell me the installation directory of these:

1. Eclipse 
2. IAC plugin.  For Windows, the name is org.eclipse.tptp.platform.ac.win_ia32_XXXX
3. The hyades execution plugin.  The name is org.eclipse.hyades.execution_4.4.200.XXXX

And can you check if there is a config/pluginconfig.xml under your hyades execution plugin.
Comment 8 Reto Urfer CLA 2008-09-15 13:15:41 EDT
1. Eclipse -> D:\Tools\eclipseGanymede\p2installer\p2\org.eclipse.equinox.p2.touchpoint.eclipse\plugins

2. IAC plugin -> D:\Tools\eclipseGanymede\p2installer\p2\org.eclipse.equinox.p2.touchpoint.eclipse\plugins

3. The hyades execution plugin -> D:\Tools\eclipseGanymede\p2installer\p2\org.eclipse.equinox.p2.touchpoint.eclipse\plugins
Comment 9 Bing Xu CLA 2008-09-15 13:39:15 EDT
What's the size of the D:\Tools\eclipseGanymede\p2installer\p2\org.eclipse.equinox.p2.touchpoint.eclipse\plugins\org.eclipse.hyades.execution_4.4.200xxxxx\config\pluginconfig.xml file?


And can you check if D:\Daten\eclipse34\Test\workspace's Installed JVM under Preference->Java is D:\Tools\J2SE\6.0\jre?
Comment 10 Reto Urfer CLA 2008-09-15 13:56:15 EDT
size of pluginconfig.xml: 1'243 bytes

The default JRE is installed under : D:\Tools\J2SE\6.0\jre
but i have also another JRE defined (D:\Tools\J2SE\5.0\jre).
Comment 11 Kathy Chan CLA 2009-02-23 13:42:17 EST
Mass update of P1 enhancements and defects targetted to future to P2.
Comment 12 Paul Slauenwhite CLA 2009-07-02 14:13:51 EDT
Kathy, please triage.
Comment 13 Michael Woski CLA 2009-12-12 16:15:09 EST
the problem still exists in recent helios milestone builds ...
I still have to work with an external agent controller instead.
Comment 14 Joel Cayne CLA 2010-03-10 16:41:33 EST
This appears to be caused by IBundleGroupProvider.getBundleGroups() not returning the installed bundles as described in bug 247352.
Comment 15 Joel Cayne CLA 2010-03-31 08:42:11 EDT
*** Bug 306703 has been marked as a duplicate of this bug. ***
Comment 16 Paul Slauenwhite CLA 2010-03-31 09:00:14 EDT
Kathy, can we get this bug targeted to 470 and prioritized to P1?
Comment 17 Paul Slauenwhite CLA 2010-04-14 16:22:36 EDT
Joel, what is your sizing for this defect?
Comment 18 Joel Cayne CLA 2010-06-03 15:51:45 EDT
For a shared installation to install the features, as suggested by the p2 team add org.eclipse.update.install.features=true to the
installer.properties. The bundles not being found in the shared installed will be updated based on results of the p2 bugs: bug 311387 and bug 236709.

The bug for the consuming product from bug 306703 appears to be specific to the consuming product.
Comment 19 Paul Slauenwhite CLA 2010-06-23 14:08:46 EDT
(In reply to comment #18)
> For a shared installation to install the features, as suggested by the p2 team
> add org.eclipse.update.install.features=true to the
> installer.properties. The bundles not being found in the shared installed will
> be updated based on results of the p2 bugs: bug 311387 and bug 236709.
> 
> The bug for the consuming product from bug 306703 appears to be specific to the
> consuming product.

After an internal investigation of the consuming product, it was determined that this symptom in the consuming product was caused by Equinox defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=316650.
Comment 20 Kathy Chan CLA 2011-02-11 13:34:59 EST
This defect had been resolved as WORKSFORME for more than 1 month.  Closing this on the reporter's behalf.  Please verify with the latest TPTP 4.7.2 driver and re-open if this is still a problem.  TPTP 4.7.2 driver can be downloaded from:

http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Comment 21 Kathy Chan CLA 2011-02-11 13:56:27 EST
Closing in TPTP 4.7.2 release.
Comment 22 Kathy Chan CLA 2011-02-11 13:57:06 EST
Updating status whiteboard.
Comment 23 Radek Adamiak CLA 2011-04-15 06:31:19 EDT
Created attachment 193346 [details]
Service config in Eclipse installation plugins dir.
Comment 24 Radek Adamiak CLA 2011-04-15 06:34:04 EDT
I got this issue in TPTP 4.7.2 with Eclipse Helios.

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

I run setConfig but it doesn't fix the problem.
The difference to this bug is that this is not shared installation. This is regular installation (both Eclipse and TPTP)
Comment 25 Paul Slauenwhite CLA 2011-04-20 11:16:46 EDT
(In reply to comment #23)
> Created attachment 193346 [details]
> Service config in Eclipse installation plugins dir.

Radek, see http://www.eclipse.org/tptp/home/project_info/devplans/EclipseTPTPProjectPlan2010.htm.