Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WTP plugin - creating/testingweb service
WTP plugin - creating/testingweb service [message #90180] Mon, 04 April 2005 12:39 Go to next message
Eclipse UserFriend
Hi All

Following a tutorial I've created a web service from java files using the
WTP tools, once the files have been generated and deployed to Tomcat - my
WDSL file has been created

I want to go on to the next stage f the tutorial which istesting the web
service using the Web Services Explorer (Run > Launch the Web Services
Explorer)

But I get an error :

I've followed the instrunctions and adding the extra jars etc... but still
get this error. Cna someone telll mw whether i need any other files or to
doanything else

cheers

HTTP Status 500 -

------------------------------------------------------------ --------------------

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.



I
Re: WTP plugin - creating/testingweb service [message #90197 is a reply to message #90180] Mon, 04 April 2005 12:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I don't have an answer off my head, but here're a couple of things that you
can check:

1. Check the Tomcat log file, see if there's any error messages in it.
<workspace
directory>/.metadata/.plugins/org.eclipse.tomcat/catalina.<date >.log
2. What browser are you using? Try something else (IE, Firefox, etc...)

Thanks,

Jeff

"plork123" <plork123@hotmail.com> wrote in message
news:d2rqp9$1jp$1@news.eclipse.org...
> Hi All
>
> Following a tutorial I've created a web service from java files using the
> WTP tools, once the files have been generated and deployed to Tomcat - my
> WDSL file has been created
>
> I want to go on to the next stage f the tutorial which istesting the web
> service using the Web Services Explorer (Run > Launch the Web Services
> Explorer)
>
> But I get an error :
>
> I've followed the instrunctions and adding the extra jars etc... but still
> get this error. Cna someone telll mw whether i need any other files or to
> doanything else
>
> cheers
>
> HTTP Status 500 -
>
> ------------------------------------------------------------ --------------
------
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
>
>
> I
>
>
Re: WTP plugin - creating/testingweb service [message #90303 is a reply to message #90197] Tue, 05 April 2005 04:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jeff,

I've looked at the log file and this is what is in it:

There are some errors, but I'm not sure what to do with them

Thanks for any help

Cheers





WebappLoader[]: Deploying class repositories to work directory C:\z Own
Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\ROOT
ContextConfig[]: Added certificates -> request attribute Valve
StandardManager[]: Seeding random number generator class
java.security.SecureRandom
StandardManager[]: Seeding of random number generator has been completed
StandardWrapper[:default]: Loading container servlet default
StandardWrapper[:invoker]: Loading container servlet invoker
CoyoteConnector Coyote can't register jmx for protocol
WebappLoader[/wsexplorer]: Deploying class repositories to work directory
C:\z Own
Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\wsexplorer
WebappLoader[/wsexplorer]: Deploy class files /WEB-INF/classes to C:\z Own
Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\wsexplorer\WEB-INF\classes
WebappLoader[/wsexplorer]: Deploy JAR /WEB-INF/lib/wsexplorer.jar to C:\z
Own
Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\wsexplorer\WEB-INF\lib\wsexplorer.jar
ContextConfig[/wsexplorer]: Added certificates -> request attribute Valve
StandardManager[/wsexplorer]: Seeding random number generator class
java.security.SecureRandom
StandardManager[/wsexplorer]: Seeding of random number generator has been
completed
StandardManager[/wsexplorer] IOException while loading persisted sessions:
java.io.EOFException
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unk nown
Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at
org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:103)
at
org.apache.catalina.session.StandardManager.load(StandardMan ager.java:408)
at
org.apache.catalina.session.StandardManager.start(StandardMa nager.java:655)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3590)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
at
org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppS erver.java:251)
at
org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:59)
at
org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.init(C atalinaRunnable.java:63)
at
org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.getCat alinaRunnable(CatalinaRunnable.java:32)
at
org.eclipse.jst.ws.internal.explorer.WSExplorer.getBaseURL(W SExplorer.java:70)
at
org.eclipse.jst.ws.internal.explorer.WSExplorer.launch(WSExp lorer.java:90)
at
org.eclipse.jst.ws.internal.ui.wse.LaunchWebServicesExplorer Command.execute(LaunchWebServicesExplorerCommand.java:78)
at
org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEA ction.run(LaunchWSEAction.java:34)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:220)
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(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: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)

