[Engine-devel] Error on starting webadmin

Shireesh Anjal sanjal at redhat.com
Thu Dec 13 14:52:21 UTC 2012


On Thursday 13 December 2012 08:06 PM, Roy Golan wrote:
> 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.

+1

>
>>
>> Vojtech
>>
>>
>> ----- Original Message -----
>> From: "Vojtech Szocs" <vszocs at redhat.com>
>> To: engine-devel at ovirt.org
>> 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" <derez at redhat.com>
>> To: "Moti Asayag" <masayag at redhat.com>
>> Cc: engine-devel at ovirt.org
>> Sent: Thursday, December 13, 2012 11:49:13 AM
>> Subject: Re: [Engine-devel] Error on starting webadmin
>>
>>
>>
>> ----- Original Message -----
>>> From: "Moti Asayag" <masayag at redhat.com>
>>> To: engine-devel at ovirt.org
>>> 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
>>> Engine-devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>>
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel




More information about the Devel mailing list