You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Chip Childers <ch...@sungard.com> on 2013/03/27 22:13:57 UTC

[ACS41] New blocker bug, CLOUDSTACK-1746, Cloudstack Usage Server won't start

Hi all,

We need someone to take
https://issues.apache.org/jira/browse/CLOUDSTACK-1746

Francois is reporting the following exception in the bug:

log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment). 
log4j:WARN Please initialize the log4j system properly. 
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 
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:616) 
at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177) 
Caused by: java.lang.ExceptionInInitializerError 
at com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:34) 
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:616) 
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) 
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) 
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) 
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) 
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) 
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) 
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) 
at com.cloud.configuration.dao.ConfigurationDaoImpl$$EnhancerByCGLIB$$27aaa385.configure(<generated>) 
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:97) 
at com.cloud.usage.UsageServer.start(UsageServer.java:53) 
... 5 more 
Caused by: java.lang.NullPointerException 
at java.io.FileInputStream.<init>(FileInputStream.java:133) 
at com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKeyChecker.java:65) 
at com.cloud.utils.db.Transaction.<clinit>(Transaction.java:101) 
... 19 more 
20/03/2013 13:53:33 20255 jsvc.exec error: Cannot start daemon 
20/03/2013 13:53:33 20254 jsvc.exec error: Service exit with a return value of 5

Re: [ACS41] New blocker bug, CLOUDSTACK-1746, Cloudstack Usage Server won't start

Posted by Chip Childers <ch...@sungard.com>.
On Wed, Mar 27, 2013 at 02:37:57PM -0700, Kelven Yang wrote:
> Patch has been submitted

And now it's been applied.  Thanks for jumping on this Kelven!

> 
> Kelven
> 
> On 3/27/13 2:21 PM, "Kelven Yang" <ke...@citrix.com> wrote:
> 
> >I'll take this one
> >Kelven
> >
> >On 3/27/13 2:13 PM, "Chip Childers" <ch...@sungard.com> wrote:
> >
> >>Hi all,
> >>
> >>We need someone to take
> >>https://issues.apache.org/jira/browse/CLOUDSTACK-1746

Re: [ACS41] New blocker bug, CLOUDSTACK-1746, Cloudstack Usage Server won't start

Posted by Kelven Yang <ke...@citrix.com>.
Patch has been submitted

Kelven

On 3/27/13 2:21 PM, "Kelven Yang" <ke...@citrix.com> wrote:

>I'll take this one
>Kelven
>
>On 3/27/13 2:13 PM, "Chip Childers" <ch...@sungard.com> wrote:
>
>>Hi all,
>>
>>We need someone to take
>>https://issues.apache.org/jira/browse/CLOUDSTACK-1746
>>
>>Francois is reporting the following exception in the bug:
>>
>>log4j:WARN No appenders could be found for logger
>>(org.springframework.core.env.StandardEnvironment).
>>log4j:WARN Please initialize the log4j system properly.
>>log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
>>more info. 
>>java.lang.reflect.InvocationTargetException
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>at 
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>:
>>57) 
>>at 
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>m
>>pl.java:43) 
>>at java.lang.reflect.Method.invoke(Method.java:616)
>>at 
>>org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:17
>>7
>>) 
>>Caused by: java.lang.ExceptionInInitializerError
>>at 
>>com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionC
>>o
>>ntextBuilder.java:34)
>>at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>>at 
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>m
>>pl.java:43) 
>>at java.lang.reflect.Method.invoke(Method.java:616)
>>at 
>>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodW
>>i
>>thGivenArgs(AbstractAspectJAdvice.java:621)
>>at 
>>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(
>>A
>>bstractAspectJAdvice.java:610)
>>at 
>>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundA
>>d
>>vice.java:65) 
>>at 
>>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl
>>e
>>ctiveMethodInvocation.java:172)
>>at 
>>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Ex
>>p
>>oseInvocationInterceptor.java:90)
>>at 
>>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refl
>>e
>>ctiveMethodInvocation.java:172)
>>at 
>>org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedIntercepto
>>r
>>.intercept(Cglib2AopProxy.java:622)
>>at 
>>com.cloud.configuration.dao.ConfigurationDaoImpl$$EnhancerByCGLIB$$27aaa3
>>8
>>5.configure(<generated>)
>>at 
>>com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(Compon
>>e
>>ntContext.java:97)
>>at com.cloud.usage.UsageServer.start(UsageServer.java:53)
>>... 5 more 
>>Caused by: java.lang.NullPointerException
>>at java.io.FileInputStream.<init>(FileInputStream.java:133)
>>at 
>>com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKe
>>y
>>Checker.java:65) 
>>at com.cloud.utils.db.Transaction.<clinit>(Transaction.java:101)
>>... 19 more 
>>20/03/2013 13:53:33 20255 jsvc.exec error: Cannot start daemon
>>20/03/2013 13:53:33 20254 jsvc.exec error: Service exit with a return
>>value of 5
>


Re: [ACS41] New blocker bug, CLOUDSTACK-1746, Cloudstack Usage Server won't start

Posted by Kelven Yang <ke...@citrix.com>.
I'll take this one
Kelven

On 3/27/13 2:13 PM, "Chip Childers" <ch...@sungard.com> wrote:

>Hi all,
>
>We need someone to take
>https://issues.apache.org/jira/browse/CLOUDSTACK-1746
>
>Francois is reporting the following exception in the bug:
>
>log4j:WARN No appenders could be found for logger
>(org.springframework.core.env.StandardEnvironment).
>log4j:WARN Please initialize the log4j system properly.
>log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
>more info. 
>java.lang.reflect.InvocationTargetException
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>57) 
>at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43) 
>at java.lang.reflect.Method.invoke(Method.java:616)
>at 
>org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177
>) 
>Caused by: java.lang.ExceptionInInitializerError
>at 
>com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionCo
>ntextBuilder.java:34)
>at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43) 
>at java.lang.reflect.Method.invoke(Method.java:616)
>at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWi
>thGivenArgs(AbstractAspectJAdvice.java:621)
>at 
>org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(A
>bstractAspectJAdvice.java:610)
>at 
>org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAd
>vice.java:65) 
>at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>at 
>org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Exp
>oseInvocationInterceptor.java:90)
>at 
>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>ctiveMethodInvocation.java:172)
>at 
>org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor
>.intercept(Cglib2AopProxy.java:622)
>at 
>com.cloud.configuration.dao.ConfigurationDaoImpl$$EnhancerByCGLIB$$27aaa38
>5.configure(<generated>)
>at 
>com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(Compone
>ntContext.java:97)
>at com.cloud.usage.UsageServer.start(UsageServer.java:53)
>... 5 more 
>Caused by: java.lang.NullPointerException
>at java.io.FileInputStream.<init>(FileInputStream.java:133)
>at 
>com.cloud.utils.crypt.EncryptionSecretKeyChecker.check(EncryptionSecretKey
>Checker.java:65) 
>at com.cloud.utils.db.Transaction.<clinit>(Transaction.java:101)
>... 19 more 
>20/03/2013 13:53:33 20255 jsvc.exec error: Cannot start daemon
>20/03/2013 13:53:33 20254 jsvc.exec error: Service exit with a return
>value of 5