<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>I'm going to run engine-setup again because I'm getting the same error when trying to access the shell<span name="x"></span><br></div><div><br></div><div><br></div><div><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>"Simone Tiraboschi" <stirabos@redhat.com><br><b>To: </b>"Maurice James" <mjames@media-node.com><br><b>Cc: </b>"users" <users@ovirt.org><br><b>Sent: </b>Thursday, September 24, 2015 12:59:06 PM<br><b>Subject: </b>Re: [ovirt-users] engine-image-uploader error<br><div><br></div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 24, 2015 at 5:55 PM, Maurice James <span dir="ltr"><<a href="mailto:mjames@media-node.com" target="_blank" data-mce-href="mailto:mjames@media-node.com">mjames@media-node.com</a>></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></div></div></div></div></div></blockquote><div>Did it tried to authenticate you?<br></div><div>Can you also please attach server.log?</div><div> </div><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;"><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><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.<init>(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></div></div></div><div><br></div></div></body></html>