facebook

Problem starting JBoss4 on Linux.

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #201135 Reply

    chrish
    Member

    Hello,

    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

    #201136 Reply

    chrish
    Member

    Hi 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

    #201145 Reply

    Scott Anderson
    Participant

    Chris,

    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

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Problem starting JBoss4 on Linux.

You must be logged in to post in the forum log in