tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zmirc <m_chi...@yahoo.com>
Subject Re: Memory leak by openejb.pool.scheduler
Date Sat, 05 Oct 2013 09:37:03 GMT
This error appeared once during deployment.
I did a lot of tries and deployed / redeployed 15-20 times, but it didn't
appear again.
Maybe the stack trace will help.

The interesting part is: the error complains about EJB EmailC, but the
second log line (Retrieved 0 unsent e-mails from DB) shows how it has been
successfully initialized. 

05-Oct-2013 11:08:23.829 INFO [http-bio-8080-exec-50]
org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps using context
file
C:\Users\Mircea\Documents\NetBeansProjects\pingushare\target\ROOT\META-INF\context.xml
javax.naming.NameAlreadyBoundException: ParsedName{path=EmailC,
component=EmailC}
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:148)
2013-10-05 11:08:24,576 INFO [EjbTimerPool - 2] c.p.c.EmailC
[EmailC.java:46] Retrieved 0 unsent e-mails from DB
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:164)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:164)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:164)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:164)
	at org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:300)
	at
org.apache.openejb.core.ivm.naming.IvmContext.rebind(IvmContext.java:313)
	at
org.apache.openejb.assembler.classic.Assembler.bindGlobals(Assembler.java:913)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:864)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:612)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1144)
	at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1007)
	at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
	at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:535)
	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1461)
	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:606)
	at
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)
	at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)
	at
org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	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.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
	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:611)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	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:1023)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	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:724)



--
View this message in context: http://openejb.979440.n4.nabble.com/Memory-leak-by-openejb-pool-scheduler-tp4665263p4665425.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message