[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293407#comment-14293407
 ] 

Rohit Yadav commented on CLOUDSTACK-8184:
-----------------------------------------

Here's the full log, it could be related to my environment:

Jan 27 17:27:29 bluebox jsvc.exec[6449]: Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'usageNetworkOfferingDaoImpl' defined in URL 
[jar:file:/usr/share/cloudstack-usage/lib/cloud-engine-schema-4.5.0.jar!/com/cloud/usage/dao/UsageNetworkOfferingDaoImpl.class]:
 BeanPostProcessor before instantiation of bean failed; nested exception is 
net.sf.cglib.core.CodeGenerationException: 
java.lang.ExceptionInInitializerError-->null
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:454)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011... 5 more
Jan 27 17:27:29 bluebox jsvc.exec[6449]: Caused by: 
net.sf.cglib.core.CodeGenerationException: 
java.lang.ExceptionInInitializerError-->null
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:235)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:216)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:643)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:225)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
com.cloud.utils.component.ComponentInstantiationPostProcessor.postProcessBeforeInstantiation(ComponentInstantiationPostProcessor.java:92)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:890)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:448)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011... 15 more
Jan 27 17:27:29 bluebox jsvc.exec[6449]: Caused by: 
java.lang.ExceptionInInitializerError
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
com.cloud.utils.db.TransactionContextBuilder.interceptStart(TransactionContextBuilder.java:49)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
com.cloud.usage.dao.UsageNetworkOfferingDaoImpl_EnhancerByCloudStack_38feacdf.createPartialSelectSql(<generated>)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
com.cloud.utils.db.GenericDaoBase.<init>(GenericDaoBase.java:230)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
com.cloud.usage.dao.UsageNetworkOfferingDaoImpl_EnhancerByCloudStack_38feacdf.<init>(<generated>)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
java.lang.reflect.Constructor.newInstance(Constructor.java:526)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
net.sf.cglib.core.ReflectUtils.newInstance(ReflectUtils.java:228)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011... 26 more
Jan 27 17:27:29 bluebox jsvc.exec[6449]: Caused by: 
com.cloud.utils.exception.CloudRuntimeException: key File containing secret key 
not found in the classpath: 
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKeyChecker.java:84)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011at 
com.cloud.utils.db.TransactionLegacy.<clinit>(TransactionLegacy.java:1023)
Jan 27 17:27:29 bluebox jsvc.exec[6449]: #011... 37 more
Jan 27 17:27:29 bluebox jsvc.exec[6449]: 2015-01-27 17:27:29 6450 jsvc.exec 
error: Cannot start daemon


> Usage server failed to start after upgrade to 4.5.0
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-8184
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8184
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.5.0
>            Reporter: Rohit Yadav
>            Priority: Blocker
>             Fix For: 4.5.0, 4.6.0
>
>
> The usage server failed to upgrade after upgrading from 4.3.2 to 4.5.0 RC2:
> Jan 27 17:27:29 bluebox jsvc.exec[6449]: Caused by: 
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'usageNetworkOfferingDaoImpl' defined in URL 
> [jar:file:/usr/share/cloudstack-usage/lib/cloud-engine-schema-4.5.0.jar!/com/cloud/usage/dao/UsageNetworkOfferingDaoImpl.class]:
>  BeanPostProcessor before instantiation of bean failed; nested exception is 
> net.sf.cglib.core.CodeGenerationException: 
> java.lang.ExceptionInInitializerError-->null



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to