IBM Support

PK47327; 6.0.2.21: mismatch in server.xml and security.xml causes secj0007e null

Download


Abstract

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.

Download Description

PK47327 resolves the following problem:

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(JMXConnectors.java:1524)
at com.ibm.ws.security.core.distSecurityComponentImpl.fireEvent(distSecurityComponentImpl.java:1651)
at com.ibm.ws.security.core.distSecurityComponentImpl.fireStartedEvent(distSecurityComponentImpl.java:1607)
at com.ibm.ws.security.core.distSecurityComponentImpl.startSecurity (distSecurityComponentImpl.java:299)
at com.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:101)
at om.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:280)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:427)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
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.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:58)
at

LOCAL FIX:
none

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:
None

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

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"9942","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK47327/readme.txt"}]

Download Package

Download package
What is Fix Central (FC)?
What is DD?

Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
6.0.2.21-WS-WAS-IFPK4732708-21-2007US English36584FCFTPDD

On
[{"DNLabel":"6.0.2.21-WS-WAS-IFPK47327","DNDate":"08-21-2007","DNLang":"US English","DNSize":"36584","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV(U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"System Management\/Repository","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0.2.19;6.0.2.21","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24016717