Hi, I installed STS 2.9.1 with springsource-tool-suite-2.9.1.RELEASE-e3.7.2-win32-x86_64-installer.exe
to "C:\springsource" on Windows7(64bit).
and JDK is Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode).
In my first start up of tc Server("C:\springsource\vfabric-tc-server-developer-2.6.4.RELEASE")
by start button on "Servers" view in STS,everything works fine.
(I answered "yes" to "Spring Insight is available..." dialog).
But when I restart tc Server, Exception was thrown (see below).
How can I fix this?
Regards.
=====
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExc eptionTranslationPostProcessor#0' defined in class path resource [com/springsource/insight/repo/app-config-db.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'cache-with-props' defined in URL [jar:file:/C:/springsource/vfabric-tc-server-developer-2.6.4.RELEASE/spring-insight-instance/webapps/insight/WEB-INF/lib/insight-repo-1.5.1.SR2.jar!/com/springsource/insight/repo/app-config-gemfire.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: The following required files could not be found: *.crf files with these ids: [1], *.drf files with these ids: [1].
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:527)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 91)
at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:288 )
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.context.support.AbstractApplic ationContext.registerBeanPostProcessors(AbstractAp plicationContext.java:710)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:410)
at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 47)
at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:4779)
at org.apache.catalina.core.StandardContext.startInte rnal(StandardContext.java:5273)
at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:897)
at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:873)
at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescr iptor.run(HostConfig.java:1581)
at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'cache-with-props' defined in URL [jar:file:/C:/springsource/vfabric-tc-server-developer-2.6.4.RELEASE/spring-insight-instance/webapps/insight/WEB-INF/lib/insight-repo-1.5.1.SR2.jar!/com/springsource/insight/repo/app-config-gemfire.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: The following required files could not be found: *.crf files with these ids: [1], *.drf files with these ids: [1].
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 91)
at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:288 )
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.getBeansOfType(DefaultListableB eanFactory.java:398)
at org.springframework.beans.factory.BeanFactoryUtils .beansOfTypeIncludingAncestors(BeanFactoryUtils.ja va:275)
at org.springframework.dao.support.PersistenceExcepti onTranslationInterceptor.detectPersistenceExceptio nTranslators(PersistenceExceptionTranslationInterc eptor.java:139)
at org.springframework.dao.support.PersistenceExcepti onTranslationInterceptor.<init>(PersistenceExcepti onTranslationInterceptor.java:79)
at org.springframework.dao.annotation.PersistenceExce ptionTranslationAdvisor.<init>(PersistenceExceptio nTranslationAdvisor.java:70)
at org.springframework.dao.annotation.PersistenceExce ptionTranslationPostProcessor.setBeanFactory(Persi stenceExceptionTranslationPostProcessor.java:99)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeAwareMethods(Abst ractAutowireCapableBeanFactory.java:1439)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1408)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:519)
... 24 more
Caused by: java.lang.IllegalStateException: The following required files could not be found: *.crf files with these ids: [1], *.drf files with these ids: [1].
at com.gemstone.gemfire.internal.cache.DiskInitFile.v erifyOplogs(DiskInitFile.java:619)
at com.gemstone.gemfire.internal.cache.DiskStoreImpl. loadFiles(DiskStoreImpl.java:1926)
at com.gemstone.gemfire.internal.cache.DiskStoreImpl. <init>(DiskStoreImpl.java:326)
at com.gemstone.gemfire.internal.cache.DiskStoreImpl. <init>(DiskStoreImpl.java:251)
at com.gemstone.gemfire.internal.cache.DiskStoreImpl. <init>(DiskStoreImpl.java:248)
at com.gemstone.gemfire.internal.cache.DiskStoreFacto ryImpl.create(DiskStoreFactoryImpl.java:111)
at com.gemstone.gemfire.internal.cache.xmlcache.Cache Creation.create(CacheCreation.java:323)
at com.gemstone.gemfire.internal.cache.xmlcache.Cache XmlParser.create(CacheXmlParser.java:222)
at com.gemstone.gemfire.internal.cache.GemFireCacheIm pl.loadCacheXml(GemFireCacheImpl.java:3029)
at org.springframework.data.gemfire.CacheFactoryBean. afterPropertiesSet(CacheFactoryBean.java:104)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1417)
... 39 more
=====


Reply With Quote
