IBM Support

PK47327: MISMATCH IN SERVER.XML AND SECURITY.XML CAUSES SECJ0007E NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A mismatch in server.xml and security.xml causes the errors
    below to be displayed in the systemout upon startup.
    
    000000a distSecurityC E   SECJ0007E: Error during security
    initialization. The exception is
    com.ibm.ws.exception.WsRuntimeException:
    java.lang.NullPointerException
    at
    com.ibm.ws.management.component.JMXConnectors.stateChanged(JMXCo
    nnectors
    .java:1524)
    at
    com.ibm.ws.security.core.distSecurityComponentImpl.fireEvent(dis
    tSecurit
    yComponentImpl.java:1651)
    at
    com.ibm.ws.security.core.distSecurityComponentImpl.fireStartedEv
    ent(dist
    SecurityComponentImpl.java:1607)
    at
    com.ibm.ws.security.core.distSecurityComponentImpl.startSecurity
    (distSec
    urityComponentImpl.java:299)
    at
    com.ibm.ws.security.core.SecurityComponentImpl.startSecurity(Sec
    urityCom
    ponentImpl.java:101)
    at
    com.ibm.ws.security.core.ServerSecurityComponentImpl.start(Serve
    rSecurit
    yComponentImpl.java:280)
    at
    com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
    inerImpl
    .java:820)
    at
    com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
    ava:649)
    at
    com.ibm.ws.runtime.component.ApplicationServerImpl.start(Applica
    tionServ
    erImpl.java:149)
    at
    com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
    inerImpl
    .java:820)
    at
    com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
    ava:649)
    at
    com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:42
    7)
    at
    com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl
    .java:18
    7)
    at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
    at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.jav
    a:85)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.jav
    a:58)
    at
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM Websphere Application Server    *
    *                 versions 6.0.2 and 6.1                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: When you try to import a profile with   *
    *                      multiple servers in it you see the      *
    *                      following exception in Systemout.log    *
    *                                                              *
    *                      SECJ0007E: Error during security        *
    *                      initialization. The exception is        *
    *                      com.ibm.ws.exception.WsRuntimeException *
    *                      :java.lang.NullPointerException         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    While trying to import a profile with multiple servers there
    is a mismatch in the server.xml and security.xml which causes
    the following exceptions in the SystemOut.log upon startup.
    
    000000a distSecurityC E   SECJ0007E: Error during security
    initialization. The exception is  com.ibm.ws.exception.
    WsRuntimeException:java.lang.NullPointerException
    at com.ibm.ws.management.component.JMXConnectors.stateChanged
    (JMXConnectors.java:1524)
    at com.ibm.ws.security.core.distSecurityComponentImpl.
    fireEvent(distSecurityComponentImpl.java:1651)
    ..............
    ...............
    
    The mismatch was due to a incorrect variable used in the
    algorithm to update the security.xml during import.
    

Problem conclusion

  • The code has been modified to correct the problematic
    algorithm and thus preventing the problem while importing
    profile with multiple servers.
    
    This fix is targetted for fixpacks 6.0.2.23 and 6.1.0.13
    Please refer to the recommended updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK47327

  • Reported component name

    WEBSPH APP SERV

  • Reported component ID

    5724J0800

  • Reported release

    60W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-06-18

  • Closed date

    2007-08-20

  • Last modified date

    2007-08-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • ADMIN
    

Fix information

  • Fixed component name

    WEBSPH APP SERV

  • Fixed component ID

    5724J0800

Applicable component levels

  • R60A PSY

       UP

  • R60H PSY

       UP

  • R60I PSY

       UP

  • R60P PSY

       UP

  • R60S PSY

       UP

  • R60W PSY

       UP

  • R60Z PSY

       UP

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 December 2021