You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by marcin <to...@gmail.com> on 2012/06/19 12:23:34 UTC
Exceptions during redeployment in Eclipse
I am using apache-tomee-1.1.0-20120619.040939-31-webprofile. I am using MySQL
JDBC Driver and I have scheduled method in singleton EJB.
When there is automatic redeployment of application under Eclipse IDE i get
the following stack traces.
WARNING: JDBC driver de-registration failed for web application
[/GreenAndGreat]
java.lang.NullPointerException
at
org.apache.catalina.loader.WebappClassLoader.clearReferencesJdbc(WebappClassLoader.java:2051)
at
org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1987)
at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1899)
at
org.apache.tomee.catalina.LazyStopWebappClassLoader.internalStop(LazyStopWebappClassLoader.java:30)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStop(TomcatWebAppBuilder.java:1107)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:252)
at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3901)
at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
at
org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWebappLoader.java:21)
at
org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.java:88)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1350)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
at java.lang.Thread.run(Unknown Source)
2012-06-19 12:20:29 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [Timer-0] but has failed to stop it. This is very likely to
create a memory leak.
2012-06-19 12:20:29 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [OpenEJB-TimerService-Scheduler_QuartzSchedulerThread] but has
failed to stop it. This is very likely to create a memory leak.
2012-06-19 12:20:29 org.apache.catalina.core.ContainerBase backgroundProcess
WARNING: Exception processing loader
org.apache.tomee.catalina.LazyStopLoader@1e4f266 background process
java.lang.NullPointerException
at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1903)
at
org.apache.tomee.catalina.LazyStopWebappClassLoader.internalStop(LazyStopWebappClassLoader.java:30)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.afterStop(TomcatWebAppBuilder.java:1107)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:252)
at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3901)
at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
at
org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWebappLoader.java:21)
at
org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.java:88)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1350)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
at java.lang.Thread.run(Unknown Source)
--
View this message in context: http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Exceptions during redeployment in Eclipse
Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
http://openejb.apache.org/mailing-lists.html
On Jun 19, 2012, at 3:45 PM, Robin wrote:
> Could Someone please explain to me how to get off this mailing list? I no
> longer have an account with you.
>
>
> -----Original Message-----
> From: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
> Sent: Tuesday, June 19, 2012 3:28 PM
> To: users@openejb.apache.org
> Subject: Re: Exceptions during redeployment in Eclipse
>
> http://ci.apache.org/builders/openejb-trunk-deploy/builds/405
>
> can you give it another try? (this time i tested on a very simple sample so
> i believe it will be better)
>
> - Romain
>
>
> 2012/6/19 marcin <to...@gmail.com>
>
>> Thank you very much for your instructions!
>>
>> Here is what I get from console during redeployment with the newest build:
>>
>> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
>> INFO: Reloading Context with name [/GreenAndGreat] has started
>> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/GreenAndGreat] appears to have started a
>> thread named [Timer-0] but has failed to stop it. This is very likely
>> to create a memory leak.
>> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/GreenAndGreat] appears to have started a
>> thread named [org.apache.openejb.pool.scheduler.4] but has failed to
>> stop it. This is very likely to create a memory leak.
>> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/GreenAndGreat] appears to have started a
>> thread named [org.apache.openejb.pool.scheduler.5] but has failed to
>> stop it. This is very likely to create a memory leak.
>> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/GreenAndGreat] appears to have started a
>> thread named [org.apache.openejb.pool.scheduler.6] but has failed to
>> stop it. This is very likely to create a memory leak.
>> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/GreenAndGreat] appears to have started a
>> thread named [org.apache.openejb.pool.scheduler.7] but has failed to
>> stop it. This is very likely to create a memory leak.
>> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/GreenAndGreat] appears to have started a
>> thread named [org.apache.openejb.pool.scheduler.8] but has failed to
>> stop it. This is very likely to create a memory leak.
>> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/GreenAndGreat] appears to have started a
>> thread named [OpenEJB-TimerService-Scheduler_QuartzSchedulerThread]
>> but has failed to stop it. This is very likely to create a memory leak.
>> 2012-06-19 15:50:08 org.apache.openejb.assembler.classic.Assembler
>> destroyApplication
>> INFO: Undeploying app: D:\Moje Dokumenty\programowanie\Web
>>
>> development\.metadata\.plugins\org.eclipse.wst.server.core\tmp5\wtpweb
>> apps\GreenAndGreat
>> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
>> SEVERE: Exception starting Context with name [/GreenAndGreat]
>> org.apache.catalina.LifecycleException: An invalid Lifecycle
>> transition was attempted ([before_start]) for component
>>
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Gre
>> enAndGreat]]
>> in state [DESTROYED]
>> at
>>
>>
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:
> 408)
>> at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
>> at
>> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3908)
>> at
>>
>>
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:
> 426)
>> at
>>
>>
> org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWeb
> appLoader.java:21)
>> at
>>
>>
> org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.ja
> va:88)
>> at
>>
>>
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:
> 1350)
>> at
>>
>>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
> hildren(ContainerBase.java:1537)
>> at
>>
>>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
> hildren(ContainerBase.java:1547)
>> at
>>
>>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
> hildren(ContainerBase.java:1547)
>> at
>>
>>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
> ainerBase.java:1526)
>> at java.lang.Thread.run(Unknown Source)
>> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
>> INFO: Reloading Context with name [/GreenAndGreat] is completed
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-
>> Eclipse-tp4655688p4655695.html Sent from the OpenEJB User mailing list
>> archive at Nabble.com.
>>
>
RE: Exceptions during redeployment in Eclipse
Posted by Robin <ro...@gmail.com>.
Could Someone please explain to me how to get off this mailing list? I no
longer have an account with you.
-----Original Message-----
From: Romain Manni-Bucau [mailto:rmannibucau@gmail.com]
Sent: Tuesday, June 19, 2012 3:28 PM
To: users@openejb.apache.org
Subject: Re: Exceptions during redeployment in Eclipse
http://ci.apache.org/builders/openejb-trunk-deploy/builds/405
can you give it another try? (this time i tested on a very simple sample so
i believe it will be better)
- Romain
2012/6/19 marcin <to...@gmail.com>
> Thank you very much for your instructions!
>
> Here is what I get from console during redeployment with the newest build:
>
> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
> INFO: Reloading Context with name [/GreenAndGreat] has started
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [Timer-0] but has failed to stop it. This is very likely
> to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.4] but has failed to
> stop it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.5] but has failed to
> stop it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.6] but has failed to
> stop it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.7] but has failed to
> stop it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.8] but has failed to
> stop it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [OpenEJB-TimerService-Scheduler_QuartzSchedulerThread]
> but has failed to stop it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.openejb.assembler.classic.Assembler
> destroyApplication
> INFO: Undeploying app: D:\Moje Dokumenty\programowanie\Web
>
> development\.metadata\.plugins\org.eclipse.wst.server.core\tmp5\wtpweb
> apps\GreenAndGreat
> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
> SEVERE: Exception starting Context with name [/GreenAndGreat]
> org.apache.catalina.LifecycleException: An invalid Lifecycle
> transition was attempted ([before_start]) for component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Gre
> enAndGreat]]
> in state [DESTROYED]
> at
>
>
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:
408)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
> at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3908)
> at
>
>
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:
426)
> at
>
>
org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWeb
appLoader.java:21)
> at
>
>
org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.ja
va:88)
> at
>
>
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:
1350)
> at
>
>
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1537)
> at
>
>
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1547)
> at
>
>
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1547)
> at
>
>
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1526)
> at java.lang.Thread.run(Unknown Source)
> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
> INFO: Reloading Context with name [/GreenAndGreat] is completed
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-
> Eclipse-tp4655688p4655695.html Sent from the OpenEJB User mailing list
> archive at Nabble.com.
>
Re: Exceptions during redeployment in Eclipse
Posted by marcin <to...@gmail.com>.
Yes, this update has fixed the issue. Thanks a lot!
--
View this message in context: http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655699.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Exceptions during redeployment in Eclipse
Posted by Romain Manni-Bucau <rm...@gmail.com>.
http://ci.apache.org/builders/openejb-trunk-deploy/builds/405
can you give it another try? (this time i tested on a very simple sample so
i believe it will be better)
- Romain
2012/6/19 marcin <to...@gmail.com>
> Thank you very much for your instructions!
>
> Here is what I get from console during redeployment with the newest build:
>
> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
> INFO: Reloading Context with name [/GreenAndGreat] has started
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [Timer-0] but has failed to stop it. This is very likely to
> create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.4] but has failed to stop
> it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.5] but has failed to stop
> it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.6] but has failed to stop
> it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.7] but has failed to stop
> it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [org.apache.openejb.pool.scheduler.8] but has failed to stop
> it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [OpenEJB-TimerService-Scheduler_QuartzSchedulerThread] but has
> failed to stop it. This is very likely to create a memory leak.
> 2012-06-19 15:50:08 org.apache.openejb.assembler.classic.Assembler
> destroyApplication
> INFO: Undeploying app: D:\Moje Dokumenty\programowanie\Web
>
> development\.metadata\.plugins\org.eclipse.wst.server.core\tmp5\wtpwebapps\GreenAndGreat
> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
> SEVERE: Exception starting Context with name [/GreenAndGreat]
> org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
> attempted ([before_start]) for component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/GreenAndGreat]]
> in state [DESTROYED]
> at
>
> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
> at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3908)
> at
>
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
> at
>
> org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWebappLoader.java:21)
> at
>
> org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.java:88)
> at
>
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1350)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
> at java.lang.Thread.run(Unknown Source)
> 2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
> INFO: Reloading Context with name [/GreenAndGreat] is completed
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655695.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: Exceptions during redeployment in Eclipse
Posted by marcin <to...@gmail.com>.
Thank you very much for your instructions!
Here is what I get from console during redeployment with the newest build:
2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/GreenAndGreat] has started
2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [Timer-0] but has failed to stop it. This is very likely to
create a memory leak.
2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [org.apache.openejb.pool.scheduler.4] but has failed to stop
it. This is very likely to create a memory leak.
2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [org.apache.openejb.pool.scheduler.5] but has failed to stop
it. This is very likely to create a memory leak.
2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [org.apache.openejb.pool.scheduler.6] but has failed to stop
it. This is very likely to create a memory leak.
2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [org.apache.openejb.pool.scheduler.7] but has failed to stop
it. This is very likely to create a memory leak.
2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [org.apache.openejb.pool.scheduler.8] but has failed to stop
it. This is very likely to create a memory leak.
2012-06-19 15:50:08 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/GreenAndGreat] appears to have started a
thread named [OpenEJB-TimerService-Scheduler_QuartzSchedulerThread] but has
failed to stop it. This is very likely to create a memory leak.
2012-06-19 15:50:08 org.apache.openejb.assembler.classic.Assembler
destroyApplication
INFO: Undeploying app: D:\Moje Dokumenty\programowanie\Web
development\.metadata\.plugins\org.eclipse.wst.server.core\tmp5\wtpwebapps\GreenAndGreat
2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
SEVERE: Exception starting Context with name [/GreenAndGreat]
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
attempted ([before_start]) for component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/GreenAndGreat]]
in state [DESTROYED]
at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:3908)
at
org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
at
org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWebappLoader.java:21)
at
org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.java:88)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1350)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
at java.lang.Thread.run(Unknown Source)
2012-06-19 15:50:08 org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/GreenAndGreat] is completed
--
View this message in context: http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655695.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Exceptions during redeployment in Eclipse
Posted by Romain Manni-Bucau <rm...@gmail.com>.
it is here:
https://repository.apache.org/content/repositories/snapshots/org/apache/openejb/apache-tomee/1.1.0-SNAPSHOT/
i wrote a small blog post about it:
http://rmannibucau.wordpress.com/2012/05/23/getting-tomee-snapshot/
- Romain
2012/6/19 marcin <to...@gmail.com>
> Thanks for help, build has been triggered and ended up successfully, but
> still I have no idea how can I download it.
>
> Please forgive me, but I don't now how big open source projects are built
> and deployed.
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655692.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: Exceptions during redeployment in Eclipse
Posted by marcin <to...@gmail.com>.
Thanks for help, build has been triggered and ended up successfully, but
still I have no idea how can I download it.
Please forgive me, but I don't now how big open source projects are built
and deployed.
--
View this message in context: http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655692.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Exceptions during redeployment in Eclipse
Posted by Romain Manni-Bucau <rm...@gmail.com>.
right, was not pushed, i'll trigger a deploy now, you can follow it here:
http://ci.apache.org/builders/openejb-trunk-deploy/builds/404
- Romain
2012/6/19 marcin <to...@gmail.com>
> How can i get this update?
>
> I can't see new snapshot under:
>
>
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.1.0-SNAPSHOT/
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655690.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
Re: Exceptions during redeployment in Eclipse
Posted by marcin <to...@gmail.com>.
How can i get this update?
I can't see new snapshot under:
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.1.0-SNAPSHOT/
--
View this message in context: http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688p4655690.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Exceptions during redeployment in Eclipse
Posted by Romain Manni-Bucau <rm...@gmail.com>.
just pushed an update on it, maybe it fixes your issue.
- Romain
2012/6/19 marcin <to...@gmail.com>
> I am using apache-tomee-1.1.0-20120619.040939-31-webprofile. I am using
> MySQL
> JDBC Driver and I have scheduled method in singleton EJB.
>
> When there is automatic redeployment of application under Eclipse IDE i get
> the following stack traces.
>
> WARNING: JDBC driver de-registration failed for web application
> [/GreenAndGreat]
> java.lang.NullPointerException
> at
>
> org.apache.catalina.loader.WebappClassLoader.clearReferencesJdbc(WebappClassLoader.java:2051)
> at
>
> org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1987)
> at
>
> org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1899)
> at
>
> org.apache.tomee.catalina.LazyStopWebappClassLoader.internalStop(LazyStopWebappClassLoader.java:30)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStop(TomcatWebAppBuilder.java:1107)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
> at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> at
> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:252)
> at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3901)
> at
>
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
> at
>
> org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWebappLoader.java:21)
> at
>
> org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.java:88)
> at
>
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1350)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
> at java.lang.Thread.run(Unknown Source)
> 2012-06-19 12:20:29 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [Timer-0] but has failed to stop it. This is very likely to
> create a memory leak.
> 2012-06-19 12:20:29 org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/GreenAndGreat] appears to have started a
> thread named [OpenEJB-TimerService-Scheduler_QuartzSchedulerThread] but has
> failed to stop it. This is very likely to create a memory leak.
> 2012-06-19 12:20:29 org.apache.catalina.core.ContainerBase
> backgroundProcess
> WARNING: Exception processing loader
> org.apache.tomee.catalina.LazyStopLoader@1e4f266 background process
> java.lang.NullPointerException
> at
>
> org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1903)
> at
>
> org.apache.tomee.catalina.LazyStopWebappClassLoader.internalStop(LazyStopWebappClassLoader.java:30)
> at
>
> org.apache.tomee.catalina.TomcatWebAppBuilder.afterStop(TomcatWebAppBuilder.java:1107)
> at
>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:113)
> at
>
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
>
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> at
>
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
> at
> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:252)
> at
> org.apache.catalina.core.StandardContext.reload(StandardContext.java:3901)
> at
>
> org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426)
> at
>
> org.apache.tomee.catalina.LazyStopWebappLoader.backgroundProcess(LazyStopWebappLoader.java:21)
> at
>
> org.apache.tomee.catalina.LazyStopLoader.backgroundProcess(LazyStopLoader.java:88)
> at
>
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1350)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
> at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
> at java.lang.Thread.run(Unknown Source)
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Exceptions-during-redeployment-in-Eclipse-tp4655688.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>