Hi,
I have been unable to deploy a webservice client application due to the following error:
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [v_WSW2JDLHttpTest_wsappclient_vehicle] -- This applica
tion client has no service refernce by the name service/wsw2jdlhttptest
I have checked my service wsw2jdlhttptest and it is indeed deployed fine. Also, I am able to deploy the client ear with the same deployment plan jar from the command line. The stack trace is shown below, can any one give me an idea what the sun Deployer is looking for for server-ref-name? What is it trying to do when it calls ApplicationClientDescriptor.getServiceReferenceByName()?
Thanks!
Gigi
> at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:362)
> at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:327)
> at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive(AppDeployer.java:332)
> at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:182)
> at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
> at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
> 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.deploy(PEDeploymentService.java:266)
> at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
> at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
> at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
> Caused by: java.lang.IllegalArgumentException: This application client has no service refernce by the name service/wsw2jdlhttptest
> at com.sun.enterprise.deployment.ApplicationClientDescriptor.getServiceReferenceByName(ApplicationClientDescriptor.java:329)
> at com.sun.enterprise.deployment.node.runtime.ServiceRefNode.setElementValue(ServiceRefNode.java:110)
> at com.sun.enterprise.deployment.node.SaxParserHandler.endElement(SaxParserHandler.java:408)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:279)
> at com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDescriptor(Archivist.java:514)
> at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readRuntimeDeploymentDescriptor(ApplicationArchivist.java:387)
> at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:320)
> ... 11 more
> |#]