Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer does not exist #38

Open
realulim opened this issue Mar 13, 2017 · 0 comments
Open

Timer does not exist #38

realulim opened this issue Mar 13, 2017 · 0 comments

Comments

@realulim
Copy link

I tried lightfish and the first stumbling block was that my Derby database wasn't started. So perhaps something like "start Derby with asadmin start-database" might be a useful addition to the readme.

When I had everything set up, I tried to connect with the FX app to Payara 4.1.1-171 and got no data at all. The server.log has a bunch of entries like these:

javax.ejb.FinderException: timer 4@@1489395259444@@server@@domain1 does not exist
at org.glassfish.ejb.persistent.timer.PersistentEJBTimerService.getPersistentTimer(PersistentEJBTimerService.java:1114)
at org.glassfish.ejb.persistent.timer.PersistentEJBTimerService.getNextTimeout(PersistentEJBTimerService.java:1004)
at com.sun.ejb.containers.TimerWrapper.getNextTimeout(TimerWrapper.java:118)
at org.lightfish.business.servermonitoring.boundary.MonitoringController.nextTimeout(MonitoringController.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4762)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:834)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor413.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:895)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:834)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)
at sun.reflect.GeneratedMethodAccessor412.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:895)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:834)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:374)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4734)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4722)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:90)
at com.sun.proxy.$Proxy330.nextTimeout(Unknown Source)
at org.lightfish.business.servermonitoring.boundary.EJB31_Generated__MonitoringController__Intf____Bean.nextTimeout(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433)
at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
at org.lightfish.business.servermonitoring.boundary.MonitoringController$Proxy$_$$_Weld$EnterpriseProxy$.nextTimeout(Unknown Source)
at org.lightfish.business.administration.boundary.PollingResource.status(PollingResource.java:57)

And there is also a NPE:

Caused by: java.lang.NullPointerException
at org.lightfish.business.servermonitoring.control.collectors.RestDataCollector.getInt(RestDataCollector.java:49)
at org.lightfish.business.servermonitoring.control.collectors.RestDataCollector.getInt(RestDataCollector.java:39)
at org.lightfish.business.servermonitoring.control.collectors.paranormal.BusyThreadCollector.apply(BusyThreadCollector.java:17)
at org.lightfish.business.servermonitoring.control.collectors.paranormal.BusyThreadCollector.apply(BusyThreadCollector.java:11)

Not sure if both errors are related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant