David, Did you get that default from some CAS documentation? If so, can you update our documentation? If its an example config file we have, can you open a JIRA issue for us to at least comment in the example file.
Thanks Scott On Thu, May 7, 2009 at 12:43 PM, David Ruwoldt < [email protected]> wrote: > Dear All, > > The problem in the log file was > > Caused by: org.jboss.cache.CacheException: Unable to fetch state on startup > > For very large TreeCache's the default retrieval time for a cluster node is > to small and needs to be increased so the node can retrieve the current > state from the other node and start up successfully. The setting that needs > to be changed is > > InitialStateRetrievalTimeout > > which is referenced here > > > http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/Clustering_Guide/jbosscache-cache.html > > We changed it from 15000 to 60000 and our cluster node started > successfully. > > > Yours sincerely > > David Ruwoldt > > David Ruwoldt wrote: > >> Dear All, >> >> Further to this we have 17,000 odd students + staff that use this service >> to authenticate and I have found information about problems with the >> following being too small for large cache sizes. >> >> InitialStateRetrievalTimeout specifies the time in milliseconds to wait >> for initial state retrieval. >> >> Current plan pending advice from the list is to increase this from 15000 >> to 60000 and try and start the node up. >> >> Yours sincerely >> >> David Ruwoldt >> >> David Ruwoldt wrote: >> >>> Dear All, >>> >>> One of our PRD cluster nodes had it file systems go read only as it sits >>> on a SAN and we had a SAN issue. We shut it down and now it is not rejoining >>> the cluster. Currently our other node is working correctly so our >>> environment is functioning. >>> >>> RHEL 5, Tomcat 5, CAS 3.3.1 >>> >>> The following error is seen close to the start of the tomcat load >>> >>> 2009-05-07 12:34:56,559 ERROR >>> [org.springframework.web.context.ContextLoader] - <Context initialization >>> failed> >>> org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'ticketRegistry' defined in ServletContext resource >>> [/WEB-INF/spring-configuration/ticketRegistry.xml]: Cannot resolve reference >>> to bean 'cache' while setting bean property 'cache'; nested exception is >>> org.springframework.beans.factory.BeanCreationException: Error creating bean >>> with name 'cache' defined in ServletContext resource >>> [/WEB-INF/spring-configuration/ticketRegistry.xml]: Invocation of init >>> method failed; nested exception is org.jboss.cache.CacheException: Unable to >>> fetch state on startup >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) >>> >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) >>> >>> at java.security.AccessController.doPrivileged(Native Method) >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) >>> >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) >>> >>> at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) >>> >>> at >>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) >>> >>> at >>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) >>> >>> at >>> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) >>> >>> at >>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) >>> >>> at >>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) >>> >>> at >>> org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:62) >>> >>> at >>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) >>> >>> at >>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) >>> at >>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) >>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) >>> at >>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) >>> at >>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) >>> at >>> org.apache.catalina.core.StandardService.start(StandardService.java:448) >>> at >>> org.apache.catalina.core.StandardServer.start(StandardServer.java:700) >>> at org.apache.catalina.startup.Catalina.start(Catalina.java:552) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) >>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) >>> Caused by: org.springframework.beans.factory.BeanCreationException: Error >>> creating bean with name 'cache' defined in ServletContext resource >>> [/WEB-INF/spring-configuration/ticketRegistry.xml]: Invocation of init >>> method failed; nested exception is org.jboss.cache.CacheException: Unable to >>> fetch state on startup >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) >>> >>> at java.security.AccessController.doPrivileged(Native Method) >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) >>> >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) >>> >>> at >>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) >>> >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269) >>> >>> ... 34 more >>> Caused by: org.jboss.cache.CacheException: Unable to fetch state on >>> startup >>> at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:150) >>> at org.jboss.cache.CacheImpl.startManualComponents(CacheImpl.java:440) >>> at org.jboss.cache.CacheImpl.internalStart(CacheImpl.java:411) >>> at org.jboss.cache.CacheImpl.start(CacheImpl.java:345) >>> at >>> org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:254) >>> >>> at >>> org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:98) >>> >>> at >>> org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:82) >>> >>> at >>> org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:158) >>> >>> at >>> org.jasig.cas.util.JBossCacheFactoryBean.afterPropertiesSet(JBossCacheFactoryBean.java:49) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) >>> >>> at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) >>> >>> ... 44 more >>> Caused by: org.jgroups.StateTransferException: 10.230.2.1:14041 could >>> not fetch state null from null >>> at org.jgroups.JChannel.connect(JChannel.java:459) >>> at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:138) >>> ... 54 more >>> Caused by: org.jgroups.StateTransferException: 10.230.2.1:14041 could >>> not fetch state null from null >>> at org.jgroups.JChannel.connect(JChannel.java:452) >>> ... 55 more >>> >>> >>> We then get >>> >>> >>> >>> SEVERE: Unable to deserialize session message or unexpected exception >>> from message listener. >>> java.lang.NullPointerException >>> at >>> org.apache.catalina.cluster.session.DeltaManager.checkSenderDomain(DeltaManager.java:1460) >>> >>> at >>> org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManager.java:1486) >>> >>> at >>> org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaManager.java:1272) >>> >>> at >>> org.apache.catalina.cluster.session.ClusterSessionListener.messageReceived(ClusterSessionListener.java:86) >>> >>> at >>> org.apache.catalina.cluster.tcp.SimpleTcpCluster.receive(SimpleTcpCluster.java:1168) >>> >>> at >>> org.apache.catalina.cluster.tcp.ClusterReceiverBase.messageDataReceived(ClusterReceiverBase.java:427) >>> >>> at >>> org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:108) >>> at >>> org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:139) >>> >>> at >>> org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:70) >>> >>> >>> as a repeating error. >>> >>> Any assistance would be very appreciated. >>> >>> Yours sincerely >>> >>> David Ruwoldt >>> >> >> > -- > David Ruwoldt > Senior Systems Specialist > Information Technology Services > Level 9, 9 Gawler Place > ADELAIDE UNIVERSITY SA 5005 > AUSTRALIA > > CRICOS Provider Number 00123M > ----------------------------------------------------------- > This email message is intended only for the addressee(s) > and contains information that may be confidential and/or > copyright. If you are not the intended recipient please > notify the sender by reply email and immediately delete > this email. Use, disclosure or reproduction of this email > by anyone other than the intended recipient(s) is strictly > prohibited. No representation is made that this email or > any attachments are free of viruses. Virus scanning is > recommended and is the responsibility of the recipient. > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
