tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-1106) infinite loop detected while destroying bean XYService under load
Date Sun, 12 Jan 2014 20:51:50 GMT
Harry created TOMEE-1106:
----------------------------

             Summary: infinite loop detected while destroying bean XYService under load
                 Key: TOMEE-1106
                 URL: https://issues.apache.org/jira/browse/TOMEE-1106
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 1.6.0
         Environment: Linux 64bit
Java 1.7.0_21-b11
            Reporter: Harry
            Priority: Critical


Infinite loop under load test.
Application is just a simple jax-rs application with Application config 
and with a jax-rs service which gives back just a String "Hello"

Use
@Path("xy")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.TEXT_HTML)
annotations on the package and @GET @Path on the method

Error:
Jan 12, 2014 9:30:53 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for {http://service.xy.com/}XYService has thrown exception, unwinding
now
org.apache.webbeans.exception.WebBeansException: infinite loop detected while destroying bean
XYService, Name:null, WebBeans Type:MANAGED, API Types:[java.lang.Object,com.xy.service.XYService],
Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]
	at org.apache.webbeans.context.creational.CreationalContextImpl.removeAllDependents(CreationalContextImpl.java:256)
	at org.apache.webbeans.context.creational.CreationalContextImpl.release(CreationalContextImpl.java:270)
	at org.apache.openejb.server.cxf.rs.OpenEJBPerRequestPojoResourceProvider$CdiBeanCreator.release(OpenEJBPerRequestPojoResourceProvider.java:242)
	at org.apache.openejb.server.cxf.rs.OpenEJBPerRequestPojoResourceProvider.releaseInstance(OpenEJBPerRequestPojoResourceProvider.java:151)
	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103)
	at org.apache.openejb.server.cxf.rs.AutoJAXRSInvoker.invoke(AutoJAXRSInvoker.java:66)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
	at org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:170)
	at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message