Hi Sabra, Did you run dockerImages.sh file?
On Thu, Apr 21, 2016 at 5:26 PM, Sabra Ossen <sa...@wso2.com> wrote: > Hi All, > > I have created a local setup and I am trying to create an app in app > cloud. I get the following stack trace. > > INFO {module/application/application.jag} - Application Launch URL: > carbon-super-bwsam-1-0-0.apps.cloud.wso2.com > {module/application/application.jag} > TID: [0] [AS] [2016-04-21 17:04:10,331] ERROR > {org.wso2.appcloud.core.docker.DockerOpClient} - Build Failure:Failed to > connect to /192.168.18.2:2375 > {org.wso2.appcloud.core.docker.DockerOpClient} > TID: [0] [AS] [2016-04-21 17:04:10,332] ERROR > {org.wso2.appcloud.core.docker.DockerOpClient} - Docker image building > failed: msf4j repo: registry.182.docker.appfactory.private.wso2.com:5000 > docker file: > /home/sabra/WSO2/AppCloud/Local//setup/wso2as-5.2.1//repository/deployment/server/jaggeryapps/appmgt//tmpUploadedApps/carbon.super/3219047332775631666/ > tag: 1.0-3219047332775631666 {org.wso2.appcloud.core.docker.DockerOpClient} > TID: [0] [AS] [2016-04-21 17:04:10,338] INFO > {module/application/application.jag} - Retrying docker build retry counter > value : 0 {module/application/application.jag} > TID: [0] [AS] [2016-04-21 17:06:19,226] ERROR > {org.wso2.appcloud.core.docker.DockerOpClient} - Build Failure:Failed to > connect to /192.168.18.2:2375 > {org.wso2.appcloud.core.docker.DockerOpClient} > TID: [0] [AS] [2016-04-21 17:06:19,355] ERROR > {org.wso2.appcloud.core.docker.DockerOpClient} - Push Failure:Failed to > connect to /192.168.18.2:2375 > {org.wso2.appcloud.core.docker.DockerOpClient} > TID: [0] [AS] [2016-04-21 17:06:19,355] ERROR > {org.wso2.appcloud.core.docker.DockerOpClient} - Docker image push failed: > msf4j repo: registry.182.docker.appfactory.private.wso2.com:5000 tag: > 1.0-3219047332775631666 {org.wso2.appcloud.core.docker.DockerOpClient} > TID: [0] [AS] [2016-04-21 17:06:19,381] ERROR > {module/application/application.jag} - Error uploading docker image to > remote registry {module/application/application.jag} > TID: [0] [AS] [2016-04-21 17:06:19,381] ERROR > {module/application/application.jag} - > org.mozilla.javascript.WrappedException: Wrapped > org.wso2.appcloud.common.AppCloudException: Docker image push failed: msf4j > repo: registry.182.docker.appfactory.private.wso2.com:5000 tag: > 1.0-3219047332775631666 (/appmgt/modules/application/application.jag#100) > at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754) > at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) > at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225) > at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) > at > org.jaggeryjs.rhino.appmgt.modules.application.c1._c_anonymous_3(/appmgt/modules/application/application.jag:100) > at > org.jaggeryjs.rhino.appmgt.modules.application.c1.call(/appmgt/modules/application/application.jag) > at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) > at > org.jaggeryjs.rhino.appmgt.modules.application.c1._c_anonymous_1(/appmgt/modules/application/application.jag:78) > at > org.jaggeryjs.rhino.appmgt.modules.application.c1.call(/appmgt/modules/application/application.jag) > at > org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430) > at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269) > at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97) > at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42) > at > org.jaggeryjs.rhino.appmgt.modules.application.c0._c_anonymous_1(/appmgt/modules/application/module.jag:22) > at > org.jaggeryjs.rhino.appmgt.modules.application.c0.call(/appmgt/modules/application/module.jag) > at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) > at > org.jaggeryjs.rhino.appmgt.site.blocks.application.c1._c_anonymous_1(/appmgt/site/blocks/application/application.jag:83) > at > org.jaggeryjs.rhino.appmgt.site.blocks.application.c1.call(/appmgt/site/blocks/application/application.jag) > at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23) > at > org.jaggeryjs.rhino.appmgt.site.blocks.application.c1._c_script_0(/appmgt/site/blocks/application/application.jag:27) > at > org.jaggeryjs.rhino.appmgt.site.blocks.application.c1.call(/appmgt/site/blocks/application/application.jag) > at > org.jaggeryjs.rhino.appmgt.site.blocks.application.c1.exec(/appmgt/site/blocks/application/application.jag) > at > org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:570) > at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) > at > org.jaggeryjs.jaggery.core.manager.WebAppManager.executeScript(WebAppManager.java:268) > at > org.jaggeryjs.jaggery.core.manager.WebAppManager.include(WebAppManager.java:122) > at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) > at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) > at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) > at org.jaggeryjs.rhino.appmgt.c0._c_script_0(/appmgt//router.jag:36) > at org.jaggeryjs.rhino.appmgt.c0.call(/appmgt//router.jag) > at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) > at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) > at org.jaggeryjs.rhino.appmgt.c0.call(/appmgt//router.jag) > at org.jaggeryjs.rhino.appmgt.c0.exec(/appmgt//router.jag) > at > org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:570) > at org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:273) > at > org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:432) > at org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) > at org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > at > org.wso2.carbon.statistics.webapp.RequestIntercepterValve.invoke(RequestIntercepterValve.java:43) > at > org.wso2.carbon.bam.webapp.stat.publisher.WebAppStatisticPublisherValve.invoke(WebAppStatisticPublisherValve.java:104) > at > org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178) > at > org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47) > at > org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56) > at > org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47) > at > org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141) > at > org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > at > org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.wso2.appcloud.common.AppCloudException: Docker image push > failed: msf4j repo: registry.182.docker.appfactory.private.wso2.com:5000 > tag: 1.0-3219047332775631666 > at > org.wso2.appcloud.core.docker.DockerOpClient.pushDockerImage(DockerOpClient.java:182) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) > ... 74 more > {module/application/application.jag} > > I also don't get the container specification for the app as shown by the > attached image. Can someone help me identify the issue. > > Thanks and Regards. > > -- > *Sabra Ossen* > *Software Engineer* > Email: sa...@wso2.com > Mobile: +94 767 837356 > -- Thanks and Regards, Punnadi Gunarathna Senior Software Engineer, WSO2, Inc.; http://wso2.com <http://wso2> Blog: http://hi-my-world.blogspot.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 <http://lalajisureshika.blogspot.com/>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev