- This topic has 2 replies, 2 voices, and was last updated 20 years, 11 months ago by Scott Anderson.
-
AuthorPosts
-
chrishMemberHello,
I’m Chris and I’m new around here :).
I’ve just instaled MyEclipse on Linux. Everything goes smoothly as long as I run it as root. If I try another user, I cannot start JBoss4. There’s no output on the console, so I cannot figure out what’s wrong with it.
The user I use (not root) has all required permissions to launch and read all files from all directories used (eclipse, MyEclipse, jboss etc).Thanx in advance for any tips.
Cheers
Chris
chrishMemberHi again,
I managed to find a bit more info. There’re two entries in the error log:
The first is:
com.genuitec.eclipse.core.S: Invalid thread state detected on read.
at com.genuitec.eclipse.core.O.Ą(Unknown Source)
at com.genuitec.eclipse.core.O.ā(Unknown Source)
at com.genuitec.eclipse.core.M.ā(Unknown Source)
at com.genuitec.eclipse.core.M.ā(Unknown Source)
at com.genuitec.eclipse.core.ViperCore.Ĕ(Unknown Source)
at com.genuitec.eclipse.core.ViperCore.ē(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.ā(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.ā(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.preRunValidate(Unknown Source)
at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:923)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1847)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1639)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)and the second:
“Unhadnled exception caught in event loop”
Chris
Scott AndersonParticipantChris,
I’m Chris and I’m new around here .
Everyone, this is Chris. Please be nice to him. 🙂
Now to your problem. Since it works as root, I’ll suggest two fixes. The recommended one is to install everything as the user that will be running the application. Of course, this will require a full uninstall and reinstall. Another option is to loosen the parameters on the installed files to read/write for the group (if you’re in the same group as root) or for everyone in each of the installs. Something like:
cd <eclipse-dir>;chmod -R o +w, if my old unix skills suffice. I’d do the same on the JBoss and MyEclipse install dirs too. Either option should solve the problem.–Scott
MyEclipse Support -
AuthorPosts