Home » Language IDEs » ServerTools (WTP) » Error when producing WS server from a Bean
Error when producing WS server from a Bean [message #78987] |
Wed, 02 March 2005 03:34  |
Eclipse User |
|
|
|
Originally posted by: tmanolatos.gmail.com
Hi,
I try to create a simple Web Service (Server Side).
I have a JavaBean for this, and I right click (Create Web Service) the
Bean to start the wizard (So long I follow exactly what the tutorial says)
..
Unfortunately, when I reach the wizard screen "Web Service JavaBean
Identity" and click "Next", I receive the following error:
"IWAB0506E Error when copying Axis jar files to web project"
Please note that I followed the download instructions as prescribed in
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
The complete stack trace is:
IWAB0506E Error when copying Axis jar files to web project
java.lang.IllegalArgumentException: Attempted to endRule:
L/MyWSTest/WebContent/WEB-INF/lib/axis.jar, does not match most recent
begin: MultiRule[F/MyWSTest/WebContent/WEB-INF/lib]. See log for trace
information if rule tracing is enabled.
at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java :58)
at
org.eclipse.core.internal.jobs.ThreadJob.illegalPop(ThreadJo b.java:88)
at org.eclipse.core.internal.jobs.ThreadJob.pop(ThreadJob.java: 178)
at
org.eclipse.core.internal.jobs.ImplicitJobs.end(ImplicitJobs .java:110)
at
org.eclipse.core.internal.jobs.JobManager.endRule(JobManager .java:467)
at
org.eclipse.core.internal.resources.WorkManager.checkOut(Wor kManager.java:120)
at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:929)
at org.eclipse.core.internal.resources.File.setContents(File.ja va:344)
at org.eclipse.core.internal.resources.File.setContents(File.ja va:439)
at
org.eclipse.wst.command.env.common.FileResourceUtils.makeFil e(FileResourceUtils.java:647)
at
org.eclipse.wst.command.env.common.FileResourceUtils.createF ile(FileResourceUtils.java:365)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copyIFile(CopyAxisJarCommand.java:130)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copyAxisJarsToProject(CopyAxisJarCommand.java:75 )
at
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.execute(CopyAxisJarCommand.java:62)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardToNextStop(CommandFragmentEngine.java:208)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(SimpleCommandEngineManager.java:206)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:344)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForwardToNextStop(SimpleCommandEngineManager.java:1 75)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:69)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPage(WizardPageManager.java:91)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage(SimpleWizardPage.java:123)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:741)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:338)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
at org.eclipse.jface.window.Window.open(Window.java:696)
at
org.eclipse.wst.command.internal.env.ui.widgets.popup.Dynami cPopupWizard.run(DynamicPopupWizard.java:123)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:557)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:507)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:421)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)
|
|
|
Re: Error when producing WS server from a Bean [message #79256 is a reply to message #78987] |
Wed, 02 March 2005 11:52   |
Eclipse User |
|
|
|
Til Man,
I wasn't able to reproduce the error, but having the stack trace should
help us track the problem. You may want to open a
bugzilla(https://bugs.eclipse.org/bugs/).
As an experiment, you could remove any jars in
"MyWSTest/WebContent/WEB-INF/lib/" and try again. Or simply try a new
workspace. It appears the wizard failed while just doing a simple file
copy from the axis plugin directory to your Web project. So, I would make
sure the source files/folders exist and contain the expected files.
Til Man wrote:
> Hi,
> I try to create a simple Web Service (Server Side).
> I have a JavaBean for this, and I right click (Create Web Service) the
> Bean to start the wizard (So long I follow exactly what the tutorial says)
> ..
> Unfortunately, when I reach the wizard screen "Web Service JavaBean
> Identity" and click "Next", I receive the following error:
> "IWAB0506E Error when copying Axis jar files to web project"
> Please note that I followed the download instructions as prescribed in
>
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
> The complete stack trace is:
> IWAB0506E Error when copying Axis jar files to web project
> java.lang.IllegalArgumentException: Attempted to endRule:
> L/MyWSTest/WebContent/WEB-INF/lib/axis.jar, does not match most recent
> begin: MultiRule[F/MyWSTest/WebContent/WEB-INF/lib]. See log for trace
> information if rule tracing is enabled.
> at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java :58)
> at
> org.eclipse.core.internal.jobs.ThreadJob.illegalPop(ThreadJo b.java:88)
> at org.eclipse.core.internal.jobs.ThreadJob.pop(ThreadJob.java: 178)
> at
> org.eclipse.core.internal.jobs.ImplicitJobs.end(ImplicitJobs .java:110)
> at
> org.eclipse.core.internal.jobs.JobManager.endRule(JobManager .java:467)
> at
>
org.eclipse.core.internal.resources.WorkManager.checkOut(Wor kManager.java:120)
> at
>
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:929)
> at org.eclipse.core.internal.resources.File.setContents(File.ja va:344)
> at org.eclipse.core.internal.resources.File.setContents(File.ja va:439)
> at
>
org.eclipse.wst.command.env.common.FileResourceUtils.makeFil e(FileResourceUtils.java:647)
> at
>
org.eclipse.wst.command.env.common.FileResourceUtils.createF ile(FileResourceUtils.java:365)
> at
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copyIFile(CopyAxisJarCommand.java:130)
> at
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copyAxisJarsToProject(CopyAxisJarCommand.java:75 )
> at
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.execute(CopyAxisJarCommand.java:62)
> at
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
> at
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
> at
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardToNextStop(CommandFragmentEngine.java:208)
> at
>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(SimpleCommandEngineManager.java:206)
> at
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:344)
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
> at
>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForwardToNextStop(SimpleCommandEngineManager.java:1 75)
> at
>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:69)
> at
>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPage(WizardPageManager.java:91)
> at
>
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage(SimpleWizardPage.java:123)
> at
> org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:741)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:338)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
> at org.eclipse.jface.window.Window.open(Window.java:696)
> at
>
org.eclipse.wst.command.internal.env.ui.widgets.popup.Dynami cPopupWizard.run(DynamicPopupWizard.java:123)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:557)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:507)
> at
>
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:421)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
> at org.eclipse.core.launcher.Main.run(Main.java:887)
> at org.eclipse.core.launcher.Main.main(Main.java:871)
|
|
|
Re: Error when producing WS server from a Bean [message #79495 is a reply to message #79256] |
Wed, 02 March 2005 16:07   |
Eclipse User |
|
|
|
Hi Til Man,
You should double check that the following files exist under
eclipse\plugins\org.eclipse.wst.ws.apache.axis_1.0.0\lib:
385,010 axis-ant.jar
1,235,721 axis.jar
71,442 commons-discovery.jar
31,605 commons-logging.jar
35,759 jaxrpc.jar
352,668 log4j-1.2.8.jar
18,501 saaj.jar
77,987 servlet.jar
113,853 wsdl4j.jar
These files should had been copied to this directory when you followed the
instruction in:
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
The stack trace shows it failing to copy from
eclipse\plugins\org.eclipse.wst.ws.apache.axis_1.0.0\lib\axi s.jar to
MyWSTest/WebContent/WEB-INF/lib. As an experiment, you could try copying
the axis.jar to your MyWSTest/WebContent/WEB-INF/lib folder in your
workspace.
Hope this helps!
Kathy Chan
"Seng Phung-Lu" <sengpl@ca.ibm.com> wrote in message
news:d04r0a$2b2$1@www.eclipse.org...
> Til Man,
> I wasn't able to reproduce the error, but having the stack trace should
> help us track the problem. You may want to open a
> bugzilla(https://bugs.eclipse.org/bugs/).
>
> As an experiment, you could remove any jars in
> "MyWSTest/WebContent/WEB-INF/lib/" and try again. Or simply try a new
> workspace. It appears the wizard failed while just doing a simple file
> copy from the axis plugin directory to your Web project. So, I would make
> sure the source files/folders exist and contain the expected files.
>
> Til Man wrote:
>
> > Hi,
> > I try to create a simple Web Service (Server Side).
> > I have a JavaBean for this, and I right click (Create Web Service) the
> > Bean to start the wizard (So long I follow exactly what the tutorial
says)
> > ..
> > Unfortunately, when I reach the wizard screen "Web Service JavaBean
> > Identity" and click "Next", I receive the following error:
> > "IWAB0506E Error when copying Axis jar files to web project"
> > Please note that I followed the download instructions as prescribed in
> >
>
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
>
> > The complete stack trace is:
>
> > IWAB0506E Error when copying Axis jar files to web project
> > java.lang.IllegalArgumentException: Attempted to endRule:
> > L/MyWSTest/WebContent/WEB-INF/lib/axis.jar, does not match most recent
> > begin: MultiRule[F/MyWSTest/WebContent/WEB-INF/lib]. See log for trace
> > information if rule tracing is enabled.
> > at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java :58)
> > at
> > org.eclipse.core.internal.jobs.ThreadJob.illegalPop(ThreadJo b.java:88)
> > at org.eclipse.core.internal.jobs.ThreadJob.pop(ThreadJob.java: 178)
> > at
> > org.eclipse.core.internal.jobs.ImplicitJobs.end(ImplicitJobs .java:110)
> > at
> > org.eclipse.core.internal.jobs.JobManager.endRule(JobManager .java:467)
> > at
> >
>
org.eclipse.core.internal.resources.WorkManager.checkOut(Wor kManager.java:12
0)
> > at
> >
>
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:92
9)
> > at
org.eclipse.core.internal.resources.File.setContents(File.ja va:344)
> > at
org.eclipse.core.internal.resources.File.setContents(File.ja va:439)
> > at
> >
>
org.eclipse.wst.command.env.common.FileResourceUtils.makeFil e(FileResourceUt
ils.java:647)
> > at
> >
>
org.eclipse.wst.command.env.common.FileResourceUtils.createF ile(FileResource
Utils.java:365)
> > at
> >
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copy
IFile(CopyAxisJarCommand.java:130)
> > at
> >
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copy
AxisJarsToProject(CopyAxisJarCommand.java:75)
> > at
> >
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.exec
ute(CopyAxisJarCommand.java:62)
> > at
> >
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(C
ommandFragmentEngine.java:322)
> > at
> >
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(Com
mandFragmentEngine.java:288)
> > at
> >
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardT
oNextStop(CommandFragmentEngine.java:208)
> > at
> >
>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(Simp
leCommandEngineManager.java:206)
> > at
> >
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.jav
a:344)
> > at
org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
> > at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
> > at
> >
>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForward
ToNextStop(SimpleCommandEngineManager.java:175)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForward
ToNextStop(WizardPageManager.java:69)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPag
e(WizardPageManager.java:91)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage
(SimpleWizardPage.java:123)
> > at
> > org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:741)
> > at
> >
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:338)
> > at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
> > at
> > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> > at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
> > at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> > at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
> > at org.eclipse.jface.window.Window.open(Window.java:696)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.popup.Dynami cPopupWizard.run
(DynamicPopupWizard.java:123)
> > at
> > org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:557)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:507)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContribu
tionItem.java:421)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> > at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
> > at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> > at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
> > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
> > at
> >
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
> > at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> > at
> > org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> > at
> >
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:228)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
> > at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
> > at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
> > at org.eclipse.core.launcher.Main.run(Main.java:887)
> > at org.eclipse.core.launcher.Main.main(Main.java:871)
>
>
|
|
|
Re: Error when producing WS server from a Bean [message #79823 is a reply to message #79256] |
Thu, 03 March 2005 10:07   |
Eclipse User |
|
|
|
Hi Til Man,
You should double check that the following files exist under
eclipse\plugins\org.eclipse.wst.ws.apache.axis_1.0.0\lib:
385,010 axis-ant.jar
1,235,721 axis.jar
71,442 commons-discovery.jar
31,605 commons-logging.jar
35,759 jaxrpc.jar
352,668 log4j-1.2.8.jar
18,501 saaj.jar
77,987 servlet.jar
113,853 wsdl4j.jar
These files should had been copied to this directory when you followed the
instruction in:
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
The stack trace shows it failing to copy from
eclipse\plugins\org.eclipse.wst.ws.apache.axis_1.0.0\lib\axi s.jar to
MyWSTest/WebContent/WEB-INF/lib. As an experiment, you could try copying
the axis.jar to your MyWSTest/WebContent/WEB-INF/lib folder in your
workspace.
Hope this helps!
Kathy Chan
"Seng Phung-Lu" <sengpl@ca.ibm.com> wrote in message
news:d04r0a$2b2$1@www.eclipse.org...
> Til Man,
> I wasn't able to reproduce the error, but having the stack trace should
> help us track the problem. You may want to open a
> bugzilla(https://bugs.eclipse.org/bugs/).
>
> As an experiment, you could remove any jars in
> "MyWSTest/WebContent/WEB-INF/lib/" and try again. Or simply try a new
> workspace. It appears the wizard failed while just doing a simple file
> copy from the axis plugin directory to your Web project. So, I would make
> sure the source files/folders exist and contain the expected files.
>
> Til Man wrote:
>
> > Hi,
> > I try to create a simple Web Service (Server Side).
> > I have a JavaBean for this, and I right click (Create Web Service) the
> > Bean to start the wizard (So long I follow exactly what the tutorial
says)
> > ..
> > Unfortunately, when I reach the wizard screen "Web Service JavaBean
> > Identity" and click "Next", I receive the following error:
> > "IWAB0506E Error when copying Axis jar files to web project"
> > Please note that I followed the download instructions as prescribed in
> >
>
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html
>
> > The complete stack trace is:
>
> > IWAB0506E Error when copying Axis jar files to web project
> > java.lang.IllegalArgumentException: Attempted to endRule:
> > L/MyWSTest/WebContent/WEB-INF/lib/axis.jar, does not match most recent
> > begin: MultiRule[F/MyWSTest/WebContent/WEB-INF/lib]. See log for trace
> > information if rule tracing is enabled.
> > at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java :58)
> > at
> > org.eclipse.core.internal.jobs.ThreadJob.illegalPop(ThreadJo b.java:88)
> > at org.eclipse.core.internal.jobs.ThreadJob.pop(ThreadJob.java: 178)
> > at
> > org.eclipse.core.internal.jobs.ImplicitJobs.end(ImplicitJobs .java:110)
> > at
> > org.eclipse.core.internal.jobs.JobManager.endRule(JobManager .java:467)
> > at
> >
>
org.eclipse.core.internal.resources.WorkManager.checkOut(Wor kManager.java:12
0)
> > at
> >
>
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:92
9)
> > at
org.eclipse.core.internal.resources.File.setContents(File.ja va:344)
> > at
org.eclipse.core.internal.resources.File.setContents(File.ja va:439)
> > at
> >
>
org.eclipse.wst.command.env.common.FileResourceUtils.makeFil e(FileResourceUt
ils.java:647)
> > at
> >
>
org.eclipse.wst.command.env.common.FileResourceUtils.createF ile(FileResource
Utils.java:365)
> > at
> >
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copy
IFile(CopyAxisJarCommand.java:130)
> > at
> >
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.copy
AxisJarsToProject(CopyAxisJarCommand.java:75)
> > at
> >
>
org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.exec
ute(CopyAxisJarCommand.java:62)
> > at
> >
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(C
ommandFragmentEngine.java:322)
> > at
> >
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(Com
mandFragmentEngine.java:288)
> > at
> >
>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardT
oNextStop(CommandFragmentEngine.java:208)
> > at
> >
>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(Simp
leCommandEngineManager.java:206)
> > at
> >
>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.jav
a:344)
> > at
org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
> > at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
> > at
> >
>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForward
ToNextStop(SimpleCommandEngineManager.java:175)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForward
ToNextStop(WizardPageManager.java:69)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.getNextPag
e(WizardPageManager.java:91)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.getNextPage
(SimpleWizardPage.java:123)
> > at
> > org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:741)
> > at
> >
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:338)
> > at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
> > at
> > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> > at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
> > at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> > at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
> > at org.eclipse.jface.window.Window.open(Window.java:696)
> > at
> >
>
org.eclipse.wst.command.internal.env.ui.widgets.popup.Dynami cPopupWizard.run
(DynamicPopupWizard.java:123)
> > at
> > org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:557)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:507)
> > at
> >
>
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContribu
tionItem.java:421)
> > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
> > at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
> > at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
> > at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
> > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
> > at
> >
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
> > at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
> > at
> > org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
> > at
> >
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:228)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
> > at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268 )
> > at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
> > at org.eclipse.core.launcher.Main.run(Main.java:887)
> > at org.eclipse.core.launcher.Main.main(Main.java:871)
>
>
|
|
| |
Goto Forum:
Current Time: Thu Jul 17 22:06:15 EDT 2025
Powered by FUDForum. Page generated in 0.12058 seconds
|