movirt -> ovirt 3.5.1 -> server error 500

This is a multi-part message in MIME format. ------=_NextPartTM-000-01931aef-0e79-4067-9583-6cee81c33885 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=0A= =0A= just installed movirt on my mobile. Upon connection it breaks with the atta= ched error in the 3.5.1 engine server logs. =0A= =0A= Something I'm missing?=0A= =0A= Markus=0A= =0A= 2015-02-19 12:21:19,757 ERROR [org.apache.catalina.core.ContainerBase.[jbos= s.web].[default-host].[/ovirt-engine/api]] (ajp--127.0.0.1-8702-11) Standar= dWrapper.Throwable: java.lang.RuntimeException: java.lang.RuntimeException:= Unable to instantiate MessageBodyWriter=0A= at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(Re= gisterBuiltin.java:35) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployme= nt.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispat= cher.init(ServletContainerDispatcher.java:67) [resteasy-jaxrs-2.3.2.Final.j= ar:]=0A= at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.= init(HttpServletDispatcher.java:36) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWra= pper.java:1202) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.catalina.core.StandardWrapper.allocate(StandardWrappe= r.java:952) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWra= pperValve.java:188) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.catalina.core.StandardContextValve.invoke(StandardCon= textValve.java:161) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authe= nticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]=0A= at org.jboss.as.web.security.SecurityContextAssociationValve.invoke= (SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.= 1.1.Final]=0A= at org.apache.catalina.core.StandardHostValve.invoke(StandardHostVa= lve.java:155) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVa= lve.java:102) [jbossweb-7.0.13.Final.jar:]=0A= at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)= [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngi= neValve.java:109) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapte= r.java:368) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505= ) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(A= jpProtocol.java:445) [jbossweb-7.0.13.Final.jar:]=0A= at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.ja= va:930) [jbossweb-7.0.13.Final.jar:]=0A= at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]=0A= Caused by: java.lang.RuntimeException: Unable to instantiate MessageBodyWri= ter=0A= at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(= ResteasyProviderFactory.java:772) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerPro= viders(RegisterBuiltin.java:70) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(Re= gisterBuiltin.java:31) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= ... 18 more=0A= Caused by: java.lang.RuntimeException: Failed to construct public org.ovirt= .engine.api.pdf.FOPMessageBodyWriter()=0A= at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(Constr= uctorInjectorImpl.java:144) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstan= ce(ResteasyProviderFactory.java:1039) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyWri= ter(ResteasyProviderFactory.java:519) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(= ResteasyProviderFactory.java:768) [resteasy-jaxrs-2.3.2.Final.jar:]=0A= ... 20 more=0A= Caused by: java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFactory= =0A= ------=_NextPartTM-000-01931aef-0e79-4067-9583-6cee81c33885 Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" **************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Über das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 **************************************************************************** ------=_NextPartTM-000-01931aef-0e79-4067-9583-6cee81c33885--

