Problem deploying web service to Tomcat 5.5 [message #84045] |
Wed, 16 March 2005 05:13  |
Eclipse User |
|
|
|
Originally posted by: poulsenj.worldonline.dk
After successfully running the *** tutorial, I'm now trying to run the
'Bottom Up Web Services Tutorial'. The J2EE Web Project is created having
a Target Server Apache Tomcat 5.5 (which is the only server listed under
Preferences/Servers/Runtime)
When generating the Web Service and the wizard prompts for Service
Deployment Configuration, it defaults to Tomcat v5.0 Server (where does
this entry come from?). I press the 'Edit...' button and select Existing
Servers/Tomcat v5.5 Server@localhost. The wizard screen updates correctly,
but in the .log file I get the following stack trace (and nothing is
generated/deployed even if I press the Finish button)
!ENTRY org.eclipse.ui 4 4 2005-03-16 11:06:39.938
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2005-03-16 11:06:39.948
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.R untimeServerSelectionWidget.getStatus(RuntimeServerSelection Widget.java:228)
at
org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.Serv erRuntimeSelectionWidget.getStatus(ServerRuntimeSelectionWid get.java:219)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page.validatePageToStatus(SimpleWizardPage.java:67)
at
org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizard Page$StatusListener.handleEvent(SimpleWizardPage.java:137)
at
org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.R untimeServerSelectionWidget.handleEditButton(RuntimeServerSe lectionWidget.java:167)
at
org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.R untimeServerSelectionWidget$1.widgetSelected(RuntimeServerSe lectionWidget.java:94)
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(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)
|
|
|
|
|
Re: Problem deploying web service to Tomcat 5.5 [message #84426 is a reply to message #84322] |
Wed, 16 March 2005 15:09   |
Eclipse User |
|
|
|
Hi Gary, Johannes,
I opened a Bugzilla for this issue.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=88238
Feel free to add comments or track this issue here. In the future, you
may open bugs by going to http://bugs.eclipse.org/bugs . You'll have to
register for an account, but its free! The Web service components are
jst.ws and wst.ws. Thanks.
Seng
Gary Mohr wrote:
> I get the same error described in this posting (see eclipse.webtools news
> entry posted
> on 3/14/05) when trying to select a server other than Tomcat v5.0 from under
> the edit
> button of the Service Deployment Configuration page.
>
> At least in my case there is no proxy server configured and all of my
> testing is being done
> on "localhost".
>
> Gary
>
> "adym" <alincoln@edgewater.com> wrote in message
> news:d19dhd$l0p$1@www.eclipse.org...
>
>>Johannes Poulsen wrote:
>>
>>
>>>After successfully running the *** tutorial, I'm now trying to run the
>>>'Bottom Up Web Services Tutorial'. The J2EE Web Project is created
>
> having
>
>>>a Target Server Apache Tomcat 5.5 (which is the only server listed under
>>>Preferences/Servers/Runtime)
>>
>>>When generating the Web Service and the wizard prompts for Service
>>>Deployment Configuration, it defaults to Tomcat v5.0 Server (where does
>>>this entry come from?). I press the 'Edit...' button and select Existing
>>>Servers/Tomcat v5.5 Server@localhost. The wizard screen updates
>
> correctly,
>
>>>but in the .log file I get the following stack trace (and nothing is
>>>generated/deployed even if I press the Finish button)
>>
>><snip>
>>
>>Johannes,
>>
>>Any chance you are going thru a Proxy server (probably at work). I was
>>getting these same errors when I was developing stuff at work as I had a
>>Proxy Server at work. Things worked fine at home as there was no Proxy
>>Server...
>>
>>Proxy Server setting are located under Window > Preferences > Internet >
>>Proxy Settings...
>>
>>hth,
>>
>>adym
>>
>>
>
>
>
|
|
|
Re: Problem deploying web service to Tomcat 5.5 [message #86800 is a reply to message #84426] |
Thu, 24 March 2005 06:31   |
Eclipse User |
|
|
|
is there any solution to this problem, or does the eclipse WTP only support
Tomcat 4.1?
thx
"Seng Phung-Lu" <sengpl@ca.ibm.com> schrieb im Newsbeitrag
news:d1a3qn$fvo$1@www.eclipse.org...
> Hi Gary, Johannes,
>
> I opened a Bugzilla for this issue.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=88238
>
> Feel free to add comments or track this issue here. In the future, you
> may open bugs by going to http://bugs.eclipse.org/bugs . You'll have to
> register for an account, but its free! The Web service components are
> jst.ws and wst.ws. Thanks.
>
> Seng
>
>
> Gary Mohr wrote:
>> I get the same error described in this posting (see eclipse.webtools
>> news
>> entry posted
>> on 3/14/05) when trying to select a server other than Tomcat v5.0 from
>> under
>> the edit
>> button of the Service Deployment Configuration page.
>>
>> At least in my case there is no proxy server configured and all of my
>> testing is being done
>> on "localhost".
>>
>> Gary
>>
>> "adym" <alincoln@edgewater.com> wrote in message
>> news:d19dhd$l0p$1@www.eclipse.org...
>>
>>>Johannes Poulsen wrote:
>>>
>>>
>>>>After successfully running the *** tutorial, I'm now trying to run the
>>>>'Bottom Up Web Services Tutorial'. The J2EE Web Project is created
>>
>> having
>>
>>>>a Target Server Apache Tomcat 5.5 (which is the only server listed under
>>>>Preferences/Servers/Runtime)
>>>
>>>>When generating the Web Service and the wizard prompts for Service
>>>>Deployment Configuration, it defaults to Tomcat v5.0 Server (where does
>>>>this entry come from?). I press the 'Edit...' button and select Existing
>>>>Servers/Tomcat v5.5 Server@localhost. The wizard screen updates
>>
>> correctly,
>>
>>>>but in the .log file I get the following stack trace (and nothing is
>>>>generated/deployed even if I press the Finish button)
>>>
>>><snip>
>>>
>>>Johannes,
>>>
>>>Any chance you are going thru a Proxy server (probably at work). I was
>>>getting these same errors when I was developing stuff at work as I had a
>>>Proxy Server at work. Things worked fine at home as there was no Proxy
>>>Server...
>>>
>>>Proxy Server setting are located under Window > Preferences > Internet >
>>>Proxy Settings...
>>>
>>>hth,
>>>
>>>adym
>>>
>>>
>>
>>
|
|
|
Re: Problem deploying web service to Tomcat 5.5 [message #86828 is a reply to message #86800] |
Thu, 24 March 2005 11:03  |
Eclipse User |
|
|
|
Hi,
I've tried Web services with Tomat 4.0, 4.1, 5.0, and Tomcat 3.2 is also
supported. Problem is Tomcat 5.5 requires JRE 5.0 by default, which
hasn't been tested with Web services.
Note: The initial fix may be to just tolerate the server selection for
Tomcat 5.x.
I hope that helps.
-seng
ztravar@gmx.de wrote:
> is there any solution to this problem, or does the eclipse WTP only support
> Tomcat 4.1?
>
> thx
>
> "Seng Phung-Lu" <sengpl@ca.ibm.com> schrieb im Newsbeitrag
> news:d1a3qn$fvo$1@www.eclipse.org...
>
>>Hi Gary, Johannes,
>>
>>I opened a Bugzilla for this issue.
>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=88238
>>
>>Feel free to add comments or track this issue here. In the future, you
>>may open bugs by going to http://bugs.eclipse.org/bugs . You'll have to
>>register for an account, but its free! The Web service components are
>>jst.ws and wst.ws. Thanks.
>>
>>Seng
>>
>>
>>Gary Mohr wrote:
>>
>>>I get the same error described in this posting (see eclipse.webtools
>>>news
>>>entry posted
>>>on 3/14/05) when trying to select a server other than Tomcat v5.0 from
>>>under
>>>the edit
>>>button of the Service Deployment Configuration page.
>>>
>>>At least in my case there is no proxy server configured and all of my
>>>testing is being done
>>>on "localhost".
>>>
>>>Gary
>>>
>>>"adym" <alincoln@edgewater.com> wrote in message
>>>news:d19dhd$l0p$1@www.eclipse.org...
>>>
>>>
>>>>Johannes Poulsen wrote:
>>>>
>>>>
>>>>
>>>>>After successfully running the *** tutorial, I'm now trying to run the
>>>>>'Bottom Up Web Services Tutorial'. The J2EE Web Project is created
>>>
>>>having
>>>
>>>
>>>>>a Target Server Apache Tomcat 5.5 (which is the only server listed under
>>>>>Preferences/Servers/Runtime)
>>>>
>>>>>When generating the Web Service and the wizard prompts for Service
>>>>>Deployment Configuration, it defaults to Tomcat v5.0 Server (where does
>>>>>this entry come from?). I press the 'Edit...' button and select Existing
>>>>>Servers/Tomcat v5.5 Server@localhost. The wizard screen updates
>>>
>>>correctly,
>>>
>>>
>>>>>but in the .log file I get the following stack trace (and nothing is
>>>>>generated/deployed even if I press the Finish button)
>>>>
>>>><snip>
>>>>
>>>>Johannes,
>>>>
>>>>Any chance you are going thru a Proxy server (probably at work). I was
>>>>getting these same errors when I was developing stuff at work as I had a
>>>>Proxy Server at work. Things worked fine at home as there was no Proxy
>>>>Server...
>>>>
>>>>Proxy Server setting are located under Window > Preferences > Internet >
>>>>Proxy Settings...
>>>>
>>>>hth,
>>>>
>>>>adym
>>>>
>>>>
>>>
>>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04387 seconds