[JBoss JIRA] (FORGE-1169) Port the CDI plugin
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-1169?page=com.atlassian.jira.plugin... ]
Vineet Reynolds updated FORGE-1169:
-----------------------------------
Description:
Commands in F1:
* beans setup
* list-interceptors
* list-decorators
* list-alternatives
* new-conversation
* new-bean
* new-qualifier
* new-stereotype
* new-scope
> Port the CDI plugin
> -------------------
>
> Key: FORGE-1169
> URL: https://issues.jboss.org/browse/FORGE-1169
> Project: Forge
> Issue Type: Sub-task
> Components: Builtin Plugins
> Reporter: Vineet Reynolds
> Fix For: 2.0.0.Final
>
>
> Commands in F1:
> * beans setup
> * list-interceptors
> * list-decorators
> * list-alternatives
> * new-conversation
> * new-bean
> * new-qualifier
> * new-stereotype
> * new-scope
--
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
10 years, 9 months
[JBoss JIRA] (FORGE-1166) Servlet javax.ws.rs.core.Application not defined in web.xml
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1166?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1166.
----------------------------------
Fix Version/s: 1.4.1.Final
Resolution: Done
fixed
> Servlet javax.ws.rs.core.Application not defined in web.xml
> -----------------------------------------------------------
>
> Key: FORGE-1166
> URL: https://issues.jboss.org/browse/FORGE-1166
> Project: Forge
> Issue Type: Bug
> Affects Versions: 1.4.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 1.4.1.Final
>
>
> Hi,
> When seting up REST, Forge creates the following servlet mapping :
> {code}
> <servlet-mapping>
> <servlet-name>javax.ws.rs.core.Application<servlet-name>
> <url-pattern>/rest/*</url-pattern>
> </servlet-mapping>
> {code}
> But in GlassFish 3.x and 4.0 this doesn't work because the servlet is not declared. You need to add the following to make it work :
> {code}
> <servlet>
> <servlet-name>javax.ws.rs.core.Application</servlet-name>
> <load-on-startup>1</load-on-startup>
> </servlet>
> {code}
> I read Lincoln's comment on that (sorry, can't find where, it was in a JIRA comment) that this was in the spec and that the app server should define it. I couln't find this requirement in the JAX-RS spec but maybe it's written somewhere else (Servlet ?). But I think it would be good to add it anyway, so it would work will all app servers.
> PS : same behaviour in Forge 1.3.3-Final
--
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
10 years, 9 months
[JBoss JIRA] (FORGE-1166) Servlet javax.ws.rs.core.Application not defined in web.xml
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1166?page=com.atlassian.jira.plugin... ]
Work on FORGE-1166 started by George Gastaldi.
> Servlet javax.ws.rs.core.Application not defined in web.xml
> -----------------------------------------------------------
>
> Key: FORGE-1166
> URL: https://issues.jboss.org/browse/FORGE-1166
> Project: Forge
> Issue Type: Bug
> Affects Versions: 1.4.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
>
> Hi,
> When seting up REST, Forge creates the following servlet mapping :
> {code}
> <servlet-mapping>
> <servlet-name>javax.ws.rs.core.Application<servlet-name>
> <url-pattern>/rest/*</url-pattern>
> </servlet-mapping>
> {code}
> But in GlassFish 3.x and 4.0 this doesn't work because the servlet is not declared. You need to add the following to make it work :
> {code}
> <servlet>
> <servlet-name>javax.ws.rs.core.Application</servlet-name>
> <load-on-startup>1</load-on-startup>
> </servlet>
> {code}
> I read Lincoln's comment on that (sorry, can't find where, it was in a JIRA comment) that this was in the spec and that the app server should define it. I couln't find this requirement in the JAX-RS spec but maybe it's written somewhere else (Servlet ?). But I think it would be good to add it anyway, so it would work will all app servers.
> PS : same behaviour in Forge 1.3.3-Final
--
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
10 years, 9 months
[JBoss JIRA] (FORGE-1166) Servlet javax.ws.rs.core.Application not defined in web.xml
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1166?page=com.atlassian.jira.plugin... ]
George Gastaldi reassigned FORGE-1166:
--------------------------------------
Assignee: George Gastaldi
> Servlet javax.ws.rs.core.Application not defined in web.xml
> -----------------------------------------------------------
>
> Key: FORGE-1166
> URL: https://issues.jboss.org/browse/FORGE-1166
> Project: Forge
> Issue Type: Bug
> Affects Versions: 1.4.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
>
> Hi,
> When seting up REST, Forge creates the following servlet mapping :
> {code}
> <servlet-mapping>
> <servlet-name>javax.ws.rs.core.Application<servlet-name>
> <url-pattern>/rest/*</url-pattern>
> </servlet-mapping>
> {code}
> But in GlassFish 3.x and 4.0 this doesn't work because the servlet is not declared. You need to add the following to make it work :
> {code}
> <servlet>
> <servlet-name>javax.ws.rs.core.Application</servlet-name>
> <load-on-startup>1</load-on-startup>
> </servlet>
> {code}
> I read Lincoln's comment on that (sorry, can't find where, it was in a JIRA comment) that this was in the spec and that the app server should define it. I couln't find this requirement in the JAX-RS spec but maybe it's written somewhere else (Servlet ?). But I think it would be good to add it anyway, so it would work will all app servers.
> PS : same behaviour in Forge 1.3.3-Final
--
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
10 years, 9 months
[JBoss JIRA] (FORGE-1166) Servlet javax.ws.rs.core.Application not defined in web.xml
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1166:
----------------------------------------
Summary: Servlet javax.ws.rs.core.Application not defined in web.xml
Key: FORGE-1166
URL: https://issues.jboss.org/browse/FORGE-1166
Project: Forge
Issue Type: Bug
Affects Versions: 1.4.0.Final
Reporter: Antonio Goncalves
Hi,
When seting up REST, Forge creates the following servlet mapping :
{code}
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application<servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
{code}
But in GlassFish 3.x and 4.0 this doesn't work because the servlet is not declared. You need to add the following to make it work :
{code}
<servlet>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<load-on-startup>1</load-on-startup>
</servlet>
{code}
I read Lincoln's comment on that (sorry, can't find where, it was in a JIRA comment) that this was in the spec and that the app server should define it. I couln't find this requirement in the JAX-RS spec but maybe it's written somewhere else (Servlet ?). But I think it would be good to add it anyway, so it would work will all app servers.
PS : same behaviour in Forge 1.3.3-Final
--
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
10 years, 9 months