I would like to use RestEasy's EJB integration in a
jboss6/seam/richfaces webapp.
Everything seems to work file, except injection of other EJBs.

I basically did the following:

public interface AsyncResource {

        public Response doSomething();

public class AsyncResourceBean implements AsyncResource {

        Log log;

    public Response doSomething(){
                log.info("polling map");                    //NPE
                return Response.status(200).entity("hello").build();

When log variable is accessed, I get the following exception, guess
its just caused by a NullPointerException:
17:02:21,192 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] Exception in
the filter chain: javax.servlet.ServletException:
java.lang.IllegalArgumentException: no file extension in servlet path:

If I remove the log statement, everything works fine again.

Any ideas what could be wrong?

Thank you in advance, Clemens

Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
Resteasy-users mailing list

Reply via email to