For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 3 voices, and was last updated 21 years, 5 months ago by
Riyad Kalla.
-
AuthorPosts
-
mlrMemberHi,
I installed Eclipse 3.1, Tomcat 5.0, MyEclipse 3.8.4 beta for 3.1.
I can start the tomcat server from myeclipse. I created a web project but when I choose the ‘Deploy J2EE Project to Server’ the dropdown listbox which should containt projects is empty. Any suggestions ?
Kind regards
Marco Laponder
mlr AT interchani DOT nlFebruary 25, 2005 at 10:16 am #225771
Riyad KallaMemberIf your project is an EJB or Enterprise project the drop down will only show you application servers that are capable of accepting the deployment… Tomcat in this case cannot accept EJB or enterprise projects, it is a Servlet container. Please use JBoss if you need a full J2EE server.
February 28, 2005 at 8:23 am #225858
puupuksMemberJBoss is not a “full J2EE server”, it has still Tomcat for servlet container.
But. I have project that is “Web Project”. And I also cannot deploy to Tomcat. Why?
Eclipse: 3.1.0 M4a
MyEclipse: 3.8.4 (for 3.1)
Tomcat: 5.5.7With previous version of platform (Eclipse 3.0.1, MyEclipse 3.8.4, Tomcat 5.0) it worked. I think it is bug, not feature.
February 28, 2005 at 8:29 am #225860
Riyad KallaMemberJBoss is not a “full J2EE server”, it has still Tomcat for servlet container.
It uses Tomcat *as* it’s servlet contained (or Jetty), but it is a full J2EE server regardless. There seem to be politics/$$$ as to why it hasn’t been certified J2EE compliant yet though.
But. I have project that is “Web Project”. And I also cannot deploy to Tomcat. Why?
Navigate to your Window > Prefs > MyEclipse > App Server > Tomat 5 settings, make sure Tomcat 5 is still “Enabled” and setup correctly. Try and Disable it, hit Apply, then reenable it and hit Apply… I wonder if preferences got screwed up somehow…
February 28, 2005 at 8:55 am #225863
puupuksMemberDisabling and enabling does not help.
I am trying to use unstable Eclipse (version 3.1M5a) and it is possible that problem is there. But I need JDK 1.5 for annotations and other new features.When I restart Eclipse and just click on the web project (in package explorer) then I get error and in log file (workspace/.metadata/.log):
!ENTRY org.eclipse.ui.workbench 4 2 2005-02-28 16:51:39.353
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
!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.selectionChanged(PluginAction.java:267)
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:585)
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)February 28, 2005 at 10:44 am #225871
Riyad KallaMemberam trying to use unstable Eclipse (version 3.1M5a)
ok this is the problem, above you said 3.1M4, that is supported, 3.1M5a is not.
-
AuthorPosts
