Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP problems on Linux
TPTP problems on Linux [message #117611] Thu, 08 November 2007 17:37 Go to next message
Eclipse UserFriend
Originally posted by: p.henriksen.kent.ac.uk

I have trouble running TPTP on my Linux system. I have tried everything
I could think of, so if anyone have suggestions of how to get it working
it would be appreciated. Below I have listed some of the different
things I have tried - if you need more information, please say so.

Thanks,
Poul Henriksen



ATTEMPT 1)


I did a clean install of eclipse and TPTP:
Delete old eclipse install
Delete workspace
Delete .eclipse in home dir

Install Eclipse Europa Fall 2
Using Europa Discovery Site to install TPTP
Selecting everything in Testing and Performance
Press Select Required (which selects only EMF)

Without changing anything, I used the Test Connection in the preferences
of TPTP.
A dialog pops up saying that it couldn't connect to IAC. The exact same
thing happens if I use jdk 1.6.

The log file looks like this:

!SESSION 2007-11-08 16:41:02.134
-----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.ui 4 4 2007-11-08 16:41:20.128
!MESSAGE Invalid preference page path: Cache

!ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.922
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.983
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.990
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:41:25.076
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:41:25.083
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
16:41:25.659
!MESSAGE java.io.IOException:
/opt/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32 _4.4.1.v200709261752/agent_controller/bin/ACStart.sh:
cannot execute
!STACK 0
java.io.IOException: java.io.IOException:
/opt/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32 _4.4.1.v200709261752/agent_controller/bin/ACStart.sh:
cannot execute
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at
org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop.startIAC(AutoStartStop.java:101)
at
org.eclipse.hyades.internal.execution.local.control.NodeImpl .connect(NodeImpl.java:283)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.in secureConnect(BaseConnectUtil.java:369)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:255)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:540)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:201)
at
org.eclipse.hyades.trace.ui.HyadesUtil.testConnection(Hyades Util.java:600)
at
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI$1.run( TraceHostUI.java:511)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.testCo nnection(TraceHostUI.java:494)
at
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.widget Selected(TraceHostUI.java:704)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)

!ENTRY org.eclipse.ui 4 0 2007-11-08 16:41:25.668
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at
org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop.hasProcessTerminated(AutoStartStop.java:275 )
at
org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop.startIAC(AutoStartStop.java:113)
at
org.eclipse.hyades.internal.execution.local.control.NodeImpl .connect(NodeImpl.java:283)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.in secureConnect(BaseConnectUtil.java:369)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:255)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:540)
at
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:201)
at
org.eclipse.hyades.trace.ui.HyadesUtil.testConnection(Hyades Util.java:600)
at
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI$1.run( TraceHostUI.java:511)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.testCo nnection(TraceHostUI.java:494)
at
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.widget Selected(TraceHostUI.java:704)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:65)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)


#####################################################


ATTEMPT 2)


After reading a bit about TPTP, I found out that it might work better if
I manually install TPTP. So I cleaned out everything as before and
reinstalled Eclipse Europa.

Then I downloaded:
tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.4.0.3.zip
I unzipped it into the eclipse installation.

I get the same error dialog appearing as before, but the error log now
looks like this:

eclipse.buildId=M20071023-1652
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.ui 4 4 2007-11-08 16:53:06.575
!MESSAGE Invalid preference page path: Cache

!ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.760
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.852
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.859
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.919
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.update.configurator 2007-11-08 16:53:13.045
!MESSAGE Can't find bundle for base name feature, locale en_US

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
16:53:13.473
!MESSAGE IAC could not be started due to invalid configuration files.


#####################################################


ATTEMPT 3)


Then I decided to give Eclipse Classic a try with manually installing
tptp-allInOne
Again, I tried both Java 5 and 6.

I get the same dialog appearing and the log looks like this:

