For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 3 voices, and was last updated 21 years, 11 months ago by
Riyad Kalla.
-
AuthorPosts
-
eocallaghanMemberWhat operating system and version are you running?
– Windows NT4.0What Eclipse version and build id are you using? (Help > About Eclipse Platform)
-Eclipse 3.0 M6– Was Eclipse freshly installed for MyEclipse?
– Yes– Are any other external plugins installed?
– No– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
-8What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
– Version: 3.0.0
Build id: 200312182000What JDK version are you using to run Eclipse? (java -version)
j2sdk1.4.2_03What JDK version are you using to launch your application server?
j2sdk1.4.2_03What steps did you take that resulted in the issue?
Tried to redeploy a WAR file. Restarted TomCat,EclipseWhat application server are you using?
tomcat5Are there any errors in the Eclipse log? (<workspace>/.metadata/.log)
No————————————————-
MyEclipse failed to redeploy even though the virus scanner was disabled…..Was working OK and then stopped working. Was also using Packaged instead of Exploded when deploying.
Had to delete files from the Tomcat directory and close Eclipse down and Stop and Start Tomcat. Then the deploy would work again but only for a short time.February 27, 2004 at 10:16 am #204025
Riyad KallaMemberThis is a very difficult problem to fix, the reason is file locks performed by Tomcat. The problem is that if you do exploded deployment, Tomcat will lock your libraries (JARs) causing consecutive deployments to fail. Sometimes this fails right away, othertimes it takes longer.
With packaged deployment, the chances are slimmer that you will run into this problem, but still Tomcat will get a lock on the deployed JAR when it uncompresses it and it seems sometimes the locks don’t expire in a timely fashion. I run into this problem a lot as well and its not MyEclipse’s deployment fault, as when I drop to the command line or open up Windows Explorer, I cannot delete the file ‘because its currently in use’.
We are, however, working hard on making this process more streamlined. 2.7 GA will include improvements in this area (more user feedback) and 2.8 will include more features related to deployment. I don’t know if this is helpful, but I didn’t seem to run into any deployment problems with Tomcat 5.0.14, but since Tomcat 5.0.16 and up (5.0.18) I run into deployment problems all of the time. I’m wondering if Tomcat’s file handling code for the JAR files has changed?
February 27, 2004 at 10:16 am #204026
Riyad KallaMemberLet me know if its alright to close this thread.
March 2, 2004 at 7:40 pm #204208
Alejandro RicoMemberHello;
I have a similar problem; I can not remove the Deployment.
OS: W2K
Eclipse: 3.0M6
Eclipse Freshly Installed for MyExclipse: Yes
Other Plugins Installed: Lomboz
How Many plugins like org.eclipse.pde: 8
Version: 3.0.0
Build id: 200312182000
JDK: j2re1.4.2_01
App Server: Tomcat 5.0.19(My default Language in W2K is Spanish)
When I try to Delete the Deployment thru the Dialog from
MyEclipse –> Add/Remove-DeploymentsSelecting Tomcat 5 and Pressing the Button [Remove] I get the folowing Exception in Error Log:
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.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:509)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:461)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:408)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)Saludos
March 2, 2004 at 9:32 pm #204211
Riyad KallaMemberSaludos,
If you run into the situation where you cannot remove the deployment, just restart Eclipse and the faulty deployment will be gone. Let me know if this works.March 3, 2004 at 10:21 am #204235
Alejandro RicoMemberThanks,
Yesterday I had previously Closed and Reopen Eclipse and the situation remained; but today -as you said- the problem is gone. 8)
Saludos
March 3, 2004 at 11:37 am #204241
Riyad KallaMemberI always say a little prayer before doing it 😀
-
AuthorPosts
