Re: [ovirt-users] gwt super dev mode

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@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@yahoo.com <mailto:royinrolland@yahoo.com>> To: vszocs@redhat.com <mailto:vszocs@redhat.com> Cc: users@ovirt.org <mailto:users@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?

=D4=DA 2015=C4=EA12=D4=C223=C8=D5=A3=AC21:14=A3=ACAlexander Wels = <awels@redhat.com> =D0=B4=B5=C0=A3=BA =20 On Wednesday, December 23, 2015 11:15:17 AM royin rolland wrote:
Hi, =20 Depending on your patch, appear =A1=B0Error while executing action: A = Request to the Server failed with the following Status Code: 500". =20 Did you do step 2? =20 setup GWT_CODESVR=3Dlocalhost:9876 in the shell you are going to start =
engine in. This will allow the engine to know where to get the =
--Apple-Mail=_3580ED92-1AFF-4E6E-9D02-C11D32026216 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=gb2312 Hi, I was doing this, the problem still exists the=20 permutations=20
generated by the "code" server below. =20 Before you start the engine, which I am assuming you are running from = a shell=20 like so: =20 = $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.p= y=20 start =20 Make sure you do this: set GWT_CODESVR=3Dlocalhost:9876 export GWT_CODESVR =20 Then run the command to start the engine. =20
Hi, =20 oVirt UI currently uses GWT SDK version 2.6.1 In GWT 2.6.x "classic" dev mode is still the default one. =20 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). =20 [1] https://gerrit.ovirt.org/#/c/26093/ =20 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 <=3D 26 etc). =20 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. =20 Regards, Vojtech =20 Hi, =20 I updated the initial WIP patch and I think it should work if you = follow
=D4=DA 2015=C4=EA12=D4=C221=C8=D5=A3=AC22:54=A3=ACAlexander Wels = <awels@redhat.com> =D0=B4=B5=C0=A3=BA =20 On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote: the instructions in the new patch [2]. Feel free to give it a whirl = and give me feedback. =20 [2] https://gerrit.ovirt.org/#/c/50742/ <https://gerrit.ovirt.org/#/c/50742/ = <https://gerrit.ovirt.org/#/c/50742/>>>=20
----- Original Message ----- =20
From: "royin rolland" <royinrolland@yahoo.com = <mailto:royinrolland@yahoo.com> <mailto:royinrolland@yahoo.com <mailto:royinrolland@yahoo.com>>> = To: vszocs@redhat.com <mailto:vszocs@redhat.com> <mailto:vszocs@redhat.com <mailto:vszocs@redhat.com>> Cc: users@ovirt.org <mailto:users@ovirt.org> = <mailto:users@ovirt.org <mailto:users@ovirt.org>> Sent: Wednesday, December 16, 2015 2:49:25 AM Subject: gwt super dev mode =20 hi=A3=ACvszos=A3=BA =20 ovirt engine when it supports super dev mode=A3=BFovirt 3.6?
--Apple-Mail=_3580ED92-1AFF-4E6E-9D02-C11D32026216 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=gb2312 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dgb2312"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Hi,<div class=3D""><br class=3D""></div><div class=3D"">I was = doing this, the problem still exists</div><div class=3D""><br = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">=D4=DA= 2015=C4=EA12=D4=C223=C8=D5=A3=AC21:14=A3=ACAlexander Wels <<a = href=3D"mailto:awels@redhat.com" class=3D"">awels@redhat.com</a>> = =D0=B4=B5=C0=A3=BA</div><br class=3D"Apple-interchange-newline"><div = class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: = inline !important;" class=3D"">On Wednesday, December 23, 2015 11:15:17 = AM royin rolland wrote:</span><br style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D"">Hi,<br class=3D""><br class=3D"">Depending on your patch, = appear =A1=B0Error while executing action: A Request to<br class=3D"">the = Server failed with the following Status Code: 500".<br = class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px; float: none; display: inline = !important;" class=3D"">Did you do step 2?</span><br style=3D"font-family:= Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px; float: none; display: inline = !important;" class=3D"">setup GWT_CODESVR=3Dlocalhost:9876 in the shell = you are going to start the<span = class=3D"Apple-converted-space"> </span></span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">engine in. This will allow = the engine to know where to get the permutations<span = class=3D"Apple-converted-space"> </span></span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">generated by the "code" = server below.</span><br style=3D"font-family: Helvetica; font-size: = 12px; font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">Before you start the = engine, which I am assuming you are running from a shell<span = class=3D"Apple-converted-space"> </span></span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">like so:</span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: = inline !important;" = class=3D"">$HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovi= rt-engine.py<span class=3D"Apple-converted-space"> </span></span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">start</span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: = inline !important;" class=3D"">Make sure you do this:</span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">set = GWT_CODESVR=3Dlocalhost:9876</span><br style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span= style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px; float: none; display: inline = !important;" class=3D"">export GWT_CODESVR</span><br style=3D"font-family:= Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px; float: none; display: inline = !important;" class=3D"">Then run the command to start the = engine.</span><br style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><blockquote type=3D"cite" = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><blockquote type=3D"cite" = class=3D"">=D4=DA 2015=C4=EA12=D4=C221=C8=D5=A3=AC22:54=A3=ACAlexander = Wels <<a href=3D"mailto:awels@redhat.com" = class=3D"">awels@redhat.com</a>> =D0=B4=B5=C0=A3=BA<br class=3D""><br = class=3D"">On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs = wrote:<br class=3D""><blockquote type=3D"cite" class=3D"">Hi,<br = class=3D""><br class=3D"">oVirt UI currently uses GWT SDK version = 2.6.1<br class=3D"">In GWT 2.6.x "classic" dev mode is still the default = one.<br class=3D""><br class=3D"">We tried to use "super" dev mode some = time ago [1] but it<br class=3D"">didn't work for us, probably due to = using direct-eval RPC<br class=3D"">mechanism (we got HTTP 500 responses = for RPC requests).<br class=3D""><br class=3D"">[1] <a = href=3D"https://gerrit.ovirt.org/#/c/26093/" = class=3D"">https://gerrit.ovirt.org/#/c/26093/</a><br class=3D""><br = class=3D"">Because "classic" dev mode relies on NPAPI-based browser<br = class=3D"">plugin, the downside is that developers must use old'ish<br = class=3D"">browsers that still support NPAPI (Firefox <=3D 26 = etc).<br class=3D""><br class=3D"">I think we can revisit this and try = to experiment with<br class=3D"">"super" dev mode as I believe [1] was = done in context of<br class=3D"">GWT 2.5.x anyway.<br class=3D""><br = class=3D"">Regards,<br class=3D"">Vojtech<br class=3D""></blockquote><br = class=3D"">Hi,<br class=3D""><br class=3D"">I updated the initial WIP = patch and I think it should work if you follow<br class=3D"">the = instructions in the new patch [2]. Feel free to give it a whirl and<br = class=3D"">give me feedback.<br class=3D""><br class=3D"">[2] <a = href=3D"https://gerrit.ovirt.org/#/c/50742/" = class=3D"">https://gerrit.ovirt.org/#/c/50742/</a><br class=3D""><<a = href=3D"https://gerrit.ovirt.org/#/c/50742/" = class=3D"">https://gerrit.ovirt.org/#/c/50742/</a>>><span = class=3D"Apple-converted-space"> </span><br class=3D""><blockquote = type=3D"cite" class=3D"">----- Original Message -----<br class=3D""><br = class=3D""><blockquote type=3D"cite" class=3D"">From: "royin rolland" = <<a href=3D"mailto:royinrolland@yahoo.com" = class=3D"">royinrolland@yahoo.com</a><br class=3D""><<a = href=3D"mailto:royinrolland@yahoo.com" = class=3D"">mailto:royinrolland@yahoo.com</a>>> To:<span = class=3D"Apple-converted-space"> </span><a = href=3D"mailto:vszocs@redhat.com" class=3D"">vszocs@redhat.com</a><br = class=3D""><<a href=3D"mailto:vszocs@redhat.com" = class=3D"">mailto:vszocs@redhat.com</a>><br class=3D"">Cc:<span = class=3D"Apple-converted-space"> </span><a = href=3D"mailto:users@ovirt.org" class=3D"">users@ovirt.org</a><span = class=3D"Apple-converted-space"> </span><<a = href=3D"mailto:users@ovirt.org" = class=3D"">mailto:users@ovirt.org</a>><br class=3D"">Sent: Wednesday, = December 16, 2015 2:49:25 AM<br class=3D"">Subject: gwt super dev = mode<br class=3D""><br class=3D"">hi=A3=ACvszos=A3=BA<br class=3D""><br = class=3D""><span class=3D"Apple-tab-span" style=3D"white-space: pre;"> = </span>ovirt engine when it supports super dev mode=A3=BFovirt = 3.6?</blockquote></blockquote></blockquote></blockquote></div></blockquote=
</div><br class=3D""></div></body></html>=
--Apple-Mail=_3580ED92-1AFF-4E6E-9D02-C11D32026216--

