users@jersey.java.net

Re: null pointer in resources scan

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 30 Jan 2008 09:17:31 +0100

On Jan 29, 2008, at 8:49 PM, Nam Nguyen wrote:

>>> by the way i try some test, the WAR build by NetBeans is ggod and
>>> it work without the resource error. but its when i deploy with NB
>>> that the errors occur.
>>
>> Ah, i see. NetBeans deploys using the "build/web/WEB-INF/" directory.
>>
> Are you referring to fast in-place deployment. You can turn the
> feature off by doing:
>
> Services tab > Servers > GlassFish V2 > Properties and uncheck
> 'Directory Deployment' as show in the screenshot:
>

I did not know that!

Guilhem is using Tomcat, is there an option for Tomcat as well?

It might be a workaround but we still would not know what the
underlying issue is.

Paul.