7 Replies Latest reply on Dec 7, 2010 3:22 AM by izgur

    Web Services with JBoss 5.1

    izgur

      Hey, I'm still trying to do a web service on JBoss 5.1.

       

      I installed(set JBOSS_HOME, run run.bat) now a fresh copy of JBoss-5.1.0-GA-jdk6 (windows xp). In the log I see:

      09:00:49,770 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      09:00:49,770 INFO  [NativeServerConfig] 3.1.2.GA

       

      And after it is started:

      org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(WebServiceProjectEAR.ear)

      Caused by: java.lang.RuntimeException: Error determining structure: WebServiceProjectEAR.ear

      aused by: java.lang.RuntimeException: WebServiceProject.war module listed in application.xml does not exist within

      ........

       

      And when I stop the server:

      09:08:18,222 ERROR [ProfileDeployAction] Error when uninstalling profile: org.jboss.system.tools.ProfileServiceDeploymentRepositoryAdapter$DeploymentScannerProfile@12561dc
      java.lang.IllegalStateException: Deployers are shutdown

      ....

       

      When I try to make a Web Service in Eclipse - bottom up java bean :

      There is a project name and a EAR project name. The EAR project name is set to a old web service project, which I shouldn't exist anymore.

      Could this be a problem ?  And I don't know where it gets the WebServiceProject -- EAR ?

       

      Error: Could not generate. (use --show-traces to see full traces)   
      Error: org/jboss/wsf/spi/deployment/UnifiedVirtualFile

       

      Any idea ?

       

      I was reading http://community.jboss.org/message/548723#548723. Should i delete the jbossws-deployer&co files ?

       

      Somewhere is read about a class-loader problem ?!

       

      I tried the http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/beta500/html/ch05s25s01.html approach too. I get just:

      09:01:40,490 INFO  [TomcatDeployment] deploy, ctxPath=/echo
      09:01:40,537 WARNING [config] Unable to process deployment descriptor for context '/echo'
      09:01:40,537 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/echo'

       

      And nothing works ...

       

      PLEASE HELP!

        • 1. Re: Web Services with JBoss 5.1
          asoldano

          java.lang.RuntimeException: WebServiceProject.war module listed in application.xml does not exist within

          means that somehow your ear is not properly packaged/built (the application.xml does not match with the ear's contents). I don't know about the Eclipse wizards / tools for doing that though. Try checking what you're actually trying to deploy.

           

          Error: Could not generate. (use --show-traces to see full traces)   
          Error: org/jboss/wsf/spi/deployment/UnifiedVirtualFile

          is most likely a classpath issue. Please make sure the jbossws-spi.jar is in the classpath (again, depends on the IDE settings if you're using Eclipse or such)

           

          http://community.jboss.org/message/548723#548723

          forget about this... I was discussing with Anil regarding the way PicketLink updates the ws stack for its own testing (ant btw Anil confirmed to me on IRC he understood the needs for the installer there). You're using a vanilla AS, so that's definitely a different topic in any case.

          • 2. Re: Web Services with JBoss 5.1
            izgur

            jbossws-spi.jar is in my client and common/lib directory. (When I add it to the project build path, nothing changes.)

             

            OK, It must be an error(classpath problem) on my computer, because the src verison of 5.1 and JBoss 6.0 returns the same error.

            Could you please tell me what I can do ?

            • 3. Re: Web Services with JBoss 5.1
              izgur

              I downloaded the Axis2.war, which must deploy correctly if I copy it to the deploy directory. Probably you see the error from here.

               

              11:09:23,202 INFO  [TomcatDeployment] deploy, ctxPath=/axis2

              11:09:23,718 ERROR [JBossContextConfig] XML error parsing: context.xml

              org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

                  at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)

                  at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)

                  at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:536)

                  at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)

                  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

                  at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)

                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                  at java.lang.reflect.Method.invoke(Unknown Source)

                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                  at $Proxy38.start(Unknown Source)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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.system.ServiceController.doChange(ServiceController.java:688)

                  at org.jboss.system.ServiceController.start(ServiceController.java:460)

                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                  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:1178)

                  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:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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:702)

                  at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

                  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.xb.binding.JBossXBException: Failed to create a new SAX parser

                  at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)

                  at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

                  at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

                  ... 68 more

              Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

                  at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

                  at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)

                  at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

                  ... 70 more

              11:09:23,718 ERROR [JBossContextConfig] XML error parsing: jboss.web/localhost/context.xml.default

              org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

                  at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)

                  at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)

                  at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:537)

                  at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)

                  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

                  at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)

                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                  at java.lang.reflect.Method.invoke(Unknown Source)

                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                  at $Proxy38.start(Unknown Source)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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.system.ServiceController.doChange(ServiceController.java:688)

                  at org.jboss.system.ServiceController.start(ServiceController.java:460)

                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                  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:1178)

                  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:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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:702)

                  at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

                  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.xb.binding.JBossXBException: Failed to create a new SAX parser

                  at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)

                  at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

                  at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

                  ... 68 more

              Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

                  at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

                  at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)

                  at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

                  ... 70 more

              11:09:23,718 ERROR [JBossContextConfig] XML error parsing: WEB-INF/context.xml

              org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

                  at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)

                  at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)

                  at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:540)

                  at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)

                  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

                  at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)

                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                  at java.lang.reflect.Method.invoke(Unknown Source)

                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                  at $Proxy38.start(Unknown Source)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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.system.ServiceController.doChange(ServiceController.java:688)

                  at org.jboss.system.ServiceController.start(ServiceController.java:460)

                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                  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:1178)

                  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:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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:702)

                  at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

                  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.xb.binding.JBossXBException: Failed to create a new SAX parser

                  at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:97)

                  at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

                  at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

                  ... 68 more

              Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

                  at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

                  at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)

                  at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)

                  at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)

                  ... 70 more

              11:09:24,140 ERROR [ContextConfig] Marking this application unavailable due to previous error(s)

              11:09:24,155 ERROR [StandardContext] Context [/axis2] startup failed due to previous errors

              11:09:24,155 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/axis2 state=Create mode=Manual requiredState=Installed

              org.jboss.deployers.spi.DeploymentException: URL file:/D:/KKISSWORK/JBossOnly/server/default/tmp/5c4o1o20-8dz6g0-gh8wrlam-1-gh8wxe16-9t/axis2.war/ deployment failed

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                  at java.lang.reflect.Method.invoke(Unknown Source)

                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                  at $Proxy38.start(Unknown Source)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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.system.ServiceController.doChange(ServiceController.java:688)

                  at org.jboss.system.ServiceController.start(ServiceController.java:460)

                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                  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:1178)

                  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:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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:702)

                  at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

                  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)

              11:09:24,921 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/D:/KKISSWORK/JBossOnly/server/default/deploy/axis2.war/ state=PreReal mode=Manual requiredState=Real

              org.jboss.deployers.spi.DeploymentException: URL file:/D:/KKISSWORK/JBossOnly/server/default/tmp/5c4o1o20-8dz6g0-gh8wrlam-1-gh8wxe16-9t/axis2.war/ deployment failed

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331)

                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)

                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)

                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                  at java.lang.reflect.Method.invoke(Unknown Source)

                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                  at $Proxy38.start(Unknown Source)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                  at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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.system.ServiceController.doChange(ServiceController.java:688)

                  at org.jboss.system.ServiceController.start(ServiceController.java:460)

                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)

                  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

                  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:1178)

                  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:1631)

                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                  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:702)

                  at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

                  at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

                  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)

              11:09:24,937 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

               

              vfszip:/D:/KKISSWORK/JBossOnly/server/default/deploy/axis2.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/D:/KKISSWORK/JBossOnly/server/default/tmp/5c4o1o20-8dz6g0-gh8wrlam-1-gh8wxe16-9t/axis2.war/ deployment failed

               

               

              DEPLOYMENTS IN ERROR:

               

                Deployment "vfszip:/D:/KKISSWORK/JBossOnly/server/default/deploy/axis2.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/D:/KKISSWORK/JBossOnly/server/default/tmp/5c4o1o20-8dz6g0-gh8wrlam-1-gh8wxe16-9t/axis2.war/ deployment failed

               

                  at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)

               

              Thanks in advance!  I hope somebody can help...

              • 4. Re: Web Services with JBoss 5.1
                izgur

                xml not dtd compliant ???

                • 5. Re: Web Services with JBoss 5.1
                  izgur

                  java.lang.NoClassDefFoundError: Lorg/jboss/logging/Logger ?

                  • 6. Re: Web Services with JBoss 5.1
                    peterj

                    Only look at the first excpetion stack trace, and always follow the "cuased by" chain. If you do this, you will see this root cause:

                     

                    Caused by: java.lang.ClassCastException:  org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be  cast to org.apache.xerces.xni.parser.XMLParserConfiguration

                     

                    CCE errors typically mean that you have packed within your applicaiton a JAR that JBoss AS already provides. In this case, you packaged the xerces JAR, remove it from your app.

                    • 7. Re: Web Services with JBoss 5.1
                      izgur

                      Tnx, I managed to make a web service, but know i have a problem .)

                       

                      I'm working on my computer and when I made the WS i want to deploy/copy it to the server.

                       

                      When I made my first web service with JBoss(Eclipse wizard) my WS was published to an EAR(same name + ear) in /default/deploy directory.

                      So I was able to just copy the EAR project from my cooputer's deploy dir to the servers and it was published.

                       

                      But know I'm pretty sure I'm working in the same way, but my project publish at /default/data/wsdl. And I don't know how to deploy that to the server. With just copy it doest deploy...

                       

                      Can somebody tell me ...

                      • how can i redeploy the project in /data/wsdl/  or
                      • how can i made the web services publich in /deploy/

                       

                      Thank you!