java.lang.IllegalStateException: Failed to check the status of the service org.cdc.system.service.S
2014-03-07 17:32
477 查看
17:54:01,368 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerService' defined in ServletContext resource [/WEB-INF/classes/config/e10000-business-services.xml]: Cannot resolve reference to bean 'systemLogService' while setting
bean property 'logService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemLogService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException:
Failed to check the status of the service org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
·····
at org.jboss.Main$1.run(Main.java:518)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemLogService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service
org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1443)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
... 150 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:420)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:138)
at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:65)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
... 155 more
我这里出现的这个文件是加载war包是先后问题出错了,导致这个找类找不到,如果你出现类似问题,可以在生成war后,调整war包名称,不加载项目,直接运行jboss看看是否还会出现这个错。
如果没有错了,可以去这个地址看看如果更改Jboss启动顺序:http://blog.csdn.net/mypointone/article/details/20722807
如果还有错,我就无能为力了。希望能帮助你。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerService' defined in ServletContext resource [/WEB-INF/classes/config/e10000-business-services.xml]: Cannot resolve reference to bean 'systemLogService' while setting
bean property 'logService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemLogService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException:
Failed to check the status of the service org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
·····
at org.jboss.Main$1.run(Main.java:518)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemLogService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service
org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1443)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
... 150 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service org.cdc.system.service.SystemLogService. No provider available for the service org.cdc.system.service.SystemLogService from the url zookeeper://127.0.0.1:2088/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=security-portal&check=false&dubbo=2.5.2&interface=org.cdc.system.service.SystemLogService&methods=logOnLoginError,debug,log,find&pid=5228&side=consumer×tamp=1394099638978&token=4ecb7c2d-82a2-4c08-9938-1f1ddc9d3f82
to the consumer 192.168.141.10 use dubbo version 2.5.2
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:420)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:138)
at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:65)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
... 155 more
我这里出现的这个文件是加载war包是先后问题出错了,导致这个找类找不到,如果你出现类似问题,可以在生成war后,调整war包名称,不加载项目,直接运行jboss看看是否还会出现这个错。
如果没有错了,可以去这个地址看看如果更改Jboss启动顺序:http://blog.csdn.net/mypointone/article/details/20722807
如果还有错,我就无能为力了。希望能帮助你。
相关文章推荐
- Failed to check the status of the service com.taotao.search.service.SearchItemSerivce. No provider a
- Failed to check the status of the service. No provider available for the service【已解决】
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- Dubbo: Failed to check the status of the service . No provider available for the service
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- Failed to check the status of the service com.taotao.service.ItemService.
- the connection to the VMware USB Arbitration Service was unsuccessful.Please check the status of this service in the Microsogt M
- Caused by: org.apache.hive.service.cli.HiveSQLException: Failed to open new session: java.lang.Runti
- Spring 整合 Flex (BlazeDS)无法从as对象 到 Java对象转换的异常:org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.Date' to required type 'java.sql.Timestamp' for property 'wfsj'; nested exception is java.lang.Ill
- java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resol
- Failed to convert value of type 'java.lang.String' to required type 'org.springframework.web.multipa
- java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.
- the connection to the VMware USB Arbitration Service was unsuccessful.Please check the status of thi
- org.json.JSONException: Value ok of type java.lang.String cannot be converted to JSONObject:
- Caused by: org.hibernate.TypeMismatchException: Provided id of the wrong type. Expected: class java.lang.Integer, got class [Lja
- java.lang.IllegalStateException: Failed to find class [org.junit.runners.model.MultipleFailureExcep
- HTTP Status 500 - java.lang.LinkageError: loader constraint violation: loader (instance of org/apach
- Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
- Failed to load resource: the server responded with a status of 400 (Bad Request)
- Failed to load resource: the server responsed with a status of 400 (Bad Request)