Hi Markus, Are you sure the stacktrace is related to moVirt? Because this is for exporting the volume profile to PDF (for gluster) - moVirt does not touch anything like this. How do you have your connection settings filled? Do you have the URL in a form: https://hostnameOrIp:port/ovirt-engine/api and the username in form: name@domain ? Also when you login as not admin user please make sure to uncheck the "admin privilege" Also when you are connecting to https than please either import the ca.crt to your mobile and use hostname in the url or check the "disable https" checkbox. have a nice day, Tomas ----- Original Message -----
From: "Markus Stockhausen" <stockhausen@collogia.de> To: users@ovirt.org Sent: Thursday, February 19, 2015 12:22:25 PM Subject: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500
Hi,
just installed movirt on my mobile. Upon connection it breaks with the attached error in the 3.5.1 engine server logs.
Something I'm missing?
Markus
2015-02-19 12:21:19,757 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/api]] (ajp--127.0.0.1-8702-11) StandardWrapper.Throwable: java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate MessageBodyWriter at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:35) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) [resteasy-jaxrs-2.3.2.Final.jar:] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:] at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55] Caused by: java.lang.RuntimeException: Unable to instantiate MessageBodyWriter at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:772) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31) [resteasy-jaxrs-2.3.2.Final.jar:] ... 18 more Caused by: java.lang.RuntimeException: Failed to construct public org.ovirt.engine.api.pdf.FOPMessageBodyWriter() at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:144) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1039) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyWriter(ResteasyProviderFactory.java:519) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:768) [resteasy-jaxrs-2.3.2.Final.jar:] ... 20 more Caused by: java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFactory
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 02/19/2015 12:22 PM, Markus Stockhausen wrote:
Hi,
just installed movirt on my mobile. Upon connection it breaks with the attached error in the 3.5.1 engine server logs.
Something I'm missing?
Markus
2015-02-19 12:21:19,757 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/api]] (ajp--127.0.0.1-8702-11) StandardWrapper.Throwable: java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate MessageBodyWriter at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:35) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) [resteasy-jaxrs-2.3.2.Final.jar:] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:] at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55] Caused by: java.lang.RuntimeException: Unable to instantiate MessageBodyWriter at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:772) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31) [resteasy-jaxrs-2.3.2.Final.jar:] ... 18 more Caused by: java.lang.RuntimeException: Failed to construct public org.ovirt.engine.api.pdf.FOPMessageBodyWriter() at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:144) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1039) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyWriter(ResteasyProviderFactory.java:519) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:768) [resteasy-jaxrs-2.3.2.Final.jar:] ... 20 more Caused by: java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFactory
This probably means that you have the xmlgraphics-batik RPM installed from the jpackage repository, which doesn't work correctly with oVirt. Please remove it and install the batik RPM instead. See here for details: http://lists.ovirt.org/pipermail/users/2014-October/028308.html -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

Von: Juan Hern=E1ndez [jhernand@redhat.com]=0A= Gesendet: Donnerstag, 19. Februar 2015 12:53=0A= An: Markus Stockhausen; users@ovirt.org=0A= Betreff: Re: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500=0A= =0A= On 02/19/2015 12:22 PM, Markus Stockhausen wrote:=0A=
Hi,=0A= =0A= just installed movirt on my mobile. Upon connection it breaks with the = attached error in the 3.5.1 engine server logs.=0A= =0A= Something I'm missing?=0A= =0A= Markus=0A= =0A= 2015-02-19 12:21:19,757 ERROR [org.apache.catalina.core.ContainerBase.[= jboss.web].[default-host].[/ovirt-engine/api]] (ajp--127.0.0.1-8702-11) Sta= ndardWrapper.Throwable: java.lang.RuntimeException: > java.lang.RuntimeExce=
at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registe=
r(RegisterBuiltin.java:35) [resteasy-jaxrs-2.3.2.Final.jar:]=0A=
at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDepl=
oyment.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]=0A=
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDi=
spatcher.init(ServletContainerDispatcher.java:67) [resteasy-jaxrs-2.3.2.Fin= al.jar:]=0A=
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatc=
her.init(HttpServletDispatcher.java:36) [resteasy-jaxrs-2.3.2.Final.jar:]= =0A=
at org.apache.catalina.core.StandardWrapper.loadServlet(Standar=
dWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.catalina.core.StandardWrapper.allocate(StandardWr=
apper.java:952) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar=
dWrapperValve.java:188) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.catalina.core.StandardContextValve.invoke(Standar=
dContextValve.java:161) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A=
uthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]=0A=
at org.jboss.as.web.security.SecurityContextAssociationValve.in=
voke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.ja= r:7.1.1.Final]=0A=
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo=
stValve.java:155) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo=
rtValve.java:102) [jbossweb-7.0.13.Final.jar:]=0A=
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:=
This is a multi-part message in MIME format. ------=_NextPartTM-000-97f8d150-17ae-419d-b6fb-3988e70bca8a Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ption: Unable to instantiate MessageBodyWriter=0A= 466) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.catalina.core.StandardEngineValve.invoke(Standard=
EngineValve.java:109) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd=
apter.java:368) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java=
:505) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.proce=
ss(AjpProtocol.java:445) [jbossweb-7.0.13.Final.jar:]=0A=
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin=
t.java:930) [jbossweb-7.0.13.Final.jar:]=0A=
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]=0A= Caused by: java.lang.RuntimeException: Unable to instantiate MessageBod=
yWriter=0A=
at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvi=
der(ResteasyProviderFactory.java:772) [resteasy-jaxrs-2.3.2.Final.jar:]=0A=
at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registe=
rProviders(RegisterBuiltin.java:70) [resteasy-jaxrs-2.3.2.Final.jar:]=0A=
at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registe=
r(RegisterBuiltin.java:31) [resteasy-jaxrs-2.3.2.Final.jar:]=0A=
... 18 more=0A= Caused by: java.lang.RuntimeException: Failed to construct public org.o=
virt.engine.api.pdf.FOPMessageBodyWriter()=0A=
at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(Co=
nstructorInjectorImpl.java:144) [resteasy-jaxrs-2.3.2.Final.jar:]=0A=
at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderIn=
stance(ResteasyProviderFactory.java:1039) [resteasy-jaxrs-2.3.2.Final.jar:]= =0A=
at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBod=
yWriter(ResteasyProviderFactory.java:519) [resteasy-jaxrs-2.3.2.Final.jar:]= =0A=
at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvi=
der(ResteasyProviderFactory.java:768) [resteasy-jaxrs-2.3.2.Final.jar:]=0A=
... 20 more=0A= Caused by: java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFacto=
ry=0A=
=0A= =0A= This probably means that you have the xmlgraphics-batik RPM installed=0A= from the jpackage repository, which doesn't work correctly with oVirt.=0A= Please remove it and install the batik RPM instead. See here for details:= =0A= =0A= http://lists.ovirt.org/pipermail/users/2014-October/028308.html=0A= =0A= Thanks, that did the trick.=0A= =0A= jpackage.repo:=0A= exclude=3Dxmlgraphics-batik=0A= =0A= rpm -e xmlgraphics-batik-1.7-14.jpp6.noarch --nodeps=0A= yum instal batik=0A= =0A= @Tomas: Does movirt something that you do not expect?=0A= =0A= Markus= ------=_NextPartTM-000-97f8d150-17ae-419d-b6fb-3988e70bca8a Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt"
**************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Über das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 **************************************************************************** ------=_NextPartTM-000-97f8d150-17ae-419d-b6fb-3988e70bca8a--

