"ServletException in:/secure/layouts/detailTitleLayout.jsp¨ null and NullPointerException"
 Technote (troubleshooting)
 
Problem(Abstract)
You will also see the following errors:

Error 500, NulPointerException and "request: Admin/repositoryServiceDetail.do" displayed in the Administrative Console trying to access "Repository Service" from "Administration Services" of "Application Servers"

Using the administrative console to create a new application server with the default application server template, the <configRepository> tag is missing in the server.xml file. This results in a NullPointerException with an ERROR 500 in the administrative console.

The problem is in the Base and Network Deployment template for server1. The server.xml file is missing the following line:

"<configRepository xmi:id="RepositoryService_1"/>"
 
Cause
The template file is used to create the server.xml file for a newly-created server.
This problem exists in WebSphere® Application Server V5.0.2 through V5.0.2.4.
UpdateInstaller tool does not modify the server1 template server.xml file during upgrade.
 
Resolving the problem
The server1 template server.xml file has been updated in WebSphere Application Server V5.0.2.5 and later releases of WebSphere Application Server.

Before creating a new application server and enabling the audit, check for a missing entry for
<configRepository xmi:id="RespositoryService_1"/> in the server1 template server.xml file.

You can resolve this problem by manually adding the line:

<configRepository xmi:id="RepositoryService_1"/>

in the Base and Network Deployment server1 template server.xml file. This file is located in two places:
  1. WAS_BASE_HOME\config\templates\default\nodes\servers\server1\server.xml
  2. WAS_ND_HOME\config\templates\default\nodes\servers\server1\server.xml


Following is an example of WebSphere Application Server server.xml without the <configRepository> tag:

< services xmi:type="adminservice:AdminService" xmi:id="AdminService_1"
enable="true" standalone="false" preferredConnector="SOAPConnector_1">
<connectors xmi:type="adminservice:SOAPConnector" xmi:id="SOAPConnector_1">
<properties xmi:id="Property_7" name="sslConfig" value="fstuka/DefaultSSLSettings"/> <properties xmi:id="Property_8" name="requestTimeout" value="600"/>
</connectors>
<connectors xmi:type="adminservice:RMIConnector" xmi:id="RMIConnector_1"/>
</services>
Following is an example of WebSphere Application Server server.xml with the <configRepository> tag:
<services xmi:type="adminservice:AdminService" xmi:id="AdminService_1" enable="true" standalone="false" preferredConnector="SOAPConnector_1">
<connectors xmi:type="adminservice:SOAPConnector" xmi:id="SOAPConnector_1">
<properties xmi:id="Property_7" name="sslConfig" value="fstuka/DefaultSSLSettings"/>
<properties xmi:id="Property_8" name="requestTimeout" value="600"/>
</connectors>
<connectors xmi:type="adminservice:RMIConnector" xmi:id="RMIConnector_1"/>
<configRepository xmi:id="RepositoryService_1"/>
</services>
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > System Management/Repository
Operating system(s): Windows
Software version: 5.0.2.4
Software edition:
Reference #: 1180617
IBM Group: Software Group
Modified date: Sep 29, 2004