<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Its whatever ovirt installed. I tried yum update, but nothing comes back as needing an update<br></div><div><br></div><div><span name="x"></span><div><span style="font-family: 'trebuchet ms', sans-serif;" data-mce-style="font-family: 'trebuchet ms', sans-serif;">Maurice James</span><br><span style="font-family: 'trebuchet ms', sans-serif;" data-mce-style="font-family: 'trebuchet ms', sans-serif;">Media-Node</span></div><div><a data-mce-href="http://www.media-node.com" href="http://www.media-node.com" title="Web Site" target="_blank"><span style="font-family: 'trebuchet ms', sans-serif;" data-mce-style="font-family: 'trebuchet ms', sans-serif;">www.media-node.com</span></a><br data-mce-bogus="1"></div><span name="x"></span><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Sandro Bonazzola" &lt;sbonazzo@redhat.com&gt;<br><b>To: </b>"Maurice James" &lt;mjames@media-node.com&gt;<br><b>Cc: </b>"users" &lt;users@ovirt.org&gt;<br><b>Sent: </b>Friday, September 25, 2015 9:08:49 AM<br><b>Subject: </b>Re: [ovirt-users] engine-image-uploader error<br><div><br></div><div dir="ltr">Why Jboss 7.0.13 final? I would have expected&nbsp;JBoss AS 7.1.1.Final (jboss-as-web-7.1.1.Final.jar) .<div>Can you check your environment?<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 5:55 PM, Maurice James <span dir="ltr">&lt;<a href="mailto:mjames@media-node.com" target="_blank" data-mce-href="mailto:mjames@media-node.com">mjames@media-node.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000" data-mce-style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000;"><div style="font-family:'trebuchet ms',sans-serif" data-mce-style="font-family: 'trebuchet ms',sans-serif;"><br><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000" data-mce-style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000;"><div><br></div><div><span></span>Im trying to upload an image using the engine-image-uploader and im receiving the following error on the cli<br></div><div><br></div><div>[root@saturn home]# engine-image-uploader -e SaturnExport upload vm.ova<br>ERROR: Unable to connect to REST API at <a href="https://xxx.xxx.net:443/api" target="_blank" data-mce-href="https://xxx.xxx.net:443/api">https://xxx.xxx.net:443/api</a><br>Reason: Internal Server Error<br><div><br></div></div><div><br></div><div>engine.log is also attached<br></div><div>SELinux is disabled<br></div><div>Firewall is disabled<br></div><div><br></div><div>When I try to access that link in a browser I get the following<br></div><div><br></div><div><h1>HTTP Status 500 -</h1><hr noshade="noshade" size="1"><p style="margin:0px" data-mce-style="margin: 0px;"><b>type</b> Exception report</p><p style="margin:0px" data-mce-style="margin: 0px;"><b>message</b></p><p style="margin:0px" data-mce-style="margin: 0px;"><b>description</b> <span style="text-decoration:underline" data-mce-style="text-decoration: underline;">The server encountered an internal error () that prevented it from fulfilling this request.</span></p><p style="margin:0px" data-mce-style="margin: 0px;"><b>exception</b></p><pre>javax.servlet.ServletException: Servlet.init() for servlet org.ovirt.engine.api.restapi.BackendApplication threw exception
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
        org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
        org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        java.lang.Thread.run(Thread.java:745)
</pre><p style="margin:0px" data-mce-style="margin: 0px;"><b>root cause</b></p><pre>java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate MessageBodyWriter
        org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:35)
        org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211)
        org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
        org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
        org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        java.lang.Thread.run(Thread.java:745)
</pre><p style="margin:0px" data-mce-style="margin: 0px;"><b>root cause</b></p><pre>java.lang.RuntimeException: Unable to instantiate MessageBodyWriter
        org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:772)
        org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70)
        org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31)
        org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211)
        org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
        org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
        org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        java.lang.Thread.run(Thread.java:745)
</pre><p style="margin:0px" data-mce-style="margin: 0px;"><b>root cause</b></p><pre>java.lang.RuntimeException: Failed to construct public org.ovirt.engine.api.pdf.FOPMessageBodyWriter()
        org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:144)
        org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1039)
        org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyWriter(ResteasyProviderFactory.java:519)
        org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:768)
        org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70)
        org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31)
        org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211)
        org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
        org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
        org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        java.lang.Thread.run(Thread.java:745)
</pre><p style="margin:0px" data-mce-style="margin: 0px;"><b>root cause</b></p><pre>java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFactory
        org.ovirt.engine.api.pdf.FOPMessageBodyWriter.&lt;init&gt;(FOPMessageBodyWriter.java:51)
        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)
        org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1039)
        org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyWriter(ResteasyProviderFactory.java:519)
        org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:768)
        org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70)
        org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31)
        org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:211)
        org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
        org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
        org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
        org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        java.lang.Thread.run(Thread.java:745)
</pre><p style="margin:0px" data-mce-style="margin: 0px;"><b>note</b> <span style="text-decoration:underline" data-mce-style="text-decoration: underline;">The full stack trace of the root cause is available in the JBoss Web/7.0.13.Final logs.</span></p><hr noshade="noshade" size="1"><h3>JBoss Web/7.0.13.Final</h3><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div><div><br></div></div></div><br>_______________________________________________<br> Users mailing list<br> <a href="mailto:Users@ovirt.org" target="_blank" data-mce-href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" data-mce-href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank" data-mce-href="http://redhat.com">redhat.com</a><br></div></div></div></div></div></div><div><br></div></div></body></html>