- This topic has 3 replies, 2 voices, and was last updated 20 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
Martin_KerstenMemberI tried to deploy things using tomcat 5.0. It only fails on removing or redeloying so I consider my settings are right. The project is a simple
on – I’ve just created web modul project called my.test.project and added a servlet called TestServlet. Deployment worked fine using packaged version but hitting redelopyment I got a warning sign and removing fails this way:Are there any workarounds? How can I get rid of this failed deployment entry. Since only one Tomcat 5.0 deployment can be managed, I am stuck. I hope the new deployment manager will comes ASAP 🙂 What a fuzz!
The error-log reads:
java.lang.NullPointerException
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.Ä„(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$1(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$4.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2311)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1992)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:586)
at org.eclipse.jface.window.Window.open(Window.java:566)
at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWithEvent(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:261)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:207)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:509)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:461)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:433)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2311)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1992)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
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:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
Martin_KerstenMemberIt looks like the deployment entry was already deleted but the manager didn’t recognized it. After I’ve restarted eclipse everything was ok and the entry disappeared.
Riyad KallaMemberMartin,
As you found, restarting is the correct way to get rid of failed deployments. The revised deployment tool in 3.7GA will offer much more information to the user as to why the deployment failed.If you are on windows, I am almost certain your deployment failed due to a file lock.
Riyad KallaMemberMartin,
I’ve closed this as you found the only workaround for the existing problem.If you run into this problem again with 3.7 GA (we are looking at a release later tonight) please create a new thread and we will address it ASAP. -
AuthorPosts