-
1. Re: War not deployed correctly on container restart
smunirat-redhat.com Feb 26, 2016 10:29 AM (in response to barbara.devido.3)Can you post the logs on restart , I have seen this happening on redeploy of the war ( on snapshots specifically), but not on start and stop of Fuse.I guess that the necessary dependencies are not resolving.
-
2. Re: War not deployed correctly on container restart
barbara.devido.3 Mar 1, 2016 6:38 AM (in response to smunirat-redhat.com)Hi,
I found out that the behaviour doesn't occured all the time.
Yesterday it did not happen, but this morning when I start the container the webapp failed to be deployed.
Looking carefully at the log, I saw some errors, like it is not getting the configuration, but I have not changed anything in the last two days. Just stop all the container yesterday evenging and restart them this morning.
The complete log is attached. The application not deploying is "error-handler".
2016-03-01 09:55:01,877 | INFO | pool-1-thread-2 | PropertyPlaceholderConfigurer | 191 - it.mytria.web.error-handler - 1.0.0.F621-SNAPSHOT | Loading properties file from ServletContext resource [/profile:ehappconf.properties] 2016-03-01 09:55:01,966 | ERROR | pool-1-thread-2 | ContextLoader | 191 - it.mytria.web.error-handler - 1.0.0.F621-SNAPSHOT | Context initialization failed java.lang.IllegalArgumentException: name at sun.misc.URLClassPath$Loader.findResource(URLClassPath.java:494)[:1.7.0_79] at sun.misc.URLClassPath.findResource(URLClassPath.java:176)[:1.7.0_79]
Few minutes after it states "no deployment change" but the wepapplication is not available.
2016-03-01 09:57:50,182 | INFO | 6.0.1-1-thread-1 | Agent | 86 - io.fabric8.fabric-agent - 1.2.0.redhat-621084 | No deployment change. 2016-03-01 09:57:50,430 | INFO | 6.0.1-1-thread-1 | DeploymentAgent | 86 - io.fabric8.fabric-agent - 1.2.0.redhat-621084 | Validating baseline information 2016-03-01 09:57:53,953 | INFO | 6.0.1-1-thread-1 | Agent | 86 - io.fabric8.fabric-agent - 1.2.0.redhat-621084 | Done.
The I restarted the container and the webapp was deployed.
-
fuse.log.zip 29.4 KB
-