incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: Cannot Find Template Adapter Error
Date Tue, 23 Oct 2012 21:05:49 GMT
TemplateAdapter is injected into mgt server in defaultComponentLibrary->populateAdapters()
during mgt server bootstrap, is there any exception in the log?

> -----Original Message-----
> From: John Burwell [mailto:jburwell@basho.com]
> Sent: Tuesday, October 23, 2012 1:38 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Cannot Find Template Adapter Error
> 
> All,
> 
> I am running a build off the latest master (fetched around 3:30pm EDT)
> on a devcloud VM.  When I attempt to upload a template or ISO, I
> receive an error stating that a template adapter can not be found and
> the following stack trace occurs in the log:
> 
> com.cloud.utils.exception.CloudRuntimeException: Cannot find template
> adapter for XenServer
>         at
> com.cloud.template.TemplateManagerImpl.getAdapter(TemplateManagerImpl.j
> ava:263)
>         at
> com.cloud.template.TemplateManagerImpl.registerTemplate(TemplateManager
> Impl.java:296)
>         at
> com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:
> 36)
>         at
> com.cloud.api.commands.RegisterTemplateCmd.execute(RegisterTemplateCmd.
> java:226)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:167)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:539)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
> ationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> terChain.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> ve.java:233)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> ve.java:191)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
> a:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> a:102)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:55
> 4)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
> .java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 298)
>         at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.
> java:889)
>         at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.proc
> ess(Http11NioProtocol.java:732)
>         at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.
> java:2262)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.ja
> va:1110)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j
> ava:603)
>         at java.lang.Thread.run(Thread.java:679)
> 
> I attached a remote debugger, and the TemplateManagerImpl::_adapters is
> non-null and empty when this error occurs.
> 
> Thank you for your assistance,
> -John
> 
> -----
> John Burwell
> Consulting Engineer
> Basho Technologies

Mime
View raw message