[Engine-devel] IMPORTANT: Root web application moved

Hello, I have recently merged a change that moves the root web application to the .ear directory: http://gerrit.ovirt.org/3782 This change could break your environment if you apply the patch and you don't do a clean installation. You may find an error like this in your server log and the application can fail to deploy: JBAS014777: Services which failed to start: service jboss.web.deployment.default-host./: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./: Failed to start service That means that you have more than one / application. Please make sure that you don't have the old ROOT.war in your deployment directory. Just remove it and the corresponding ROOT.war.dodeploy file. Also make sure that you don't have the following parameter in your standalone.xml file: enable-welcome-root="true" Change the value to "false". None of this actions are needed if you are building new RPMs and doing a clean installation. If you still have problems starting the application server after applying this change please let me know. Regards, Juan Hernandez

Hey, Is there a reason not to push the changes in standalone.xml (true-->false) as a patch? Thank you, Oved ----- Original Message -----
From: "Juan Hernandez" <juan.hernandez@redhat.com> To: engine-devel@ovirt.org, shireesh@redhat.com Sent: Thursday, May 17, 2012 11:13:50 PM Subject: [Engine-devel] IMPORTANT: Root web application moved
Hello,
I have recently merged a change that moves the root web application to the .ear directory:
This change could break your environment if you apply the patch and you don't do a clean installation. You may find an error like this in your server log and the application can fail to deploy:
JBAS014777: Services which failed to start: service jboss.web.deployment.default-host./: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./: Failed to start service
That means that you have more than one / application. Please make sure that you don't have the old ROOT.war in your deployment directory. Just remove it and the corresponding ROOT.war.dodeploy file.
Also make sure that you don't have the following parameter in your standalone.xml file:
enable-welcome-root="true"
Change the value to "false".
None of this actions are needed if you are building new RPMs and doing a clean installation.
If you still have problems starting the application server after applying this change please let me know.
Regards, Juan Hernandez _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

On 05/20/2012 10:49 AM, Oved Ourfalli wrote:
Hey,
Is there a reason not to push the changes in standalone.xml (true-->false) as a patch?
I think there is no reason. I already submitted the change to gerrit: http://gerrit.ovirt.org/4524
Thank you, Oved
----- Original Message -----
From: "Juan Hernandez"<juan.hernandez@redhat.com> To: engine-devel@ovirt.org, shireesh@redhat.com Sent: Thursday, May 17, 2012 11:13:50 PM Subject: [Engine-devel] IMPORTANT: Root web application moved
Hello,
I have recently merged a change that moves the root web application to the .ear directory:
This change could break your environment if you apply the patch and you don't do a clean installation. You may find an error like this in your server log and the application can fail to deploy:
JBAS014777: Services which failed to start: service jboss.web.deployment.default-host./: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./: Failed to start service
That means that you have more than one / application. Please make sure that you don't have the old ROOT.war in your deployment directory. Just remove it and the corresponding ROOT.war.dodeploy file.
Also make sure that you don't have the following parameter in your standalone.xml file:
enable-welcome-root="true"
Change the value to "false".
None of this actions are needed if you are building new RPMs and doing a clean installation.
If you still have problems starting the application server after applying this change please let me know.
Regards, Juan Hernandez _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Your fix is now merged. Everyone - please note that in order to apply the fix in your environment you need to run the maven build with -Psetup (just do the command you always do, and add the "setup" to the profiles in the -P option). However, it will only work if you upgraded your Jboss to 7.1.1, so make sure you upgrade! If you are still working with jboss 7.1.0 then it will fail to parse the jboss configuration. Regards, Oved ----- Original Message -----
From: "Juan Hernandez" <juan.hernandez@redhat.com> To: "Oved Ourfalli" <ovedo@redhat.com> Cc: engine-devel@ovirt.org Sent: Sunday, May 20, 2012 4:29:07 PM Subject: Re: [Engine-devel] IMPORTANT: Root web application moved
On 05/20/2012 10:49 AM, Oved Ourfalli wrote:
Hey,
Is there a reason not to push the changes in standalone.xml (true-->false) as a patch?
I think there is no reason. I already submitted the change to gerrit:
Thank you, Oved
----- Original Message -----
From: "Juan Hernandez"<juan.hernandez@redhat.com> To: engine-devel@ovirt.org, shireesh@redhat.com Sent: Thursday, May 17, 2012 11:13:50 PM Subject: [Engine-devel] IMPORTANT: Root web application moved
Hello,
I have recently merged a change that moves the root web application to the .ear directory:
This change could break your environment if you apply the patch and you don't do a clean installation. You may find an error like this in your server log and the application can fail to deploy:
JBAS014777: Services which failed to start: service jboss.web.deployment.default-host./: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./: Failed to start service
That means that you have more than one / application. Please make sure that you don't have the old ROOT.war in your deployment directory. Just remove it and the corresponding ROOT.war.dodeploy file.
Also make sure that you don't have the following parameter in your standalone.xml file:
enable-welcome-root="true"
Change the value to "false".
None of this actions are needed if you are building new RPMs and doing a clean installation.
If you still have problems starting the application server after applying this change please let me know.
Regards, Juan Hernandez _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
participants (2)
-
Juan Hernandez
-
Oved Ourfalli