Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-494

resteasy-jaxrs-2.1.0.GA/examples/oreilly-workbook/ex04_1 example is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2-beta-1
    • 2.1.0.GA
    • jaxrs
    • None
    • Hide

      just navigate to this folder and run mvn install.

      Show
      just navigate to this folder and run mvn install.

      The PatchTest.java class is not working, running mvn clean install or mvn install provides this result:

      Running com.restfully.shop.test.PatchTest

          • Create a new Customer ***
            15.01.2011 16:23:46 org.jboss.resteasy.spi.ResteasyDeployment
            INFO: Deploying javax.ws.rs.core.Application: class com.restfully.shop.services.ShoppingApplication
            15.01.2011 16:23:46 org.jboss.resteasy.spi.ResteasyDeployment
            INFO: Adding singleton resource com.restfully.shop.services.CustomerResource from Application javax.ws.rs.core.Application
            Created customer 1
            Location: Location: http://localhost:9095/customers/1
            15.01.2011 16:23:46 org.apache.http.impl.conn.SingleClientConnManager revokeConnection
            WARNING: Invalid use of SingleClientConnManager: connection still allocated.
            Make sure to release the connection before allocating another one.
            • After Update ***
              Content-Type: Content-Type: application/xml
              <customer id="1">
              <first-name>William</first-name>
              <last-name>null</last-name>
              <street>null</street>
              <city>Boston</city>
              <state>null</state>
              <zip>null</zip>
              <country>null</country>
              </customer>
              Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.511 sec

      After update above should not be showing "null" for those fields, but there actual values.
      Also, the WARNING above may be indicating another problem with this test case.

              patriot1burke@gmail.com Bill Burke (Inactive)
              mazzag Glen Mazza (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: