Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » bottom up webservice tutorial with geronimo
bottom up webservice tutorial with geronimo [message #172047] Thu, 22 June 2006 12:39 Go to next message
Juergen Aschenbrenner is currently offline Juergen Aschenbrenner
Messages: 21
Registered: July 2009
Junior Member
hi all,

I would like to ask if someone can give me a hint what I need to
consider when developing webservices on geronimo appserver.

When walking through the bottom up webservices tutorial, I got an error
at the *Service Deployement Configuration* page of the webservice
creation wizard saying " The WebSphere Application Server Community
Edition v1.0 server does not support the service project ConverterProj"
- ConverterProj is the dynamic web project containing the bean I would
like to wrap into a webservice.

After changing the service project name from ConvoerterProj to
ConverterProjWS the errormessage on the wizard disappears and after
setting the server I click finish. This results into the following error.

IWAB0398E Error in generating WSDL from Java:
java.lang.ClassNotFoundException: wtp.Converter
java.lang.ClassNotFoundException: wtp.Converter
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLo ader.java:1197)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:990)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:186)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:20 79)
at
org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java 2WsdlAntTask.java:188)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.executeAntTask(Java2WSDLCommand.java:163)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.execute(Java2WSDLCommand.java:87)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:387)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:327)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:226)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:247)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 830)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:217)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:79)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:228)
at
org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizar d.performFinish(DynamicWizard.java:335)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.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.ja va:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(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.ja va:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.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)

Any ideas

Thanks Juergen
Re: bottom up webservice tutorial with geronimo [message #172130 is a reply to message #172047] Thu, 22 June 2006 18:39 Go to previous messageGo to next message
Chris Brealey is currently offline Chris Brealey
Messages: 104
Registered: July 2009
Senior Member
Jürgen,
sorry if this is a silly question, but when you first created ConverterProj using the Dynamic Web Project wizard, did you choose
Geronimo as the "Target Runtime"?

Cheers - CB.

Jürgen Aschenbrenner wrote:

> hi all,
>
> I would like to ask if someone can give me a hint what I need to
> consider when developing webservices on geronimo appserver.
>
> When walking through the bottom up webservices tutorial, I got an error
> at the *Service Deployement Configuration* page of the webservice
> creation wizard saying " The WebSphere Application Server Community
> Edition v1.0 server does not support the service project ConverterProj"
> - ConverterProj is the dynamic web project containing the bean I would
> like to wrap into a webservice.
>
> After changing the service project name from ConvoerterProj to
> ConverterProjWS the errormessage on the wizard disappears and after
> setting the server I click finish. This results into the following error.
>
> IWAB0398E Error in generating WSDL from Java:
> java.lang.ClassNotFoundException: wtp.Converter
> java.lang.ClassNotFoundException: wtp.Converter
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:405)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.apache.tools.ant.AntClassLoader.findBaseClass(AntClassLo ader.java:1197)
> at
> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:990)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:186)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:1 60)
> at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100 )
> at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:20 79)
> at
> org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask.execute(Java 2WsdlAntTask.java:188)
> at
> org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.executeAntTask(Java2WSDLCommand.java:163)
> at
> org.eclipse.jst.ws.internal.axis.consumption.core.command.Ja va2WSDLCommand.execute(Java2WSDLCommand.java:87)
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:387)
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:327)
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:226)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$5.run(SimpleCommandEngineManager.java:247)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 830)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:217)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:79)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:228)
> at
> org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizar d.performFinish(DynamicWizard.java:335)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:676)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:349)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.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.ja va:3125)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
> at org.eclipse.jface.window.Window.open(Window.java:787)
> at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:181)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(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.ja va:3125)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
> 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.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)
>
> Any ideas
>
> Thanks Juergen
Re: bottom up webservice tutorial with geronimo [message #172304 is a reply to message #172130] Fri, 23 June 2006 23:52 Go to previous messageGo to next message
Kathy Chan is currently offline Kathy Chan
Messages: 93
Registered: July 2009
Member
Hi J
Re: bottom up webservice tutorial with geronimo [message #172329 is a reply to message #172130] Sat, 24 June 2006 14:19 Go to previous messageGo to next message
Juergen Aschenbrenner is currently offline Juergen Aschenbrenner
Messages: 21
Registered: July 2009
Junior Member
Hi Chris,

You are right, I missed to do that.

Thanks for Your help

Jürgen
Re: bottom up webservice tutorial with geronimo [message #172337 is a reply to message #172304] Sat, 24 June 2006 14:22 Go to previous message
Juergen Aschenbrenner is currently offline Juergen Aschenbrenner
Messages: 21
Registered: July 2009
Junior Member
Hi Kathy,

thank You for giving me the instructions. It worked out for the wsce

Cheers

Juergen
Previous Topic:Doesn't like my charset
Next Topic:How many Project Explorers?
Goto Forum:
  


Current Time: Tue Sep 02 21:17:52 GMT 2014

Powered by FUDForum. Page generated in 0.03010 seconds