Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10199

Cannot use the RESTful Web Services creation wizard with JBossAS7

XMLWordPrintable

    • Hide
      • Create a new dynamic web project with JBossAS7 target runtime.
      • Use the "RESTful web services" creation wizard.
      • Uncheck the 'update web.xml' since the project is JEE6 based (no web.xml)
      • See the error message on the wizard popup.
      Show
      Create a new dynamic web project with JBossAS7 target runtime. Use the "RESTful web services" creation wizard. Uncheck the 'update web.xml' since the project is JEE6 based (no web.xml) See the error message on the wizard popup.
    • Hide
      This issue only affected users in the JBoss Developer Studio Early Access program. Users who did not participate in the early access program would not have encountered this issue.

      Create a Simple Web Service and Create a Sample RESTful Service wizards were not compatible with JBoss Application Server 7. This occurred as the wizards were unable to recognise required JAR files available in the classpath, when JBoss Application Server 7 was specified as the target runtime. To correct this issue the option of adding RESTeasy JARs from the runtime root now exists in the wizards and is enabled or disabled by default depending on the application server chosen. This allows for the wizards to function correctly.

      An option for the web.xml file to be updated has been added to the Dynamic Web Project wizard for when a user selects to use the facet version of RESTful services in their project. The option is enabled or disabled by default depending on the application server chosen.
      Show
      This issue only affected users in the JBoss Developer Studio Early Access program. Users who did not participate in the early access program would not have encountered this issue. Create a Simple Web Service and Create a Sample RESTful Service wizards were not compatible with JBoss Application Server 7. This occurred as the wizards were unable to recognise required JAR files available in the classpath, when JBoss Application Server 7 was specified as the target runtime. To correct this issue the option of adding RESTeasy JARs from the runtime root now exists in the wizards and is enabled or disabled by default depending on the application server chosen. This allows for the wizards to function correctly. An option for the web.xml file to be updated has been added to the Dynamic Web Project wizard for when a user selects to use the facet version of RESTful services in their project. The option is enabled or disabled by default depending on the application server chosen.
    • Documented as Resolved Issue

      The "RESTful Web Services creation" wizard claims that the RESTEasy jars are not found in the project which uses JBossAS7 as a target runtime. Yet, the JAX-RS APIs are available in the classpath.

        1. JBIDE-10199.png
          JBIDE-10199.png
          56 kB
        2. newpatch.txt
          18 kB
        3. patch.txt
          8 kB

              bfitzpat_rh Brian Fitzpatrick (Inactive)
              xcoulon@redhat.com Xavier Coulon
              Isaac Rooskov Isaac Rooskov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: