Hi

Can you post the Camel route you use? Does it use the Camel file component?
And do you remove the web app *during* Camel processes some messages?


On Tue, Feb 19, 2013 at 10:04 PM, xpd2000 . <xpd2...@hotmail.com> wrote:
>
> Hi,
>
> We use the Fuse IDE now which integrates camel 2.10.0.fuse-71-047. We are 
> using cxf, activeMQ and xQuery components now. The Fuse IDE makes the war 
> file for us and we deploy it to tomcat. Everything is ok except that: when we 
> undeploy the web application without shutdown the tomcat, e.g. remove the war 
> file and the tomcat will undeploy the web app automatically.
>
> If we do it, the tomcat reports an error that:
> SEVERE: [D:\txp\devtool\apache-tomcat-7.0.27\webapps\test\WEB-INF\classes] 
> could not be completely deleted. The presence of the remaining files may 
> cause problems
> and the undeployment fails.
>
> When I checked the web application folder, I found that the xquery files were 
> still in the folder and locked and you cannot remove them.I have to shutdown 
> the tomcat and remove them manually.
>
> On windows platform, those files have the original file name while on linux 
> platform, they have code name like .nfs04FA2.
>
> And I can also find some error message about memory leak about activeMQ:
> SEVERE: The web application [/omg] appears to have started a thread named 
> [ActiveMQ Task-7] but has failed to stop it. This is very likely to create a 
> memory leak.
> SEVERE: The web application [/omg] created a ThreadLocal with key of type 
> [org.apache.log4j.helpers.ThreadLocalMap] (value 
> [org.apache.log4j.helpers.ThreadLocalMap@132b0ac]) and a value of type 
> [java.util.Hashtable] (value [{activemq.broker=omgBroker}]) but failed to 
> remove it when the web application was stopped. Threads are going to be 
> renewed over time to try and avoid a probable memory leak.
>
> Does someone know how to avoid it?
>
> Thank you very much
>
> Aaron



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to