Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 108156 - Geronimo Web service deployment error on Axis 1.2
Summary: Geronimo Web service deployment error on Axis 1.2
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Kathy Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-26 13:50 EDT by Seng Phung Lu CLA
Modified: 2005-11-22 10:25 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seng Phung Lu CLA 2005-08-26 13:50:27 EDT
I cannot get past page 4 any longer due to this problem which appeared since
switching to Axs1.2. 

The steps to reproduce are:
1. Create a Geronimo 1.0 server. 
2. Create a Web project targeted to the geronimo server.
3. Import a Java bean.
4. Go thru a Bottom Up scenario; making sure to use the geronimo and axis
configuration.

Here's the eroor message.

IWAB0398E Error in generating WSDL from Java java.lang.NoClassDefFoundError:
javax/activation/DataSource
Comment 1 Kathy Chan CLA 2005-08-31 17:40:38 EDT
I am able to recreate the problem with 0825I.  I got the dialog:

Error generating WSDL from Java and here's the console log:

Error while running 
org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand$1
$Emitter
	at org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute
(Java2WsdlAntTask.java:261)
	at 
org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand.execu
teAntTask(Java2WSDLCommand.java:144)
	at 
org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand.execu
te(Java2WSDLCommand.java:81)
	at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runComm
and(CommandFragmentEngine.java:335)
	at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTo
p(CommandFragmentEngine.java:301)
	at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveFor
wardToNextStop(CommandFragmentEngine.java:217)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$4.run
(SimpleCommandEngineManager.java:208)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread
(ModalContext.java:346)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:830)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runFo
rwardToNextStop(SimpleCommandEngineManager.java:177)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNe
xtStop(WizardPageManager.java:81)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage
(WizardPageManager.java:127)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage
(SimpleWizardPage.java:120)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed
(WizardDialog.java:747)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:345)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
	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:843)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
	at org.eclipse.jface.window.Window.open(Window.java:787)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run
(DynamicPopupWizard.java:129)
	at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:246)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:538)
	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:843)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:367)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:103)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:226)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:376)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:163)
	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.invokeFramework(Main.java:334)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
	at org.eclipse.core.launcher.Main.run(Main.java:973)
	at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NoClassDefFoundError: javax/activation/DataSource
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:141)
	at 
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class$(JAFDataHandl
erSerializerFactory.java:37)
	at 
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.getSerializerClass
(JAFDataHandlerSerializerFactory.java:46)
	at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.<init>
(JAFDataHandlerSerializerFactory.java:34)
	at org.apache.axis.encoding.DefaultTypeMappingImpl.initMappings
(DefaultTypeMappingImpl.java:120)
	at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>
(DefaultTypeMappingImpl.java:91)
	at org.apache.axis.encoding.DefaultTypeMappingImpl.getSingletonDelegate
(DefaultTypeMappingImpl.java:85)
	at org.apache.axis.encoding.TypeMappingRegistryImpl.<init>
(TypeMappingRegistryImpl.java:155)
	at org.apache.axis.encoding.TypeMappingRegistryImpl.<init>
(TypeMappingRegistryImpl.java:149)
	at org.apache.axis.wsdl.fromJava.Emitter.<clinit>(Emitter.java:747)
	at org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute
(Java2WsdlAntTask.java:172)
	... 48 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: javax/activation/DataSource
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:141)
	at 
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.class$(JAFDataHandl
erSerializerFactory.java:37)
	at 
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.getSerializerClass
(JAFDataHandlerSerializerFactory.java:46)
	at org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.<init>
(JAFDataHandlerSerializerFactory.java:34)
	at org.apache.axis.encoding.DefaultTypeMappingImpl.initMappings
(DefaultTypeMappingImpl.java:120)
	at org.apache.axis.encoding.DefaultTypeMappingImpl.<init>
(DefaultTypeMappingImpl.java:91)
	at org.apache.axis.encoding.DefaultTypeMappingImpl.getSingletonDelegate
(DefaultTypeMappingImpl.java:85)
	at org.apache.axis.encoding.TypeMappingRegistryImpl.<init>
(TypeMappingRegistryImpl.java:155)
	at org.apache.axis.encoding.TypeMappingRegistryImpl.<init>
(TypeMappingRegistryImpl.java:149)
	at org.apache.axis.wsdl.fromJava.Emitter.<clinit>(Emitter.java:747)
	at org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute
(Java2WsdlAntTask.java:172)
	at 
org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand.execu
teAntTask(Java2WSDLCommand.java:144)
	at 
org.eclipse.jst.ws.internal.axis.consumption.core.command.Java2WSDLCommand.execu
te(Java2WSDLCommand.java:81)
	at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runComm
and(CommandFragmentEngine.java:335)
	at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTo
p(CommandFragmentEngine.java:301)
	at 
org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveFor
wardToNextStop(CommandFragmentEngine.java:217)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$4.run
(SimpleCommandEngineManager.java:208)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread
(ModalContext.java:346)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:830)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runFo
rwardToNextStop(SimpleCommandEngineManager.java:177)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNe
xtStop(WizardPageManager.java:81)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage
(WizardPageManager.java:127)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage
(SimpleWizardPage.java:120)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed
(WizardDialog.java:747)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:345)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
	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:843)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
	at org.eclipse.jface.window.Window.open(Window.java:787)
	at 
org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run
(DynamicPopupWizard.java:129)
	at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:246)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:538)
	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:843)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:367)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:103)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:226)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:376)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:163)
	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.invokeFramework(Main.java:334)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
	at org.eclipse.core.launcher.Main.run(Main.java:973)
	at org.eclipse.core.launcher.Main.main(Main.java:948)
Comment 2 Kathy Chan CLA 2005-09-09 14:12:41 EDT
The following JARs in the Geronimo server path contains 
javax.activation.DataHandler:

Geronimo 1.0M3:

- geronimo-spec-activation-1.0.2-rc3.jar
- geronimo-spec-j2ee-1.4-rc3.jar

Geronimo 1.0M4:

- geronimo-spec-activation-1.0.2-rc4.jar
- geronimo-spec-j2ee-1.4-rc4.jar

As a workaround to Axis-2146, these JARs needs to be omitted from the classpath 
passed to Axis emitter.  See Bugzilla 105335 for more detail.
Comment 3 Kathy Chan CLA 2005-09-12 10:30:10 EDT
Changes committed and released as v20050912_1025.  
Comment 4 Seng Phung Lu CLA 2005-11-22 10:25:42 EST
OK