pdx.PdxInitializationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This bug is a knock-on from SGF-85. In order to reproduce... 1) Configure SGF to use pdx-disk-store and point it to the disk-store configured in the cache.xml. 2) Start gemfire. (1st time will start correctly) 3) Add data into cache. 4) Shut down gemfire. 5) Restart gemfire. The following exception is thrown: 2012-06-27 11:13:24,478 | | | ERROR | main | ApplicationContextProvider | 118 | Exception initializing App context: Error creating bean with name 'cache-with-xml': Invocation of init method failed; nested exception is com.gemstone.gemfire.pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache-with-xml': Invocation of init method failed; nested exception is com.gemstone.gemfire. pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.anz.markets.luxor.commons.ApplicationContextProvider.createApplicationContext(ApplicationContextProvider.java:109) at com.anz.markets.luxor.commons.ApplicationContextProvider.<clinit>(ApplicationContextProvider.java:71) at com.anz.markets.luxor.server.ServerLauncher.main(ServerLauncher.java:18) Caused by: com.gemstone.gemfire.pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getIdToType(PeerTypeRegistration.java:117) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.suspendTX(PeerTypeRegistration.java:532) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getType(PeerTypeRegistration.java:371) at com.gemstone.gemfire.pdx.internal.TypeRegistry.getType(TypeRegistry.java:104) at com.gemstone.gemfire.internal.InternalDataSerializer.readPdxSerializable(InternalDataSerializer.java:2974) at com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2798) at com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3217) at com.gemstone.gemfire.internal.util.BlobHelper.deserializeBlob(BlobHelper.java:81) at com.gemstone.gemfire.internal.cache.EntryEventImpl.deserialize(EntryEventImpl.java:1288) at com.gemstone.gemfire.internal.cache.Oplog.deserializeKey(Oplog.java:6302) at com.gemstone.gemfire.internal.cache.Oplog.readKrf(Oplog.java:1623) at com.gemstone.gemfire.internal.cache.Oplog.recoverCrf(Oplog.java:1923) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.recoverRegionsThatAreReady(DiskStoreImpl.java:2123) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.initializeIfNeeded(DiskStoreImpl.java:2050) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.doInitialRecovery(DiskStoreImpl.java:2054) at com.gemstone.gemfire.internal.cache.DiskStoreFactoryImpl.create(DiskStoreFactoryImpl.java:129) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.createDiskStore(CacheCreation.java:507) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:386) at com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:285) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:3712) at org.springframework.data.gemfire.CacheFactoryBean.afterPropertiesSet(CacheFactoryBean.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
    via by Udo Kohlmeyer,
  • This bug is a knock-on from SGF-85. In order to reproduce... 1) Configure SGF to use pdx-disk-store and point it to the disk-store configured in the cache.xml. 2) Start gemfire. (1st time will start correctly) 3) Add data into cache. 4) Shut down gemfire. 5) Restart gemfire. The following exception is thrown: 2012-06-27 11:13:24,478 | | | ERROR | main | ApplicationContextProvider | 118 | Exception initializing App context: Error creating bean with name 'cache-with-xml': Invocation of init method failed; nested exception is com.gemstone.gemfire.pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache-with-xml': Invocation of init method failed; nested exception is com.gemstone.gemfire. pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.anz.markets.luxor.commons.ApplicationContextProvider.createApplicationContext(ApplicationContextProvider.java:109) at com.anz.markets.luxor.commons.ApplicationContextProvider.<clinit>(ApplicationContextProvider.java:71) at com.anz.markets.luxor.server.ServerLauncher.main(ServerLauncher.java:18) Caused by: com.gemstone.gemfire.pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getIdToType(PeerTypeRegistration.java:117) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.suspendTX(PeerTypeRegistration.java:532) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getType(PeerTypeRegistration.java:371) at com.gemstone.gemfire.pdx.internal.TypeRegistry.getType(TypeRegistry.java:104) at com.gemstone.gemfire.internal.InternalDataSerializer.readPdxSerializable(InternalDataSerializer.java:2974) at com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2798) at com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3217) at com.gemstone.gemfire.internal.util.BlobHelper.deserializeBlob(BlobHelper.java:81) at com.gemstone.gemfire.internal.cache.EntryEventImpl.deserialize(EntryEventImpl.java:1288) at com.gemstone.gemfire.internal.cache.Oplog.deserializeKey(Oplog.java:6302) at com.gemstone.gemfire.internal.cache.Oplog.readKrf(Oplog.java:1623) at com.gemstone.gemfire.internal.cache.Oplog.recoverCrf(Oplog.java:1923) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.recoverRegionsThatAreReady(DiskStoreImpl.java:2123) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.initializeIfNeeded(DiskStoreImpl.java:2050) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.doInitialRecovery(DiskStoreImpl.java:2054) at com.gemstone.gemfire.internal.cache.DiskStoreFactoryImpl.create(DiskStoreFactoryImpl.java:129) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.createDiskStore(CacheCreation.java:507) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:386) at com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:285) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:3712) at org.springframework.data.gemfire.CacheFactoryBean.afterPropertiesSet(CacheFactoryBean.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
    via by Udo Kohlmeyer,
    • pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.anz.markets.luxor.commons.ApplicationContextProvider.createApplicationContext(ApplicationContextProvider.java:109) at com.anz.markets.luxor.commons.ApplicationContextProvider.<clinit>(ApplicationContextProvider.java:71) at com.anz.markets.luxor.server.ServerLauncher.main(ServerLauncher.java:18) Caused by: com.gemstone.gemfire.pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getIdToType(PeerTypeRegistration.java:117) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.suspendTX(PeerTypeRegistration.java:532) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getType(PeerTypeRegistration.java:371) at com.gemstone.gemfire.pdx.internal.TypeRegistry.getType(TypeRegistry.java:104) at com.gemstone.gemfire.internal.InternalDataSerializer.readPdxSerializable(InternalDataSerializer.java:2974) at com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2798) at com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3217) at com.gemstone.gemfire.internal.util.BlobHelper.deserializeBlob(BlobHelper.java:81) at com.gemstone.gemfire.internal.cache.EntryEventImpl.deserialize(EntryEventImpl.java:1288) at com.gemstone.gemfire.internal.cache.Oplog.deserializeKey(Oplog.java:6302) at com.gemstone.gemfire.internal.cache.Oplog.readKrf(Oplog.java:1623) at com.gemstone.gemfire.internal.cache.Oplog.recoverCrf(Oplog.java:1923) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.recoverRegionsThatAreReady(DiskStoreImpl.java:2123) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.initializeIfNeeded(DiskStoreImpl.java:2050) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.doInitialRecovery(DiskStoreImpl.java:2054) at com.gemstone.gemfire.internal.cache.DiskStoreFactoryImpl.create(DiskStoreFactoryImpl.java:129) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.createDiskStore(CacheCreation.java:507) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:386) at com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:285) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:3712) at org.springframework.data.gemfire.CacheFactoryBean.afterPropertiesSet(CacheFactoryBean.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
    No Bugmate found.