[ovirt-users] gwt super dev mode

Alexander Wels awels at redhat.com
Wed Dec 23 08:14:51 EST 2015


On Wednesday, December 23, 2015 11:15:17 AM royin rolland wrote:
> Hi,
> 
> Depending on your patch, appear “Error while executing action: A Request to
> the Server failed with the following Status Code: 500".

Did you do step 2?

setup GWT_CODESVR=localhost:9876 in the shell you are going to start the 
engine in. This will allow the engine to know where to get the permutations 
generated by the "code" server below.

Before you start the engine, which I am assuming you are running from a shell 
like so:

$HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.py 
start

Make sure you do this:
set GWT_CODESVR=localhost:9876
export GWT_CODESVR

Then run the command to start the engine.

> > 在 2015年12月21日,22:54,Alexander Wels <awels at redhat.com> 写道:
> > 
> > On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote:
> >> Hi,
> >> 
> >> oVirt UI currently uses GWT SDK version 2.6.1
> >> In GWT 2.6.x "classic" dev mode is still the default one.
> >> 
> >> We tried to use "super" dev mode some time ago [1] but it
> >> didn't work for us, probably due to using direct-eval RPC
> >> mechanism (we got HTTP 500 responses for RPC requests).
> >> 
> >>  [1] https://gerrit.ovirt.org/#/c/26093/
> >> 
> >> Because "classic" dev mode relies on NPAPI-based browser
> >> plugin, the downside is that developers must use old'ish
> >> browsers that still support NPAPI (Firefox <= 26 etc).
> >> 
> >> I think we can revisit this and try to experiment with
> >> "super" dev mode as I believe [1] was done in context of
> >> GWT 2.5.x anyway.
> >> 
> >> Regards,
> >> Vojtech
> > 
> > Hi,
> > 
> > I updated the initial WIP patch and I think it should work if you follow
> > the instructions in the new patch [2]. Feel free to give it a whirl and
> > give me feedback.
> > 
> > [2] https://gerrit.ovirt.org/#/c/50742/
> > <https://gerrit.ovirt.org/#/c/50742/>> 
> >> ----- Original Message -----
> >> 
> >>> From: "royin rolland" <royinrolland at yahoo.com
> >>> <mailto:royinrolland at yahoo.com>> To: vszocs at redhat.com
> >>> <mailto:vszocs at redhat.com>
> >>> Cc: users at ovirt.org <mailto:users at ovirt.org>
> >>> Sent: Wednesday, December 16, 2015 2:49:25 AM
> >>> Subject: gwt super dev mode
> >>> 
> >>> hi,vszos:
> >>> 
> >>> 	ovirt engine when it supports super dev mode?ovirt 3.6?



More information about the Users mailing list