----- Original Message -----
From: "Markus Stockhausen" <stockhausen@collogia.de> To: "Juan Hernández" <jhernand@redhat.com>, users@ovirt.org, "Tomas Jelinek" <tjelinek@redhat.com> Sent: Thursday, February 19, 2015 1:45:12 PM Subject: AW: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500
Von: Juan Hernández [jhernand@redhat.com] Gesendet: Donnerstag, 19. Februar 2015 12:53 An: Markus Stockhausen; users@ovirt.org Betreff: Re: [ovirt-users] movirt -> ovirt 3.5.1 -> server error 500
On 02/19/2015 12:22 PM, Markus Stockhausen wrote:
Hi,
just installed movirt on my mobile. Upon connection it breaks with the attached error in the 3.5.1 engine server logs.
Something I'm missing?
Markus
2015-02-19 12:21:19,757 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/api]] (ajp--127.0.0.1-8702-11) StandardWrapper.Throwable: java.lang.RuntimeException: > java.lang.RuntimeException: Unable to instantiate MessageBodyWriter at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:35) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) [resteasy-jaxrs-2.3.2.Final.jar:] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:952) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:188) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:] at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55] Caused by: java.lang.RuntimeException: Unable to instantiate MessageBodyWriter at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:772) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31) [resteasy-jaxrs-2.3.2.Final.jar:] ... 18 more Caused by: java.lang.RuntimeException: Failed to construct public org.ovirt.engine.api.pdf.FOPMessageBodyWriter() at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:144) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1039) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyWriter(ResteasyProviderFactory.java:519) [resteasy-jaxrs-2.3.2.Final.jar:] at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:768) [resteasy-jaxrs-2.3.2.Final.jar:] ... 20 more Caused by: java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFactory
This probably means that you have the xmlgraphics-batik RPM installed from the jpackage repository, which doesn't work correctly with oVirt. Please remove it and install the batik RPM instead. See here for details:
http://lists.ovirt.org/pipermail/users/2014-October/028308.html
Thanks, that did the trick.
jpackage.repo: exclude=xmlgraphics-batik
rpm -e xmlgraphics-batik-1.7-14.jpp6.noarch --nodeps yum instal batik
@Tomas: Does movirt something that you do not expect?
I don't think so - I'd say it was a general exception when accessing the REST API.
Markus
participants (3)
-
Juan Hernández
-
Markus Stockhausen
-
Tomas Jelinek