aspose file tools*
The moose likes JBoss/WildFly and the fly likes Error while deploying a simple WebService application in JBoss using Eclipse IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error while deploying a simple WebService application in JBoss using Eclipse IDE" Watch "Error while deploying a simple WebService application in JBoss using Eclipse IDE" New topic
Author

Error while deploying a simple WebService application in JBoss using Eclipse IDE

Anjali Raman
Ranch Hand

Joined: Nov 28, 2007
Posts: 57
Hi All,

I was trying to deploy a very simple Web service example using JBoss_5_0_1_GA and eclipse Helios IDE.

I dint make any configuration changes, but just started writing a simple program after creating a Dynamic Web Project and Enterprise Application project.i.e I dint copy any specific jars or move the jars around.

My HelloSvc.java code is given below:





The error I am getting is like given below:

Please need some help on this. This is my very first program in Webservices and I have been trying to resolve this issue... Feeling a lot depressed

Please Please Please kindly help me resolve this issue...



17:14:11,563 INFO [TomcatDeployment] deploy, ctxPath=/TestWeb
17:14:11,720 INFO [TomcatDeployment] undeploy, ctxPath=/TestWeb
17:14:11,757 INFO [DefaultEndpointRegistry] remove: jboss.ws:context=TestWeb,endpoint=HelloSvc
17:14:11,758 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/TestApp.ear/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/TestApp.ear/TestWeb.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:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:360)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:107)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:61)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:64)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:129)
at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:75)
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)
... 19 more
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.xs.XSModel from BaseClassLoader@154e38b{VFSClassLoaderPolicy@26fbfc{name=vfsfile:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/ domain=ClassLoaderDomain@9c2715{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@10b30a7} roots=[MemoryContextHandler@23686363[path= context=vfsmemory://5c4o12t-y84lt5-gsjfv1f7-1-gsjfv4vy-c real=vfsmemory://5c4o12t-y84lt5-gsjfv1f7-1-gsjfv4vy-c], FileHandler@6923979[path=jbossws.deployer context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/], DelegatingHandler@4549132[path=jbossws.deployer/FastInfoset.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/FastInfoset.jar], DelegatingHandler@20281220[path=jbossws.deployer/jboss-jaxb-intros.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar], DelegatingHandler@20547068[path=jbossws.deployer/jbossws-common.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-common.jar], DelegatingHandler@25925980[path=jbossws.deployer/jbossws-framework.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-framework.jar], DelegatingHandler@100251[path=jbossws.deployer/jbossws-jboss50.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-jboss50.jar], DelegatingHandler@7210350[path=jbossws.deployer/jbossws-native-core.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-native-core.jar], DelegatingHandler@19312997[path=jbossws.deployer/jettison.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jettison.jar], DelegatingHandler@21535750[path=jbossws.deployer/policy.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/policy.jar], DelegatingHandler@33258683[path=jbossws.deployer/wsdl4j.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/wsdl4j.jar], DelegatingHandler@28973204[path=jbossws.deployer/xmlsec.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/xmlsec.jar]] delegates=null exported=[, org.jboss.ws.tools.schema, com.ibm.wsdl.xml, org.codehaus.jettison.json, org.jboss.ws.extensions.wsrm.protocol.spec200502, org.apache.xml.security.resource.schema, org.jboss.ws.extensions.wsrm.protocol, javax.wsdl.extensions.mime, schema, org.apache.xml.security.utils, com.ibm.wsdl.util, org.apache.xml.security.exceptions, org.jboss.ws.extensions.wsrm.protocol.spec200702, org.jboss.wsf.stack.jbws, org.jboss.ws.metadata.builder.jaxrpc, META-INF.maven.org.codehaus.jettison.jettison, org.jboss.ws.extensions.policy.deployer, org.jboss.ws.extensions.wsrm.transport, javax.wsdl, org.jboss.ws.jaxrpc, org.jboss.ws.tools.wsdl, org.jboss.wsf.test, org.jvnet.fastinfoset, org.jboss.ws.extensions.eventing.jaxws, org.jboss.ws.extensions.eventing.deployment, com.ibm.wsdl.extensions.schema, org.jboss.wsf.common.management, org.jboss.ws.extensions.validation, javax.wsdl.extensions, com.sun.xml.fastinfoset.dom, javax.wsdl.factory, org.jboss.ws.metadata.wsdl.xsd, com.sun.xml.fastinfoset.org.apache.xerces.util, org.jboss.ws.core.jaxws.spi, com.sun.xml.fastinfoset.tools, org.apache.xml.security.keys.storage, com.sun.xml.fastinfoset.stax.events, META-INF.services, org.jboss.wsf.container.jboss50.deployment.metadata, org.jboss.ws.extensions.addressing.metadata, org.jboss.ws.core.jaxrpc.handler, org.apache.xml.security.resource, org.jboss.ws.extensions.eventing.mgmt, META-INF.maven.org.jboss.ws.native.jbossws-native-core, com.sun.xml.fastinfoset.resources, org.jboss.ws.extensions.security.element, org.jboss.jaxb.intros.configmodel, org.jboss.ws.extensions.wsrm, META-INF.maven.org.jboss.ws.jbossws-framework, org.jboss.ws.core.soap, javax.wsdl.extensions.schema, org.apache.xml.security.keys, org.jboss.ws.extensions.policy.deployer.domainAssertion, org.jvnet.fastinfoset.stax, org.jboss.ws.tools.metadata, org.jboss.ws.core.jaxws.handler, dtd, org.jboss.ws.extensions.wsrm.server, org.jboss.ws.metadata.umdm, org.codehaus.jettison.mapped, com.sun.xml.fastinfoset.stax.util, org.jboss.wsf.framework.invocation, org.jboss.ws.extensions.wsrm.common, org.jboss.wsf.common.handler, org.jboss.ws.extensions.addressing.soap, com.sun.xml.fastinfoset.vocab, org.jboss.ws.metadata.accessor, org.jboss.ws.core, org.jboss.ws.core.jaxws.client, com.sun.xml.fastinfoset.alphabet, org.jboss.wsf.common.utils, org.jboss.ws.extensions.wsrm.transport.backchannel, org.jboss.ws.metadata.config.binding, com.ibm.wsdl, org.apache.xml.security.c14n.implementations, org.jboss.ws.extensions.wsrm.api, org.jboss.ws.tools.client, org.jboss.ws.tools.interfaces, org.jboss.wsf.framework.serviceref, org.jboss.ws.extensions.eventing.metadata, org.jboss.ws.extensions.eventing.common, org.apache.ws.policy, org.jboss.ws.core.binding, org.jboss.ws.metadata.builder, org.jboss.ws.extensions.wsrm.protocol.spi, org.jboss.ws.extensions.xop, com.ibm.wsdl.extensions.soap12, org.jboss.ws.extensions.wsrm.jaxws, org.apache.xml.security.keys.storage.implementations, org.jboss.ws.extensions.policy.deployer.exceptions, org.jboss.ws.core.transport.jms, com.sun.xml.fastinfoset.stax, javax.wsdl.extensions.soap, org.jboss.ws.extensions.security.jaxrpc, org.jvnet.fastinfoset.sax, META-INF, org.jboss.ws.metadata.jaxrpcmapping, org.jboss.ws.feature, org.jboss.ws.extensions.wsrm.common.serialization, org.jboss.ws.core.soap.attachment, org.apache.xml.security.transforms.params, org.jboss.ws.tools.jaxws.impl, javax.wsdl.extensions.soap12, org.jboss.ws.tools.helpers, org.jboss.ws.tools.factories, javax.wsdl.extensions.http, org.codehaus.jettison, javax.wsdl.xml, org.jboss.ws.tools.io, org.apache.xml.security.transforms, org.jboss.wsf.container.jboss50.deployer, org.jboss.wsf.container.jboss50.deployment, org.jboss.ws.extensions.policy.metadata, org.jboss.wsf.framework.management.recording, org.apache.xml.security.utils.resolver, org.apache.xml.security.encryption, org.jboss.ws.extensions.policy, org.jvnet.fastinfoset.sax.helpers, org.jboss.ws.core.client, com.sun.xml.fastinfoset.stax.factory, org.jboss.ws.extensions.addressing.jaxrpc, org.apache.xml.security.algorithms.implementations, org.jboss.wsf.framework.deployment, org.jboss.ws.extensions.wsrm.policy, org.jboss.ws.extensions.security.operation, com.ibm.wsdl.extensions.mime, org.jboss.ws.extensions.security.exception, org.jboss.ws.extensions.policy.deployer.util, org.apache.xml.security.keys.keyresolver.implementations, org.jboss.ws.core.jaxrpc, org.apache.xml.security.algorithms, org.jboss.ws.util.xml, org.jboss.ws.extensions.addressing.jaxws, org.jboss.jaxb.intros.handlers, org.jboss.wsf.container.jboss50.deployment.tomcat, org.jboss.ws.metadata.config.jaxrpc, org.codehaus.jettison.badgerfish, org.apache.xml.security.keys.content.keyvalues, org.apache.xml.security, org.apache.ws.policy.util, org.apache.xml.security.keys.content, org.jboss.ws.extensions.xop.jaxws, org.jboss.wsf.common.servlet, org.jboss.ws.core.server, com.sun.xml.fastinfoset.algorithm, META-INF.maven.org.jboss.ws.jbossws-common, org.apache.xml.security.utils.resolver.implementations, com.ibm.wsdl.util.xml, org.jboss.ws.metadata.wsdl, org.codehaus.jettison.util, org.jboss.ws.extensions.addressing, com.ibm.wsdl.factory, org.apache.xml.security.signature, org.jboss.ws.annotation, org.jboss.ws.extensions.xop.jaxrpc, org.jboss.ws.extensions.eventing, org.jboss.ws.extensions.json, org.jboss.ws.metadata.builder.jaxws, org.jboss.ws.metadata.config.jaxws, org.jboss.ws.tools.mapping, org.jboss.ws.extensions.security, org.jboss.ws.core.utils, org.apache.xml.security.keys.keyresolver, org.jboss.ws.extensions.wsrm.persistence, org.jboss.ws.tools.ant, org.jboss.ws.tools.config, org.jboss.ws.tools.exceptions, org.jboss.ws.metadata.wsse, org.jboss.ws.extensions.security.jaxws, org.apache.xml.security.transforms.implementations, org.jboss.jaxb.intros, org.jboss.ws.metadata.wsdl.xmlschema, org.jboss.ws.tools, org.jboss.wsf.container.jboss50.transport, org.jboss.ws.core.jaxrpc.binding.jbossxb, org.jboss.ws.core.jaxws.binding, com.ibm.wsdl.extensions, org.jboss.ws.metadata.config, org.jboss.ws.extensions.wsrm.config, org.jboss.ws.extensions.policy.annotation, com.sun.xml.fastinfoset.util, org.jboss.wsf.common.javax, com.sun.xml.fastinfoset, org.jboss.ws.extensions.security.nonce, org.apache.xml.security.c14n.helper, org.jboss.wsf.framework.http, org.jboss.wsf.framework.management, org.jboss.wsf.common.logging, org.jboss.ws.core.jaxrpc.binding, org.apache.xml.security.c14n, org.jboss.ws.core.jaxrpc.client, com.ibm.wsdl.extensions.soap, org.jboss.ws.core.jaxws, org.apache.xml.security.keys.content.x509, org.jboss.wsf.common, org.jboss.ws, com.ibm.wsdl.extensions.http, org.jboss.wsf.container.jboss50.invocation, org.jboss.ws.extensions.security.auth.callback, com.sun.xml.fastinfoset.sax, org.jboss.wsf.framework] <IMPORT-ALL>NON_EMPTY}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:422)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 29 more
17:14:11,815 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
Deployment "vfszip:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deploy/TestApp.ear/" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.apache.xerces.xs.XSModel from BaseClassLoader@154e38b{VFSClassLoaderPolicy@26fbfc{name=vfsfile:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/ domain=ClassLoaderDomain@9c2715{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@10b30a7} roots=[MemoryContextHandler@23686363[path= context=vfsmemory://5c4o12t-y84lt5-gsjfv1f7-1-gsjfv4vy-c real=vfsmemory://5c4o12t-y84lt5-gsjfv1f7-1-gsjfv4vy-c], FileHandler@6923979[path=jbossws.deployer context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/], DelegatingHandler@4549132[path=jbossws.deployer/FastInfoset.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/FastInfoset.jar], DelegatingHandler@20281220[path=jbossws.deployer/jboss-jaxb-intros.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar], DelegatingHandler@20547068[path=jbossws.deployer/jbossws-common.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-common.jar], DelegatingHandler@25925980[path=jbossws.deployer/jbossws-framework.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-framework.jar], DelegatingHandler@100251[path=jbossws.deployer/jbossws-jboss50.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-jboss50.jar], DelegatingHandler@7210350[path=jbossws.deployer/jbossws-native-core.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jbossws-native-core.jar], DelegatingHandler@19312997[path=jbossws.deployer/jettison.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/jettison.jar], DelegatingHandler@21535750[path=jbossws.deployer/policy.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/policy.jar], DelegatingHandler@33258683[path=jbossws.deployer/wsdl4j.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/wsdl4j.jar], DelegatingHandler@28973204[path=jbossws.deployer/xmlsec.jar context=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/ real=file:/C:/Java%20Stuff/jboss-5.0.1.GA/jboss-5.0.1.GA/server/default/deployers/jbossws.deployer/xmlsec.jar]] delegates=null exported=[, org.jboss.ws.tools.schema, com.ibm.wsdl.xml, org.codehaus.jettison.json, org.jboss.ws.extensions.wsrm.protocol.spec200502, org.apache.xml.security.resource.schema, org.jboss.ws.extensions.wsrm.protocol, javax.wsdl.extensions.mime, schema, org.apache.xml.security.utils, com.ibm.wsdl.util, org.apache.xml.security.exceptions, org.jboss.ws.extensions.wsrm.protocol.spec200702, org.jboss.wsf.stack.jbws, org.jboss.ws.metadata.builder.jaxrpc, META-INF.maven.org.codehaus.jettison.jettison, org.jboss.ws.extensions.policy.deployer, org.jboss.ws.extensions.wsrm.transport, javax.wsdl, org.jboss.ws.jaxrpc, org.jboss.ws.tools.wsdl, org.jboss.wsf.test, org.jvnet.fastinfoset, org.jboss.ws.extensions.eventing.jaxws, org.jboss.ws.extensions.eventing.deployment, com.ibm.wsdl.extensions.schema, org.jboss.wsf.common.management, org.jboss.ws.extensions.validation, javax.wsdl.extensions, com.sun.xml.fastinfoset.dom, javax.wsdl.factory, org.jboss.ws.metadata.wsdl.xsd, com.sun.xml.fastinfoset.org.apache.xerces.util, org.jboss.ws.core.jaxws.spi, com.sun.xml.fastinfoset.tools, org.apache.xml.security.keys.storage, com.sun.xml.fastinfoset.stax.events, META-INF.services, org.jboss.wsf.container.jboss50.deployment.metadata, org.jboss.ws.extensions.addressing.metadata, org.jboss.ws.core.jaxrpc.handler, org.apache.xml.security.resource, org.jboss.ws.extensions.eventing.mgmt, META-INF.maven.org.jboss.ws.native.jbossws-native-core, com.sun.xml.fastinfoset.resources, org.jboss.ws.extensions.security.element, org.jboss.jaxb.intros.configmodel, org.jboss.ws.extensions.wsrm, META-INF.maven.org.jboss.ws.jbossws-framework, org.jboss.ws.core.soap, javax.wsdl.extensions.schema, org.apache.xml.security.keys, org.jboss.ws.extensions.policy.deployer.domainAssertion, org.jvnet.fastinfoset.stax, org.jboss.ws.tools.metadata, org.jboss.ws.core.jaxws.handler, dtd, org.jboss.ws.extensions.wsrm.server, org.jboss.ws.metadata.umdm, org.codehaus.jettison.mapped, com.sun.xml.fastinfoset.stax.util, org.jboss.wsf.framework.invocation, org.jboss.ws.extensions.wsrm.common, org.jboss.wsf.common.handler, org.jboss.ws.extensions.addressing.soap, com.sun.xml.fastinfoset.vocab, org.jboss.ws.metadata.accessor, org.jboss.ws.core, org.jboss.ws.core.jaxws.client, com.sun.xml.fastinfoset.alphabet, org.jboss.wsf.common.utils, org.jboss.ws.extensions.wsrm.transport.backchannel, org.jboss.ws.metadata.config.binding, com.ibm.wsdl, org.apache.xml.security.c14n.implementations, org.jboss.ws.extensions.wsrm.api, org.jboss.ws.tools.client, org.jboss.ws.tools.interfaces, org.jboss.wsf.framework.serviceref, org.jboss.ws.extensions.eventing.metadata, org.jboss.ws.extensions.eventing.common, org.apache.ws.policy, org.jboss.ws.core.binding, org.jboss.ws.metadata.builder, org.jboss.ws.extensions.wsrm.protocol.spi, org.jboss.ws.extensions.xop, com.ibm.wsdl.extensions.soap12, org.jboss.ws.extensions.wsrm.jaxws, org.apache.xml.security.keys.storage.implementations, org.jboss.ws.extensions.policy.deployer.exceptions, org.jboss.ws.core.transport.jms, com.sun.xml.fastinfoset.stax, javax.wsdl.extensions.soap, org.jboss.ws.extensions.security.jaxrpc, org.jvnet.fastinfoset.sax, META-INF, org.jboss.ws.metadata.jaxrpcmapping, org.jboss.ws.feature, org.jboss.ws.extensions.wsrm.common.serialization, org.jboss.ws.core.soap.attachment, org.apache.xml.security.transforms.params, org.jboss.ws.tools.jaxws.impl, javax.wsdl.extensions.soap12, org.jboss.ws.tools.helpers, org.jboss.ws.tools.factories, javax.wsdl.extensions.http, org.codehaus.jettison, javax.wsdl.xml, org.jboss.ws.tools.io, org.apache.xml.security.transforms, org.jboss.wsf.container.jboss50.deployer, org.jboss.wsf.container.jboss50.deployment, org.jboss.ws.extensions.policy.metadata, org.jboss.wsf.framework.management.recording, org.apache.xml.security.utils.resolver, org.apache.xml.security.encryption, org.jboss.ws.extensions.policy, org.jvnet.fastinfoset.sax.helpers, org.jboss.ws.core.client, com.sun.xml.fastinfoset.stax.factory, org.jboss.ws.extensions.addressing.jaxrpc, org.apache.xml.security.algorithms.implementations, org.jboss.wsf.framework.deployment, org.jboss.ws.extensions.wsrm.policy, org.jboss.ws.extensions.security.operation, com.ibm.wsdl.extensions.mime, org.jboss.ws.extensions.security.exception, org.jboss.ws.extensions.policy.deployer.util, org.apache.xml.security.keys.keyresolver.implementations, org.jboss.ws.core.jaxrpc, org.apache.xml.security.algorithms, org.jboss.ws.util.xml, org.jboss.ws.extensions.addressing.jaxws, org.jboss.jaxb.intros.handlers, org.jboss.wsf.container.jboss50.deployment.tomcat, org.jboss.ws.metadata.config.jaxrpc, org.codehaus.jettison.badgerfish, org.apache.xml.security.keys.content.keyvalues, org.apache.xml.security, org.apache.ws.policy.util, org.apache.xml.security.keys.content, org.jboss.ws.extensions.xop.jaxws, org.jboss.wsf.common.servlet, org.jboss.ws.core.server, com.sun.xml.fastinfoset.algorithm, META-INF.maven.org.jboss.ws.jbossws-common, org.apache.xml.security.utils.resolver.implementations, com.ibm.wsdl.util.xml, org.jboss.ws.metadata.wsdl, org.codehaus.jettison.util, org.jboss.ws.extensions.addressing, com.ibm.wsdl.factory, org.apache.xml.security.signature, org.jboss.ws.annotation, org.jboss.ws.extensions.xop.jaxrpc, org.jboss.ws.extensions.eventing, org.jboss.ws.extensions.json, org.jboss.ws.metadata.builder.jaxws, org.jboss.ws.metadata.config.jaxws, org.jboss.ws.tools.mapping, org.jboss.ws.extensions.security, org.jboss.ws.core.utils, org.apache.xml.security.keys.keyresolver, org.jboss.ws.extensions.wsrm.persistence, org.jboss.ws.tools.ant, org.jboss.ws.tools.config, org.jboss.ws.tools.exceptions, org.jboss.ws.metadata.wsse, org.jboss.ws.extensions.security.jaxws, org.apache.xml.security.transforms.implementations, org.jboss.jaxb.intros, org.jboss.ws.metadata.wsdl.xmlschema, org.jboss.ws.tools, org.jboss.wsf.container.jboss50.transport, org.jboss.ws.core.jaxrpc.binding.jbossxb, org.jboss.ws.core.jaxws.binding, com.ibm.wsdl.extensions, org.jboss.ws.metadata.config, org.jboss.ws.extensions.wsrm.config, org.jboss.ws.extensions.policy.annotation, com.sun.xml.fastinfoset.util, org.jboss.wsf.common.javax, com.sun.xml.fastinfoset, org.jboss.ws.extensions.security.nonce, org.apache.xml.security.c14n.helper, org.jboss.wsf.framework.http, org.jboss.wsf.framework.management, org.jboss.wsf.common.logging, org.jboss.ws.core.jaxrpc.binding, org.apache.xml.security.c14n, org.jboss.ws.core.jaxrpc.client, com.ibm.wsdl.extensions.soap, org.jboss.ws.core.jaxws, org.apache.xml.security.keys.content.x509, org.jboss.wsf.common, org.jboss.ws, com.ibm.wsdl.extensions.http, org.jboss.wsf.container.jboss50.invocation, org.jboss.ws.extensions.security.auth.callback, com.sun.xml.fastinfoset.sax, org.jboss.wsf.framework] <IMPORT-ALL>NON_EMPTY}}

17:14:11,830 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
17:14:11,857 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
17:14:11,871 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 21s:468ms


Anjali Raman
Ranch Hand

Joined: Nov 28, 2007
Posts: 57
Just to add "TestApp" was the name of the Enterprise Application project I made and "TestWeb" the name of the dynamic Web project. Also HelloSvc.java a servlet.
Anjali Raman
Ranch Hand

Joined: Nov 28, 2007
Posts: 57
BTW I am using JDK 1.6 enviornment and I also copied the files below from JBOSS_HOME/client directory to the JBOSS_HOME/lib/endorsed directory as per the readme doc and still having the same error...
jbossws-native-saaj.jar
jbossws-native-jaxrpc.jar
jbossws-native-jaxws.jar
jbossws-native-jaxws-ext.jar

I havent given up even after a whole day of battle with eclipse and JBoss...
Could someone please give some expert opinion on this. I dont seem to be finding a solution on the net either :'(

Thanks
Anjali
Anjali Raman
Ranch Hand

Joined: Nov 28, 2007
Posts: 57
This issue is not resolved yet. I would appreciate if someone could please help me understanding why this is not working.

<<reposting of original question deleted by moderator>>
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

I think that Eclipse is causing this issue. The root cause is this:

Caused by: java.lang.ClassNotFoundException: org.apache.xerces.xs.XSModel

which looks like Eclipse messed around with your web service definitions.

Have you installed JBoss Tools into Eclipse? If not, you need to do that. Then look at the JBoss Tools documentation - they have lots of step-by-step examples that show how to create various projects, including web services (if I recall correctly).


JBoss In Action
Anjali Raman
Ranch Hand

Joined: Nov 28, 2007
Posts: 57
Sorry I couldnt understand how to do it. could you please be more elaborate.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Start with this document:
http://docs.jboss.org/tools/3.1.0.GA/en/GettingStartedGuide/html/index.html
follow section 1.3 on installation.

Then read this:
http://docs.jboss.org/tools/3.1.0.GA/en/ws_ref_guide/html/index.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while deploying a simple WebService application in JBoss using Eclipse IDE