users@glassfish.java.net

Re: NullPointerException at com.sun.xml.wss.NonceManager.getInstance(NonceManager.java:170)

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Wed, 10 Feb 2010 16:12:31 -0500

Hi Suresh,

This is to confirm that latest 2.0.1 nightly from:

https://metro.dev.java.net/servlets/ProjectDocumentList?folderID=12027&expandFolder=12027&folderID=11914

fixes the problem.

The steps to apply the fix were:

0. Shutdown Glassfish V3 server and exit netbeans (not sure if this was
needed)

1. Download metro 2.0.1 nightly and extract zip file into a directory
/home/najmi/metro/2.0.1/nightly. It installs under a metro directory
(/home/najmi/metro/2.0.1/nightly/metro/metro)

2. Run ant script and specify Glassfish V3 home directory
ant -Das.home=/home/najmi/glassfishv3/glassfish -f
/home/najmi/metro/2.0.1/nightly/metro/metro-on-glassfish-v3.xml install

3. Restart Glassfish domain (I did it within Netbeans)

I look forward to seeing Metro 2.0.1 release with the official fix.

Many thanks to you, Kumar and fabian for your kind help. You guys are
the best.

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com
On 02/05/2010 11:37 AM, Farrukh Najmi wrote:
> Farrukh Najmi wrote:
>> Kumar Jayanti wrote:
>>> Farrukh Najmi wrote:
>>>>
>>>> Since I have moved my web app to Glassfish V3 Final(from V3 
>>>> Prelude) I am seeing the following exception on the first request 
>>>> secured by XWSS to the server. Subsequent requests are OK.
>>>>
>>>> I am using XWSS 3.0. When I try debugging it it appears that the 
>>>> NonceManager.java source code does not seem to match the version 
>>>> loaded by Glassfish V3 Final.
>>>> So I am suspecting conflicting versions of XWSS are being loaded.
>>>>
>>>> Can any one tell me what could cause this and what to try to avoid it.
>>>>
>>>> Note that I am using spring-ws (rather than jax-ws) with XWS 3.0 
>>>> for client to server communication and all was well with Glassfish 
>>>> V3 Prelude.
>>>>
>>>> Here is teh exception trace:
>>> Here is the  issue for that :  
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11138
>>> And it has been release noted :  
>>> http://docs.sun.com/app/docs/doc/820-7688/gjjcf?a=view
>>>
>>> update metro on V3 by installing latest metro and it should go away.
>>
>> Hi Kumar,
>>
>> Kumar for pointing me to the fix.
>>
>> According to UpdateManager for Glassfish V3 Final in NB I have the 
>> latest Metro Web Services Stack:
>>
>> Version: 2.0-29
>> Published: 12-03-2009
>>
>> What am I missing? Please tell me how to update metro for by GF V3 
>> Final.
>> What version of xwss is this issue fixed in and where can I find the 
>> maven distro for it.
>> BTW xwss 3.1 is not available in maven repo. Can that be addressed 
>> please.
>>
>> Thanks very much for your help and best wishes at Oracle.
>>
> Hi Kumar,
>
> Would it be possible to list the steps to update my FGF instance in 
> the issue: https://glassfish.dev.java.net/issues/show_bug.cgi?id=11138
> and send me an email so I know to look for it. Thanks very much.
>
-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com