facebook

Tomcat 5 Deployment Problem

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #219163 Reply

    LukeMauldin
    Member

    Hello, I am using MyEclipse 3.8.2 for Linux, with Eclipse version 3.0.1 for Linux. I am trying to run a simple HelloWorld.jsp page, like the one in the tutorial. I have setup tomcat 5 in perferences and deployed my application to tomcat 5, but when I try to start tomcat 5 it gives me the following error message: A configuration error occurred during startup. Please verify the preference field with the prompt: Exception occurred executing command line.
    As far as setting up tomcat I do not have anything at all in the line for “optional program arguments”. Can someone please help me out?

    Luke Mauldin

    #219182 Reply

    Riyad Kalla
    Member

    Luke,
    Hopefully there will be more information in your log file to helps out… please check it:
    <workspace dir>\.metadata\.log

    Look for exceptions related to the starting of Tomcat and such.

    #219184 Reply

    LukeMauldin
    Member

    All that was on the command line when I tried to start tomcat was:
    !ENTRY com.genuitec.eclipse.easie.tomcat5 1 1 Nov 09, 2004 12:08:23.81
    !MESSAGE Error stopping Tomcat: Exception occurred executing command line
    However, I rebooted and for some reason it works fine now? However, I checked the log again and I am getting a reoccurring error message:
    !SESSION Nov 09, 2004 14:27:23.576 ———————————————
    eclipse.buildId=200409161125
    java.version=1.4.2_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US

    !ENTRY org.eclipse.ui 4 4 Nov 09, 2004 14:27:23.578
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 Nov 09, 2004 14:27:23.592
    !MESSAGE Invalid thread state detected on write.
    !STACK 0
    com.genuitec.eclipse.core.GenuitecCoreRTException: Invalid thread state detected on write.
    at com.genuitec.eclipse.core.D.ă(Unknown Source)
    at com.genuitec.eclipse.core.D.Ą(Unknown Source)
    at com.genuitec.eclipse.core.D.ą(Unknown Source)
    at com.genuitec.eclipse.core.C.Ċ(Unknown Source)
    at com.genuitec.eclipse.core.C.<init>(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.Ċ(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.Ċ(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.isLicenseValid(Unknown Source)
    at com.genuitec.eclipse.core.vU.�(Unknown Source)
    at com.genuitec.eclipse.core.vU.B__111164asdlkfjw2asl_23(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.isLicenseValid(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.isLicenseValid(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.preRunValidate(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingAction.run(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$500(ActionContributionItem.java:47)
    at org.eclipse.jface.action.ActionContributionItem$8.handleEvent(ActionContributionItem.java:824)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    Everything seems to be working fine, but I do not know why that error message is there?

    Luke Mauldin

    #219188 Reply

    Riyad Kalla
    Member

    That error will occur if you are using the Trial of MyEclipse under Linux where Eclipse and MyEclipse are installed as different users OR you are trying to use MyEclipse as a differnet user than it was installed as. If you purchase a subscription, playing with the permissions is a little more forgiving, but until then we always suggest installing Eclipse and MyEclipse under your $HOME dir as yourself until you decide if you like it or not.

    #219191 Reply

    LukeMauldin
    Member

    I see. I am planning on purchasing MyEclipse fairly soon, I just got it setup yesterday but I already really like it. I did install it as root and now I am using it under a different user name. Is this error actually going to be noticable in the program or not?

    Luke Mauldin

    #219194 Reply

    Riyad Kalla
    Member

    I’m not sure how it manifests itself in the program, IIRC it does cause some things to break and might give you a “buggy” experience… since everything is stored in your workspace, installing new copies of Eclipse/MyEclipse is no big deal, just point them at the same workspace and they will behave exactly the same.

    #219202 Reply

    LukeMauldin
    Member

    Is there any way I can just configure those variables in the program without reinstalling MyEclipse and Eclipse?

    Luke Mauldin

    #219205 Reply

    Riyad Kalla
    Member

    Is there any way I can just configure those variables in the program without reinstalling MyEclipse and Eclipse?

    I don’t follow… what variables?

    #219206 Reply

    LukeMauldin
    Member

    Oh, I misread one of your earlier statements. I didn’t realize I would completely have to reinstall eclipse and myeclipse. I see now. Will purchasing the program make it where I do not have to do that?

    Luke Mauldin

    #219210 Reply

    Riyad Kalla
    Member

    Luke,
    Yes purchasing a subscription does make the license manager back off the user restriction (that is why installing/running as diff users causes these exceptions) a little bit, enough to do the setup you are attempting (we just helped a user on Gentoo setup Eclipse as root (emerged from portage) and MyEclipse installed as Root, but he was running as user and pointing to his own workspace).

    If you are hesitant about purchasing, I would still encourage you to reunzip Eclipse and MyEclipse to your home dir and just run it like that for a week, see if it fits your needs.

    #219215 Reply

    LukeMauldin
    Member

    I am actually a gentoo user, using eclipse emerged from portage, so eclipse and myeclipse are both installed as root but I’m trying to run as a different user. I would be interested in knowing how you were able to get that setup.

    Luke Mauldin

    #219216 Reply

    Riyad Kalla
    Member
Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Tomcat 5 Deployment Problem

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