<div dir="ltr">It looks like you're very close to getting it working.<div><br></div><div>So you have two terminals open -- one running the engine, and one running the debug mvn command (make gwt-debug DEBUG_MODULE="webadmin" DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8")</div><div><br></div><div>It looks like the 404 is happening because the engine is not actually running / serving the UI.</div><div>What is the full URL in your browser? It's covered up in your screenshot.</div><div>Remove the ?gwt... part from your URL. Any luck? Restart engine, don't bother with debugging yet. Can you get to the UI?</div><div><br></div><div>Once you can get the UI back, then you can try to debug again. Open that second terminal again, make gwt-debug DEBUG_MODULE="webadmin" DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8"</div><div><br></div><div>Then, using Firefox 26 [1], open the UI. Log in. Once that works, start the debug session in IDEA, and then add the gwt.codesvr=<a href="http://127.0.0.1:9997">127.0.0.1:9997</a> back onto the URL and hit enter.</div><div><br></div><div>Hope this helps.</div><div><br></div><div>Greg</div><div><br></div><div>[1] <a href="https://ftp.mozilla.org/pub/firefox/releases/26.0/">https://ftp.mozilla.org/pub/firefox/releases/26.0/</a><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 27, 2017 at 3:54 AM, yuening <span dir="ltr"><<a href="mailto:ynliu@linx-info.com" target="_blank">ynliu@linx-info.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>hi, everyone</p>
<p>I am newbie for ovirt-engine development and maven, I meet some
questions about setup ovirt-engine development, which had blocked
me for almost ten days;I hope to get your help or some tips<br>
</p>
<p> the following description is the process of setup ovirt-engine
development:</p>
<p><br>
</p>
<p> After installing centos 7(CentOS-7-x86_64-DVD-1511.<wbr>iso)with
Minimal installation, then refer to <br>
</p>
<p>
<a class="m_-6262396123085546024moz-txt-link-freetext" href="http://www.ovirt.org/develop/developer-guide/engine/engine-development-environment/" target="_blank">http://www.ovirt.org/develop/<wbr>developer-guide/engine/engine-<wbr>development-environment/</a>
(I use ovirt-engine 4.1 version)<br>
</p>
<p>I can compile and run ovirt-engine on cenots 7, ovirt-engine web
page can be accessed normally, Moreover, after installing gnome
desktop on centos7 and setting up java IDE development (I use
Intellij idea-IC-171.4073.35 community edition), I met some
questions about using Intellij idea IDE to debug ovirt-engine, the
following is my problem description:</p>
<p>I refer the following two links to build the developement
environment <br>
</p>
<p>
<a class="m_-6262396123085546024moz-txt-link-freetext" href="https://www.ovirt.org/develop/developer-guide/engine/building/ide/" target="_blank">https://www.ovirt.org/develop/<wbr>developer-guide/engine/<wbr>building/ide/</a></p>
<p> <a class="m_-6262396123085546024moz-txt-link-freetext" href="https://www.ovirt.org/develop/developer-guide/debugfrontend/" target="_blank">https://www.ovirt.org/develop/<wbr>developer-guide/debugfrontend/</a></p>
<p> firstly, at ovirt-engine source directory, after mading the
following operation, I can attach to port 8000 under intellij
idea IDE environments, but debug can not be started <br>
</p>
<p> <code>#make gwt-debug DEBUG_MODULE="webadmin"
DEV_EXTRA_BUILD_FLAGS_GWT_<wbr>DEFAULTS="-Dgwt.userAgent=</code><code><code>geck<wbr>o1_8</code>"
(the picture b is output from the command)<br>
</code></p>
<p><code><img src="cid:part1.0FFE8AE6.EA85FFE8@linx-info.com" alt=""></code></p>
<p><code> the second picture below is a snapshot for Intellij idea
、GWT module and Web browser (please notice the output "no Server
is set! Skipping exploding war file ..." in the picture above)<br>
</code></p>
<p><code><br>
</code></p>
<p><code><img src="cid:part2.AC3F7308.6467AED9@linx-info.com" alt=""><br>
</code></p>
<p><br>
<code></code></p>
<p><br>
</p>
<p><br>
</p>
<p>my questions are that why does not the web page be open? it seem
as if ovirt-engine/webadmin/<wbr>WebAdmin.html does not be made, but I
do not know how to get the WebAdmin.html by maven command line,
Could you tell me that what is key point ?</p>
<p>In addition. I had ever attempt to 'mvn gwt:run' , but it did not
work, output is as following:</p>
<p>it tell me that the 'runTarget' is missing, but I don not know
how to get my 'runTarget'<br>
</p>
<p><img src="cid:part3.CCD04305.D5393963@linx-info.com" alt=""></p>
<p><br>
</p>
<p><br>
</p>
<br>
<pre class="m_-6262396123085546024moz-signature" cols="72"></pre>
</div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Greg Sheremeta, MBA<br><span style="font-size:12.8px">Sr. Software Engineer</span><br></div><div>Red Hat, Inc.<br><a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a><br></div></div></div></div></div>
</div>