StandardManager[/wsexplorer] Exception loading sessions from persistent
storage
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unk nown
Source)
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at
org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:103)
at
org.apache.catalina.session.StandardManager.load(StandardMan ager.java:408)
at
org.apache.catalina.session.StandardManager.start(StandardMa nager.java:655)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3590)
at
org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
at
org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppS erver.java:251)
at
org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:59)
at
org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.init(C atalinaRunnable.java:63)
at
org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.getCat alinaRunnable(CatalinaRunnable.java:32)
at
org.eclipse.jst.ws.internal.explorer.WSExplorer.getBaseURL(W SExplorer.java:70)
at
org.eclipse.jst.ws.internal.explorer.WSExplorer.launch(WSExp lorer.java:90)
at
org.eclipse.jst.ws.internal.ui.wse.LaunchWebServicesExplorer Command.execute(LaunchWebServicesExplorerCommand.java:78)
at
org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEA ction.run(LaunchWSEAction.java:34)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:220)
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(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: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)

StandardWrapper[/wsexplorer:default]: Loading container servlet default
StandardWrapper[/wsexplorer:invoker]: Loading container servlet invoker
StandardWrapperValve[wsexplorer_jsp]: Servlet.service() for servlet
wsexplorer_jsp threw exception
javax.servlet.ServletException: org/apache/wsil/Abstract
at
org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:536)
at wsexplorer_jsp._jspService(Unknown Source)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
----- Root Cause -----
java.lang.NoClassDefFoundError: org/apache/wsil/Abstract
at
org.eclipse.jst.ws.explorer.uddi.perspective.UDDIPerspective .initPerspective(UDDIPerspective.java:60)
at
org.eclipse.jst.ws.explorer.perspective.Controller.init(Cont roller.java:104)
at wsexplorer_jsp._jspService(Unknown Source)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
Re: WTP plugin - creating/testingweb service [message #90351 is a reply to message #90303] Tue, 05 April 2005 08:32 Go to previous messageGo to next message
Eclipse UserFriend
Sorted it

When I downloaded the jar file from this link
http://awwebx04.alphaworks.ibm.com/wsil4j/wsil4j.jar


I mistakenly downloaded it as a zip file and from that created a jar file
which i then copied to org.eclipse.wst.ws.apache.wsil_1.0.0/lib

Downloading the file properly and coping to the above eclipse plugin,
restarting eclipse and launching the web browser all seems to be fine so far
anyway !!!

Cheers


"plork123" <plork123@hotmail.com> wrote in message
news:d362b02af3ed075b24f15f63eb0f90d0$1@www.eclipse.org...
>
>
> Hi Jeff,
>
> I've looked at the log file and this is what is in it:
>
> There are some errors, but I'm not sure what to do with them
>
> Thanks for any help
>
> Cheers
>
>
>
>
>
> WebappLoader[]: Deploying class repositories to work directory C:\z Own
> Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\ROOT
> ContextConfig[]: Added certificates -> request attribute Valve
> StandardManager[]: Seeding random number generator class
> java.security.SecureRandom
> StandardManager[]: Seeding of random number generator has been completed
> StandardWrapper[:default]: Loading container servlet default
> StandardWrapper[:invoker]: Loading container servlet invoker
> CoyoteConnector Coyote can't register jmx for protocol
> WebappLoader[/wsexplorer]: Deploying class repositories to work directory
> C:\z Own
> Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\wsexplorer
> WebappLoader[/wsexplorer]: Deploy class files /WEB-INF/classes to C:\z Own
> Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\wsexplorer\WEB-INF\classes
> WebappLoader[/wsexplorer]: Deploy JAR /WEB-INF/lib/wsexplorer.jar to C:\z
> Own
> Documents\Development\Eclipse\.metadata\.plugins\org.eclipse .tomcat\wsexplorer\WEB-INF\lib\wsexplorer.jar
> ContextConfig[/wsexplorer]: Added certificates -> request attribute Valve
> StandardManager[/wsexplorer]: Seeding random number generator class
> java.security.SecureRandom
> StandardManager[/wsexplorer]: Seeding of random number generator has been
> completed
> StandardManager[/wsexplorer] IOException while loading persisted sessions:
> java.io.EOFException
> java.io.EOFException
> at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
> at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unk nown
> Source)
> at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
> at java.io.ObjectInputStream.<init>(Unknown Source)
> at
> org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:103)
> at
> org.apache.catalina.session.StandardManager.load(StandardMan ager.java:408)
> at
> org.apache.catalina.session.StandardManager.start(StandardMa nager.java:655)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3590)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:821)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
> at
> org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppS erver.java:251)
> at
> org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:59)
> at
> org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.init(C atalinaRunnable.java:63)
> at
> org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.getCat alinaRunnable(CatalinaRunnable.java:32)
> at
> org.eclipse.jst.ws.internal.explorer.WSExplorer.getBaseURL(W SExplorer.java:70)
> at
> org.eclipse.jst.ws.internal.explorer.WSExplorer.launch(WSExp lorer.java:90)
> at
> org.eclipse.jst.ws.internal.ui.wse.LaunchWebServicesExplorer Command.execute(LaunchWebServicesExplorerCommand.java:78)
> at
> org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEA ction.run(LaunchWSEAction.java:34)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:220)
> 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(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: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)
>
> StandardManager[/wsexplorer] Exception loading sessions from persistent
> storage
> java.io.EOFException
> at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
> at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unk nown
> Source)
> at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
> at java.io.ObjectInputStream.<init>(Unknown Source)
> at
> org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:103)
> at
> org.apache.catalina.session.StandardManager.load(StandardMan ager.java:408)
> at
> org.apache.catalina.session.StandardManager.start(StandardMa nager.java:655)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3590)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:821)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:807)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:595)
> at
> org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppS erver.java:251)
> at
> org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:59)
> at
> org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.init(C atalinaRunnable.java:63)
> at
> org.eclipse.jst.ws.internal.explorer.CatalinaRunnable.getCat alinaRunnable(CatalinaRunnable.java:32)
> at
> org.eclipse.jst.ws.internal.explorer.WSExplorer.getBaseURL(W SExplorer.java:70)
> at
> org.eclipse.jst.ws.internal.explorer.WSExplorer.launch(WSExp lorer.java:90)
> at
> org.eclipse.jst.ws.internal.ui.wse.LaunchWebServicesExplorer Command.execute(LaunchWebServicesExplorerCommand.java:78)
> at
> org.eclipse.jst.ws.internal.consumption.ui.action.LaunchWSEA ction.run(LaunchWSEAction.java:34)
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:244)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:220)
> 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(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: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)
>
> StandardWrapper[/wsexplorer:default]: Loading container servlet default
> StandardWrapper[/wsexplorer:invoker]: Loading container servlet invoker
> StandardWrapperValve[wsexplorer_jsp]: Servlet.service() for servlet
> wsexplorer_jsp threw exception
> javax.servlet.ServletException: org/apache/wsil/Abstract
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:536)
> at wsexplorer_jsp._jspService(Unknown Source)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:137)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
> at java.lang.Thread.run(Unknown Source)
> ----- Root Cause -----
> java.lang.NoClassDefFoundError: org/apache/wsil/Abstract
> at
> org.eclipse.jst.ws.explorer.uddi.perspective.UDDIPerspective .initPerspective(UDDIPerspective.java:60)
> at
> org.eclipse.jst.ws.explorer.perspective.Controller.init(Cont roller.java:104)
> at wsexplorer_jsp._jspService(Unknown Source)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:137)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
> at java.lang.Thread.run(Unknown Source)
>
>
>
Re: WTP plugin - creating/testingweb service [message #91713 is a reply to message #90180] Tue, 12 April 2005 19:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbailo.vestcom.com

plork123 wrote:
> Hi All
>
> Following a tutorial I've created a web service from java files using the


Where is the tutorial ... I'd like to try it

> WTP tools, once the files have been generated and deployed to Tomcat - my
> WDSL file has been created
>
> I want to go on to the next stage f the tutorial which istesting the web
> service using the Web Services Explorer (Run > Launch the Web Services
> Explorer)
>
> But I get an error :
>
> I've followed the instrunctions and adding the extra jars etc... but still
> get this error. Cna someone telll mw whether i need any other files or to
> doanything else
>
> cheers
>
> HTTP Status 500 -
>
> ------------------------------------------------------------ --------------------
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
>
>
> I
>
>
Re: WTP plugin - creating/testingweb service [message #91803 is a reply to message #91713] Wed, 13 April 2005 03:57 Go to previous messageGo to next message
Eclipse UserFriend
From here

http://www-106.ibm.com/developerworks/edu/os-dw-os-wtpservic e-i.html?ca=dgr

You'll have to register




"news.eclipse.org" <jbailo@vestcom.com> wrote in message
news:d3hmb1$vhp$2@news.eclipse.org...
> plork123 wrote:
>> Hi All
>>
>> Following a tutorial I've created a web service from java files using the
>
>
> Where is the tutorial ... I'd like to try it
>
>> WTP tools, once the files have been generated and deployed to Tomcat - my
>> WDSL file has been created
>>
>> I want to go on to the next stage f the tutorial which istesting the web
>> service using the Web Services Explorer (Run > Launch the Web Services
>> Explorer)
>>
>> But I get an error :
>>
>> I've followed the instrunctions and adding the extra jars etc... but
>> still get this error. Cna someone telll mw whether i need any other
>> files or to doanything else
>>
>> cheers
>>
>> HTTP Status 500 -
>>
>> ------------------------------------------------------------ --------------------
>>
>> type Exception report
>>
>> message
>>
>> description The server encountered an internal error () that prevented it
>> from fulfilling this request.
>>
>>
>>
>> I
>>
Re: WTP plugin - creating/testingweb service [message #91896 is a reply to message #91803] Wed, 13 April 2005 10:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jbailo.vestcom.com

plork123 wrote:
> From here
>
> http://www-106.ibm.com/developerworks/edu/os-dw-os-wtpservic e-i.html?ca=dgr

I am looking at that now.

Is there any more quick and dirty way of getting a web service up ...
just a hello world would do if someone can tell me how.

I've already installed the WST edition of eclipse...is there a way to
through up a web service stub method like in VS.NET ?




>
> You'll have to register
>
>
>
>
> "news.eclipse.org" <jbailo@vestcom.com> wrote in message
> news:d3hmb1$vhp$2@news.eclipse.org...
>
>>plork123 wrote:
>>
>>>Hi All
>>>
>>>Following a tutorial I've created a web service from java files using the
>>
>>
>>Where is the tutorial ... I'd like to try it
>>
>>
>>>WTP tools, once the files have been generated and deployed to Tomcat - my
>>>WDSL file has been created
>>>
>>>I want to go on to the next stage f the tutorial which istesting the web
>>>service using the Web Services Explorer (Run > Launch the Web Services
>>>Explorer)
>>>
>>>But I get an error :
>>>
>>>I've followed the instrunctions and adding the extra jars etc... but
>>>still get this error. Cna someone telll mw whether i need any other
>>>files or to doanything else
>>>
>>>cheers
>>>
>>>HTTP Status 500 -
>>>
>>> ------------------------------------------------------------ --------------------
>>>
>>>type Exception report
>>>
>>>message
>>>
>>>description The server encountered an internal error () that prevented it
>>>from fulfilling this request.
>>>
>>>
>>>
>>>I
>>>
>
>
Re: WTP plugin - creating/testingweb service [message #92034 is a reply to message #91896] Thu, 14 April 2005 03:46 Go to previous messageGo to next message
Eclipse UserFriend
The naswer is I don't know - I'm very new to web services and I'm struggling
myself




"John Bailo" <jbailo@vestcom.com> wrote in message
news:425D3135.1080909@vestcom.com...
> plork123 wrote:
>> From here
>>
>> http://www-106.ibm.com/developerworks/edu/os-dw-os-wtpservic e-i.html?ca=dgr
>
> I am looking at that now.
>
> Is there any more quick and dirty way of getting a web service up ... just
> a hello world would do if someone can tell me how.
>
> I've already installed the WST edition of eclipse...is there a way to
> through up a web service stub method like in VS.NET ?
>
>
>
>
>>
>> You'll have to register
>>
>>
>>
>>
>> "news.eclipse.org" <jbailo@vestcom.com> wrote in message
>> news:d3hmb1$vhp$2@news.eclipse.org...
>>
>>>plork123 wrote:
>>>
>>>>Hi All
>>>>
>>>>Following a tutorial I've created a web service from java files using
>>>>the
>>>
>>>
>>>Where is the tutorial ... I'd like to try it
>>>
>>>
>>>>WTP tools, once the files have been generated and deployed to Tomcat -
>>>>my WDSL file has been created
>>>>
>>>>I want to go on to the next stage f the tutorial which istesting the web
>>>>service using the Web Services Explorer (Run > Launch the Web Services
>>>>Explorer)
>>>>
>>>>But I get an error :
>>>>
>>>>I've followed the instrunctions and adding the extra jars etc... but
>>>>still get this error. Cna someone telll mw whether i need any other
>>>>files or to doanything else
>>>>
>>>>cheers
>>>>
>>>>HTTP Status 500 -
>>>>
>>>> ------------------------------------------------------------ --------------------
>>>>
>>>>type Exception report
>>>>
>>>>message
>>>>
>>>>description The server encountered an internal error () that prevented
>>>>it from fulfilling this request.
>>>>
>>>>
>>>>
>>>>I
>>>>
>>
Re: WTP plugin - creating/testingweb service [message #93438 is a reply to message #91896] Wed, 20 April 2005 14:04 Go to previous message
Eclipse UserFriend
John,
if you're referring to something akin to .NET's "webmethod" annotation, no, there is no
equivalent to this in WTP at present. JSR 181 [1], though not quite final yet, defines
the Java standard for Web service annotations. As runtimes that support JSR 181 emerge
- be they open source or proprietary - I would expect tools in WTP for JSR 181 to
follow.

The initial setup for Web services is not trivial, although the worst part of it - the
need to download all those "third party" plugins and jars - should be resolved in our
next milestone, M4, due out soon. Beyond that, you would still need to download and
install an apropriate server (eg. Tomcat) and then use the Web service wizard to create
your Web service. The wizard is designed so that you can strike "Finish" on the first
page and not have to navigate thru its remaining pages assuming, that is, the wizard's
default choices are acceptable to you (and assuming there are no bugs in our "finish on
page 1" logic - which there probably will be in M4, to be thoroughly cleared away in
M5).

[1] http://www.jcp.org/en/jsr/detail?id=181

John Bailo wrote:

> plork123 wrote:
> > From here
> >
> > http://www-106.ibm.com/developerworks/edu/os-dw-os-wtpservic e-i.html?ca=dgr
>
> I am looking at that now.
>
> Is there any more quick and dirty way of getting a web service up ...
> just a hello world would do if someone can tell me how.
>
> I've already installed the WST edition of eclipse...is there a way to
> through up a web service stub method like in VS.NET ?
>
> >
> > You'll have to register
> >
> >
> >
> >
> > "news.eclipse.org" <jbailo@vestcom.com> wrote in message
> > news:d3hmb1$vhp$2@news.eclipse.org...
> >
> >>plork123 wrote:
> >>
> >>>Hi All
> >>>
> >>>Following a tutorial I've created a web service from java files using the
> >>
> >>
> >>Where is the tutorial ... I'd like to try it
> >>
> >>
> >>>WTP tools, once the files have been generated and deployed to Tomcat - my
> >>>WDSL file has been created
> >>>
> >>>I want to go on to the next stage f the tutorial which istesting the web
> >>>service using the Web Services Explorer (Run > Launch the Web Services
> >>>Explorer)
> >>>
> >>>But I get an error :
> >>>
> >>>I've followed the instrunctions and adding the extra jars etc... but
> >>>still get this error. Cna someone telll mw whether i need any other
> >>>files or to doanything else
> >>>
> >>>cheers
> >>>
> >>>HTTP Status 500 -
> >>>
> >>> ------------------------------------------------------------ --------------------
> >>>
> >>>type Exception report
> >>>
> >>>message
> >>>
> >>>description The server encountered an internal error () that prevented it
> >>>from fulfilling this request.
> >>>
> >>>
> >>>
> >>>I
> >>>
> >
> >
Previous Topic:Use java project as jar in a J2EE web project
Next Topic:null pointer exception in web service wizard
Goto Forum:
  


Current Time: Thu Jun 05 00:36:59 EDT 2025

Powered by FUDForum. Page generated in 0.03931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top