From sbonazzo at redhat.com Fri Jun 21 07:53:17 2013 Content-Type: multipart/mixed; boundary="===============9162829696288744521==" MIME-Version: 1.0 From: Sandro Bonazzola To: users at ovirt.org Subject: Re: [Users] can't access web interface with nightly Date: Fri, 21 Jun 2013 13:53:15 +0200 Message-ID: <51C43EAB.1060702@redhat.com> In-Reply-To: 1373689732.41366.1371815168962.JavaMail.root@redhat.com --===============9162829696288744521== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Il 21/06/2013 13:46, Vojtech Szocs ha scritto: > ----- Original Message ----- >> From: "Sandro Bonazzola" >> To: "users" >> Sent: Friday, June 21, 2013 11:31:08 AM >> Subject: [Users] can't access web interface with nightly >> >> Hi, >> I was testing latest nightly and I've seen the following issues: >> >> ovirt logs shows multiple: >> bundles/VdsmErrors could not be loaded: java.util.MissingResourceExcepti= on: >> Can't find bundle for base name bundles/VdsmErrors, locale en_US > I have this too, it comes from org.ovirt.engine.core.utils.ErrorTranslato= rImpl but not sure why. > >> apache logs shows: >> /webadmin/webadmin/webadmin.nocache.js HTTP/1.1" 404 >> /UserPortal/org.ovirt.engine.ui.userportal.UserPortal/org.ovirt.engine.u= i.userportal.UserPortal.nocache.js >> HTTP/1.1" 404 > *.nocache.js =3D GWT permutation selector script, i.e. script responsible= for loading correct JavaScript for given browser & locale. > > Missing *.nocache.js typically means WebAdmin/UserPortal GWT compilation = wasn't enabled for the build, since this file is generated during GWT compi= lation. > > Please check deployment of this file in JBoss, i.e. $JBOSS_HOME/standalon= e/deployments/engine.ear/webadmin.war/webadmin/webadmin.nocache.js > > If ^^ is missing, WebAdmin GWT compilation wasn't enabled for the build. = You need to enable it in order to use WebAdmin: > > $ make install-dev PREFIX=3D"${HOME}/ovirt-engine" BUILD_GWT=3D1 BUIL= D_GWT_USERPORTAL=3D1 BUILD_GWT_WEBADMIN=3D1 > > (In Makefile, BUILD_GWT=3D1 & BUILD_GWT_USERPORTAL=3D1 & BUILD_GWT_WEBADM= IN=3D1 is actually the default setting.) Right, I haven't seen I've left active the local repository with the development build, sorry. > >> The admin page https://192.168.3.203/webadmin/webadmin/WebAdmin.html sou= rce >> is: >> < html > < head > < meta http-equiv =3D" Content-Type " = content >> =3D" text/html; charset=3DUTF-8 "> < meta http-equiv =3D" X-UA-Compatibl= e " >> content =3D" IE=3Dedge "> < meta name =3D" gwt:property " content =3D" l= ocale=3Des_ES >> "> < link rel =3D" stylesheet " type =3D" text/css " href =3D" >> /webadmin/theme/00-ovirt.brand/ovirt_web_admin.css "> < script type =3D" >> text/javascript "> var applicationMode =3D {"value":"255"}; var >> pluginDefinitions =3D []; var messages =3D >> {"main_header_label":"","copy_right_notice":"","doc":"Documentaci=C3=B3n= de >> administraci=C3=B3n de la red ENGINE","version_about":"Versi=C3=B3n de l= a m=C3=A1quina >> oVirt:","login_header_label":"Administrador de virtualizaci=C3=B3n >> abierto","application_title":"Administraci=C3=B3n de la red de m=C3=A1qu= inas oVirt"}; >> < body > < script type =3D" text/javascript " src = =3D" >> webadmin.nocache.js "> >> >> >> The CSS file exists, the webadmin.nocache.js link lead to 404 page > ovirt_web_admin.css (branding CSS) is served from local filesystem regard= less of GWT compilation, i.e. /etc/ovirt-engine/branding/00-ovirt.brand/ovi= rt_web_admin.css > >> >> user portal doesn't work either. > Because of missing *.nocache.js as mentioned above. > >> -- >> Sandro Bonazzola >> Better technology. Faster innovation. Powered by community collaboration. >> See how it works at redhat.com >> >> _______________________________________________ >> Users mailing list >> Users(a)ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> -- = Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com --===============9162829696288744521==--