War with spring configured Camel context will not redeploy on JBoss -


i have camel application deployed on jboss in war file spring configuration starting camel context.

it deploys , runs nicely on jboss eap 7.0.0.ga.

if want change values in property file application depends on , touch war file, redeploys application. in cases fails.

i following in server.log:

2017-07-25 12:05:26.671 info  class=org.apache.camel.impl.defaultshutdownstrategy thread="serverservice thread pool -- 74" starting graceful shutdown 12 routes (timeout 300 seconds) 2017-07-25 12:05:26.725 info  class=org.apache.camel.impl.defaultshutdownstrategy thread="camel (interfacedb) thread #2 - shutdowntask" waiting there still 4 inflight , pending exchanges complete, timeout in 300 seconds. inflights per route: [interfacepersistdirect = 1, route1 = 1, pullfromtransferentitytable = 1, lastscheduledrun = 1] ... 2017-07-25 12:10:26.691 warn  class=org.apache.camel.impl.defaultshutdownstrategy thread="serverservice thread pool -- 74" timeout occurred during graceful shutdown. forcing routes shutdown now. notice: resources may still running graceful shutdown did not complete successfully. 2017-07-25 12:10:26.691 warn  class=org.apache.camel.impl.defaultshutdownstrategy thread="camel (interfacedb) thread #2 - shutdowntask" interrupted while waiting during graceful shutdown, force shutdown now. 2017-07-25 12:10:26.694 info  class=org.apache.camel.impl.defaultshutdownstrategy thread="serverservice thread pool -- 74" graceful shutdown of 12 routes completed in 300 seconds 

after application not start again. jboss reports following in myapp.war.failed file in deployments folder.

"wflyds0022: did not receive response deployment operation within allowed timeout period [600 seconds]. check server configuration file , server logs find more status of deployment." 

the application deploys lot quicker 600 seconds. can touch war file or delete .failed file, triggers redeployment, jboss keeps giving me error above in .failed file.

the application starts if restart jboss vm, avoid restarting other applications running on jboss instance.

any suggestions?


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -