4 Replies Latest reply on Nov 27, 2012 2:54 PM by aswin raj

    REST help needed

    aswin raj Newbie

      Hello people,

       

      I have followed the instructions at http://docs.jboss.org/hornetq/2.2.2.Final/rest-interface-manual/html/ch02.html#d0e57 to setup a WAR fort he rest interfact on JBOSS 6.x.  However I get the following error.  Any  help is much appreciated.  It looks like there might be something wrong with the web.xml.  The web.xml is just a cp and paste from the help url above.  I have also attached the file here to this discussion.

       

        Deployment "vfs:///C:/pgfiles/jboss-6.1.0.Final/server/default/deploy/rest.war" is in error due to the following reaso
      n(s): org.jboss.xb.binding.JBossXBRuntimeException: listener not found as a child of web-app in unordered_sequence: erro
      r-page* welcome-file-list? servlet-mapping* login-config? mime-mapping* distributable? session-config? security-role* ta
      glib* security-constraint* context-param* servlet* {all descriptionGroup}? {unordered_sequence jndiEnvironmentRefsGroup}
      ?

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.2.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.2.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82)
      [:6.1.0.Final]
              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileController
      Context.java:138) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:246) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]
              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModif
      icationAction.java:74) [:0.2.2]
              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModifi
      cationAction.java:95) [:0.2.2]
              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234
      ) [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)
      [:0.2.2]
              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2
      .2]
              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2
      .2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]
              at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_25]
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_25]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_25]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.j
      ava:98) [:1.6.0_25]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.
      java:180) [:1.6.0_25]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204
      ) [:1.6.0_25]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]