users@jersey.java.net

Re: [Jersey] Jersey on app engine

From: Erdinc Yilmazel <erdinc_at_yilmazel.com>
Date: Wed, 8 Apr 2009 12:17:25 +0100

Thanks for pointing that Paul.

> BTW in your web.xml you have two types of Jersey configuration in the
> init-params. The following will take precedence:
>
>>     <init-param>
>>
>>  <param-name>com.sun.jersey.config.property.resourceConfigClass</param-name>
>>
>>  <param-value>com.sun.jersey.api.core.PackagesResourceConfig</param-value>
>>     </init-param>
>>     <init-param>
>>        <param-name>com.sun.jersey.config.property.packages</param-name>
>>        <param-value>com.joovie.webapp.pages</param-value>
>>     </init-param>
>
>>     <init-param>
>>        <param-name>javax.ws.rs.Application</param-name>
>>        <param-value>Joovie</param-value>
>>     </init-param>
>
>
> over the specific application class "Joovie" you have declared:
>
>>     <init-param>
>>        <param-name>javax.ws.rs.Application</param-name>
>>        <param-value>Joovie</param-value>
>>     </init-param>