From vszocs at redhat.com Fri Jun 21 07:46:10 2013 Content-Type: multipart/mixed; boundary="===============6924227971725470541==" MIME-Version: 1.0 From: Vojtech Szocs To: users at ovirt.org Subject: Re: [Users] can't access web interface with nightly Date: Fri, 21 Jun 2013 07:46:08 -0400 Message-ID: <1373689732.41366.1371815168962.JavaMail.root@redhat.com> In-Reply-To: 51C41D5C.1090905@redhat.com --===============6924227971725470541== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- 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.MissingResourceExceptio= n: > Can't find bundle for base name bundles/VdsmErrors, locale en_US I have this too, it comes from org.ovirt.engine.core.utils.ErrorTranslatorI= mpl 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.ui= .userportal.UserPortal.nocache.js > HTTP/1.1" 404 *.nocache.js =3D GWT permutation selector script, i.e. script responsible f= or loading correct JavaScript for given browser & locale. Missing *.nocache.js typically means WebAdmin/UserPortal GWT compilation wa= sn't enabled for the build, since this file is generated during GWT compila= tion. Please check deployment of this file in JBoss, i.e. $JBOSS_HOME/standalone/= deployments/engine.ear/webadmin.war/webadmin/webadmin.nocache.js If ^^ is missing, WebAdmin GWT compilation wasn't enabled for the build. Yo= u need to enable it in order to use WebAdmin: $ make install-dev PREFIX=3D"${HOME}/ovirt-engine" BUILD_GWT=3D1 BUILD_= GWT_USERPORTAL=3D1 BUILD_GWT_WEBADMIN=3D1 (In Makefile, BUILD_GWT=3D1 & BUILD_GWT_USERPORTAL=3D1 & BUILD_GWT_WEBADMIN= =3D1 is actually the default setting.) > = > The admin page https://192.168.3.203/webadmin/webadmin/WebAdmin.html sour= ce > is: > < html > < head > < meta http-equiv =3D" Content-Type " c= ontent > =3D" text/html; charset=3DUTF-8 "> < meta http-equiv =3D" X-UA-Compatible= " > content =3D" IE=3Dedge "> < meta name =3D" gwt:property " content =3D" lo= cale=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 la= m=C3=A1quina > oVirt:","login_header_label":"Administrador de virtualizaci=C3=B3n > abierto","application_title":"Administraci=C3=B3n de la red de m=C3=A1qui= nas 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 regardle= ss of GWT compilation, i.e. /etc/ovirt-engine/branding/00-ovirt.brand/ovirt= _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 >=20 --===============6924227971725470541==--