2 Replies Latest reply on Sep 3, 2012 8:28 AM by Jeff Bride

    404 with rest-binding quickstart

    Jeff Bride Novice


         in trying out the "rest-binding" quickstart,  i'm getting the following http error code when exectuting   mvn exec:java -Dexec.args="new"     :   HTTP Status 404 - /rest-binding/order


        this is after having copied  target/swithyard-quickstart-rest-binding.jar to ${as7}/standalone/deployments and observing the following in the server.log :



      16:59:59,073 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015876: Starting deployment of "switchyard-quickstart-rest-binding.jar"

      16:59:59,093 INFO  [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016002: Processing weld deployment switchyard-quickstart-rest-binding.jar

      16:59:59,101 INFO  [org.jboss.weld.deployer] (MSC service thread 1-9) JBAS016005: Starting Services for CDI deployment: switchyard-quickstart-rest-binding.jar

      16:59:59,102 INFO  [org.switchyard] (MSC service thread 1-9) Deploying SwitchYard application 'switchyard-quickstart-rest-binding.jar'

      16:59:59,103 INFO  [org.jboss.weld.deployer] (MSC service thread 1-14) JBAS016008: Starting weld service for deployment switchyard-quickstart-rest-binding.jar

      16:59:59,152 INFO  [org.switchyard] (MSC service thread 1-2) Starting SwitchYard service

      16:59:59,341 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "switchyard-quickstart-rest-binding.jar"





      when deploying other JAX-RS applications (packaged in a web archive, however)  into AS7 ..... typically see a log statement similar to the following: 


      [org.jboss.web] (MSC service thread 1-14) JBAS018210: Registering web context: /rs-easy


      as evident in the first log when deploying switchyard-quickstart-rest-binding.jar ..... no mention of a web context getting bound with jboss.web.


      anyone else observing similar  ?


      thanks!  jeff