!SESSION 2007-11-08 16:20:22.823
-----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
16:21:46.092
!MESSAGE IAC could not be started due to invalid configuration files.
Re: TPTP problems on Linux [message #117625 is a reply to message #117611] Thu, 08 November 2007 22:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

For IAC, check to make sure that the executable files have the execute bit
set on them. Check shell files, binary executable files and library files.
I don't have the specific folder names, but they reside in a couple of the
plugin folders.

"Poul Henriksen" <p.henriksen@kent.ac.uk> wrote in message
news:fgvhhl$2ge$1@build.eclipse.org...
> I have trouble running TPTP on my Linux system. I have tried everything
> I could think of, so if anyone have suggestions of how to get it working
> it would be appreciated. Below I have listed some of the different
> things I have tried - if you need more information, please say so.
>
> Thanks,
> Poul Henriksen
>
>
>
> ATTEMPT 1)
>
>
> I did a clean install of eclipse and TPTP:
> Delete old eclipse install
> Delete workspace
> Delete .eclipse in home dir
>
> Install Eclipse Europa Fall 2
> Using Europa Discovery Site to install TPTP
> Selecting everything in Testing and Performance
> Press Select Required (which selects only EMF)
>
> Without changing anything, I used the Test Connection in the preferences
> of TPTP.
> A dialog pops up saying that it couldn't connect to IAC. The exact same
> thing happens if I use jdk 1.6.
>
> The log file looks like this:
>
> !SESSION 2007-11-08 16:41:02.134
> -----------------------------------------------
> eclipse.buildId=M20071023-1652
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.ui 4 4 2007-11-08 16:41:20.128
> !MESSAGE Invalid preference page path: Cache
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.922
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.983
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.990
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:25.076
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:25.083
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
> 16:41:25.659
> !MESSAGE java.io.IOException:
>
/opt/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32 _4.4.1.v20070926
1752/agent_controller/bin/ACStart.sh:
> cannot execute
> !STACK 0
> java.io.IOException: java.io.IOException:
>
/opt/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32 _4.4.1.v20070926
1752/agent_controller/bin/ACStart.sh:
> cannot execute
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> at java.lang.Runtime.exec(Runtime.java:591)
> at java.lang.Runtime.exec(Runtime.java:429)
> at
>
org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop
..startIAC(AutoStartStop.java:101)
> at
>
org.eclipse.hyades.internal.execution.local.control.NodeImpl .connect(NodeImp
l.java:283)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.in secureConnect(Ba
seConnectUtil.java:369)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnec
tUtil.java:255)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnec
tUtil.java:540)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnec
tUtil.java:201)
> at
> org.eclipse.hyades.trace.ui.HyadesUtil.testConnection(Hyades Util.java:600)
> at
>
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI$1.run( TraceHostUI.java
:511)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
>
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.testCo nnection(TraceHo
stUI.java:494)
> at
>
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.widget Selected(TraceHo
stUI.java:704)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:227)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
>
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java
:65)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:546)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:490)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
tionItem.java:402)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
>
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.
java:106)
> at
>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:
169)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(
EclipseAppLauncher.java:106)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAp
pLauncher.java:76)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>
> !ENTRY org.eclipse.ui 4 0 2007-11-08 16:41:25.668
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
> at
>
org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop
..hasProcessTerminated(AutoStartStop.java:275)
> at
>
org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop
..startIAC(AutoStartStop.java:113)
> at
>
org.eclipse.hyades.internal.execution.local.control.NodeImpl .connect(NodeImp
l.java:283)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.in secureConnect(Ba
seConnectUtil.java:369)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnec
tUtil.java:255)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnec
tUtil.java:540)
> at
>
org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnec
tUtil.java:201)
> at
> org.eclipse.hyades.trace.ui.HyadesUtil.testConnection(Hyades Util.java:600)
> at
>
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI$1.run( TraceHostUI.java
:511)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
>
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.testCo nnection(TraceHo
stUI.java:494)
> at
>
org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.widget Selected(TraceHo
stUI.java:704)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:227)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
>
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java
:65)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:546)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:490)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
tionItem.java:402)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
>
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.
java:106)
> at
>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:
169)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(
EclipseAppLauncher.java:106)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAp
pLauncher.java:76)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>
>
> #####################################################
>
>
> ATTEMPT 2)
>
>
> After reading a bit about TPTP, I found out that it might work better if
> I manually install TPTP. So I cleaned out everything as before and
> reinstalled Eclipse Europa.
>
> Then I downloaded:
> tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.4.0.3.zip
> I unzipped it into the eclipse installation.
>
> I get the same error dialog appearing as before, but the error log now
> looks like this:
>
> eclipse.buildId=M20071023-1652
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.ui 4 4 2007-11-08 16:53:06.575
> !MESSAGE Invalid preference page path: Cache
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.760
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.852
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.859
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.919
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:13.045
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
> 16:53:13.473
> !MESSAGE IAC could not be started due to invalid configuration files.
>
>
> #####################################################
>
>
> ATTEMPT 3)
>
>
> Then I decided to give Eclipse Classic a try with manually installing
> tptp-allInOne
> Again, I tried both Java 5 and 6.
>
> I get the same dialog appearing and the log looks like this:
>
> !SESSION 2007-11-08 16:20:22.823
> -----------------------------------------------
> eclipse.buildId=M20070921-1145
> java.version=1.6.0_03
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
> 16:21:46.092
> !MESSAGE IAC could not be started due to invalid configuration files.
Re: TPTP problems on Linux [message #117653 is a reply to message #117611] Fri, 09 November 2007 07:52 Go to previous messageGo to next message
Matthias Wiskow is currently offline Matthias WiskowFriend
Messages: 25
Registered: July 2009
Junior Member
From my recent experiences in struggling with the same problem:
Please check in
<TPTP_Installdir>\eclipse\plugins\org.eclipse.tptp.platform.ac.linux_ia32_ <version>\agent_controller:
- In the bin and lib subfolders, set execute permissions of the files.
- In the lib folder, config.jar is missing. I don't know whether this is
needed when changing the AC Preference settings. It seems so. This may
result is an empty or incomplete serviceconfig.xml in the config subfolder.
- In the config subfolder, grant write permission for all on
serviceconfig.xml. You don't get a message when it cannot be written.
- In the lib subfolder, instead of symbolic links there are copies or
hard links (?) of the different versions of libraries. I can't say
whether this really is a problem. Some of the files look queer. Using
the TPTP AllinOne package avoids this. There the symbolic links are set
correctly.

I recommend to use the TPTP AllinOne package. As far as I can see, it
provides correct file access permissions and symbolic links.

However, for me IAC does not work on Red Hat ELWS 4 upd 5 and SUSE ED
10. I use standalone AC instead.

Also, to sum up some hints I picked from several discussions:
- Check the number of allowed file descriptors. It may be useful to
raise or to remove the limit (cmd: limit descriptors unlimited).
- At the end of eclipse.ini, you may want to add an additional vmargs
argument: -XX:MaxPermSize=256m

HTH,
Matthias

Poul Henriksen wrote:
> I have trouble running TPTP on my Linux system. I have tried everything
> I could think of, so if anyone have suggestions of how to get it working
> it would be appreciated. Below I have listed some of the different
> things I have tried - if you need more information, please say so.
>
> Thanks,
> Poul Henriksen
>
>
>
> ATTEMPT 1)
>
>
> I did a clean install of eclipse and TPTP:
> Delete old eclipse install
> Delete workspace
> Delete .eclipse in home dir
>
> Install Eclipse Europa Fall 2
> Using Europa Discovery Site to install TPTP
> Selecting everything in Testing and Performance
> Press Select Required (which selects only EMF)
>
> Without changing anything, I used the Test Connection in the preferences
> of TPTP.
> A dialog pops up saying that it couldn't connect to IAC. The exact same
> thing happens if I use jdk 1.6.
>
> The log file looks like this:
>
> !SESSION 2007-11-08 16:41:02.134
> -----------------------------------------------
> eclipse.buildId=M20071023-1652
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.ui 4 4 2007-11-08 16:41:20.128
> !MESSAGE Invalid preference page path: Cache
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.922
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.983
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:24.990
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:25.076
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:41:25.083
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
> 16:41:25.659
> !MESSAGE java.io.IOException:
> /opt/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32 _4.4.1.v200709261752/agent_controller/bin/ACStart.sh:
> cannot execute
> !STACK 0
> java.io.IOException: java.io.IOException:
> /opt/eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32 _4.4.1.v200709261752/agent_controller/bin/ACStart.sh:
> cannot execute
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> at java.lang.Runtime.exec(Runtime.java:591)
> at java.lang.Runtime.exec(Runtime.java:429)
> at
> org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop.startIAC(AutoStartStop.java:101)
>
> at
> org.eclipse.hyades.internal.execution.local.control.NodeImpl .connect(NodeImpl.java:283)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.in secureConnect(BaseConnectUtil.java:369)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:255)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:540)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:201)
>
> at
> org.eclipse.hyades.trace.ui.HyadesUtil.testConnection(Hyades Util.java:600)
> at
> org.eclipse.hyades.trace.ui.internal.core.TraceHostUI$1.run( TraceHostUI.java:511)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.testCo nnection(TraceHostUI.java:494)
>
> at
> org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.widget Selected(TraceHostUI.java:704)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:227)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
> org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:65)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>
> !ENTRY org.eclipse.ui 4 0 2007-11-08 16:41:25.668
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop.hasProcessTerminated(AutoStartStop.java:275 )
>
> at
> org.eclipse.tptp.platform.iac.administrator.internal.startst op.AutoStartStop.startIAC(AutoStartStop.java:113)
>
> at
> org.eclipse.hyades.internal.execution.local.control.NodeImpl .connect(NodeImpl.java:283)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.in secureConnect(BaseConnectUtil.java:369)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:255)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:540)
>
> at
> org.eclipse.hyades.security.internal.util.BaseConnectUtil.co nnect(BaseConnectUtil.java:201)
>
> at
> org.eclipse.hyades.trace.ui.HyadesUtil.testConnection(Hyades Util.java:600)
> at
> org.eclipse.hyades.trace.ui.internal.core.TraceHostUI$1.run( TraceHostUI.java:511)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.testCo nnection(TraceHostUI.java:494)
>
> at
> org.eclipse.hyades.trace.ui.internal.core.TraceHostUI.widget Selected(TraceHostUI.java:704)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:227)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
> at org.eclipse.jface.window.Window.open(Window.java:796)
> at
> org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPrefer encesAction.java:65)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>
>
> #####################################################
>
>
> ATTEMPT 2)
>
>
> After reading a bit about TPTP, I found out that it might work better if
> I manually install TPTP. So I cleaned out everything as before and
> reinstalled Eclipse Europa.
>
> Then I downloaded:
> tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.4.0.3.zip
> I unzipped it into the eclipse installation.
>
> I get the same error dialog appearing as before, but the error log now
> looks like this:
>
> eclipse.buildId=M20071023-1652
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.ui 4 4 2007-11-08 16:53:06.575
> !MESSAGE Invalid preference page path: Cache
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.760
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.852
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.859
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:12.919
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.update.configurator 2007-11-08 16:53:13.045
> !MESSAGE Can't find bundle for base name feature, locale en_US
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
> 16:53:13.473
> !MESSAGE IAC could not be started due to invalid configuration files.
>
>
> #####################################################
>
>
> ATTEMPT 3)
>
>
> Then I decided to give Eclipse Classic a try with manually installing
> tptp-allInOne
> Again, I tried both Java 5 and 6.
>
> I get the same dialog appearing and the log looks like this:
>
> !SESSION 2007-11-08 16:20:22.823
> -----------------------------------------------
> eclipse.buildId=M20070921-1145
> java.version=1.6.0_03
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.tptp.platform.iac.administrator 4 0 2007-11-08
> 16:21:46.092
> !MESSAGE IAC could not be started due to invalid configuration files.
Re: TPTP problems on Linux [message #117930 is a reply to message #117653] Sun, 11 November 2007 17:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: p.henriksen.kent.ac.uk

Hi,

Thanks for the pointers!

I finally managed to get it working (not with the eclipse update
though). It seems that the problem was related to wrong file permissions
on all the configuration files. I usually install eclipse as root, and
then run it from my user account. So far this has worked fine, but it
seems to be a problem when using TPTP.

So, the problem can be solved by either granting write permissions to
all on all the configuration files (serviceconfig.xml and
pluginconfig.xml) or installing Eclipse from the user account.

Thanks,
Poul
Re: TPTP problems on Linux [message #118044 is a reply to message #117930] Mon, 12 November 2007 21:04 Go to previous messageGo to next message
Matthias Wiskow is currently offline Matthias WiskowFriend
Messages: 25
Registered: July 2009
Junior Member
Thanks for the hint about pluginconfig.xml. I was not aware of this.

I found out that my hint about missing config.jar was wrong. Hence I
withdraw it :-)

It seems that TPTP is not well suited for so called shared
installations, i.e. for example TPTP installed by root at a shared
location and used by restricted users from different hosts.

As for IAC, I think configuration files should be maintainable per user.
Different users may want to use a shared TPTP installation on different
Linux hosts which probably provide different JREs. Having just one
central configuration file would be bad then.

Also I don't see why pluginconfig.xml (which one exactly?) must be
writable for the user in order that IAC works.
Could some expert please shed some light on this?

Thanks,
Matthias

Poul Henriksen schrieb:
> Hi,
>
> Thanks for the pointers!
>
> I finally managed to get it working (not with the eclipse update
> though). It seems that the problem was related to wrong file permissions
> on all the configuration files. I usually install eclipse as root, and
> then run it from my user account. So far this has worked fine, but it
> seems to be a problem when using TPTP.
>
> So, the problem can be solved by either granting write permissions to
> all on all the configuration files (serviceconfig.xml and
> pluginconfig.xml) or installing Eclipse from the user account.
>
> Thanks,
> Poul
Re: TPTP problems on Linux [message #118147 is a reply to message #118044] Tue, 13 November 2007 20:41 Go to previous message
Eclipse UserFriend
Originally posted by: p.henriksen.kent.ac.uk

The reason that pluginconfig.xml and serviceconfig.xml files need to be
writable by the user, is that almost all of the files are empty after a
fresh install of TPTP. They are written at some point when TPTP is
started/configured through eclipse.

There also seems to be some inconsistency in the permissions. From this
command with a fresh install:

ls -l `find -name pluginconfig.xml`

I get this output:

-rw-r--r-- 1 root root 0 Sep 26 18:45
../plugins/org.eclipse.hyades.execution_4.4.1.v200709261752/ config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:46
../plugins/org.eclipse.hyades.logging.adapter_4.3.0.v2007060 10100/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:45
../plugins/org.eclipse.hyades.logging.core_4.3.101.v20070926 1752/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:46
../plugins/org.eclipse.hyades.logging.parsers_4.3.101.v20070 9191245/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:46
../plugins/org.eclipse.hyades.perfmon.agents_4.0.0/config/pl uginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:47
../plugins/org.eclipse.hyades.test.core_4.2.201.v20070926175 2/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:47
../plugins/org.eclipse.hyades.test.tools.core_4.4.1.v2007092 61752/config/pluginconfig.xml
-rw-r--r-- 1 root root 957 Sep 26 18:46
../plugins/org.eclipse.tptp.monitoring.instrumentation_4.3.1 .v200709261752/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:45
../plugins/org.eclipse.tptp.platform.collection.framework_4. 2.101.v200709261752/config/pluginconfig.xml
-rw-r-xr-- 1 root root 1137 Sep 27 02:07
../plugins/org.eclipse.tptp.platform.jvmti.runtime_4.4.1.v20 0709261752/agent_files/linux_em64t/config/pluginconfig.xml
-rw-r-xr-- 1 root root 1137 Sep 27 02:07
../plugins/org.eclipse.tptp.platform.jvmti.runtime_4.4.1.v20 0709261752/agent_files/linux_ia32/config/pluginconfig.xml
-rwxrwxr-x 1 root root 1068 Sep 27 02:07
../plugins/org.eclipse.tptp.platform.jvmti.runtime_4.4.1.v20 0709261752/agent_files/win_em64t/config/pluginconfig.xml
-rwxrwxr-x 1 root root 1068 Sep 27 02:07
../plugins/org.eclipse.tptp.platform.jvmti.runtime_4.4.1.v20 0709261752/agent_files/win_ia32/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 22:45
../plugins/org.eclipse.tptp.platform.jvmti.runtime_4.4.1.v20 0709261752/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:45
../plugins/org.eclipse.tptp.platform.logging.events_4.3.101. v200709261752/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:47
../plugins/org.eclipse.tptp.test.tools.junit.plugin_4.4.1.v2 00709261752/config/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:47
../plugins/org.eclipse.tptp.trace.arm_4.3.1.v200709261752/co nfig/pluginconfig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:46
../plugins/org.mx4j.jmx_3.0.3.v200709261752/config/plugincon fig.xml
-rw-r--r-- 1 root root 0 Sep 26 18:47
../plugins/org.opengroup.arm_4.0.1.v200709261752/config/plug inconfig.xml

Most of them have a size of zero, and the files in agent_files have
different permissions from the rest of the files.

After running eclipse with tptp, none of the files have a size of zero
anymore - so I guess all of them have to be writable.

Poul

Matthias Wiskow wrote:
> Thanks for the hint about pluginconfig.xml. I was not aware of this.
>
> I found out that my hint about missing config.jar was wrong. Hence I
> withdraw it :-)
>
> It seems that TPTP is not well suited for so called shared
> installations, i.e. for example TPTP installed by root at a shared
> location and used by restricted users from different hosts.
>
> As for IAC, I think configuration files should be maintainable per user.
> Different users may want to use a shared TPTP installation on different
> Linux hosts which probably provide different JREs. Having just one
> central configuration file would be bad then.
>
> Also I don't see why pluginconfig.xml (which one exactly?) must be
> writable for the user in order that IAC works.
> Could some expert please shed some light on this?
>
> Thanks,
> Matthias
>
> Poul Henriksen schrieb:
>> Hi,
>>
>> Thanks for the pointers!
>>
>> I finally managed to get it working (not with the eclipse update
>> though). It seems that the problem was related to wrong file
>> permissions on all the configuration files. I usually install eclipse
>> as root, and then run it from my user account. So far this has worked
>> fine, but it seems to be a problem when using TPTP.
>>
>> So, the problem can be solved by either granting write permissions to
>> all on all the configuration files (serviceconfig.xml and
>> pluginconfig.xml) or installing Eclipse from the user account.
>>
>> Thanks,
>> Poul
Previous Topic:CompilatioUnit.getCommentList(); - Where are the comments???
Next Topic:EclipseCon 2008: Only 5 days remaining to propose a talk or tutorial!!!
Goto Forum:
  


Current Time: Thu Mar 28 21:09:17 GMT 2024

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

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

Back to the top