[jira] Commented: (GERONIMODEVTOOLS-110) Exception in IModulePublishHelper.getPublishDirectory() for Geronimo
[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-110?page=comments#action_12438718 ] Kathy Chan commented on GERONIMODEVTOOLS-110: - Just create a Geronimo targetting Web project with an EAR, create a Java bean in that project, right-click on that bean to bring up Create Web Service wizard, click Finish. You'll see this exception in the console: org.apache.geronimo.kernel.InternalKernelException: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.io.IOException: Unable to deserialize GBeanData default/g3EAR/1.0/car?configurationName=default/g3EAR/1.0/car at org.apache.geronimo.system.jmx.KernelDelegate.getGBeanData(KernelDelegate.java:762) at org.apache.geronimo.st.v11.core.GeronimoServerBehaviour.getPublishDirectory(GeronimoServerBehaviour.java:179) at org.eclipse.jst.ws.internal.axis.creation.ui.command.CopyDeploymentFileCommand.execute(CopyDeploymentFileCommand.java:99) GeronimoServerBehaviour.getPublishDirectory() is called from CopyDeploymentFileCommand and it returns null. Please let me know if you still have problem reproducing the problem. > Exception in IModulePublishHelper.getPublishDirectory() for Geronimo > > > Key: GERONIMODEVTOOLS-110 > URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-110 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 1.x > Environment: Windows XP >Reporter: Kathy Chan >Priority: Critical > > Driver: Geronimo 1.1 unreleased driver g-eclipse-plugin-20060926-2.zip from: > http://people.apache.org/dist/geronimo/eclipse/unstable/ > On WTP 1.5.1 09/22 0504 driver using Geronimo 1.1.1 Tomcat server. > When creating a Web service on g3EAR containing the g3 Web module, we need to > call IModulePublishHelper.getPublishDirectory(), here's the resulting > exception: > org.apache.geronimo.kernel.InternalKernelException: > java.rmi.UnmarshalException: error unmarshalling return; nested exception is: > java.io.IOException: Unable to deserialize GBeanData > default/g3EAR/1.0/car?configurationName=default/g3EAR/1.0/car > at > org.apache.geronimo.system.jmx.KernelDelegate.getGBeanData(KernelDelegate.java:762) > at > org.apache.geronimo.st.v11.core.GeronimoServerBehaviour.getPublishDirectory(GeronimoServerBehaviour.java:179) > at > org.eclipse.jst.ws.internal.axis.creation.ui.command.CopyDeploymentFileCommand.execute(CopyDeploymentFileCommand.java:99) > at > org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:413) > at > org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:353) > at > org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:251) > at > org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:250) > at > org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) > at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) > at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851) > at > org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:220) > at > org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:94) > at > org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:250) > at > org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:332) > 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.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130) > at > org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254) > at >
[jira] Commented: (GERONIMODEVTOOLS-110) Exception in IModulePublishHelper.getPublishDirectory() for Geronimo
[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-110?page=comments#action_12438712 ] Sachin Patel commented on GERONIMODEVTOOLS-110: --- Could you provide me the steps to reproduce? Thanks. > Exception in IModulePublishHelper.getPublishDirectory() for Geronimo > > > Key: GERONIMODEVTOOLS-110 > URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-110 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Affects Versions: 1.x > Environment: Windows XP >Reporter: Kathy Chan >Priority: Critical > > Driver: Geronimo 1.1 unreleased driver g-eclipse-plugin-20060926-2.zip from: > http://people.apache.org/dist/geronimo/eclipse/unstable/ > On WTP 1.5.1 09/22 0504 driver using Geronimo 1.1.1 Tomcat server. > When creating a Web service on g3EAR containing the g3 Web module, we need to > call IModulePublishHelper.getPublishDirectory(), here's the resulting > exception: > org.apache.geronimo.kernel.InternalKernelException: > java.rmi.UnmarshalException: error unmarshalling return; nested exception is: > java.io.IOException: Unable to deserialize GBeanData > default/g3EAR/1.0/car?configurationName=default/g3EAR/1.0/car > at > org.apache.geronimo.system.jmx.KernelDelegate.getGBeanData(KernelDelegate.java:762) > at > org.apache.geronimo.st.v11.core.GeronimoServerBehaviour.getPublishDirectory(GeronimoServerBehaviour.java:179) > at > org.eclipse.jst.ws.internal.axis.creation.ui.command.CopyDeploymentFileCommand.execute(CopyDeploymentFileCommand.java:99) > at > org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:413) > at > org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:353) > at > org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:251) > at > org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:250) > at > org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) > at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) > at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851) > at > org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:220) > at > org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:94) > at > org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:250) > at > org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:332) > 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.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130) > at > org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254) > 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
[jira] Commented: (GERONIMODEVTOOLS-110) Exception in IModulePublishHelper.getPublishDirectory() for Geronimo
[ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-110?page=comments#action_12438241 ] Kathy Chan commented on GERONIMODEVTOOLS-110: - I also tried with the Geronimo 1.0 server, this time, I was able to have IModulePublishHelper.getPublishDirectory() return properly without an exception for a couple of times but then I got a similar exception later when creating Web services: org.apache.geronimo.kernel.InternalKernelException: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: org.apache.geronimo.gbean.GBeanData (no security manager: RMI class loader disabled) at org.apache.geronimo.kernel.jmx.KernelDelegate.getGBeanData(KernelDelegate.java:285) at org.apache.geronimo.st.v1.core.GeronimoServerBehaviour.getPublishDirectory(GeronimoServerBehaviour.java:165) at org.eclipse.jst.ws.internal.axis.creation.ui.command.CopyDeploymentFileCommand.execute(CopyDeploymentFileCommand.java:99) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:413) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:353) at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:251) at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:250) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851) at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:220) at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:94) at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:250) at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:332) 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.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254) 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
