坑爹的zookeer-2

1 - init jedis pools, size:10
15:39:51,014 [main] ERROR ZookeeperClient.java:55 - zookeeper connect error: KeeperErrorCode = ConnectionLoss for /
15:39:51,017 [main] ERROR JedisPoolFactory.java:129 - JedisPoolFactory init error
java.lang.RuntimeException: java.lang.IllegalStateException: zookeeper not initialized
	at com.jingwei.zk.ZookeeperGroup.afterPropertiesSet(ZookeeperGroup.java:61)
	at com.jingwei.redis.shard.JedisCluster.<init>(JedisCluster.java:19)
	at com.jingwei.redis.JedisPoolFactory.afterPropertiesSet(JedisPoolFactory.java:125)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
	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:609)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
	at net.paoding.rose.RoseFilter.prepareRootApplicationContext(RoseFilter.java:434)
	at net.paoding.rose.RoseFilter.initFilterBean(RoseFilter.java:273)
	at org.springframework.web.filter.GenericFilterBean.init(GenericFilterBean.java:194)
	at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:134)
	at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:87)
	at com.caucho.server.webapp.Application.start(Application.java:1655)
	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
	at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153)
	at com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:670)
	at com.caucho.server.host.Host.start(Host.java:420)
	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
	at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
	at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:509)
	at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:153)
	at com.caucho.server.host.HostContainer.start(HostContainer.java:504)
	at com.caucho.server.resin.ServletServer.start(ServletServer.java:971)
	at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
	at com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56)
	at com.caucho.server.deploy.DeployController.start(DeployController.java:517)
	at com.caucho.server.resin.ResinServer.start(ResinServer.java:546)
	at com.caucho.server.resin.Resin.init(Resin.java)
	at com.caucho.server.resin.Resin.main(Resin.java:625)
Caused by: java.lang.IllegalStateException: zookeeper not initialized
	at com.jingwei.spring.ZookeeperClient.connect(ZookeeperClient.java:60)
	at com.jingwei.spring.ZookeeperClient.getZooKeeper(ZookeeperClient.java:35)
	at com.jingwei.zk.ZooKeeperManager.create(ZooKeeperManager.java:73)
	at com.jingwei.zk.ZookeeperGroup.afterPropertiesSet(ZookeeperGroup.java:59)
	... 37 more

你可能感兴趣的:(OO)