|
Problem(Abstract) |
WebSphere® Application Server fails to start with the
following exception when global security is enabled in a federated
environment :
[10/11/05 16:18:14:087 PDT] 7104e491 ContainerImpl E WSVR0501E: Error
creating component null [class com.ibm.ws.naming.bootstrap.NameServerImpl]
java.lang.NullPointerException
at
com.ibm.ws.naming.distcos.ServantManagerImpl.<init>(ServantManagerImpl.java:132)
at
com.ibm.ws.naming.distcos.NameSpaceBuilder.<init>(NameSpaceBuilder.java:217)
[10/11/05 16:18:20:029 PDT] 7104e491 WsServer E WSVR0003E: Server
WebSphere_Portal failed to start
com.ibm.ws.exception.RuntimeError
at
com.ibm.ws.runtime.component.MetaDataMgrImpl.bindMetaDataService(MetaDataMgrImpl.java:291)
at
com.ibm.ws.runtime.component.MetaDataMgrImpl.start(MetaDataMgrImpl.java:154)
[Root exception is org.omg.CORBA.COMM_FAILURE:
CAUGHT_EXCEPTION_WHILE_CONFIGURING_SSL_CLIENT_SOCKET
Exception=com.ibm.ws.orb.transport.KeyRingFileException:
KeyRingFileException.missingSSLKeyRingData vmcid: 0x49421000 minor code:
70 completed: No] |
|
|
|
Cause |
All of the SSL Configuration Repertoires being used are
not using the same key files (jks).
The key files being used are defined in the repertoires displayed in the
Administrative Console by selecting Security > SSL. |
|
|
Resolving the
problem |
Set the following custom Java™ Virtual Machine (JVM)
properties:
- Open the Administrative Console
- Click on Servers-->Application Servers > Problematic
server_name
- Expand Server Infrastructure
- Click Process Definition under Additional Properties
section
- Click Java Virtual Machine
- Click Custom Properties
- Click "New" to add a new property.
In the name field, enter javax.net.ssl.trustStore
In the value field, enter the full path and name to your trust store
file.
For example:C:\WebSphere\AppServer\etc\DummyServerTrustFile.jks
Click Apply and Save the changes.
- Repeat to add these 3 properties.
name: javax.net.ssl.trustStorePassword
value: WebASn
name: javax.net.ssl.keyStore
value: for
expample:C:\WebSphere\AppServer\etc\DummyServerKeyFile.jk
name: javax.net.ssl.keyStorePassword
value :WebAS
- Apply and Save the changes.
- Restart the server.
|
|
|