cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7316) hitting java.lang.reflect.InvocationTargetException while starting usage server
Date Tue, 02 Sep 2014 09:50:21 GMT

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

ASF subversion and git services commented on CLOUDSTACK-7316:
-------------------------------------------------------------

Commit 51e0488e5c07595219142fb2f954726f72e0adf2 in cloudstack's branch refs/heads/master from
[~damoder.reddy]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=51e0488 ]

CLOUDSTACK-7316: Usage Server is not getting started when we install it on management server.
This is happening when encryption is enabled. For usage server it is not able to get key file
in the classpath.


> hitting java.lang.reflect.InvocationTargetException while starting usage server
> -------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7316
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7316
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Usage
>    Affects Versions: 4.5.0
>            Reporter: shweta agarwal
>            Assignee: Damodar Reddy T
>            Priority: Blocker
>             Fix For: 4.5.0
>
>         Attachments: usage.tar.gz
>
>
> Repro steps:
> Install MS and usage server
> Start MS and usage server
> Bug:
> Usage server will stop after starting
> usage log shows :
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'vmDiskUsageParser': Injection of autowired dependencies failed; nested exception
is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private
com.cloud.usage.dao.UsageDao com.cloud.usage.parser.VmDiskUsageParser._usageDao; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'usageDaoImpl' defined in URL [jar:file:/usr/share/cloudstack-usage/lib/cloud-engine-schema-4.5.0-SNAPSHOT.jar!/com/cloud/usage/dao/UsageDaoImpl.class]:
BeanPostProcessor before instantiation of bean failed; nested exception is net.sf.cglib.core.CodeGenerationException:
java.lang.ExceptionInInitializerError-->null
>         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1116)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
>         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.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
>         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
>         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
>         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
>         at com.cloud.usage.UsageServer.start(UsageServer.java:57)
>         ... 5 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private com.cloud.usage.dao.UsageDao com.cloud.usage.parser.VmDiskUsageParser._usageDao;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'usageDaoImpl' defined in URL [jar:file:/usr/share/cloudstack-usage/lib/cloud-engine-schema-4.5.0-SNAPSHOT.jar!/com/cloud/usage/dao/UsageDaoImpl.class]:
BeanPostProcessor before instantiation of bean failed; nested exception is net.sf.cglib.core.CodeGenerationException:
java.lang.ExceptionInInitializerError-->null
>         at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:514)



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

Mime
View raw message