dev@glassfish.java.net

Re: Exception in WebSecurityManager

From: Santiago Pericas-Geertsen <Santiago.Pericasgeertsen_at_Sun.COM>
Date: Fri, 05 Aug 2005 14:45:03 -0400

Jan,

  I took GF b11, deploy a Web app that uses JAXWS and ran a client
without problems. Now, if I try to run the same app after upgrading
to the latest JAXWS (by simply overwriting the jars in lib) I get the
NPE (after recompiling and redeploying my app, of course). So, it
looks like the NPE has something to do with using the latest JAXWS.

  Does this help?

-- Santiago

On Jul 29, 2005, at 8:19 PM, Jan Luehe wrote:

> Santiago,
>
> Santiago Pericas-Geertsen wrote:
>
>> Hi,
>>
>> I'm trying to run a benchmark using PE 9.0 from 7/28 and the latest
>> JAXWS but I'm getting the following exception:
>>
>
> can you send instructions on how to reproduce (unless the setup
> is too involved)?
>
> Thanks,
>
> Jan
>
>
>
>> [#|2005-07-29T18:38:11.493-0400|SEVERE|TestAbbrevProductName9.0|
>> org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=19;|An except
>> ion or error occurred in the container during the request processing
>> java.lang.NullPointerException
>> at
>> com.sun.web.security.WebSecurityManager.createWebResourcePermission
>> (WebSecurityManager.java:341)
>> at
>> com.sun.web.security.WebSecurityManager.hasResourcePermission
>> (WebSecurityManager.java:357)
>> at
>> com.sun.web.security.RealmAdapter.invokeWebSecurityManager
>> (RealmAdapter.java:573)
>> at com.sun.web.security.RealmAdapter.preAuthenticateCheck
>> (RealmAdapter.java:831)
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke
>> (AuthenticatorBase.java:562)
>> at org.apache.catalina.core.StandardPipeline.invoke
>> (StandardPipeline.java:542)
>> at com.sun.enterprise.web.WebModule.invoke(WebModule.java:
>> 454)
>> at org.apache.catalina.core.StandardHostValve.invoke
>> (StandardHostValve.java:159)
>> at org.apache.catalina.core.StandardPipeline.invoke
>> (StandardPipeline.java:551)
>> at org.apache.catalina.core.ContainerBase.invoke
>> (ContainerBase.java:933)
>> at org.apache.catalina.core.StandardEngineValve.invoke
>> (StandardEngineValve.java:131)
>> at org.apache.catalina.core.StandardPipeline.invoke
>> (StandardPipeline.java:551)
>> at org.apache.catalina.core.ContainerBase.invoke
>> (ContainerBase.java:933)
>> at org.apache.coyote.tomcat5.CoyoteAdapter.service
>> (CoyoteAdapter.java:180)
>> at
>> com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess
>> (ProcessorTask.java:537)
>> at
>> com.sun.enterprise.web.connector.grizzly.ProcessorTask.process
>> (ProcessorTask.java:432)
>>
>> I'm using JDK 1.5.0_04-b05. Any suggestions? Thanks.
>>
>> -- Santiago
>>
>>
>
>