You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An attempt to start a Runnable-task from a versioned applications leads to an exception like "Caused by: javax.enterprise.concurrent.AbortedException: Module minimalejb is disabled". A deployment of the same application with default name doesn't cause exceptions and the the task is executed. Probably the problem is caused by changes in #3213 .
Expected Outcome
The task is executed.
Current Outcome
An Exception like
[2019-01-18T13:02:45.001+0100] [Payara 5.184] [SCHWERWIEGEND] [] [] [tid: _ThreadID=332 _ThreadName=__ejb-thread-pool14] [timeMillis: 1547812965001] [levelValue: 1000] [[
java.util.concurrent.ExecutionException: javax.enterprise.concurrent.AbortedException: Module minimalejb is disabled
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at de.xqueue.eagle.minimalejb.NewSessionBean.businessMethod(NewSessionBean.java:32)
at sun.reflect.GeneratedMethodAccessor492.invoke(Unknown Source)
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:953)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1017)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4884)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:836)
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.aroundTimeout(SystemInterceptorProxy.java:145)
at sun.reflect.GeneratedMethodAccessor474.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:835)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81)
at org.jboss.weld.module.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor473.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:835)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:374)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4856)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4844)
at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:4122)
at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1201)
at com.sun.ejb.containers.EJBTimerService.access$000(EJBTimerService.java:96)
at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:1920)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748) Caused by: javax.enterprise.concurrent.AbortedException: Module minimalejb is disabled
at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.abort(ManagedFutureTask.java:289)
at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:146)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
Register a Managed Executor Service "concurrent/exampleexecutor" with default settings.
Deploy the ejb-project from step 1 under the name "minimalejb:example". "Force Application Name"-checkbox must be checked.
It should be enough to get the exception in Log.
OndroMih
changed the title
Managed Scheduled Executor Service doesn't execute tasks from versioned applications
Managed Scheduled Executor Service doesn't execute tasks from versioned applications PAYARA-3451
Mar 14, 2019
OndroMih
removed
the
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
label
Mar 14, 2019
Description
An attempt to start a Runnable-task from a versioned applications leads to an exception like "Caused by: javax.enterprise.concurrent.AbortedException: Module minimalejb is disabled". A deployment of the same application with default name doesn't cause exceptions and the the task is executed. Probably the problem is caused by changes in #3213 .
Expected Outcome
The task is executed.
Current Outcome
An Exception like
Steps to reproduce (Only for bug reports)
It should be enough to get the exception in Log.
Samples
The sample project above contains only one class:
Environment
The text was updated successfully, but these errors were encountered: