Hello,
I'm trying to import vRA windows template for SQL server 2014 using cloud client 4.0 but I'm getting below java error and also i want to know, how do i set these sessions to ACTIVE
session: [INACTIVE], and IaaS Model Manager login: [INACTIVE].
Any help with this will greatly appreciated.
C:\cloudclient-4.0.0-3343843\bin>cloudclient.bat
JRE Version: 1.8.0_66
Version : 4.0.0
*Tip* : You can hit tab to move through commands and arguments
*Tip* : You can autologon with a CloudClient.properties file
Welcome to the VMware CloudClient
CloudClient>vra login userpass --user usera@vsphere.local --tenant vsphere.local --server https://vrava.domain.com
vRA Password for user@vsphere.local: **********
vRA 7.0 login: [ACTIVE], session: [INACTIVE], user=[user@vsphere.local], server=[https://vrava.domain.com], tenant=[vsphere.local] IaaS Model Manager login: [INACTIVE]
CloudClient>vra login isauthenticated all
vRA 7.0 login: [ACTIVE], session: [INACTIVE], user=[user@vsphere.local], server=[https://vrava.domain.com], tenant=[vsphere.local] IaaS Model Manager login: [INACTIVE]
CloudClient>vra content import --path c:\Installers\MicrosoftSQLServer2014.zip --dry-run true --resolution SKIP
+------------+
|Notification|
+------------+
* Performing import dry run for [c:\Installers\MicrosoftSQLServer2014.zip]. Note this operation does not import any content.
Error: Java heap space
Exception in thread "Spring Shell" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at org.springframework.util.StreamUtils.copy(StreamUtils.java:124)
at org.springframework.http.converter.ResourceHttpMessageConverter.writeInternal(ResourceHttpMessageConverter.java:92)
at org.springframework.http.converter.ResourceHttpMessageConverter.writeInternal(ResourceHttpMessageConverter.java:45)
at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:212)
at org.springframework.http.converter.FormHttpMessageConverter.writePart(FormHttpMessageConverter.java:352)
at org.springframework.http.converter.FormHttpMessageConverter.writeParts(FormHttpMessageConverter.java:332)
at org.springframework.http.converter.FormHttpMessageConverter.writeMultipart(FormHttpMessageConverter.java:321)
at org.springframework.http.converter.FormHttpMessageConverter.write(FormHttpMessageConverter.java:236)
at org.springframework.http.converter.FormHttpMessageConverter.write(FormHttpMessageConverter.java:89)
at org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.doWithRequest(RestTemplate.java:794)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:587)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:550)
at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:350)
at com.vmware.vcac.platform.rest.client.impl.RestClientImpl.post(RestClientImpl.java:408)
at com.vmware.vcac.platform.rest.client.services.AbstractService.postForObject(AbstractService.java:143)
at com.vmware.vcac.contentmanagement.rest.client.service.PackageService.validatePackage(PackageService.java:283)
at com.vmware.cloudclient.vcac.service.cafe.content.PackageService.validatePackage(PackageService.java:218)
at com.vmware.cloudclient.vcac.commands.cafe.content.ContentCommands.importContent(ContentCommands.java:316)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:211)
at org.springframework.shell.core.SimpleExecutionStrategy.invoke(SimpleExecutionStrategy.java:64)
at org.springframework.shell.core.SimpleExecutionStrategy.execute(SimpleExecutionStrategy.java:48)
at org.springframework.shell.core.AbstractShell.executeCommand(AbstractShell.java:127)
at org.springframework.shell.core.JLineShell.promptLoop(JLineShell.java:533)
at org.springframework.shell.core.JLineShell.run(JLineShell.java:179)
C:\cloudclient-4.0.0-3343843\bin>