Environment
Novell Access Management 3 Access Administration
Situation
Administration Console and Identity Server running on seperate
machines. When trying to backup the configuration store on the
Administration server running ambkup.sh, java exceptions are
displayed during the backup process. For example:
Backing up configuration...
Backing up certificates...
adding: 0921.ldif (deflated 24%)
adding: devman.cacerts (deflated 27%)
adding: devman.keystore (deflated 25%)
adding: .keystore (deflated 24%)
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='connector']/Factory/@keystoreFile
"
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='connector']/Factory/@keystorePass
"
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='provider']"
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='consumer']"
adding: server.xml (deflated 70%)
--------------------------------------------------------------
Backup Complete
Backup file:
Configuration and Certificate information: /root/0921.zip
- rw- r-- r-- 1 root root 1782422 Sep 21 09:32 /root/0921.zip
--------------------------------------------------------------
Log file for this backup is /var/log/nidp_backup_20070921_0932.log
Backing up configuration...
Backing up certificates...
adding: 0921.ldif (deflated 24%)
adding: devman.cacerts (deflated 27%)
adding: devman.keystore (deflated 25%)
adding: .keystore (deflated 24%)
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='connector']/Factory/@keystoreFile
"
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='connector']/Factory/@keystorePass
"
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='provider']"
java.util.NoSuchElementException: Cannot find xPath
"/Server/Service/Connector[@NIDP_Name='consumer']"
adding: server.xml (deflated 70%)
--------------------------------------------------------------
Backup Complete
Backup file:
Configuration and Certificate information: /root/0921.zip
- rw- r-- r-- 1 root root 1782422 Sep 21 09:32 /root/0921.zip
--------------------------------------------------------------
Log file for this backup is /var/log/nidp_backup_20070921_0932.log
Resolution
This is normal behaviour when the Identity (IDP) Server and Admin
Console are on different machines. The backup script looks for IDP
connector information in the tomcat server.xml file and cannot find
it. The resulting backup is completely valid and can be restored
with no problems.