CCing Jitu.
Jitu, do you have any working sample for JAX-WS over Grizzly?
Thanks.
WBR,
Alexey.
On Aug 31, 2009, at 23:42 , Survivant 00 wrote:
> can you provide your .war file ?
>
> and please.. can you try with 1.9.18+
>
>
> 2009/8/31 PT <rolls.royal25_at_gmail.com>
> I wanted see if any one used Grizzly with JAX-WS. I can make it
> work using Grizzly Servlet Deployer. But not able make it work in
> emmbed GrizzlyWebServer adding ServletAdapter and setting
> WSContextListener and WSServlet. Any body did this is? if yes please
> provide me details. Or Any other ways to integrate JAX-WS with
> Grizzly? Also a strange problem with GrizzlyServletDeployer is when
> I expanded war file and give the war file location I am consitantly
> getting following exception. I am using grizzly-http-servlet-
> deployer-1.9.17-SNAPSHOT. It works if I give just the WAR file. I
> used jar -xvf webap.war to expand the war file.
>
> Exception :
> Aug 31, 2009 11:45:06 AM
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy
>
> INFO: Will deploy application path=\webapps\app1\WEB-INF\web.xml
>
> Aug 31, 2009 11:45:38 AM
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy
>
> INFO: deployed application path=\webapps\app1\WEB-INF\web.xml
>
> Aug 31, 2009 11:45:38 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener
> contextInitialized
>
> INFO: WSSERVLET12: JAX-WS context listener initializing
>
> Aug 31, 2009 11:46:11 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener
> contextInitialized
>
> SEVERE: WSSERVLET11: failed to parse runtime descriptor:
>
> java.net.UnknownHostException: C
> java.net.UnknownHostException
>
> : C
> at java.net.PlainSocketImpl.connect(Unknown Source)
>
> at java.net.Socket.connect(Unknown Source)
>
> at java.net.Socket.connect(Unknown Source)
>
> at sun.net.NetworkClient.doConnect(Unknown Source)
>
> at sun.net.NetworkClient.openServer(Unknown Source)
>
> at sun.net.ftp.FtpClient.openServer(Unknown Source)
>
> at sun.net.ftp.FtpClient.openServer(Unknown Source)
>
> at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
>
> at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown
> Source)
>
> at java.net.URL.openStream(Unknown Source)
>
> at
> com
> .sun
> .xml
> .ws
> .transport.http.servlet.WSServletContextListener.contextInitialized(
>
> WSServletContextListener.java:108)
> at com.sun.grizzly.http.servlet.ServletContextImpl.initListeners(
>
> ServletContextImpl.java:152)
> at com.sun.grizzly.http.servlet.ServletAdapter.configureServletEnv(
>
> ServletAdapter.java:440)
> at com.sun.grizzly.http.servlet.ServletAdapter.start(
>
> ServletAdapter.java:277)
> at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.start(
>
> GrizzlyAdapterChain.java:118)
> at com.sun.grizzly.http.SelectorThread.initEndpoint(
>
> SelectorThread.java:1101)
> at com.sun.grizzly.http.SelectorThread.listen(
>
> SelectorThread.java:1152)
> at com.sun.grizzly.http.embed.GrizzlyWebServer.start(
>
> GrizzlyWebServer.java:585)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.launch(
>
> GrizzlyWebServerDeployer.java:1142)
> at com.gdas.grizzly.SampleWebServer3.main(
>
> SampleWebServer3.java:26)
> Aug 31, 2009 11:46:11 AM
> com.sun.grizzly.http.servlet.ServletContextImpl initListeners
>
> SEVERE:
>
> com.sun.xml.ws.transport.http.servlet.WSServletException
>
> : WSSERVLET11: failed to parse runtime descriptor:
> java.net.UnknownHostException: C
> at
> com
> .sun
> .xml
> .ws
> .transport.http.servlet.WSServletContextListener.contextInitialized(
>
> WSServletContextListener.java:118)
> at com.sun.grizzly.http.servlet.ServletContextImpl.initListeners(
>
> ServletContextImpl.java:152)
> at com.sun.grizzly.http.servlet.ServletAdapter.configureServletEnv(
>
> ServletAdapter.java:440)
> at com.sun.grizzly.http.servlet.ServletAdapter.start(
>
> ServletAdapter.java:277)
> at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.start(
>
> GrizzlyAdapterChain.java:118)
> at com.sun.grizzly.http.SelectorThread.initEndpoint(
>
> SelectorThread.java:1101)
> at com.sun.grizzly.http.SelectorThread.listen(
>
> SelectorThread.java:1152)
> at com.sun.grizzly.http.embed.GrizzlyWebServer.start(
>
> GrizzlyWebServer.java:585)
> at
> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.launch(
>
> GrizzlyWebServerDeployer.java:1142)
> at com.gdas.grizzly.SampleWebServer3.main(
>
> SampleWebServer3.java:26)
> Caused by:
>
> java.net.UnknownHostException: C
> at java.net.PlainSocketImpl.connect(Unknown Source)
>
> at java.net.Socket.connect(Unknown Source)
>
> at java.net.Socket.connect(Unknown Source)
>
> at sun.net.NetworkClient.doConnect(Unknown Source)
>
> at sun.net.NetworkClient.openServer(Unknown Source)
>
> at sun.net.ftp.FtpClient.openServer(Unknown Source)
>
> at sun.net.ftp.FtpClient.openServer(Unknown Source)
>
> at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
>
> at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown
> Source)
>
> at java.net.URL.openStream(Unknown Source)
>
> at
> com
> .sun
> .xml
> .ws
> .transport.http.servlet.WSServletContextListener.contextInitialized(
>
> WSServletContextListener.java:108)
> ... 9 more
>
> Aug 31, 2009 11:46:11 AM com.sun.grizzly.Controller start
>
> INFO: Starting Grizzly Framework 1.9.17-SNAPSHOT - Mon Aug 31
> 11:46:11 MST 2009
>
>
>
> Thanks,
>
> TP
>
>