users@glassfish.java.net

Error while deploying application with webservices-rt

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Thu, 14 Jul 2011 18:44:28 +0200

Hi,

I have a somewhat old application bundling webservices-rt.jar (1.5). The
thing is that when I upgrade the web.xml from 2.3 to 2.5 and now when I
deploy the application on a GF 2.1.1, I get the following exception:
|Exception occured in J2EEC Phasejava.lang.RuntimeException: wsdl file
WEB-INF/wsdl/wsat.wsdl does not exist for web service WSATCoordinator
com.sun.enterprise.deployment.backend.IASDeploymentException: Error
loading deployment descriptors for module [openam] -- wsdl file
WEB-INF/wsdl/wsat.wsdl does not exist for web service WSATCoordinator
         at
com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:406)
         at
com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:426)
         at
com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:160)
         at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:182)
         at
com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:208)
         at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
         at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
         at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:283)
         at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:835)
         at
com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
         at
com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225)
Caused by: java.lang.RuntimeException: wsdl file WEB-INF/wsdl/wsat.wsdl
does not exist for web service WSATCoordinator
         at
com.sun.enterprise.deployment.util.ModuleContentValidator.accept(ModuleContentValidator.java:187)
         at
com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1410)
         at
com.sun.enterprise.deployment.archivist.WebArchivist.postOpen(WebArchivist.java:171)
         at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:215)
         at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:813)
         at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:794)
         at
com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:365)
         ... 10 more
|#]

What the hell is this and why is it happening only if the web.xml is
using 2.5 XSD? And a better question how can I fix this?

Thanks in advance,
Peter