facebook

Can’t Deploy J2EE Project to Tomcat [Closed]

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

    rblee
    Member

    (Eclipse 3.1M5a, MyEclipse 3.8.4, Tomcat 5.0_28, JDK 1.4.2_07)

    When I click the “Deploy J2EE…” button the drop down doesn’t contain any of my four projects.

    1. I created the projects using the MyEclipse J2EE/Web Project option
    2. Tomcat 5 is enabled using Window/Preferences/MyEclipse/Application Servers/Tomcat5
    3. I can run the projects using Eclipse’s debug… menu option (with lots of configuration, of course)

    I’ve followed the documentation <http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/appservers/index.html&gt; very carefully (or so I think).

    Examining the logs, this is what I see whenever Exclipse is started:

    !SESSION 2005-03-08 15:34:19.134 ———————————————–
    eclipse.buildId=I20050219-1500
    java.version=1.4.2_07
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.ui 4 4 2005-03-08 15:34:19.134
    !MESSAGE Could not create action delegate for id: com.genuitec.myeclipse.deploy.action.deployaction

    !ENTRY org.eclipse.ui 4 4 2005-03-08 15:34:19.150
    !MESSAGE Internal plug-in action delegate error on creation.
    !STACK 0
    java.lang.LinkageError: loader constraints violated when linking org/xml/sax/EntityResolver class
    at org.jdom.input.SAXBuilder.configureParser(SAXBuilder.java:506)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:351)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:673)
    at com.genuitec.eclipse.j2eedt.metadata.ProjectModule.unmarshal(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProject.loadMetaData(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.WebProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.WebProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProjectsList(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProject(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.selectionChanged(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:195)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:117)
    at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:265)
    at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:288)
    at org.eclipse.ui.internal.AbstractSelectionService$3.run(AbstractSelectionService.java:160)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:158)
    at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:66)
    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:161)
    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1676)
    at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:935)
    at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:961)
    at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:209)
    at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:204)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:364)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
    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.invokeFramework(Main.java:268)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
    at org.eclipse.core.launcher.Main.run(Main.java:887)
    at org.eclipse.core.launcher.Main.main(Main.java:871)

    Help would be greatefully appreciated. Thanks in advance!!!

    #226356 Reply

    Riyad Kalla
    Member

    (Eclipse 3.1M5a, MyEclipse 3.8.4, Tomcat 5.0_28, JDK 1.4.2_07)

    MyEclipse 3.8.4 BETA is only supported on Eclipse 3.1M4, not M5a. Please downgrade and be sure to run Eclipse atleast once with -clean to let it rebuild your plugin cache in the workspace dir.

    #226422 Reply

    rblee
    Member

    The deploy button is behaving properly after reverting to Eclipse 3.1M4.

    Thanks!

    #226425 Reply

    Riyad Kalla
    Member

    Glad it is working now.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Can’t Deploy J2EE Project to Tomcat [Closed]

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