JCS is not coming up. it is throwing below error in the logs below when we tried to restart.
Exception in thread "Thread-65" java.lang.RuntimeException: JCS@#####: Failed to initialise the standalone server manager
at com.ca.jcs.standalone.StandaloneServerManager.init(StandaloneServerManager.java:223)
at com.ca.jcs.osgi.dm.JcsOsgiBootstrapBean$2.run(JcsOsgiBootstrapBean.java:206)
Caused by: javax.naming.NamingException: JCS@#####: Failed to create standalone configuration partition [Root exception is javax.naming.NamingException: JCS@#####: Failed to create a JDBM partition: eTConfigContainerName=SA Configuration,dc=etasa [Root exception is javax.naming.NamingException [Root exception is java.io.StreamCorruptedException: invalid type code: 00]]]
at com.ca.jcs.standalone.StandaloneServerManager.createConfigurationPartition(StandaloneServerManager.java:706)
at com.ca.jcs.standalone.StandaloneServerManager.init(StandaloneServerManager.java:213)
... 1 more
Caused by: javax.naming.NamingException: JCS@#####: Failed to create a JDBM partition: eTConfigContainerName=SA Configuration,dc=etasa [Root exception is javax.naming.NamingException [Root exception is java.io.StreamCorruptedException: invalid type code: 00]]
at com.ca.jcs.standalone.StandaloneServerManager.createCustomPartition(StandaloneServerManager.java:634)
at com.ca.jcs.standalone.StandaloneServerManager.createConfigurationPartition(StandaloneServerManager.java:676)
... 2 more
Caused by: javax.naming.NamingException [Root exception is java.io.StreamCorruptedException: invalid type code: 00]
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.getRaw(JdbmTable.java:1370)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:316)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:203)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.getEntryId(JdbmPartition.java:574)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.getSuffixEntry(JdbmPartition.java:964)
at org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:304)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:190)
at com.ca.jcs.standalone.StandaloneServerManager.createCustomPartition(StandaloneServerManager.java:625)
... 3 more
Caused by: java.io.StreamCorruptedException: invalid type code: 00
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.access$300(Unknown Source)
at java.io.ObjectInputStream$GetFieldImpl.readFields(Unknown Source)
at java.io.ObjectInputStream.readFields(Unknown Source)
at java.math.BigInteger.readObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.util.TreeMap.buildFromSorted(Unknown Source)
at java.util.TreeMap.buildFromSorted(Unknown Source)
at java.util.TreeMap.buildFromSorted(Unknown Source)
at java.util.TreeMap.buildFromSorted(Unknown Source)
at java.util.TreeMap.buildFromSorted(Unknown Source)
at java.util.TreeMap.buildFromSorted(Unknown Source)
at java.util.TreeMap.buildFromSorted(Unknown Source)
at java.util.TreeMap.readTreeSet(Unknown Source)
at java.util.TreeSet.readObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at jdbm.btree.BPage.deserialize(BPage.java:996)
at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
at jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:263)
at jdbm.btree.BTree.getRoot(BTree.java:525)
at jdbm.btree.BTree.find(BTree.java:401)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.getRaw(JdbmTable.java:1365)
... 10 more
Release : 14.2
Component : IdentityMinder(Identity Manager)
Stop JCS service
Navigate to:
C:\Program Files (x86)\CA\Identity Manager\Connector Server
Rename:
/data/ to /data<today date>/
Start JCS service