|
Problem(Abstract) |
The following exception occurs in the SystemOut.log when
IBM WebSphere Application Server V5.0 (any modificaiton) is started with
security enabled:
[7/7/03 16:10:18:875 CDT] 25ebdf61 WsServer A WSVR0001I: Server
server1 open for e-business
[7/7/03 16:13:01:399 CDT] 6b7c5f74 WebGroup E SRVE0026E: [Servlet
Error]-[]: java.lang.NullPointerException
at
com.ibm.ejs.models.base.bindings.applicationbnd.impl.SubjectImpl.hashCode
(SubjectImpl.java:83)
at java.util.HashMap.get(HashMap.java(Compiled Code))
at
com.ibm.ejs.models.base.bindings.applicationbnd.impl.AuthorizationTableImpl.
initializeTheTables
(AuthorizationTableImpl.java:119)
at
com.ibm.ejs.models.base.bindings.applicationbnd.impl.AuthorizationTableImpl.
getRolesForSubject
(AuthorizationTableImpl.java:51)
at
com.ibm.ws.security.core.WSAccessManager.isEveryoneGranted(WSAccessManager.java:635)
at
com.ibm.ws.security.web.WebCollaborator.authorize(WebCollaborator.java:441)
at
com.ibm.ws.security.web.EJSWebCollaborator.preInvoke(EJSWebCollaborator.java:217)
at com.ibm.ws.webcontainer.webapp.WebAppSecurityCollaborator.preInvoke
(WebAppSecurityCollaborator.java:132)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch
(WebAppRequestDispatcher.java:508)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward
(WebAppRequestDispatcher.java:176)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:516)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:362)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593) |
|
|
|
Resolving the
problem |
The main reason this exception appears is because the
Console Users and/or Console Groups contain invalid entries that no longer
apply to the current user registry.
To resolve this:
- Disable WebSphere Application Server security by stopping WebSphere
Application Server
- Edit the <WSAS root>/config/cells/<node name>/security.xml
- Edit the line starting with "<security:Security" so
that its enabled parameter is set to "false" and enforceJava2Security is
also set to "false"
- Start WebSphere Application Server
- Run the administrative console
- Expand System Administration
- Delete all invalid Console Users and Console Groups
- After that, save the configuration
- Enable security again
|
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|