[ 
https://issues.apache.org/jira/browse/STRATOS-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anand Srinivasan updated STRATOS-585:
-------------------------------------

    Attachment: sharedtemplate.log

Hi Melan,

I could reproduce the  issue mentioned in the defect - STRATOS-585 and attached 
the logs with wire logs enabled.
I have shared one of the organization's catalog available on the same vcloud 
director setup to "All organization"  and tried to deploy cartridge from 
different organization's catalog.

STRATOS - Version - rc2 tag.


Thanks
Anand.S



> Deploy cartridge is failing when a catalog from any organization is shared 
> across organizations
> -----------------------------------------------------------------------------------------------
>
>                 Key: STRATOS-585
>                 URL: https://issues.apache.org/jira/browse/STRATOS-585
>             Project: Stratos
>          Issue Type: Bug
>          Components: Cartridge Agent
>    Affects Versions: 4.0.0 RC1
>         Environment: vCloud director 5.5.
>            Reporter: Anand Srinivasan
>            Assignee: Melan Nimesh
>            Priority: Critical
>              Labels: None
>             Fix For: 4.0.0
>
>         Attachments: sharedtemplate.log
>
>
> When we tested integrating STRATOS with vCloud director 5.5, deploy cartridge 
> was failing because there was a catalog which was shared from other 
> Organizion in vCloud.
> Once the catalog sharing was removed, deploy cartridge was successful.
> Pasted logs below when a catalog was shared across organizations.
> stratos> deploy-cartridge -p /opt/json-payloads/tomcat-anand-vcloud.json
> Exception [errorCode= 400, errorMessage= Unable to build the jclouds object 
> for iaas of type: vcloud]<<<<<<<<
> stratos>
> wso2carbon.log
> ============
> TID: [0] [SCC] [2014-04-07 12:17:27,279]  INFO 
> {org.apache.stratos.rest.endpoint.services.ServiceUtils} -  Starting to 
> deploy a Cartridge [type] tomcat1 
> {org.apache.stratos.rest.endpoint.services.ServiceUtils}
> TID: [0] [SCC] [2014-04-07 12:17:28,791] ERROR 
> {org.apache.stratos.cloud.controller.util.CloudControllerUtil} -  Unable to 
> build the jclouds object for iaas of type: vcloud 
> {org.apache.stratos.cloud.controller.util.CloudControllerUtil}
> java.lang.NullPointerException
>         at 
> org.jclouds.vcloud.functions.VAppTemplatesForCatalogItems$1.apply(VAppTemplatesForCatalogItems.java:57)
>         at 
> org.jclouds.vcloud.functions.VAppTemplatesForCatalogItems$1.apply(VAppTemplatesForCatalogItems.java:55)
>         at 
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
>         at 
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at 
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at 
> com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
>         at 
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)
>         at 
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at 
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at 
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)
>         at 
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at 
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542)
>         at com.google.common.collect.Iterators.addAll(Iterators.java:356)
>         at com.google.common.collect.Iterables.addAll(Iterables.java:351)
>         at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:328)
>         at 
> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:84)
>         at 
> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:47)
>         at 
> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.supportedTemplates(VCloudComputeServiceAdapter.java:102)
>         at 
> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.listImages(VCloudComputeServiceAdapter.java:128)
>         at 
> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:125)
>         at 
> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:122)
>         at 
> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load
> (MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>         at 
> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load
> (MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>         at 
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
>         at 
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
>         at 
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
>         at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
>         at com.google.common.cache.LocalCache.get(LocalCache.java:3932)
>         at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936)
>         at 
> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806)
>         at 
> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>         at 
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.getImages(TemplateBuilderImpl.java:866)
>         at 
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:680)
>         at 
> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildTemplate(VCloudIaas.java:85)
>         at 
> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildComputeServiceAndTemplate(VCloudIaas.java:64)
>         at 
> org.apache.stratos.cloud.controller.util.CloudControllerUtil.setIaas(CloudControllerUtil.java:211)
>         at 
> org.apache.stratos.cloud.controller.util.CloudControllerUtil.getIaas(CloudControllerUtil.java:224)
>         at 
> org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.deployCartridgeDefinition(CloudControllerServiceImpl.java:150)
>         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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>         at 
> org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
>         at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>         at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>         at 
> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>         at 
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>         at 
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>         at 
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>         at 
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at 
> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>         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.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:744)
> TID: [0] [SCC] [2014-04-07 12:17:28,795] ERROR 
> {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} -  Unable to build 
> the jclouds object for iaas of type: vcloud 
> {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver}
> org.apache.stratos.cloud.controller.exception.InvalidIaasProviderException: 
> Unable to build the jclouds object for iaas of type: vcloud
>         at 
> org.apache.stratos.cloud.controller.util.CloudControllerUtil.setIaas(CloudControllerUtil.java:218)
>         at 
> org.apache.stratos.cloud.controller.util.CloudControllerUtil.getIaas(CloudControllerUtil.java:224)
>         at 
> org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.deployCartridgeDefinition(CloudControllerServiceImpl.java:150)
>         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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>         at 
> org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
>         at 
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>         at 
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>         at 
> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>         at 
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>         at 
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>         at 
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>         at 
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at 
> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>         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.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:744)
> Caused by: java.lang.NullPointerException
>         at 
> org.jclouds.vcloud.functions.VAppTemplatesForCatalogItems$1.apply(VAppTemplatesForCatalogItems.java:57)
>         at 
> org.jclouds.vcloud.functions.VAppTemplatesForCatalogItems$1.apply(VAppTemplatesForCatalogItems.java:55)
>         at 
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)
>         at 
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at 
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at 
> com.google.common.collect.TransformedIterator.hasNext(TransformedIterator.java:43)
>         at 
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)
>         at 
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at 
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at 
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)
>         at 
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at 
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at com.google.common.collect.Iterators$5.hasNext(Iterators.java:542)
>         at com.google.common.collect.Iterators.addAll(Iterators.java:356)
>         at com.google.common.collect.Iterables.addAll(Iterables.java:351)
>         at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:328)
>         at 
> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:84)
>         at 
> org.jclouds.vcloud.suppliers.VAppTemplatesSupplier.get(VAppTemplatesSupplier.java:47)
>         at 
> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.supportedTemplates(VCloudComputeServiceAdapter.java:102)
>         at 
> org.jclouds.vcloud.compute.strategy.VCloudComputeServiceAdapter.listImages(VCloudComputeServiceAdapter.java:128)
>         at 
> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:125)
>         at 
> org.jclouds.compute.config.ComputeServiceAdapterContextModule$2.get(ComputeServiceAdapterContextModule.java:122)
>         at 
> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load
> (MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75)
>         at 
> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load
> (MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:59)
>         at 
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
>         at 
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
>         at 
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
>         at 
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
>         at com.google.common.cache.LocalCache.get(LocalCache.java:3932)
>         at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936)
>         at 
> com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4806)
>         at 
> org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:121)
>         at 
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.getImages(TemplateBuilderImpl.java:866)
>         at 
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:680)
>         at 
> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildTemplate(VCloudIaas.java:85)
>         at 
> org.apache.stratos.cloud.controller.iaases.VCloudIaas.buildComputeServiceAndTemplate(VCloudIaas.java:64)
>         at 
> org.apache.stratos.cloud.controller.util.CloudControllerUtil.setIaas(CloudControllerUtil.java:211)
>         ... 46 more
> TID: [0] [SCC] [2014-04-07 12:17:28,804] ERROR 
> {org.apache.stratos.rest.endpoint.services.ServiceUtils} -  Unable to build 
> the jclouds object for iaas of type: vcloud 
> {org.apache.stratos.rest.endpoint.services.ServiceUtils}
> org.apache.axis2.AxisFault: Unable to build the jclouds object for iaas of 
> type: vcloud
>         at 
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>         at 
> org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)
>         at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
>         at 
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>         at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>         at 
> org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.deployCartridgeDefinition(CloudControllerServiceStub.java:2433)
>         at 
> org.apache.stratos.manager.client.CloudControllerServiceClient.deployCartridgeDefinition(CloudControllerServiceClient.java:86)
>         at 
> org.apache.stratos.rest.endpoint.services.ServiceUtils.deployCartridge(ServiceUtils.java:101)
>         at 
> org.apache.stratos.rest.endpoint.services.StratosAdmin.deployCartridgeDefinition(StratosAdmin.java:118)
>         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.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
>         at 
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
>         at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:194)
>         at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100)
>         at 
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
>         at 
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93)
>         at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
>         at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>         at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
>         at 
> org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
>         at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:203)
>         at 
> org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
>         at 
> org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:159)
>         at 
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
>         at 
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>         at 
> org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
>         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.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.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:744)
> Logs pasted below after sharing of catalog is removed and deploy cartridge is 
> successful
> stratos> deploy-cartridge -p /opt/json-payloads/tomcat-anand-vcloud.json
> You have successfully deployed the cartridge
> stratos>
> TID: [0] [SCC] [2014-04-07 12:19:35,778]  INFO 
> {org.apache.stratos.rest.endpoint.services.ServiceUtils} -  Starting to 
> deploy a Cartridge [type] tomcat1 
> {org.apache.stratos.rest.endpoint.services.ServiceUtils}
> TID: [0] [SCC] [2014-04-07 12:19:39,515]  WARN {jclouds.compute} -  
> Unsupported: multiple network connections are not supported: 
> [id=https://10.105.91.240/api/vAppTemplate/vappTemplate-7adce212-
> 35d8-415b-a7d4-8d28bf4d321a, name=UbuntuServer1204OVF, 
> vdc={href=https://10.105.91.240/api/vdc/b98300ac-84ed-47cd-a08c-a476610f320f, 
> type=application/vnd.vmware.vcloud.vdc+xml, relationship=up}, 
> description=This is a special place-holder used for disconnected network 
> interfaces., status=OFF] {jclouds.compute}
> TID: [0] [SCC] [2014-04-07 12:19:39,846]  WARN {jclouds.compute} -  
> Unsupported: multiple network connections are not supported: 
> [id=https://10.105.91.240/api/vAppTemplate/vappTemplate-928143a0-
> 2deb-4723-a998-e0722daad208, name=Stratos-MGR@Ubuntu-12.04, 
> vdc={href=https://10.105.91.240/api/vdc/b98300ac-84ed-47cd-a08c-a476610f320f, 
> type=application/vnd.vmware.vcloud.vdc+xml, 
> relationship=up}, description=This is a special place-holder used for 
> disconnected network interfaces., status=OFF] {jclouds.compute}
> TID: [0] [SCC] [2014-04-07 12:19:42,305]  WARN {jclouds.compute} -  
> Unsupported: multiple network connections are not supported: 
> [id=https://10.105.91.240/api/vAppTemplate/vappTemplate-7adce212-
> 35d8-415b-a7d4-8d28bf4d321a, name=UbuntuServer1204OVF, 
> vdc={href=https://10.105.91.240/api/vdc/b98300ac-84ed-47cd-a08c-a476610f320f, 
> type=application/vnd.vmware.vcloud.vdc+xml, relationship=up}, 
> description=This is a special place-holder used for disconnected network 
> interfaces., status=OFF] {jclouds.compute}
> TID: [0] [SCC] [2014-04-07 12:19:42,306]  WARN {jclouds.compute} -  
> Unsupported: multiple network connections are not supported: 
> [id=https://10.105.91.240/api/vAppTemplate/vappTemplate-928143a0-
> 2deb-4723-a998-e0722daad208, name=Stratos-MGR@Ubuntu-12.04, 
> vdc={href=https://10.105.91.240/api/vdc/b98300ac-84ed-47cd-a08c-a476610f320f, 
> type=application/vnd.vmware.vcloud.vdc+xml, 
> relationship=up}, description=This is a special place-holder used for 
> disconnected network interfaces., status=OFF] {jclouds.compute}
> TID: [0] [SCC] [2014-04-07 12:19:42,445]  INFO 
> {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher} -  
> Publishing service created event: [service] tomcat1 
> {org.apache.stratos.cloud.controller.topology.TopologyEventPublisher}
> TID: [0] [SCC] [2014-04-07 12:19:42,459]  INFO 
> {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  
> Successfully deployed the Cartridge definition: tomcat1 
> {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl}
> TID: [0] [SCC] [2014-04-07 12:19:42,460]  INFO 
> {org.apache.stratos.messaging.message.processor.topology.ServiceCreatedMessageProcessor}
>  -  Service created: [service] tomcat1 
> {org.apache.stratos.messaging.message.processor.topology.ServiceCreatedMessageProcessor}
> TID: [0] [SCC] [2014-04-07 12:19:42,460]  INFO 
> {org.apache.stratos.rest.endpoint.services.ServiceUtils} -  Successfully 
> deployed Cartridge [type] tomcat1 <<<<<<<<<<<<<



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to