Click here to Skip to main content
15,127,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi I have created a web service from a wsdl file using JBoss IDE which is importing some xsd schema but when i deploying i am getting following error:

MSIL
13:33:44,700 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=TerminalLocation,endpoint=TerminalLocation
13:33:44,732 INFO  [TomcatDeployment] deploy, ctxPath=/TerminalLocation
13:33:45,372 WARN  [AbstractServerConfig] Unable to calculate 'WebServiceSecurePort', using default '8443'
13:33:45,388 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/Documents and Settings/kumrakes/My Documents/soa-5.0.2.GA/jboss-soa-p.5.0.0/jboss-as/server/default/data/wsdl/TerminalLocationEAR.ear/TerminalLocation.war/parlayx_terminal_location_service_3_1.wsdl
13:33:45,513 INFO  [TomcatDeployment] undeploy, ctxPath=/TerminalLocation
13:33:45,528 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=TerminalLocation,endpoint=TerminalLocation
13:33:45,528 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/Documents%20and%20Settings/kumrakes/My%20Documents/soa-5.0.2.GA/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/TerminalLocationEAR.ear/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/Documents%20and%20Settings/kumrakes/My%20Documents/soa-5.0.2.GA/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/TerminalLocationEAR.ear/TerminalLocation.war/
    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1440)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1158)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1211)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1099)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:782)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:409)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.ws.WSException: Cannot publish wsdl to: C:\Documents and Settings\kumrakes\My Documents\soa-5.0.2.GA\jboss-soa-p.5.0.0\jboss-as\server\default\data\wsdl\TerminalLocationEAR.ear\TerminalLocation.war\parlayx_terminal_location_service_3_1.wsdl
    at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:142)
    at org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.start(PublishContractDeploymentAspect.java:50)
    at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:129)
    at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:76)
    at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
    ... 25 more
Caused by: java.io.IOException: Could not find WEB-INF/wsdl/parlayx_common_types_3_1.xsd in the additional metadatafiles!
    at org.jboss.wsf.framework.deployment.ArchiveDeploymentImpl.getMetaDataFileURL(ArchiveDeploymentImpl.java:143)
    at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:248)
    at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:274)
    at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:274)
    at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlImports(WSDLFilePublisher.java:198)
    at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlImports(WSDLFilePublisher.java:194)
    at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:125)
    ... 31 more
13:33:45,544 WARN  [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfsfile:/C:/Documents%20and%20Settings/kumrakes/My%20Documents/soa-5.0.2.GA/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/TerminalLocationEAR.ear/ -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/Documents%20and%20Settings/kumrakes/My%20Documents/soa-5.0.2.GA/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/TerminalLocationEAR.ear/TerminalLocation.war/

DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/C:/Documents%20and%20Settings/kumrakes/My%20Documents/soa-5.0.2.GA/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/TerminalLocationEAR.ear/" is in error due to the following reason(s): java.io.IOException: Could not find WEB-INF/wsdl/parlayx_common_types_3_1.xsd in the additional metadatafiles!
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:994)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:940)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:416)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)


So please help me to resolve this, i have tried a lot but all waste.
i m putting all my xsd and wsdl file in the same wsdl folder.

with regards
rakesh kumar
Posted

1 solution

If only I could find a reason:

Caused by: java.io.IOException: Could not find WEB-INF/wsdl/parlayx_common_types_3_1.xsd in the additional metadatafiles!

DAMN - there it is ;-)

regards
Torsten
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900