> this is making the contribution process more complex. lets think of a > lighter way to get a developing setup.
I agree, I just wanted to have the local Engine configuration steps documented for reference.. If there's a better way to do it, I'm for it. Vojtech ----- Original Message ----- From: "Roy Golan" <[email protected]> To: [email protected] Sent: Thursday, December 13, 2012 3:36:40 PM Subject: Re: [Engine-devel] Error on starting webadmin On 12/13/2012 04:32 PM, Vojtech Szocs wrote: > Hi, > > I've updated http://www.ovirt.org/Building_Engine_Draft - added section > "Engine local configuration" (feel free to edit or modify as necessary) this is making the contribution process more complex. lets think of a lighter way to get a developing setup. > > Vojtech > > > ----- Original Message ----- > From: "Vojtech Szocs" <[email protected]> > To: [email protected] > Sent: Thursday, December 13, 2012 2:49:39 PM > Subject: Re: [Engine-devel] Error on starting webadmin > > Hi guys, > > as Moti mentioned, this issue is related to UI plugins patches that have been > merged recently. > > However, the root cause of this issue is LocalConfig class (machine-specific > Engine configuration) throwing exception in following cases: > - cannot load default properties (ENGINE_DEFAULTS property if defined, > otherwise /usr/share/ovirt-engine/conf/engine.conf.defaults) > - cannot load custom properties (ENGINE_VARS property if defined, otherwise > /etc/sysconfig/ovirt-engine) > - requesting missing property value (LocalConfig.getProperty method) > > (Note that UI plugins use two Engine properties: ENGINE_USR and ENGINE_ETC.) > > As Juan suggests in his comment in http://gerrit.ovirt.org/#/c/10026/, we > could include this in "building Engine" wiki. For example: > - have ENGINE_DEFAULTS property point to > OVIRT_HOME/backend/manager/conf/engine.conf.defaults (alternatively, users > can copy this file to /usr/share/ovirt-engine/conf) > - create custom Engine config file, e.g. ~/myengine.conf, and have > ENGINE_VARS property point to this file > > Vojtech > > > ----- Original Message ----- > From: "Daniel Erez" <[email protected]> > To: "Moti Asayag" <[email protected]> > Cc: [email protected] > Sent: Thursday, December 13, 2012 11:49:13 AM > Subject: Re: [Engine-devel] Error on starting webadmin > > > > ----- Original Message ----- >> From: "Moti Asayag" <[email protected]> >> To: [email protected] >> Sent: Thursday, December 13, 2012 12:25:07 PM >> Subject: [Engine-devel] Error on starting webadmin >> >> Hi, >> >> I get the following error when trying to connect to webadmin: >> >> 2012-12-13 11:57:06,689 ERROR >> [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/webadmin].[WebAdminDynamicHosting]] >> (http--0.0.0.0-8700-1) Servlet.service() for servlet >> WebAdminDynamicHosting threw exception: >> java.lang.IllegalArgumentException: The property "ENGINE_USR" >> doesn't have a value. >> >> It caused by the PluginDataManager instantiation which requires >> several variables to be defined. >> >> In order to by pass those errors do: >> 1. create a file /usr/share/ovirt-engine/conf/engine.conf.defaults >> 2. Add the following properties to the file: >> ENGINE_USR=username >> ENGINE_ETC=/etc/ovirt-engine >> 3. restart Jboss > You can use the 'engine.conf.defaults' that resides at 'backend/manager/conf'. > >> Regards, >> Moti >> _______________________________________________ >> Engine-devel mailing list >> [email protected] >> http://lists.ovirt.org/mailman/listinfo/engine-devel >> > _______________________________________________ > Engine-devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/engine-devel > _______________________________________________ > Engine-devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/engine-devel > _______________________________________________ > Engine-devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/engine-devel _______________________________________________ Engine-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-devel _______________________________________________ Engine-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-devel