On Wednesday, December 23, 2015 11:43:44 PM royin rolland wrote:
Hi,
I was doing this, the problem still exists
I am assuming you have the code server running on your local host on port 9876. Do you have a firewall blocking it? Are there any interesting exceptions logged in $PREFIX/var/log/ovirt- engine/server.log
在 2015年12月23日,21:14,Alexander Wels <awels@redhat.com> 写道:
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.p y 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@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/ <https://gerrit.ovirt.org/#/c/50742/>>>>>>
----- Original Message -----
From: "royin rolland" <royinrolland@yahoo.com <mailto:royinrolland@yahoo.com> <mailto:royinrolland@yahoo.com <mailto:royinrolland@yahoo.com>>> To: vszocs@redhat.com <mailto:vszocs@redhat.com> <mailto:vszocs@redhat.com <mailto:vszocs@redhat.com>> Cc: users@ovirt.org <mailto:users@ovirt.org> <mailto:users@ovirt.org <mailto:users@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?

=D4=DA 2015=C4=EA12=D4=C224=C8=D5=A3=AC02:38=A3=ACAlexander Wels = <awels@redhat.com> =D0=B4=B5=C0=A3=BA =20 On Wednesday, December 23, 2015 11:43:44 PM royin rolland wrote:
Hi, =20 I was doing this, the problem still exists =20 =20 I am assuming you have the code server running on your local host on =
--Apple-Mail=_76043E89-77B4-49FA-AF63-E466CF01E26C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=gb2312 Thank you very much for your help, I now have a success port=20
9876. Do you have a firewall blocking it? =20 Are there any interesting exceptions logged in $PREFIX/var/log/ovirt- engine/server.log =20 =20
Hi, =20 Depending on your patch, appear =A1=B0Error while executing action: = A Request to the Server failed with the following Status Code: 500". =20 Did you do step 2? =20 setup GWT_CODESVR=3Dlocalhost:9876 in the shell you are going to = start the engine in. This will allow the engine to know where to get the
=D4=DA 2015=C4=EA12=D4=C223=C8=D5=A3=AC21:14=A3=ACAlexander Wels = <awels@redhat.com> =D0=B4=B5=C0=A3=BA =20 On Wednesday, December 23, 2015 11:15:17 AM royin rolland wrote: permutations generated by the "code" server below. =20 Before you start the engine, which I am assuming you are running = from a shell like so: =20 = $HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovirt-engine.p=
y start =20 Make sure you do this: set GWT_CODESVR=3Dlocalhost:9876 export GWT_CODESVR =20 Then run the command to start the engine. =20
Hi, =20 oVirt UI currently uses GWT SDK version 2.6.1 In GWT 2.6.x "classic" dev mode is still the default one. =20 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). =20 [1] https://gerrit.ovirt.org/#/c/26093/ =20 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 <=3D 26 etc). =20 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. =20 Regards, Vojtech =20 Hi, =20 I updated the initial WIP patch and I think it should work if you = follow
=D4=DA 2015=C4=EA12=D4=C221=C8=D5=A3=AC22:54=A3=ACAlexander Wels = <awels@redhat.com> =D0=B4=B5=C0=A3=BA =20 On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs wrote: the instructions in the new patch [2]. Feel free to give it a = whirl and give me feedback. =20 [2] https://gerrit.ovirt.org/#/c/50742/ <https://gerrit.ovirt.org/#/c/50742/ <https://gerrit.ovirt.org/#/c/50742/ = <https://gerrit.ovirt.org/#/c/50742/>>>>>>>=20
----- Original Message ----- =20 > From: "royin rolland" <royinrolland@yahoo.com = <mailto:royinrolland@yahoo.com> > <mailto:royinrolland@yahoo.com <mailto:royinrolland@yahoo.com>> = <mailto:royinrolland@yahoo.com <mailto:royinrolland@yahoo.com> > <mailto:royinrolland@yahoo.com = <mailto:royinrolland@yahoo.com>>>> To: vszocs@redhat.com = <mailto:vszocs@redhat.com> > <mailto:vszocs@redhat.com <mailto:vszocs@redhat.com>> = <mailto:vszocs@redhat.com <mailto:vszocs@redhat.com> > <mailto:vszocs@redhat.com <mailto:vszocs@redhat.com>>> > Cc: users@ovirt.org <mailto:users@ovirt.org> = <mailto:users@ovirt.org <mailto:users@ovirt.org>> = <mailto:users@ovirt.org <mailto:users@ovirt.org> > <mailto:users@ovirt.org <mailto:users@ovirt.org>>> Sent: = Wednesday, December 16, 2015 2:49:25 > AM > Subject: gwt super dev mode >=20 > hi=A3=ACvszos=A3=BA >=20 > ovirt engine when it supports super dev mode=A3=BFovirt = 3.6?
--Apple-Mail=_76043E89-77B4-49FA-AF63-E466CF01E26C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=gb2312 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dgb2312"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">Thank you very much for your help, I now have a success<div = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">=D4=DA 2015=C4=EA12=D4=C224=C8=D5=A3=AC02:38=A3=ACAlexander = Wels <<a href=3D"mailto:awels@redhat.com" = class=3D"">awels@redhat.com</a>> =D0=B4=B5=C0=A3=BA</div><br = class=3D"Apple-interchange-newline"><div class=3D""><span = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px; float: none; display: inline = !important;" class=3D"">On Wednesday, December 23, 2015 11:43:44 PM = royin rolland wrote:</span><br style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D"">Hi,<br class=3D""><br class=3D"">I was doing this, the = problem still exists<br class=3D""><br class=3D""></blockquote><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">I am assuming you have the = code server running on your local host on port<span = class=3D"Apple-converted-space"> </span></span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">9876. Do you have a = firewall blocking it?</span><br style=3D"font-family: Helvetica; = font-size: 12px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; orphans: auto; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: = auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">Are there any interesting = exceptions logged in $PREFIX/var/log/ovirt-</span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: = none; display: inline !important;" class=3D"">engine/server.log</span><br = style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = orphans: auto; text-align: start; text-indent: 0px; text-transform: = none; white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; orphans: auto; text-align: = start; text-indent: 0px; text-transform: none; white-space: normal; = widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" = class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><blockquote= type=3D"cite" style=3D"font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; orphans: auto; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; widows: auto; = word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><blockquote= type=3D"cite" class=3D"">=D4=DA 2015=C4=EA12=D4=C223=C8=D5=A3=AC21:14=A3=AC= Alexander Wels <<a href=3D"mailto:awels@redhat.com" = class=3D"">awels@redhat.com</a>> =D0=B4=B5=C0=A3=BA<br class=3D""><br = class=3D"">On Wednesday, December 23, 2015 11:15:17 AM royin rolland = wrote:<br class=3D""><blockquote type=3D"cite" class=3D"">Hi,<br = class=3D""><br class=3D"">Depending on your patch, appear =A1=B0Error = while executing action: A Request<br class=3D"">to<br class=3D"">the = Server failed with the following Status Code: 500".<br = class=3D""></blockquote><br class=3D"">Did you do step 2?<br = class=3D""><br class=3D"">setup GWT_CODESVR=3Dlocalhost:9876 in the = shell you are going to start the<br class=3D"">engine in. This will = allow the engine to know where to get the<br class=3D"">permutations<br = class=3D"">generated by the "code" server below.<br class=3D""><br = class=3D"">Before you start the engine, which I am assuming you are = running from a<br class=3D"">shell like so:<br class=3D""><br = class=3D"">$HOME/ovirt-engine/share/ovirt-engine/services/ovirt-engine/ovi= rt-engine.p<br class=3D"">y<br class=3D"">start<br class=3D""><br = class=3D"">Make sure you do this:<br class=3D"">set = GWT_CODESVR=3Dlocalhost:9876<br class=3D"">export GWT_CODESVR<br = class=3D""><br class=3D"">Then run the command to start the engine.<br = class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><blockquote= type=3D"cite" class=3D"">=D4=DA 2015=C4=EA12=D4=C221=C8=D5=A3=AC22:54=A3=AC= Alexander Wels <<a href=3D"mailto:awels@redhat.com" = class=3D"">awels@redhat.com</a>> =D0=B4=B5=C0=A3=BA<br class=3D""><br = class=3D"">On Thursday, December 17, 2015 09:05:10 AM Vojtech Szocs = wrote:<br class=3D""><blockquote type=3D"cite" class=3D"">Hi,<br = class=3D""><br class=3D"">oVirt UI currently uses GWT SDK version = 2.6.1<br class=3D"">In GWT 2.6.x "classic" dev mode is still the default = one.<br class=3D""><br class=3D"">We tried to use "super" dev mode some = time ago [1] but it<br class=3D"">didn't work for us, probably due to = using direct-eval RPC<br class=3D"">mechanism (we got HTTP 500 responses = for RPC requests).<br class=3D""><br class=3D"">[1] <a = href=3D"https://gerrit.ovirt.org/#/c/26093/" = class=3D"">https://gerrit.ovirt.org/#/c/26093/</a><br class=3D""><br = class=3D"">Because "classic" dev mode relies on NPAPI-based browser<br = class=3D"">plugin, the downside is that developers must use old'ish<br = class=3D"">browsers that still support NPAPI (Firefox <=3D 26 = etc).<br class=3D""><br class=3D"">I think we can revisit this and try = to experiment with<br class=3D"">"super" dev mode as I believe [1] was = done in context of<br class=3D"">GWT 2.5.x anyway.<br class=3D""><br = class=3D"">Regards,<br class=3D"">Vojtech<br class=3D""></blockquote><br = class=3D"">Hi,<br class=3D""><br class=3D"">I updated the initial WIP = patch and I think it should work if you follow<br class=3D"">the = instructions in the new patch [2]. Feel free to give it a whirl and<br = class=3D"">give me feedback.<br class=3D""><br class=3D"">[2] <a = href=3D"https://gerrit.ovirt.org/#/c/50742/" = class=3D"">https://gerrit.ovirt.org/#/c/50742/</a><br class=3D""><<a = href=3D"https://gerrit.ovirt.org/#/c/50742/" = class=3D"">https://gerrit.ovirt.org/#/c/50742/</a><br class=3D""><<a = href=3D"https://gerrit.ovirt.org/#/c/50742/" = class=3D"">https://gerrit.ovirt.org/#/c/50742/</a>>>>>>>= <span class=3D"Apple-converted-space"> </span><br = class=3D""><blockquote type=3D"cite" class=3D"">----- Original Message = -----<br class=3D""><br class=3D""><blockquote type=3D"cite" = class=3D"">From: "royin rolland" <<a = href=3D"mailto:royinrolland@yahoo.com" = class=3D"">royinrolland@yahoo.com</a><br class=3D""><<a = href=3D"mailto:royinrolland@yahoo.com" = class=3D"">mailto:royinrolland@yahoo.com</a>> <<a = href=3D"mailto:royinrolland@yahoo.com" = class=3D"">mailto:royinrolland@yahoo.com</a><br class=3D""><<a = href=3D"mailto:royinrolland@yahoo.com" = class=3D"">mailto:royinrolland@yahoo.com</a>>>> To:<span = class=3D"Apple-converted-space"> </span><a = href=3D"mailto:vszocs@redhat.com" class=3D"">vszocs@redhat.com</a><br = class=3D""><<a href=3D"mailto:vszocs@redhat.com" = class=3D"">mailto:vszocs@redhat.com</a>> <<a = href=3D"mailto:vszocs@redhat.com" = class=3D"">mailto:vszocs@redhat.com</a><br class=3D""><<a = href=3D"mailto:vszocs@redhat.com" = class=3D"">mailto:vszocs@redhat.com</a>>><br class=3D"">Cc:<span = class=3D"Apple-converted-space"> </span><a = href=3D"mailto:users@ovirt.org" class=3D"">users@ovirt.org</a><span = class=3D"Apple-converted-space"> </span><<a = href=3D"mailto:users@ovirt.org" class=3D"">mailto:users@ovirt.org</a>> = <<a href=3D"mailto:users@ovirt.org" = class=3D"">mailto:users@ovirt.org</a><br class=3D""><<a = href=3D"mailto:users@ovirt.org" = class=3D"">mailto:users@ovirt.org</a>>> Sent: Wednesday, December = 16, 2015 2:49:25<br class=3D"">AM<br class=3D"">Subject: gwt super dev = mode<br class=3D""><br class=3D"">hi=A3=ACvszos=A3=BA<br class=3D""><br = class=3D""><span class=3D"Apple-tab-span" style=3D"white-space: pre;"> = </span>ovirt engine when it supports super dev mode=A3=BFovirt = 3.6?</blockquote></blockquote></blockquote></blockquote></blockquote></blo= ckquote></div></blockquote></div><br class=3D""></div></body></html>= --Apple-Mail=_76043E89-77B4-49FA-AF63-E466CF01E26C--
participants (2)
-
Alexander Wels
-
royin rolland