I have filed a bug against web container as I could reproduce this
problem with simple test.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5934
Pls let me know if you need more info. This works on v2.
Regards,
Bhakti
Bhakti Mehta wrote:
> Experts,
> I am trying to get a simple jaxws deployed and run into the following
> stacktrace
> java.net.MalformedURLException: Unknown protocol:
> jndi
>
> This same code works in v2 but fails in v3 so thought maybe some osgi
> magic I am missing.
> What this is doing is
> URL someurl = context.getResource(JAXWS_RI_RUNTIME) (context is
> ServletContext)
> which returns jndi:/server/wsit-jaxws-fromwsdl/WEB-INF/sun-jaxws.xml
>
> Then that URL is converted to String to create XMLInputFactory and
> then woostox parser tries to create new URL(String) where the
> MalformedURLException is thrown
>
> Is there something obvious here. I can write a standalone webapp to do
> the same but thought would confirm if maybe some package in servlet
> jar needs to be exported. I am trying to put breakpoints to track down
> URLStreamHandler and URLStreamHandlerFactory and will see if I can get
> more info
> Regards,
> Bhakti
>
>
>
> SEVERE: WSSERVLET11: failed to parse runtime descriptor: Unable to
> create StAX r
> eader or writer
> com.sun.xml.ws.streaming.XMLReaderException: Unable to create StAX
> reader or wri
> ter
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:404)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$Woodstox.doCreate
> (XMLStreamReaderFactory.java:432)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamR
> eaderFactory.java:150)
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(Deploy
> mentDescriptorParser.java:144)
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contex
> tInitialized(WSServletContextListener.java:108)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:4628)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5
> 289)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:453)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:922)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:90
> 6)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
>
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2
> 184)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
> 871)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:92)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:86)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startModules(Applic
> ationLifecycle.java:587)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
> ifecycle.java:214)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplicat
> ion(ApplicationLoaderService.java:220)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(A
> pplicationLoaderService.java:98)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(
> ApplicationLoaderInjector.java:61)
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
> 50)
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
> :86)
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
> a:58)
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
> pl.java:60)
> at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.ja
> va:168)
> at
> com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.
> java:103)
> Caused by: com.ctc.wstx.exc.WstxIOException: [resolving systemId
> 'jndi:/server/w
> sit-jaxws-fromwsdl/WEB-INF/sun-jaxws.xml']:
> java.net.MalformedURLException: Unkn
> own protocol: jndi
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:601
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:619
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFac
> tory.java:348)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:402)
> ... 27 more
> Caused by: java.io.IOException: [resolving systemId
> 'jndi:/server/wsit-jaxws-fro
> mwsdl/WEB-INF/sun-jaxws.xml']: java.net.MalformedURLException: Unknown
> protocol:
> jndi
> at com.ctc.wstx.util.URLUtil.throwIOException(URLUtil.java:131)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:61)
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:599
> )
> ... 30 more
> Caused by: java.net.MalformedURLException: Unknown protocol: jndi
> at java.net.URL.<init>(URL.java:601)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:37)
> ... 31 more
> Sep 5, 2008 11:11:39 AM org.apache.catalina.core.ApplicationContext log
> SEVERE: WebModule[/wsit-jaxws-fromwsdl]PWC1275: Exception sending
> context initia
> lized event to listener instance of class
> com.sun.xml.ws.transport.http.servlet.
> WSServletContextListener
> com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11:
> failed to
> parse runtime descriptor: Unable to create StAX reader or writer
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contex
> tInitialized(WSServletContextListener.java:118)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:4628)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5
> 289)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:453)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:922)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:90
> 6)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
>
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2
> 184)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
> 871)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:92)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:86)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startModules(Applic
> ationLifecycle.java:587)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
> ifecycle.java:214)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplicat
> ion(ApplicationLoaderService.java:220)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(A
> pplicationLoaderService.java:98)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(
> ApplicationLoaderInjector.java:61)
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
> 50)
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
> :86)
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
> a:58)
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
> pl.java:60)
> at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.ja
> va:168)
> at
> com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.
> java:103)
> Caused by: com.sun.xml.ws.streaming.XMLReaderException: Unable to
> create StAX re
> ader or writer
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:404)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$Woodstox.doCreate
> (XMLStreamReaderFactory.java:432)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamR
> eaderFactory.java:150)
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(Deploy
> mentDescriptorParser.java:144)
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contex
> tInitialized(WSServletContextListener.java:108)
> ... 23 more
> Caused by: com.ctc.wstx.exc.WstxIOException: [resolving systemId
> 'jndi:/server/w
> sit-jaxws-fromwsdl/WEB-INF/sun-jaxws.xml']:
> java.net.MalformedURLException: Unkn
> own protocol: jndi
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:601
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:619
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFac
> tory.java:348)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:402)
> ... 27 more
> Caused by: java.io.IOException: [resolving systemId
> 'jndi:/server/wsit-jaxws-fro
> mwsdl/WEB-INF/sun-jaxws.xml']: java.net.MalformedURLException: Unknown
> protocol:
> jndi
> at com.ctc.wstx.util.URLUtil.throwIOException(URLUtil.java:131)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:61)
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:599
> )
> ... 30 more
> Caused by: java.net.MalformedURLException: Unknown protocol: jndi
> at java.net.URL.<init>(URL.java:601)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:37)
> ... 31 more
>
> Sep 5, 2008 11:11:39 AM org.apache.catalina.core.StandardContext start
> SEVERE: PWC1306: Startup of context /wsit-jaxws-fromwsdl failed due to
> previous
> errors
> Sep 5, 2008 11:11:39 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextLi
> stener contextDestroyed
> INFO: WSSERVLET13: JAX-WS context listener destroyed
> Sep 5, 2008 11:11:39 AM com.sun.enterprise.web.WebApplication start
> INFO: Loading application wsit-jaxws-fromwsdl at /wsit-jaxws-fromwsdl
> Sep 5, 2008 11:11:39 AM org.apache.catalina.loader.WebappLoader
> setClassPath
> INFO: Unknown loader
> org.glassfish.internal.api.DelegatingClassLoader_at_aaf64e cla
> ss org.glassfish.internal.api.DelegatingClassLoader
> Sep 5, 2008 11:11:39 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextLi
> stener contextInitialized
> INFO: WSSERVLET12: JAX-WS context listener initializing
> Sep 5, 2008 11:12:17 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextLi
> stener contextInitialized
> SEVERE: WSSERVLET11: failed to parse runtime descriptor: Unable to
> create StAX r
> eader or writer
> com.sun.xml.ws.streaming.XMLReaderException: Unable to create StAX
> reader or wri
> ter
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:404)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$Woodstox.doCreate
> (XMLStreamReaderFactory.java:432)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamR
> eaderFactory.java:150)
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(Deploy
> mentDescriptorParser.java:144)
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contex
> tInitialized(WSServletContextListener.java:108)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:4628)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5
> 289)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:453)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:922)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:90
> 6)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
>
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2
> 184)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
> 871)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:92)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:86)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startModules(Applic
> ationLifecycle.java:587)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
> ifecycle.java:214)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplicat
> ion(ApplicationLoaderService.java:220)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(A
> pplicationLoaderService.java:98)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(
> ApplicationLoaderInjector.java:61)
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
> 50)
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
> :86)
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
> a:58)
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
> pl.java:60)
> at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.ja
> va:168)
> at
> com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.
> java:103)
> Caused by: com.ctc.wstx.exc.WstxIOException: [resolving systemId
> 'jndi:/server/w
> sit-jaxws-fromwsdl/WEB-INF/sun-jaxws.xml']:
> java.net.MalformedURLException: Unkn
> own protocol: jndi
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:601
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:619
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFac
> tory.java:348)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:402)
> ... 27 more
> Caused by: java.io.IOException: [resolving systemId
> 'jndi:/server/wsit-jaxws-fro
> mwsdl/WEB-INF/sun-jaxws.xml']: java.net.MalformedURLException: Unknown
> protocol:
> jndi
> at com.ctc.wstx.util.URLUtil.throwIOException(URLUtil.java:131)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:61)
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:599
> )
> ... 30 more
> Caused by: java.net.MalformedURLException: Unknown protocol: jndi
> at java.net.URL.<init>(URL.java:601)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:37)
> ... 31 more
> Sep 5, 2008 11:12:17 AM org.apache.catalina.core.ApplicationContext log
> SEVERE: WebModule[/wsit-jaxws-fromwsdl]PWC1275: Exception sending
> context initia
> lized event to listener instance of class
> com.sun.xml.ws.transport.http.servlet.
> WSServletContextListener
> com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11:
> failed to
> parse runtime descriptor: Unable to create StAX reader or writer
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contex
> tInitialized(WSServletContextListener.java:118)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:4628)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5
> 289)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:453)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:922)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:90
> 6)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
>
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2
> 184)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
> 871)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:92)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:86)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startModules(Applic
> ationLifecycle.java:587)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
> ifecycle.java:214)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplicat
> ion(ApplicationLoaderService.java:220)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(A
> pplicationLoaderService.java:98)
> at
> com.sun.enterprise.v3.server.ApplicationLoaderInjector.postConstruct(
> ApplicationLoaderInjector.java:61)
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:1
> 50)
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
> :86)
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
> a:58)
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
> pl.java:60)
> at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.ja
> va:168)
> at
> com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.
> java:103)
> Caused by: com.sun.xml.ws.streaming.XMLReaderException: Unable to
> create StAX re
> ader or writer
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:404)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$Woodstox.doCreate
> (XMLStreamReaderFactory.java:432)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamR
> eaderFactory.java:150)
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(Deploy
> mentDescriptorParser.java:144)
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contex
> tInitialized(WSServletContextListener.java:108)
> ... 23 more
> Caused by: com.ctc.wstx.exc.WstxIOException: [resolving systemId
> 'jndi:/server/w
> sit-jaxws-fromwsdl/WEB-INF/sun-jaxws.xml']:
> java.net.MalformedURLException: Unkn
> own protocol: jndi
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:601
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:619
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFac
> tory.java:348)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:402)
> ... 27 more
> Caused by: java.io.IOException: [resolving systemId
> 'jndi:/server/wsit-jaxws-fro
> mwsdl/WEB-INF/sun-jaxws.xml']: java.net.MalformedURLException: Unknown
> protocol:
> jndi
> at com.ctc.wstx.util.URLUtil.throwIOException(URLUtil.java:131)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:61)
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:599
> )
> ... 30 more
> Caused by: java.net.MalformedURLException: Unknown protocol: jndi
> at java.net.URL.<init>(URL.java:601)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:37)
> ... 31 more
>
> Sep 5, 2008 11:12:17 AM org.apache.catalina.core.StandardContext start
> SEVERE: PWC1306: Startup of context /wsit-jaxws-fromwsdl failed due to
> previous
> errors
> Sep 5, 2008 11:12:17 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextLi
> stener contextDestroyed
> INFO: WSSERVLET13: JAX-WS context listener destroyed
> Sep 5, 2008 11:12:17 AM com.sun.enterprise.web.WebApplication start
> INFO: Loading application wsit-jaxws-fromwsdl at /wsit-jaxws-fromwsdl
> Sep 5, 2008 11:12:17 AM
> com.sun.enterprise.v3.server.ApplicationLoaderService pr
> ocessApplication
> INFO: Loading wsit-jaxws-fromwsdl Application done is 152406 ms
> Sep 5, 2008 11:12:17 AM com.sun.enterprise.v3.server.AppServerStartup run
> INFO: Glassfish v3 started in 271281 ms
> Sep 5, 2008 11:12:45 AM
> org.glassfish.deployment.autodeploy.AutoDeployer deploy
> INFO: [AutoDeploy] Selecting file
> C:\ap25-v3\websep6\glassfish\domains\domain1\a
> utodeploy\wsit-jaxws-fromwsdl.war for autodeployment.
> Sep 5, 2008 11:13:00 AM
> com.sun.enterprise.deployment.node.DeploymentDescriptorN
> ode setElementValue
> SEVERE: enterprise.deployment.backend.invalidDescriptorMappingFailure
> Sep 5, 2008 11:13:00 AM org.apache.catalina.loader.WebappLoader
> setClassPath
> INFO: Unknown loader
> org.glassfish.internal.api.DelegatingClassLoader_at_aaf64e cla
> ss org.glassfish.internal.api.DelegatingClassLoader
> Sep 5, 2008 11:13:00 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextLi
> stener contextInitialized
> INFO: WSSERVLET12: JAX-WS context listener initializing
> Sep 5, 2008 11:13:51 AM
> com.sun.xml.ws.transport.http.servlet.WSServletContextLi
> stener contextInitialized
> SEVERE: WSSERVLET11: failed to parse runtime descriptor: Unable to
> create StAX r
> eader or writer
> com.sun.xml.ws.streaming.XMLReaderException: Unable to create StAX
> reader or wri
> ter
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:404)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$Woodstox.doCreate
> (XMLStreamReaderFactory.java:432)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.create(XMLStreamR
> eaderFactory.java:150)
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(Deploy
> mentDescriptorParser.java:144)
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contex
> tInitialized(WSServletContextListener.java:108)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:4628)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:5
> 289)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:453)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:922)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:90
> 6)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
>
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2
> 184)
> at
> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1
> 871)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:92)
> at
> com.sun.enterprise.web.WebApplication.start(WebApplication.java:86)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.startModules(Applic
> ationLifecycle.java:587)
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
> ifecycle.java:214)
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.ja
> va:284)
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
> a:286)
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
> a:130)
> at
> org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.j
> ava:118)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.
> java:526)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeploy
> er.java:409)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.jav
> a:341)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.jav
> a:329)
> at
> org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeplo
> yService.java:200)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Caused by: com.ctc.wstx.exc.WstxIOException: [resolving systemId
> 'jndi:/server/w
> sit-jaxws-fromwsdl/WEB-INF/sun-jaxws.xml']:
> java.net.MalformedURLException: Unkn
> own protocol: jndi
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:601
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:619
> )
> at
> com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFac
> tory.java:348)
> at
> com.sun.xml.ws.api.streaming.XMLStreamReaderFactory$NoLock.doCreate(X
> MLStreamReaderFactory.java:402)
> ... 27 more
> Caused by: java.io.IOException: [resolving systemId
> 'jndi:/server/wsit-jaxws-fro
> mwsdl/WEB-INF/sun-jaxws.xml']: java.net.MalformedURLException: Unknown
> protocol:
> jndi
> at com.ctc.wstx.util.URLUtil.throwIOException(URLUtil.java:131)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:61)
> at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:599
> )
> ... 30 more
> Caused by: java.net.MalformedURLException: Unknown protocol: jndi
> at java.net.URL.<init>(URL.java:601)
> at java.net.URL.<init>(URL.java:464)
> at java.net.URL.<init>(URL.java:413)
> at com.ctc.wstx.util.URLUtil.urlFromSystemId(URLUtil.java:37)
> ... 31 more
> Sep 5, 2008 11:13:51 AM org.apache.catalina.core.ApplicationContext log
> SEVERE: WebModule[/wsit-jaxws-fromwsdl]PWC1275: Exception sending
> context initia
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>