tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Masini (JIRA)" <>
Subject [jira] [Created] (TOMEE-990) Bad error report for @Stateful JAX-RS EndPoint
Date Fri, 05 Jul 2013 08:03:49 GMT
Luca Masini created TOMEE-990:

             Summary: Bad error report for @Stateful JAX-RS EndPoint
                 Key: TOMEE-990
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 1.5.2
         Environment: maven 3.0.3, Mac OS, JDK 1.7.0_10
            Reporter: Luca Masini

I tried to create this JAX-RS EndPoint:

public class MobileDispatcher implements Serializable { }

and instead of reporting me that a Stateful EJB can't be a JAX-RS EndPoint this exception
is raised:

Caused by: can't find context
	at org.apache.tomee.webservices.TomeeJaxRsService.afterApplicationCreated(
	... 24 more

Looking at the sources I found that in at line 376 there is a check "bean.restService"
that prevent the bean to have a beanContext, but then the Exception is raised and we don't
know the exact reason.

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:

View raw message