Ryan,
How does the @WebService annotation look ? Is there a wsdlLocation
attribute that points to the wsdl location correctly.
This exception is caused because in the JavaEE environment, you cannot
get access to your local file system. If you are packaging WSDL, then it
should be in your WAR/JAR and the location in the WAR/JAR relative to
the root of the module should be specified in the wsdlLocation
attribute.
Vijay
On Fri, 2006-09-22 at 10:51, Ryan Shoemaker - JavaSoft East wrote:
> Hi,
>
> I'm kinda blocked by this issue, so I'd appreciate a quick response ;8-)
>
> This stack trace is popping up in the GF server log when I deploy my
> war file:
>
> Servlet web service endpoint 'ActivationCoordinatorPortTypeImpl' failure
> exception during WSDL parsing: file:/D:/gf-v2b17/domains/domain1/applications/j2ee-modules/wstx-services/WEB-INF/wsdl/http:/schemas.xmlsoap.org/ws/2004/08/addressing
> at com.sun.xml.ws.server.SDDocumentImpl.create(SDDocumentImpl.java:125)
> at com.sun.xml.ws.server.EndpointFactory.categoriseMetadata(EndpointFactory.java:395)
> at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:138)
> at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
> at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
> at com.sun.enterprise.webservice.NewJAXWSServlet.registerEndpoint(NewJAXWSServlet.java:308)
> at com.sun.enterprise.webservice.NewJAXWSServlet.doInit(NewJAXWSServlet.java:223)
> at com.sun.enterprise.webservice.NewJAXWSServlet.init(NewJAXWSServlet.java:95)
> at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:962)
> at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4416)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4772)
> at com.sun.enterprise.web.WebModule.start(WebModule.java:297)
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
> at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1485)
> at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1149)
> at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:171)
> at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:275)
> at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:954)
> at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:941)
> at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:448)
> at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
> at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:295)
> at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:203)
> at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
> at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
> at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:541)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:585)
> at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:719)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
> at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
> at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
> at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
> at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
> at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
> at $Proxy1.invoke(Unknown Source)
> at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
> at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:133)
> at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:517)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.io.FileNotFoundException: D:\gf-v2b17\domains\domain1\applications\j2ee-modules\wstx-services\WEB-INF\wsdl\http:\schemas.xmlsoap.org\ws\2004\08\addressing (The filename, directory name, or volume label syntax is incorrect)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
> at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
> at java.net.URL.openStream(URL.java:1007)
> at com.sun.xml.ws.api.server.SDDocumentSource$1.read(SDDocumentSource.java:75)
> at com.sun.xml.ws.server.SDDocumentImpl.create(SDDocumentImpl.java:74)
> ... 52 more
>
> My webservice code is annotated with @WebService.wsdlLocation = "WEB-INF/wsdl/wscoor.wsdl".
> The first <import> in my wsdl file is looking for http:\\schemas.xmlsoap.org\ws\2004\08\addressing
> and it seems like the ws runtime is trying to retrieve that relative to the base directory
> that I've specified in my wsdlLocation annotation.
>
> Is this a known issue or am I doing something wrong?
>
> Thanks!
>
> --Ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>