- This topic has 3 replies, 2 voices, and was last updated 18 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
tbarlottaMemberI recently upgraded to 5.0 (Eclipse 3.2.0 M2006069-1905 w/ MyEclipse 20060805-5.0-GA). Previously I was working with one of the milestone builds (4.9.x) with no issues.
However, after the upgrade I am unable to deploy my .ear file. I am also not able to export it. The export fails with no message (unless you look in the Error List View) and no .ear file created. The deploy, when deploying as exploded (packaged has the same problem as export), deploys most of my files but errors out on a .jar file creating a 0KB .jar. Subsequent (I assume) .jar files are not deployed. The .jar file that the error occurs on is the same in both instances.
My Project structure:
Enterprise Project
– EJB Project
– referes to 4 other poojects
– Web Project
– refers to 6 other projects (including the EJB project)The deployment is set up like the following:
– EAR Project: Jar dependent Java Projects (see Noticed) IS selected
– EJB Project: Ignore
– Web Project: Ignore; Jars in Web Project’s user libraries IS checked(I have tried a number of other combinations without success)
Contents of .log file in .metadata:
!ENTRY org.eclipse.wst.internet.cache 1 0 2006-08-11 08:51:04.200 !MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed. !ENTRY com.genuitec.eclipse.ast.deploy.core 1 0 2006-08-11 08:55:37.562 !MESSAGE Deploy failed !STACK 0 com.genuitec.eclipse.core.GenuitecCoreException: Exception deploying EJB-delegate at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.privExportWebProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.privExportWebProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.packageModules(Unknown Source) at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.exportEARProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.DeploymentPackager.exportEARProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.EARDeployment.deployAsPackageArchive(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source) at com.genuitec.eclipse.export.wizard.EARExportWizardPage.finish(EARExportWizardPage.java:329) at com.genuitec.eclipse.export.wizard.EARExportWizard.performFinish(EARExportWizard.java:58) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355) at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ui.actions.ExportResourcesAction.run(ExportResourcesAction.java:180) at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 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:589) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: org.eclipse.core.runtime.CoreException: Exception deploying EJB-delegate at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer$1.run(Unknown Source) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719) ... 46 more
The project .jar that causes the issue is only used by the Web Project and contains delegate layer used to wrap EJB calls. I am using JBoss 4.0.4 (patch1). Let me know if I can provide anything else.
Thanks
tbarlottaMemberQuick update:
I have run eclipse.exe -clean
I start eclipse normally with these options (MyEclipse recommended them):
eclipse.exe -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
tbarlottaMemberSecond update:
This issue seems to be very similar to the issue mentioned in this thread, except that I am trying to deploy an .ear.
http://myeclipseide.com/PNphpBB2+file-viewtopic-t-13765.htmlI actually get the error message in .log when trying to deploy a packaged .ear file or if I export the file. If I deploy and exploded .ear, it fails with the 0KB .jar and doesn’t complete the deploy.
Sometimes I get the stack trace mentioned in the first post and sometimes I get this stack trace.
com.genuitec.eclipse.core.GenuitecCoreException: Exception deploying EJB-delegate at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.packageEARLibraries(Unknown Source) at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.exportEARProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.DeploymentPackager.exportEARProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.EARDeployment.deployAsPackageArchive(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizard$2.run(Unknown Source) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: java.io.IOException: Exception deploying EJB-delegate at com.genuitec.eclipse.ast.deploy.core.DeploymentUtil.jarDependentProjects(Unknown Source) ... 7 more
Riyad KallaMembertbarlotta,
I am working with the folks in the thread you links to try and resolve that problem first as it’s a simpler use case. If they are indeed the same problem hopefully it will resolve your issue as well, if not I will then work with you.If you are able to create a small subset of projects that exhibit this problem and can send it to me, that would be fantastic.
-
AuthorPosts