Hello,
I planning to implement openejb in my project.
I tried few examples and POC's on this. Which worked perfect.
Now i am trying to deploy ear file on jboss, Which contains openejb specofic
changes.
I get below error. I tried to google. But not much of the help.
I am using openejb-core-8.0.0-M3.jar and javaee-api-8.0-1.jar specific
version of jars.
JBoss version 11.
Please help me to resolve this issue.
2019-06-14 18:45:19,746 ERROR [org.jboss.msc.service.fail] (MSC service
thread 1-2) MSC000001: Failed to start service
jboss.deployment.unit."dsas.ear".PARSE: org.jboss.msc.service.StartException
in service jboss.deployment.unit."admion.ear".PARSE: WFLYSRV0153: Failed to
process phase PARSE of deployment "dsas.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: WFLYEJB0059: Method
AroundTimeout, on class org.apache.openejb.monitoring.StatsInterceptor,
annotated with @javax.interceptor.AroundTimeout must return Object type
at
org.jboss.as.ejb3.deployment.processors.AroundTimeoutAnnotationParsingProcessor.validateArgumentType(AroundTimeoutAnnotationParsingProcessor.java:106)
at
org.jboss.as.ejb3.deployment.processors.AroundTimeoutAnnotationParsingProcessor.processAroundInvoke(AroundTimeoutAnnotationParsingProcessor.java:86)
at
org.jboss.as.ejb3.deployment.processors.AroundTimeoutAnnotationParsingProcessor.deploy(AroundTimeoutAnnotationParsingProcessor.java:71)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
... 5 more
--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html