[jbosstools-issues] [JBoss JIRA] (JBIDE-12488) Report a warning if no JAX-RS activator (or multiple ones) exist in the project

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Mon Oct 1 08:01:04 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722817#comment-12722817 ] 

Xavier Coulon edited comment on JBIDE-12488 at 10/1/12 7:59 AM:
----------------------------------------------------------------

You should have a warning if the servlet-name in the web.xml servlet-mapping is NOT the Application class name, but something like: javax.ws.rs.core.Application 
(you you have the same classname in the servlet-name, the web.xml url mapping should override the @ApplicationPath annotation value)
                
      was (Author: xcoulon):
    You should have a warning if the servlet-name in the web.xml servlet-mapping is NOT the Application class name, but something like: javax.ws.rs.core.Application 
                  
> Report a warning if no JAX-RS activator (or multiple ones) exist in the project
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-12488
>                 URL: https://issues.jboss.org/browse/JBIDE-12488
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Webservices
>    Affects Versions: 3.3.0.Final
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>              Labels: new_and_noteworthy
>             Fix For: 4.0.0.Alpha1
>
>
> If no JAX-RS application (java style or web.xml style) has been defined, the JAX-RS endpoints will be unreachable (the JAX-RS implementation may not be started). On the other side, having multiple ones may lead to user errors (expecting different URIs).
> Report a warning for now, as not all kinds of activators are supported (vendor specific ones for instance)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list