XML in vCO

Hello

I need help on how to handle XML in vCO.

How can I get the 'name' and 'objectId' corresponding to each "virtualWire" starting from the xml below?

<? XML version = "1.0" encoding = "UTF-8"? >

< virtualWires >

< dataPage >

< pagingInfo >

< pageSize > 20 < / pageSize >

< startIndex > 0 < / startIndex >

< totalCount > 27 < / totalCount >

< sortOrderAscending > true < / sortOrderAscending >

< / pagingInfo >

< virtualWire >

< objectId > virtualwire-5 < / objectId >

< objectTypeName > VirtualWire < / objectTypeName >

< vsmUuid > 420B229E-9DC2-8FE9-8AA1-DE7ADCCFB0 < / vsmUuid >

< revision > 2 < / revision >

< type >

< typeName > VirtualWire < / typeName >

< / type >

< name > EG01 < / name >

< description >

< / description >

< clientHandle >

< / clientHandle >

< extendedAttributes / >

virtual wire tenant < tenantId > < / tenantId >

< vdnScopeId > vdnscope-2 < / vdnScopeId >

< vdsContextWithBacking >

<>switch

< objectId > dvs-473 < / objectId >

< objectTypeName > VmwareDistributedVirtualSwitch < / objectTypeName >

< vsmUuid > 420B229E-9DC2-8FE9-8AA1-DE7ADCCFB0 < / vsmUuid >

< revision > 166 < / revision >

< type >

< typeName > VmwareDistributedVirtualSwitch < / typeName >

< / type >

< name > vdsEDGE < / name >

< scope >

< id > < /ID > Group-n464

< objectTypeName > folder < / objectTypeName >

< name > EDGE < / name >

< / scope >

< clientHandle >

< / clientHandle >

< extendedAttributes / >

< / switch >

< > 9000 mtu < / mtu >

< promiscuousMode > false < / promiscuousMode >

< backingType > portgroup < / backingType >

< backingValue > dvportgroup-4838 < / backingValue >

< / vdsContextWithBacking >

< vdsContextWithBacking >

<>switch

< objectId > dvs-476 < / objectId >

< objectTypeName > VmwareDistributedVirtualSwitch < / objectTypeName >

< vsmUuid > 420B229E-9DC2-8FE9-8AA1-DE7ADCCFB0 < / vsmUuid >

< revision > 169 < / revision >

< type >

< typeName > VmwareDistributedVirtualSwitch < / typeName >

< / type >

< name > vdsNUA < / name >

< scope >

< id > Group-n466 < /ID >

< objectTypeName > folder < / objectTypeName >

NUA < name > < / name >

< / scope >

< clientHandle >

< / clientHandle >

< extendedAttributes / >

< / switch >

< > 9000 mtu < / mtu >

< promiscuousMode > false < / promiscuousMode >

< backingType > portgroup < / backingType >

< backingValue > dvportgroup-4837 < / backingValue >

< / vdsContextWithBacking >

< vdnId > 5002 < / vdnId >

< multicastAddr > 239.196.0.101 < / multicastAddr >

< guestVlanAllowed > false < / guestVlanAllowed >

< controlPlaneMode > MULTICAST_MODE < / controlPlaneMode >

< / virtualWire >

< virtualWire >

< objectId > virtualwire-6 < / objectId >

< objectTypeName > VirtualWire < / objectTypeName >

< vsmUuid > 420B229E-9DC2-8FE9-8AA1-DE7ADCCFB0 < / vsmUuid >

< revision > 2 < / revision >

< type >

< typeName > VirtualWire < / typeName >

< / type >

< name > EG02 < / name >

< description >

< / description >

< clientHandle >

< / clientHandle >

< extendedAttributes / >

< tenantId > e7aee317-824f-4277-b323-7751974da420 < / tenantId >

< vdnScopeId > vdnscope-2 < / vdnScopeId >

< vdsContextWithBacking >

<>switch

< objectId > dvs-473 < / objectId >

< objectTypeName > VmwareDistributedVirtualSwitch < / objectTypeName >

< vsmUuid > 420B229E-9DC2-8FE9-8AA1-DE7ADCCFB0 < / vsmUuid >

< revision > 166 < / revision >

< type >

< typeName > VmwareDistributedVirtualSwitch < / typeName >

< / type >

< name > vdsEDGE < / name >

< scope >

< id > < /ID > Group-n464

< objectTypeName > folder < / objectTypeName >

< name > EDGE < / name >

< / scope >

< clientHandle >

< / clientHandle >

< extendedAttributes / >

< / switch >

< > 9000 mtu < / mtu >

< promiscuousMode > false < / promiscuousMode >

< backingType > portgroup < / backingType >

< backingValue > dvportgroup-5202 < / backingValue >

< / vdsContextWithBacking >

< vdsContextWithBacking >

<>switch

< objectId > dvs-476 < / objectId >

< objectTypeName > VmwareDistributedVirtualSwitch < / objectTypeName >

< vsmUuid > 420B229E-9DC2-8FE9-8AA1-DE7ADCCFB0 < / vsmUuid >

< revision > 169 < / revision >

< type >

< typeName > VmwareDistributedVirtualSwitch < / typeName >

< / type >

< name > vdsNUA < / name >

< scope >

< id > Group-n466 < /ID >

< objectTypeName > folder < / objectTypeName >

NUA < name > < / name >

< / scope >

< clientHandle >

< / clientHandle >

< extendedAttributes / >

< / switch >

< > 9000 mtu < / mtu >

< promiscuousMode > false < / promiscuousMode >

< backingType > portgroup < / backingType >

< backingValue > dvportgroup-5201 < / backingValue >

< / vdsContextWithBacking >

< vdnId > 5003 < / vdnId >

< multicastAddr > 239.196.0.100 < / multicastAddr >

< guestVlanAllowed > false < / guestVlanAllowed >

< controlPlaneMode > MULTICAST_MODE < / controlPlaneMode >

< / virtualWire >

< / dataPage >

< / virtualWires >

Thank you

OK, if the XML is not hardcoded like it was your first example, the syntax is a little different.

var request = nsx_host.createRequest("GET", "/2.0/vdn/virtualwires", null);
var strBasicAuthentication;
strBasicAuthentication = "***";

request.setHeader("Accept","application/*+xml;version=5.6");
request.setHeader("Content-Type","application/xml");
request.setHeader("Authorization","Basic " + strBasicAuthentication);

var response = request.execute();

org_list = response.contentAsString;

var doc = new XML(org_list); // construct XML document from dynamic string value
for each (var wire in doc.dataPage.virtualWire) {
  System.log("wire --> objectId: " + wire.objectId + " name: " + wire.name);
}

Tags: VMware

Similar Questions

  • Unable to read the XML of vCO - permission denied

    Hello guys,.

    I was trying to read/write xml workflows vCO files:

    I'm kinda stuck here, and I'd like to see if someone else has already encountered this problem before, and how solve you this problem?

    No details on this issue will be appreciated.

    Thank you

    DH

    Odd.

    What is your use cases? This file should accessible from an external system or not? If this does not store the file in a resource element is a better option.

  • Resource element (text/XML) export of vCO using scripts or wf

    Hi all

    I would like to export a resource element (text/xml) on VCO to a shared folder on the local network.

    I know that I could do it manually like: (I just want to automate this button in script)

    Capture.PNG

    But I can do it in a WF/scripts?

    So far, I tried to use two methods in the API, but they both failed: (inresource is the resource I created resources on vCO)

    Approach 1:

    var mime = InResource.getContentAsMimeAttachment();
    mime.write("C:\Users\Ryan Wade\Desktop\XML","play.xml");
    

    Approach 2:

    var xmlString = InResource.getContentAsMimeAttachment().content;
    var text = XMLManager.newDocument();
    text = XMLManager.fromString(xmlString);
    XMLManager.saveDocument(text,"./opt");
    

    Miss - use these two methods? Or are there other ways around to do?

    Thank you

    All the vCO path has access to the list of files js-iorights, the location (local or not) is irrelevant.

    If you are on Windows, system, you can use a drive mapped to a letter, if you're on the VA, you can mount an external FS.

  • java.io.NotSerializableException: com.vmware.vcloud.sdk.Task

    Hello

    I have a workflow creates a task waiting because it has the performance to help

    trigger = System.getModule("com.vmware.library.vCloud.common").createEndOfTaskTriggerForTask (task);

    and then a workflow element "event pending."

    Unfortunately, the workflow is now stuck in State "waiting sign" and I see the following exception which crosses the catalina.out app-server

    INFO: Response - <? XML version = "1.0" encoding = "UTF-8"? >

    " < task xmlns =" " http://www.VMware.com/vCloud/v1.5 "status = 'success' startTime ="2014-08 - 07 T 15: 25:29.853 + 02:00"serviceNamespace ="com.vmware.vcloud ' operationName = operation"vappUpdateVm"=" updated Virtua "

    "Machine node1 (f088e966-1a17-4d46-99ea-2395c3f3a618) l' expiryTime =" "2014-11 - 05 T 15: 25:29.853 + 01:00" endTime = "2014-08 - 07 T 15: 25:36.623 + 02:00" a cancelRequested = "false" name = 'task' id = "urn: vcloud:task:c2e0".

    "" " b564-d7f8-468f-b602-f9e8ee495c44" type="application/vnd.vmware.vcloud.task+xml" href = " https://VCD.He.foobar.info/API/task/c2e0b564-d7f8-468F-B602-f9e8ee495c44 "" xmlns: xsi = " http://www.w3.org/2001/XML "

    -L'instance of the schema "xsi: schemaLocation =" http://www.VMware.com/vCloud/v1.5 http://vcd.he.foobar.info/api/v1.5/schema/master.xsd' > .

    "" < type="application/vnd.vmware.vcloud.vm+xml owner" name = "Node1" href = " https://VCD.He.foobar.info/API/vApp/VM-f088e966-1a17-4d46-99ea-2395c3f3a618 "/ > "

    "" < user type="application/vnd.vmware.admin.user+xml" name = "vco" href = " https://VCD.He.foobar.info/API/Admin/user/777db7f3-1f41-4934-85A4-346efd78a8c1 "/ > "

    "" < type="application/vnd.vmware.vcloud.org+xml organization" name = 'Production' href = ' https://VCD.He.foobar.info/API/org/c594d7a6-2c9b-4853-b0d0-74bdb107e23c "/ > "

    < details / >

    < / task >

    15:41:52.195 07-08-2014 + 0200 [1c47251c586f3e4a7ef329bcdc4da3b9abbfa3d46eda3164d3ffd7537285b3.data] ERROR {c.becker:Wait for a task: 508080808080808080808080808080809980808001266312685778e677578588f:f}

    { f808081476970030147b0a5347a00ae} [DiskStorageFactory] Disk writing of https://vcd.he.foobar.info/api/task/c2e0b564-d7f8-468f-b602-f9e8ee495c44 failed:

    java.io.NotSerializableException: com.vmware.vcloud.sdk.Task

    at java.io.ObjectOutputStream.writeObject0 (unknown Source)

    at java.io.ObjectOutputStream.defaultWriteFields (unknown Source)

    the impossible (unknown Source)

    at net.sf.ehcache.Element.writeObject(Element.java:835)

    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 java.io.ObjectStreamClass.invokeWriteObject (unknown Source)

    at java.io.ObjectOutputStream.writeSerialData (unknown Source)

    at java.io.ObjectOutputStream.writeOrdinaryObject (unknown Source)

    at java.io.ObjectOutputStream.writeObject0 (unknown Source)

    at java.io.ObjectOutputStream.writeObject (unknown Source)

    at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97)

    at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:405)

    at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:384)

    to net.sf.ehcache.store.disk.DiskStorageFactory$ DiskWriteTask.call (DiskStorageFactory.java:485)

    to net.sf.ehcache.store.disk.DiskStorageFactory$ PersistentDiskWriteTask.call (DiskStorageFactory.java:1088)

    to net.sf.ehcache.store.disk.DiskStorageFactory$ PersistentDiskWriteTask.call (DiskStorageFactory.java:1072)

    at java.util.concurrent.FutureTask.run (unknown Source)

    to java.util.concurrent.ScheduledThreadPoolExecutor$ ScheduledFutureTask.access$ 201 (unknown Source)

    to java.util.concurrent.ScheduledThreadPoolExecutor$ ScheduledFutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Does anyone has an idea what is the cause?

    We use vCO 5.5.1 and the workflow even worked before on a different node with the same version - we just moved by export of package and it imported into the new facility.

    From what I recall, it is a known problem with the vCD plug-in that was resolved with a technical preview that was posted on the document tab.

  • Consume an XML API - RPC of vCO (no SOAP/REST)

    Someone at - it examples of use of an XML - RPC API?

    I am trying to automate an older version of RedHat satellite, before they put in place a REST API compatible.

    It is quite easy to write against her python code using the xmlrpclib, so an idea, that I've been playing is to encapsulate the Python scripts within a script task or action of the vCO. But I've never seen examples of using stdin / stdout /stderr of an external program, so there could be a lot of violin involved.

    The ideal solution would obviously be if there was a Python plugin for vCO, but alas, no such beast exists, it seems.

    Furthermore, a XML - RPC for JavaScript module should be a viable solution, but I guess I would need to load this library from outside the sandbox of vCO.

    I had a similar problem where I was trying to integrate with Shoemaker and I found a code that makes javascript xmlrpc. I reworked so that it uses e4x which ends up being the best way to treat of vCO and created actions to represent the available options.

    I end by using this code, but limited, testing that I did with it worked.

    I don't have an easy way to export / host a package for you, but this substance includes the parts needed to recreate what I've built. Let me know if you have any questions.

    https://gist.github.com/jbweber/11401647

  • esxcli of vCO using PowerShell plugin

    Hello

    I tried to come up with a workflow to run esxicli on an ESXi host commands, I am aware of the different solutions out there including one that uses the vMA as an SSH server, but I would like to give it a try with the plugin from PowerShell. So far, I can connect the vCenter, get the crowd and not even the subject of esxcli by using different examples already on the PowerShell plugin library.

    But my problem is that after I get the object esxcli is on the PowerShellRemotePSObject format and I don't know how to work with it.

    var sess;
    try {
      sess = host.openSession()
      sess.addCommandFromString("Add-PSSnapin VMware.VimAutomation.Core -ErrorAction  SilentlyContinue");
      var invResult = sess.invokePipeline();
      //Show result
      System.log( invResult.getHostOutput() );
      sess.addCommandFromString('Connect-VIServer '+vcenter+' -User user@domain -Password "passw0rd" -Force');
      var invResult = sess.invokePipeline();
      //Show result
      System.log( invResult.getHostOutput() );
      // Get PowerShellRemotePSObject
      sess.addCommandFromString('Get-VMHost -Name '+esxi+' -Server '+vcenter);
      var invResult = sess.invokePipeline();
      //Show result
      System.log( invResult.getHostOutput() );
      var psObject = invResult.getResults();
      if (invResult.invocationState  == 'Failed'){
      System.error(invResult.getErrors());
      }
      else {
      var cmd = sess.addCommandFromString('Get-EsxCli')
      cmd.addParameter('Server', vcenter);
      cmd.addParameter('VMHost', psObject);
      var sessionId = sess.getSessionId();
      var esxcli = System.getModule("com.vmware.library.powershell").invokeCommand(host,sessionId);
      System.log(esxcli);
      }
    
    
    } catch ( ex ) {
      System.log (ex);
    } finally {
      if (sess) {
      host.closeSession( sess.getSessionId());
      }
    }
    
    
    

    The esxcli object is accessible as $esxcli.software.vib.list () in PowerShell I don't know how to use the PowerShellPSObject to access information or execute methods on it.

    Any help is appreciated.

    Thank you

    Juan.

    Hi Juan,

    I'm not sure you can call methods from PowerShellPsObjects returned by VCO.  In the meantime, they were serialzed in XML format from the PowerShell script then resérialisé in VCO.  I'm sure that you lose all methods when this happens.

    What I've done for similar purposes, use the WF model who calls a PowerShell script externally.  I put all my my logical calls and method in the external PoSH script and at the end pass back the final results to the VCO.  I'm much better with PoSH as VCO, so I put as much intelligence in the PoSH as possible.

  • Run the powershell script in Workflow VCO

    Hi guys,.

    I'm pretty new to VCO and I am facing difficulties to get what I want. For you, this will be a Basic... but here's my question:

    I have a WF that I use in the WFStubmachineprovisionning that can generate me a name of virtual machine based on the selection of the user while he asked for a virtual computer in the VRA.

    The VM provisionned name looks like this: W203PKLXXX and I need to replace the XXX with a number that is available on the network.

    To do this, I need to query the DNS to see if there is, if not, 002 001... And so on... until an available and I send the full name of the virtual machine to the WF Stubprovisionning.

    This my first try to interact between VCO and a Powershell script. I can run script PS on my host configured, but do not know how to send variables to the custom WF that generates the name of the script of PS and send the name of VM from the script of the PS to the next step.

    Can someone give me a sample of variable to manage? I can't find anything on the net

    Just to tell you that I managed.

    the PS has returned an XML object, not a string. I had to use the method getxml() javascript property, and parse the string to get the value I need

    I also had to blind correctly (getxml) entry and exit (PS)

    If needed I can send you a few screenshoot

  • O11n package Plugin Maven-package: import-package causes error on VCO (ClassNotFoundException)

    When you try to import a package using the maven plugin, I now see a ClassNotFoundException thrown of vCO, which returns a 500 Server error.  I also tried the vco-cli-java - 6.0.2.jar just to see if I could export a package through the cli and which are perfectly worked.  Not sure if something changed in the API that was not updated to 6.0.2 or if I'm doing something wrong.  I tried 1.7.0_67 and 1.8.0_45 java


    Any thoughts are appreciated.

    Thank you


    Tim


    o11n mvn package: import-package DserverUrl-= vcoadmin: [email protected] : 8281 - Dmaven.wagon.http.ssl.insecure = true - Dmaven.wagon.http.ssl.allowall =-X-Djavax.net.ssl.trustStore=../trust.jks-Djavax.net.ssl.trustStorePassword=test - DignoreServerCertificate = true true

    Catalina.out VCO OUTPUT

    VCO version 6.0.2

    June 23, 2015 19:40:36 org.apache.catalina.core.StandardWrapperValve invoke

    SERIOUS: Servlet.service () for servlet [remoteVcoFactoryServiceExporter] in the context of path [/vco] has thrown the exception [org.springframework.web.util.NestedServletException: class not found while deserializing, the nested exception is java.lang.ClassNotFoundException: org.slf4j.impl.SimpleLogger] origin

    java.lang.ClassNotFoundException: org.slf4j.impl.SimpleLogger

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)

    at org.springframework.util.ClassUtils.forName(ClassUtils.java:236)

    at org.springframework.core.ConfigurableObjectInputStream.resolveClass(ConfigurableObjectInputStream.java:75)

    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1612)

    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)

    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)

    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)

    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1706)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1344)

    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)

    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)

    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1706)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1344)

    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)

    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)

    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)

    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)

    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)

    at org.springframework.remoting.rmi.RemoteInvocationSerializingExporter.doReadRemoteInvocation(RemoteInvocationSerializingExporter.java:142)

    at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.readRemoteInvocation(HttpInvokerServiceExporter.java:117)

    at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.readRemoteInvocation(HttpInvokerServiceExporter.java:96)

    at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:73)

    at org.springframework.web.context.support.HttpRequestHandlerServlet.service(HttpRequestHandlerServlet.java:68)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:95)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:611)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:316)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615)

    to org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run (TaskThread.java:61)

    at java.lang.Thread.run(Thread.java:745)

    RELEASE OF MAVEN

    o11n mvn package: import-package DserverUrl-= vcoadmin: [email protected] : 8281 - Dmaven.wagon.http.ssl.insecure = true - Dmaven.wagon.http.ssl.allowall =-X-Djavax.net.ssl.trustStore=../trust.jks-Djavax.net.ssl.trustStorePassword=test - DignoreServerCertificate = true true

    Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12 - 14 T 12: 29:23 - 05:00)

    House of Maven: /usr/local/Cellar/maven/3.2.5/libexec

    Java version: 1.8.0_45, name of the vendor: Oracle Corporation

    House of Java: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre

    Default locale: en_US, platform encoding: UTF-8

    OS name: 'mac os x', version: "10.10.3," arch: "x86_64" family: "mac"

    [INFO] Error stacktraces are turned on.

    [DEBUG] Read the global settings of /usr/local/Cellar/maven/3.2.5/libexec/conf/settings.xml

    [DEBUG] Read /Users/tperry/.m2/settings.xml user settings

    [DEBUG] Using local repository at /Users/tperry/.m2/repository

    [DEBUG] With the help of Manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/tperry/.m2/repository

    [INFO] Analysis of projects...

    [DEBUG] Statistics collection of dependency: {ConflictMarker.analyzeTime = 1, ConflictMarker.markTime = 1, ConflictMarker.nodeCount = 211, ConflictIdSorter.graphTime = 1, ConflictIdSorter.topsortTime = 0, ConflictIdSorter.conflictIdCount = 63, ConflictIdSorter.conflictIdCycleCount = 0, ConflictResolver.totalTime = 6, ConflictResolver.conflictItemCount = 145, DefaultDependencyCollector.collectTime = 209, DefaultDependencyCollector.transformTime = 11}

    [DEBUG] com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:jar:6.0.2:

    [DEBUG] com.vmware.o11n.tool:o11ntool - internal: pot: 6.0.2: compile

    [DEBUG] dom4j:dom4j:jar:1.6.1: compile

    [DEBUG] xml - apis: xml - apis: jar: 1.0.b2: compile

    [DEBUG] org.apache.maven:maven - plugin-api: jar: 2.0: compile

    [DEBUG] org.apache.maven:maven - project: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - settings: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - jar: profile: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - model: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - artifact-Manager: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - repository - metadata:jar:2.0.6: compile

    [DEBUG] org.apache.maven:maven - plugin-registry: pot: 2.0.6: compile

    [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile

    [DEBUG] junit:junit:jar:4.11:test

    [DEBUG] org.hamcrest:hamcrest - core: jar: 1.3:test

    [DEBUG] classworlds:classworlds:jar:1.1 - alpha-2: compile

    [DEBUG] org.apache.maven:maven - artifact: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - archiver: pot: 2.2: compile

    [DEBUG] org.codehaus.plexus:plexus - archiver: jar: 1.0 - alpha-7: compile

    [DEBUG] org.codehaus.plexus:plexus - utils:jar:1.5.7: compile

    [DEBUG] org.apache.maven.shared:maven - filtering: jar: 1.0 - beta-2: compile

    [DEBUG] org.apache.maven:maven - monitor: pot: 2.0.6: compile

    [DEBUG] org.codehaus.plexus:plexus - interpolation: pot: 1.6: compiles

    [DEBUG] org.codehaus.plexus:plexus - compiler-api: jar: 1.8.1: compile

    [DEBUG] log4j:log4j:jar:1.2.17:runtime

    [DEBUG] commons-io: commons-io: pot: 2.4: compile

    [DEBUG] commons-lang: commons-lang: pot: 2.5: compile

    [DEBUG] com.vmware.o11n:o11n - util:jar:6.0.2: compile

    [DEBUG] org.bouncycastle:bcprov - jdk15on:jar:1.50: compile

    [DEBUG] org.bouncycastle:bcpkix - jdk15on:jar:1.50: compile

    [DEBUG] com.rubiconproject.oss:jchronic:jar:0.2.6: compile

    [DEBUG] net.sf.ehcache:ehcache - core: jar: 2.6.2: compile

    [DEBUG] ognl:ognl:jar:2.6.9: compile

    [DEBUG] org.codehaus.woodstox:stax2 - api: jar: 3.0.1: compile

    [DEBUG] stax:stax - api: jar: 1.0.1: compile

    [DEBUG] org.codehaus.woodstox:woodstox - core - asl:jar:4.0.5: compile

    [DEBUG] org.slf4j:slf4j - api: jar: 1.6.6: compile

    [DEBUG] org.slf4j:slf4j - log4j12:jar:1.6.6: compile

    [DEBUG] Commons-codec: commons-codec: pot: 1.8: compile

    [DEBUG] org.apache.httpcomponents:httpclient:jar:4.3.5: compile

    [DEBUG] Commons-Logging: commons-logging: pot: 1.1.1: compile

    [DEBUG] org.apache.httpcomponents:httpcore:jar:4.3.2: compile

    [DEBUG] com.vmware.o11n:o11n - model: pot: 6.0.2: compile

    [DEBUG] com.vmware.o11n:o11n - security: pot: 6.0.2: compile

    [DEBUG] org.springframework:spring - context: pot: 4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - aop:jar:4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - expression: pot: 4.0.2.RELEASE: compile

    Org.springframework.Security:spring [DEBUG] - security-core: jar: 3.2.3.RELEASE: compile

    [DEBUG] aopalliance:aopalliance:jar:1.0: compile

    [DEBUG] antlr:antlr:jar:2.7.6: compile

    [DEBUG] org.springframework:spring - web: pot: 4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - beans: pot: 4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - core: jar: 4.0.2.RELEASE: compile

    [DEBUG] org.apache.geronimo.specs:geronimo - jms_1.1_spec:jar:1.1: compile

    [DEBUG] com.vmware.o11n:o11n - modelejb-client: pot: 6.0.2: compile

    [DEBUG] com.vmware.o11n:o11n - scriptingmodel:jar:6.0.2: compile

    [DEBUG] org.mozilla:rhino:jar:1.7R4: compile

    [DEBUG] commons-collections: commons-collections: pot: 3.2.1: compile

    [DEBUG] com.vmware.o11n:o11n - j2eeutil:jar:6.0.2: compile

    [DEBUG] com.vmware.o11n:o11n - sdkapi:jar:6.0.2: compile

    [DEBUG] org.hornetq:hornetq - jms-client: pot: 2.2.5.Final:runtime

    [DEBUG] org.hornetq:hornetq - client-core: jar: 2.2.5.Final:runtime

    [DEBUG] org.jboss.netty:netty:jar:3.2.5.Final:runtime

    [DEBUG] Created the new Kingdom maven.api class

    [DEBUG] Importation of foreign packages in the Kingdom maven.api class

    [DEBUG]  Imported: org.apache.maven.cli < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.internal.impl < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.lifecycle < plexus.core

    [DEBUG]  Imported: org.apache.maven.lifecycle < plexus.core

    [DEBUG]  Imported: org.apache.maven.repository < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.personality < plexus.core

    [DEBUG]  Imported: org.apache.maven.usability < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.configuration < plexus.core

    [DEBUG]  Imported: javax.enterprise.inject. * < plexus.core

    [DEBUG]  Imported: org.apache.maven. * < plexus.core

    [DEBUG]  Imported: org.apache.maven.project < plexus.core

    [DEBUG]  Imported: org.apache.maven.exception < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.spi < plexus.core

    [DEBUG]  Imported: org.apache.maven.plugin < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.collection < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus. * < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.logging < plexus.core

    [DEBUG]  Imported: org.apache.maven.profiles < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.transfer < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core

    [DEBUG]  Imported: org.apache.maven.execution.scope < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon. * < plexus.core

    [DEBUG]  Imported: org.apache.maven.rtinfo < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.impl < plexus.core

    [DEBUG]  Imported: org.apache.maven.monitor < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.graph < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.metadata < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.context < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon.observers < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon.resource < plexus.core

    [DEBUG]  Imported: javax.inject. * < plexus.core

    [DEBUG]  Imported: org.apache.maven.model < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.deployment < plexus.core

    [DEBUG]  Imported: org.apache.maven.artifact < plexus.core

    [DEBUG]  Imported: org.apache.maven.toolchain < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.resolution < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core

    [DEBUG]  Imported: org.apache.maven.settings < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon.authorization < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon.events < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon.authentication < plexus.core

    [DEBUG]  Imported: org.apache.maven.reporting < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.repository < plexus.core

    [DEBUG]  Imported: org.slf4j. * < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon.repository < plexus.core

    [DEBUG]  Imported: javax.enterprise.util. * < plexus.core

    [DEBUG]  Imported: org.apache.maven.configuration < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.classworlds < plexus.core

    [DEBUG]  Imported: org.codehaus.classworlds < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core

    [DEBUG]  Imported: org.apache.maven.classrealm < plexus.core

    [DEBUG]  Imported: org.eclipse.aether. * < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.artifact < plexus.core

    [DEBUG]  Imported: org.apache.maven.execution < plexus.core

    [DEBUG]  Imported: org.apache.maven.wagon.proxy < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.container < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.version < plexus.core

    [DEBUG]  Imported: org.eclipse.aether.installation < plexus.core

    [DEBUG]  Imported: org.codehaus.plexus.component < plexus.core

    [DEBUG] Filling of class maven.api Kingdom

    [DEBUG] Created the new class field extension > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2

    [DEBUG] Importation of foreign packages in class domain extension > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2

    [DEBUG]  Imported: maven.api

    [DEBUG] Fill class domain extension > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2

    [DEBUG]  Included: com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:jar:6.0.2

    [DEBUG]  Included: com.vmware.o11n.tool:o11ntool - inner: jar: 6.0.2

    [DEBUG]  Included: dom4j:dom4j:jar:1.6.1

    [DEBUG]  Included: xml - apis: xml - apis: jar: 1.0.b2

    [DEBUG]  Included: org.apache.maven:maven - archiver: jar: 2.2

    [DEBUG]  Included: org.codehaus.plexus:plexus - archiver: jar: 1.0 - alpha-7

    [DEBUG]  Included: org.codehaus.plexus:plexus - utils:jar:1.5.7

    [DEBUG]  Included: org.apache.maven.shared:maven - filtering: jar: 1.0 - beta-2

    [DEBUG]  Included: org.codehaus.plexus:plexus - interpolation: jar: 1.6

    [DEBUG]  Included: org.codehaus.plexus:plexus - compiler-api: jar: 1.8.1

    [DEBUG]  Included: log4j:log4j:jar:1.2.17

    [DEBUG]  Included: commons-io: commons-io: jar: 2.4

    [DEBUG]  Included: commons-lang: commons-lang: jar: 2.5

    [DEBUG]  Included: com.vmware.o11n:o11n - util:jar:6.0.2

    [DEBUG]  Included: org.bouncycastle:bcprov - jdk15on:jar:1.50

    [DEBUG]  Included: org.bouncycastle:bcpkix - jdk15on:jar:1.50

    [DEBUG]  Included: com.rubiconproject.oss:jchronic:jar:0.2.6

    [DEBUG]  Included: net.sf.ehcache:ehcache - base: jar: 2.6.2

    [DEBUG]  Included: ognl:ognl:jar:2.6.9

    [DEBUG]  Included: org.codehaus.woodstox:stax2 - api: jar: 3.0.1

    [DEBUG]  Included: stax:stax - api: jar: 1.0.1

    [DEBUG]  Included: org.codehaus.woodstox:woodstox - core - asl:jar:4.0.5

    [DEBUG]  Included: org.slf4j:slf4j - api: jar: 1.6.6

    [DEBUG]  Included: org.slf4j:slf4j - log4j12:jar:1.6.6

    [DEBUG]  Included: Commons-codec: commons-codec: jar: 1.8

    [DEBUG]  Included: org.apache.httpcomponents:httpclient:jar:4.3.5

    [DEBUG]  Included: Commons-Logging: commons-logging: jar: 1.1.1

    [DEBUG]  Included: org.apache.httpcomponents:httpcore:jar:4.3.2

    [DEBUG]  Included: com.vmware.o11n:o11n - model: jar: 6.0.2

    [DEBUG]  Included: com.vmware.o11n:o11n - security: jar: 6.0.2

    [DEBUG]  Included: org.springframework:spring - context: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - aop:jar:4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - expression: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework.security:spring - security-core: jar: 3.2.3.RELEASE

    [DEBUG]  Included: aopalliance:aopalliance:jar:1.0

    [DEBUG]  Included: antlr:antlr:jar:2.7.6

    [DEBUG]  Included: org.springframework:spring - web: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - beans: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - base: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.apache.geronimo.specs:geronimo - jms_1.1_spec:jar:1.1

    [DEBUG]  Included: com.vmware.o11n:o11n - modelejb-client: jar: 6.0.2

    [DEBUG]  Included: com.vmware.o11n:o11n - scriptingmodel:jar:6.0.2

    [DEBUG]  Included: org.mozilla:rhino:jar:1.7R4

    [DEBUG]  Included: commons-collections: commons-collections: jar: 3.2.1

    [DEBUG]  Included: com.vmware.o11n:o11n - j2eeutil:jar:6.0.2

    [DEBUG]  Included: com.vmware.o11n:o11n - sdkapi:jar:6.0.2

    [DEBUG]  Included: org.hornetq:hornetq - jms-client: pot: 2.2.5.Final

    [DEBUG]  Included: org.hornetq:hornetq - basic-client: pot: 2.2.5.Final

    [DEBUG]  Included: org.jboss.netty:netty:jar:3.2.5.Final

    [DEBUG] Kingdoms of extension for the test project: o11nplugin-test-package: package: 1.0.0 - SNAPSHOT: [ClassRealm [extension > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2, parent: sun.misc.Launcher$AppClassLoader@6d6f6e28]]

    [DEBUG] Created the new project of Kingdom of classes > test: o11nplugin-test-package: 1.0.0 - SNAPSHOT

    [DEBUG] Kingdom of settlement project classes > test: o11nplugin-test-package: 1.0.0 - SNAPSHOT

    [DEBUG] Looking for ClassRealm package wrapping cycle mappings [project > test: o11nplugin-test-package: 1.0.0 - SNAPSHOT, parent: ClassRealm [maven.api, parent: null]]

    [DEBUG] Kingdoms of extension for the test project: test: pom: 1.0.0 - SNAPSHOT: (none)

    [DEBUG] Rising maps of cycle for pom in packaging of ClassRealm [plexus.core, parent: null]

    [DEBUG] Fix the plugin version for org.apache.maven.plugins:maven - install-plugin

    [DEBUG] Found no metadata org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml in local (/ Users/tperry/.m2/repository)

    [DEBUG] unable to find org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml in https://xxx.xx.com:8281 / vco-repo has been cached in the local repository, resolution will not be returned until added by archetype update interval is elapsed or are forced to update

    [DEBUG] Query remote ignored for the org.apache.maven.plugins:maven-install-plugin/maven-metadata.xml metadata updates cached locally.

    Resolved [DEBUG] version of the plugin for org.apache.maven.plugins:maven - install-plugin repository 2.5.2 (https://repo.maven.apache.org/maven2, by default, releases)

    [DEBUG] Fix the plugin version for org.apache.maven.plugins:maven - deploy-plugin

    [DEBUG] Found no metadata org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml in local (/ Users/tperry/.m2/repository)

    [DEBUG] unable to find org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml in https://xxx.xx.com:8281 / vco-repo has been cached in the local repository, resolution will not be returned until added by archetype update interval is elapsed or are forced to update

    [DEBUG] Query remote ignored for the org.apache.maven.plugins:maven-deploy-plugin/maven-metadata.xml metadata updates cached locally.

    Resolved [DEBUG] version of the plugin for org.apache.maven.plugins:maven - deploy-plugin for 2.8.2 of the repository (https://repo.maven.apache.org/maven2, by default, releases)

    [DEBUG] Adjust the plugin version of compiler - org.apache.maven.plugins:maven - plugin

    [DEBUG] Found no metadata org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml in local (/ Users/tperry/.m2/repository)

    [DEBUG] unable to find org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml in https://xxx.xx.com:8281 / vco-repo has been cached in the local repository, resolution will not be returned until added by archetype update interval is elapsed or are forced to update

    [DEBUG] Query remote ignored for the org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml metadata updates cached locally.

    Resolved [DEBUG] version of the plugin for org.apache.maven.plugins:maven - compiler-plugin repository 3.3 (https://repo.maven.apache.org/maven2, by default, releases)

    [DEBUG] Adjust the plugin prefix o11n-package of [org.apache.maven.plugins, org.codehaus.mojo]

    [DEBUG] Plugin solved prefix o11n-package com.vmware.o11n.mojo.pkg:maven - o11n-package-plugin POM test: o11nplugin-test-package: package: 1.0.0 - SNAPSHOT

    [DEBUG] = REACTOR MANUFACTURING PLAN =.

    [DEBUG] Project: test: o11nplugin-test-package: package: 1.0.0 - SNAPSHOT

    [DEBUG] Tasks: [o11n-package: import-package]

    [DEBUG] Style: aggregation

    [DEBUG] =======================================================================

    [INFO]

    [INFO] ------------------------------------------------------------------------

    [INFO] Building o11nplugin-test-package 1.0.0 - SNAPSHOT

    [INFO] ------------------------------------------------------------------------

    [DEBUG] Adjust the plugin prefix o11n-package of [org.apache.maven.plugins, org.codehaus.mojo]

    [DEBUG] Plugin solved prefix o11n-package com.vmware.o11n.mojo.pkg:maven - o11n-package-plugin POM test: o11nplugin-test-package: package: 1.0.0 - SNAPSHOT

    [DEBUG] Default life cycle - > [validate, initiate, generate-sources, process-sources, generate resources, resources process, compiling, process-classes, generate-test-sources, process-test-sources, generate-test-resources and process-test-resources, test-compile, process-test-classes, test, prepare package, package, pre-integration-test, integration test, post-integration-test, check, install, deploy]

    [DEBUG] Own lifecycle-> [pre clean, clean, clean post]

    [DEBUG] Life cycle of the site-> [prior to the site, site, site of the post and deploy site]

    [DEBUG] = GENERATION OF PROJECT PLAN.

    [DEBUG] Project: test: o11nplugin-test-package: 1.0.0 - SNAPSHOT

    [DEBUG] [Addictions (to collect):]

    [DEBUG] [Dependencies (resolve):]

    [DEBUG] repositories (dependencies): [added by archetype (https://xxx.xx.com:8281 / vco-repo, by default, the versions + snapshots), Central (https://repo.maven.apache.org/maven2, by default, release)]

    [DEBUG] repositories (plugins): [added by archetype (https://xxx.xx.com:8281 / vco-repo, by default, the versions + snapshots), Central (https://repo.maven.apache.org/maven2, by default, release)]

    [DEBUG] -----------------------------------------------------------------------

    [DEBUG] Objective: com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2:import - package (by default-cli)

    [DEBUG] Style: regular

    [DEBUG] Configuration: <? XML version = "1.0" encoding = "UTF-8"? >

    < configuration >

    < allPackages-default = "false" >$ {allPackages} < / allPackages >

    < exportHistory-default = "true" >$ {exportHistory} < / exportHistory >

    < ignoreServerCertificate-default = "true" >$ {ignoreServerCertificate} < / ignoreServerCertificate >

    org.company.myPackage < packageName > < / packageName >

    < project >$ {project} < / project >

    < projectName-default = "${project.artifactId}" >$ {projectName} < / ProjectName >

    < ServerURI >$ {ServerURI} < / serverUrl >

    < targetDirectory >$ {basedir} < / targetDirectory >

    < / configuration >

    [DEBUG] =======================================================================

    [INFO]

    [Info]---Maven-o11n-Paquet-plugin:6.0.2:import-Paquet (by default-cli) @ o11nplugin-test-package-

    [DEBUG] Statistics collection of dependency: {ConflictMarker.analyzeTime = 0, ConflictMarker.markTime = 1, ConflictMarker.nodeCount = 211, ConflictIdSorter.graphTime = 0, ConflictIdSorter.topsortTime = 0, ConflictIdSorter.conflictIdCount = 63, ConflictIdSorter.conflictIdCycleCount = 0, ConflictResolver.totalTime = 2, ConflictResolver.conflictItemCount = 145, DefaultDependencyCollector.collectTime = 14, DefaultDependencyCollector.transformTime = 3}

    [DEBUG] com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:jar:6.0.2:

    [DEBUG] com.vmware.o11n.tool:o11ntool - internal: pot: 6.0.2: compile

    [DEBUG] dom4j:dom4j:jar:1.6.1: compile

    [DEBUG] xml - apis: xml - apis: jar: 1.0.b2: compile

    [DEBUG] org.apache.maven:maven - plugin-api: jar: 2.0: compile

    [DEBUG] org.apache.maven:maven - project: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - settings: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - jar: profile: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - model: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - artifact-Manager: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - repository - metadata:jar:2.0.6: compile

    [DEBUG] org.apache.maven:maven - plugin-registry: pot: 2.0.6: compile

    [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile

    [DEBUG] junit:junit:jar:4.11:test

    [DEBUG] org.hamcrest:hamcrest - core: jar: 1.3:test

    [DEBUG] classworlds:classworlds:jar:1.1 - alpha-2: compile

    [DEBUG] org.apache.maven:maven - artifact: pot: 2.0.6: compile

    [DEBUG] org.apache.maven:maven - archiver: pot: 2.2: compile

    [DEBUG] org.codehaus.plexus:plexus - archiver: jar: 1.0 - alpha-7: compile

    [DEBUG] org.codehaus.plexus:plexus - utils:jar:1.5.7: compile

    [DEBUG] org.apache.maven.shared:maven - filtering: jar: 1.0 - beta-2: compile

    [DEBUG] org.apache.maven:maven - monitor: pot: 2.0.6: compile

    [DEBUG] org.codehaus.plexus:plexus - interpolation: pot: 1.6: compiles

    [DEBUG] org.codehaus.plexus:plexus - compiler-api: jar: 1.8.1: compile

    [DEBUG] log4j:log4j:jar:1.2.17:runtime

    [DEBUG] commons-io: commons-io: pot: 2.4: compile

    [DEBUG] commons-lang: commons-lang: pot: 2.5: compile

    [DEBUG] com.vmware.o11n:o11n - util:jar:6.0.2: compile

    [DEBUG] org.bouncycastle:bcprov - jdk15on:jar:1.50: compile

    [DEBUG] org.bouncycastle:bcpkix - jdk15on:jar:1.50: compile

    [DEBUG] com.rubiconproject.oss:jchronic:jar:0.2.6: compile

    [DEBUG] net.sf.ehcache:ehcache - core: jar: 2.6.2: compile

    [DEBUG] ognl:ognl:jar:2.6.9: compile

    [DEBUG] org.codehaus.woodstox:stax2 - api: jar: 3.0.1: compile

    [DEBUG] stax:stax - api: jar: 1.0.1: compile

    [DEBUG] org.codehaus.woodstox:woodstox - core - asl:jar:4.0.5: compile

    [DEBUG] org.slf4j:slf4j - api: jar: 1.6.6: compile

    [DEBUG] org.slf4j:slf4j - log4j12:jar:1.6.6: compile

    [DEBUG] Commons-codec: commons-codec: pot: 1.8: compile

    [DEBUG] org.apache.httpcomponents:httpclient:jar:4.3.5: compile

    [DEBUG] Commons-Logging: commons-logging: pot: 1.1.1: compile

    [DEBUG] org.apache.httpcomponents:httpcore:jar:4.3.2: compile

    [DEBUG] com.vmware.o11n:o11n - model: pot: 6.0.2: compile

    [DEBUG] com.vmware.o11n:o11n - security: pot: 6.0.2: compile

    [DEBUG] org.springframework:spring - context: pot: 4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - aop:jar:4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - expression: pot: 4.0.2.RELEASE: compile

    Org.springframework.Security:spring [DEBUG] - security-core: jar: 3.2.3.RELEASE: compile

    [DEBUG] aopalliance:aopalliance:jar:1.0: compile

    [DEBUG] antlr:antlr:jar:2.7.6: compile

    [DEBUG] org.springframework:spring - web: pot: 4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - beans: pot: 4.0.2.RELEASE: compile

    [DEBUG] org.springframework:spring - core: jar: 4.0.2.RELEASE: compile

    [DEBUG] org.apache.geronimo.specs:geronimo - jms_1.1_spec:jar:1.1: compile

    [DEBUG] com.vmware.o11n:o11n - modelejb-client: pot: 6.0.2: compile

    [DEBUG] com.vmware.o11n:o11n - scriptingmodel:jar:6.0.2: compile

    [DEBUG] org.mozilla:rhino:jar:1.7R4: compile

    [DEBUG] commons-collections: commons-collections: pot: 3.2.1: compile

    [DEBUG] com.vmware.o11n:o11n - j2eeutil:jar:6.0.2: compile

    [DEBUG] com.vmware.o11n:o11n - sdkapi:jar:6.0.2: compile

    [DEBUG] org.hornetq:hornetq - jms-client: pot: 2.2.5.Final:runtime

    [DEBUG] org.hornetq:hornetq - client-core: jar: 2.2.5.Final:runtime

    [DEBUG] org.jboss.netty:netty:jar:3.2.5.Final:runtime

    [DEBUG] Created the new plugin of Kingdom of class > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2

    [DEBUG] Importation of foreign packages in the Kingdom plugin class > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2

    [DEBUG]  Imported: < project > test: o11nplugin-test-package: 1.0.0 - SNAPSHOT

    [DEBUG] Filling of class Kingdom plugin > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2

    [DEBUG]  Included: com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:jar:6.0.2

    [DEBUG]  Included: com.vmware.o11n.tool:o11ntool - inner: jar: 6.0.2

    [DEBUG]  Included: dom4j:dom4j:jar:1.6.1

    [DEBUG]  Included: xml - apis: xml - apis: jar: 1.0.b2

    [DEBUG]  Included: org.apache.maven:maven - archiver: jar: 2.2

    [DEBUG]  Included: org.codehaus.plexus:plexus - archiver: jar: 1.0 - alpha-7

    [DEBUG]  Included: org.codehaus.plexus:plexus - utils:jar:1.5.7

    [DEBUG]  Included: org.apache.maven.shared:maven - filtering: jar: 1.0 - beta-2

    [DEBUG]  Included: org.codehaus.plexus:plexus - interpolation: jar: 1.6

    [DEBUG]  Included: org.codehaus.plexus:plexus - compiler-api: jar: 1.8.1

    [DEBUG]  Included: log4j:log4j:jar:1.2.17

    [DEBUG]  Included: commons-io: commons-io: jar: 2.4

    [DEBUG]  Included: commons-lang: commons-lang: jar: 2.5

    [DEBUG]  Included: com.vmware.o11n:o11n - util:jar:6.0.2

    [DEBUG]  Included: org.bouncycastle:bcprov - jdk15on:jar:1.50

    [DEBUG]  Included: org.bouncycastle:bcpkix - jdk15on:jar:1.50

    [DEBUG]  Included: com.rubiconproject.oss:jchronic:jar:0.2.6

    [DEBUG]  Included: net.sf.ehcache:ehcache - base: jar: 2.6.2

    [DEBUG]  Included: ognl:ognl:jar:2.6.9

    [DEBUG]  Included: org.codehaus.woodstox:stax2 - api: jar: 3.0.1

    [DEBUG]  Included: stax:stax - api: jar: 1.0.1

    [DEBUG]  Included: org.codehaus.woodstox:woodstox - core - asl:jar:4.0.5

    [DEBUG]  Included: org.slf4j:slf4j - api: jar: 1.6.6

    [DEBUG]  Included: org.slf4j:slf4j - log4j12:jar:1.6.6

    [DEBUG]  Included: Commons-codec: commons-codec: jar: 1.8

    [DEBUG]  Included: org.apache.httpcomponents:httpclient:jar:4.3.5

    [DEBUG]  Included: Commons-Logging: commons-logging: jar: 1.1.1

    [DEBUG]  Included: org.apache.httpcomponents:httpcore:jar:4.3.2

    [DEBUG]  Included: com.vmware.o11n:o11n - model: jar: 6.0.2

    [DEBUG]  Included: com.vmware.o11n:o11n - security: jar: 6.0.2

    [DEBUG]  Included: org.springframework:spring - context: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - aop:jar:4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - expression: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework.security:spring - security-core: jar: 3.2.3.RELEASE

    [DEBUG]  Included: aopalliance:aopalliance:jar:1.0

    [DEBUG]  Included: antlr:antlr:jar:2.7.6

    [DEBUG]  Included: org.springframework:spring - web: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - beans: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.springframework:spring - base: pot: 4.0.2.RELEASE

    [DEBUG]  Included: org.apache.geronimo.specs:geronimo - jms_1.1_spec:jar:1.1

    [DEBUG]  Included: com.vmware.o11n:o11n - modelejb-client: jar: 6.0.2

    [DEBUG]  Included: com.vmware.o11n:o11n - scriptingmodel:jar:6.0.2

    [DEBUG]  Included: org.mozilla:rhino:jar:1.7R4

    [DEBUG]  Included: commons-collections: commons-collections: jar: 3.2.1

    [DEBUG]  Included: com.vmware.o11n:o11n - j2eeutil:jar:6.0.2

    [DEBUG]  Included: com.vmware.o11n:o11n - sdkapi:jar:6.0.2

    [DEBUG]  Included: org.hornetq:hornetq - jms-client: pot: 2.2.5.Final

    [DEBUG]  Included: org.hornetq:hornetq - basic-client: pot: 2.2.5.Final

    [DEBUG]  Included: org.jboss.netty:netty:jar:3.2.5.Final

    [DEBUG]  Excluded: org.apache.maven:maven - plugin-api: jar: 2.0

    [DEBUG]  Excluded: org.apache.maven:maven - project: jar: 2.0.6

    [DEBUG]  Excluded: org.apache.maven:maven - settings: jar: 2.0.6

    [DEBUG]  Excluded: org.apache.maven:maven - view profile: jar: 2.0.6

    [DEBUG]  Excluded: org.apache.maven:maven - model: jar: 2.0.6

    [DEBUG]  Excluded: org.apache.maven:maven - artifact-Manager: jar: 2.0.6

    [DEBUG]  Excluded: org.apache.maven:maven - repository - metadata:jar:2.0.6

    [DEBUG]  Excluded: org.apache.maven:maven - plugin-registry: jar: 2.0.6

    [DEBUG]  Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1

    [DEBUG]  Excluded: junit:junit:jar:4.11

    [DEBUG]  Excluded: org.hamcrest:hamcrest - core: jar: 1.3

    [DEBUG]  Excluded: classworlds:classworlds:jar:1.1 - alpha-2

    [DEBUG]  Excluded: org.apache.maven:maven - artifact: jar: 2.0.6

    [DEBUG]  Excluded: org.apache.maven:maven - monitor: jar: 2.0.6

    [DEBUG] Configuration of mojo com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2:import - Kingdom ClassRealm plugin package [plugin > com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2, parent: sun.misc.Launcher$AppClassLoader@6d6f6e28]

    [DEBUG] Mojo configuration ' com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2:import - package "with base-> Configurator

    [DEBUG]  (f) allPackages = false

    [DEBUG]  (f) exportHistory = true

    [DEBUG]  (f) ignoreServerCertificate = true

    [DEBUG]  (f) packageName = org.company.mypackage

    [DEBUG]  (f) project = MavenProject: test: o11nplugin-test-package: 1.0.0 - SNAPSHOT @ /Users/tperry/development/java/test/o11nplugin-test-package/pom.xml

    [DEBUG]  (f) projectName = o11nplugin-test-package

    ServerUrl [DEBUG] (f) = vcoadmin: [email protected] : 8281

    [DEBUG]  (f) targetDirectory = / Users/tperry/development/java/test/o11nplugin-test-package

    [DEBUG] - configuration - end

    o11nplugin-test-package

    true

    [DEBUG] Connection to server VMO: xxx.xx.com:8281

    [DEBUG] Create Session

    log4j: WARN no appenders could be found for logger (org.apache.http.impl.conn.BasicClientConnectionManager).

    log4j: WARN Please initialize log4j correctly system.

    log4j: WARN see http://logging.Apache.org/log4j/1.2/FAQ.html#noconfig for more information.

    [DEBUG] Converter re record type: Array

    [DEBUG] Session created

    [DEBUG] Connected!

    [DEBUG] VMO server connection: success!

    org.Company.MyPackage

    [DEBUG] Disconnect from the server

    [INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time: 1,212 s

    [INFO] Finished in: 2015-06 - 23 T 15: 40:35 - 04:00

    [INFO] Final thesis: 13 M / 306 M

    [INFO] ------------------------------------------------------------------------

    [ERROR] cannot run the purpose com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2:import - package (by default-cli) on the o11nplugin-test-package project: could not import the package [org.company.mypackage] Server ' [vcoadmin:[email protected]: 8281]': could not access HTTP calling remote service to [https://xxx.xx.com:8281/vco/webremoting/vcofactory.service]; nested exception is org.apache.http.NoHttpResponseException: did not make a successful HTTP response: status code = 500, the status message assistance [Internal Server Error]-> [1]

    org.apache.maven.lifecycle.LifecycleExecutionException: cannot run the purpose com.vmware.o11n.mojo.pkg:maven - o11n-package - plugin:6.0.2:import - package (by default-cli) on the o11nplugin-test-package project: could not import the package [org.company.mypackage] Server ' [vcoadmin:[email protected]: 8281]'

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)

    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)

    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)

    at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

    Caused by: org.apache.maven.plugin.MojoExecutionException: could not import the package [org.company.mypackage] Server ' [vcoadmin:[email protected]: 8281]'

    at com.vmware.o11n.mojo.pkg.ImportPackageMojo.importSinglePackage(ImportPackageMojo.java:194)

    at com.vmware.o11n.mojo.pkg.ImportPackageMojo.execute(ImportPackageMojo.java:144)

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

    ... 19 more

    Caused by: org.springframework.remoting.RemoteAccessException: could not access HTTP calling remote service to [https://xxx.xx.com:8281/vco/webremoting/vcofactory.service]; nested exception is org.apache.http.NoHttpResponseException: did not make a successful HTTP response: status code = 500, the status message = [Internal Server Error]

    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:216)

    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:147)

    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)

    to com.sun.proxy. $Proxy22.invokeOperation (unknown Source)

    at com.vmware.o11n.model.support.proxy.RemoteHttpVSOFactoryInvocationHandler.doInvoke(RemoteHttpVSOFactoryInvocationHandler.java:186)

    at com.vmware.o11n.model.support.proxy.RemoteHttpVSOFactoryInvocationHandler.invoke(RemoteHttpVSOFactoryInvocationHandler.java:138)

    to com.sun.proxy. $Proxy23.getPackageContent (unknown Source)

    at ch.dunes.model.client.VSOFactoryClient.getPackageContent(VSOFactoryClient.java:2170)

    at ch.dunes.model.pkg.Package.loadContent(Package.java:234)

    at ch.dunes.model.pkg.impexp.LocalPackageFileManager.writePackage(LocalPackageFileManager.java:148)

    at com.vmware.o11n.mojo.pkg.ImportPackageMojo.importSinglePackage(ImportPackageMojo.java:189)

    ... more than 22

    Caused by: org.apache.http.NoHttpResponseException: did not make a successful HTTP response: status code = 500, the status message = [Internal Server Error]

    at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.validateResponse(HttpComponentsHttpInvokerRequestExecutor.java:232)

    at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(HttpComponentsHttpInvokerRequestExecutor.java:148)

    at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:138)

    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:194)

    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:176)

    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144)

    ... 32 more

    [ERROR]

    [ERROR]

    [ERROR] For more information about errors and possible solutions, please read the following articles:

    [ERROR] [help 1] http://cwiki.Apache.org/Confluence/display/Maven/MojoExecution

    I was on the same track here and after the explosion the war vco.war, adding in the slf4j-simple - file 1.6.6.jar in the directory WEB-INF/lib and re-Jouffroy, and restart the tomcat server, things work.  This looks like a BUG in the version 6.0.2 of vco, where they forgot to add in the file slf4j-simple - 1.6.6.jar.

    Thank you

    Tim

  • Basic operations with vCO

    Hi all

    Our team of db generates a txt file and I have this zip file and send a few ftp site... This recurring transaction and I repeat every day.

    I need a workflow to move the file, copy the file, zip file, and send to the ftp site...
    Is possible this operation with vco...

    Thank you

    I see quite a few ways that you can do with vCO.  In my environment, we use vCO installed on windows hosts.  Windows hosts where is installed the vCO slightly contain other software we have created wrappers around workflow.  Among the software we have created wrappers of vco for various windows of the cli-based the eggs/ovf VMwares management tools, commands Windows AD, etc..  You can very easily run local commands that could be batch, or powershell scripts that you created.  We wrap also tricks of powershell.  If you have the device or a linux-based install of course you will need to shell script or whatever you prefer in this environment.

    There is also the ssh plugin we use pretty heavily in our environment for various tasks.  I have a general purpose host script to make calls to various utils, we have developed in-house and based on linux cli for a few different packaging products.

    There is also another great utility which is posted here as a bunch of comments script manager to run scripts on a virtual machine.  We use this a little utility for new deployments and other configuration after commissioning management tasks.

    You will also find this vCO has capabilities of management very simple file so if you just need to move files or open one up a process you can do if the text or xml.

    I hope this helps. Don't forget there are also REST and SOAP plugin to take advantage of all the products that have one of these APIs.

    Paul

  • Help plugin VCO on inventory

    Hello

    I'm working on the creation of a plugin for our product. Until recently I had filled in vCO client inventory based on my factory/warehouse class but I do not know what changes triggers a behavior where I see only the first level of the tree inventory.

    I checked my finders, vso.xml and all methods, but may not know what the problem is. I even wrote an example of class Java to check the class factory and o/p method. They all seem to be fine.

    Where can I start this diagnosis?

    Kind regards

    AA

    Figured it out... I had a change in virtual machines for my service. I needed to update my SSL certificate. Once I imported the cert, it works now.

  • Invoke the workflow via PowerShell vCO fails after 5.5.2 set at level

    Hello

    After upgrading to 5.5.2 vCO I have problems to run PowerShell workflows using REST. I read there are a lot of changes on the REST API vCO on this new version, so I think the upgrade has something to do with the problem.

    $username = ' XXXXXX

    $upassword = "XXXXXX".

    #create headers for appeal REST vCO

    $auth = $username + ':' + $upassword

    $Encoded = [System.Text.Encoding]: UTF8. GetBytes ($auth)

    $EncodedPassword = [System.Convert]: ToBase64String ($Encoded)

    $headers = @{' authorization '=' basic $($EncodedPassword) ' ;}}

    $value = 'nothing. '

    ' $body = ' <-xmlns = execution context " http://www.VMware.com/VCO "> "

    < Parameters >

    < name of the parameter = "arg_in_0" type = "string" >

    < string > "+ $value + < / string >".

    < / parameter >

    < / Parameter >

    < / execution context > '

    $ret = WebRequest call - uri https://vcoserver:8281/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4/executions / -Headers $headers - body $body - ContentType "application/xml" - Post method

    I get the following error:

    Invoke WebRequest: HTTP 401 - Authentication complete state is required to access this resource

    type of status report

    message full authentication is required to access this resource

    Description this request requires HTTP authentication.

    VMware vFabric tc LIFE 2.9.5.SR1/7.0.50.C.RELEASE

    Thank you

    Juan.

    try changing the url of

    https://vcoserver:8281/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4/executions /.

    TO

    https://vcoserver:8281/vco/api/stream/0049f373-8dc4-4c1b-ae67-15e7bc106fa4 / executions /.

    vCO has moved in a context of /vco/

    Avoid any new REST API.

    I also notice that in provides script it is missing from the quote for a username

    > $username = ' XXXXXX

  • Import an element of configuration via REST API vCO

    Hello, I try to import a configuration item via the REST API of the vCO (5.5.1 device), documented here: http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.vsphere.vco_develop_web_services.doc%2FGUID-75E0F269-3D26-418E-8597-E9FC9E67C608.html

    The doc says thyou must add the request headers to set the properties of the element of the configuration that you want to import, but gives no details.  I tried a few variations but each mistake to return 400 (bad request).  For the purposes of this post, I use vCO as the customer STAYS that way.  I think it can be a problem of chickens and eggs, you have probably set a relationship category (folder) to the imported configuration item configuration item - do not know how to do this, but how otherwise he would know where to store the imported configuration item?

    Here is what I tried:

    // I have pre-defined a REST host on the vCO server that points to itself (var restHost)
    // restHost.url is https://<vco IP>:8281/vco/api
    
    var reqString = restHost.url + "/configurations/";
    System.log("Request Query: " + reqString);
    
    // Got the following content from a REST query to export a config element - this is a vanilla config element
    var xmlContent = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" standalone=\"yes\"?>\n<config-element " +
    // I've tried both omitting and including the id
    //"id=\"CB808080808080808080808080808080038A808001334613384319bad96d0cacb\" +
    "version=\"0.0.0\" >\n" +
    "<display-name><![CDATA[test_element]]></display-name>\n<atts>\n" +
    "</atts>\n</config-element>\n";
    
    var req = restHost.createRequest("POST", reqString);
    req.contentType = "application/vcoobject+xml;charset=UTF-8";
    req.setHeader("contentAsString", xmlContent);
    var response = req.execute();
    System.log("Response: " + response.toSource());
    
    
    

    httpResponse:HTTP / 1.1 400 Bad Request

    Documentation for VMware:

    Make a POST request to the URL of the configuration item objects:

    POST http://{vcoHost}:{port}/vco/api/configurations/

    If the POST request is successful, you receive the 202 status code.

    Not sure if the REST plugin vCO supports several content directly part.

    Do you need to import configuration programmatically items? If this is not the case, the simplest way would be to import the terminal using curl or shell script. Something like the following command:

    curl -i -v -k -u user:password -X POST https://10.23.12.20:8281/vco/api/configurations -F categoryId=8a978c4b46aa6b9a0146aa6d116d0008 -F file=@d:/downloads/abcconfig.vsoconf
    

    where:

    user: password - your credentials of the vCO

    10.23.12.20 - your vCO server address/IP

    8a978c4b46aa6b9a0146aa6d116d0008 - ID of the category of configuration items

    d:/downloads/abcconfig.vsoconf - path to the file containing configuration items to import

  • The upgrade to vCenter Server 5.5 U1 beat vCO AD Plugin

    Hey guys,.

    I've recently updated vCenter Server (under Windows) to 5.5 U1, and so vCO has been upgraded to the latest version as well. It seems that the AD plugin has been upgraded to 1.0.4 - 763 and now can not be configured correctly. The vCO newspapers give the following:

    2014-05-12 12:11:14.141 - 0400 [WorkflowExecutorPool-thread-1] ERROR {[email protected]: Configure Active Directory server: 8a6abc61-9f1e-4b75-84e3-5f7ed902af57:1d74889645f12cdf0145f133c1e20009} [MSPluginFactory] condition of credentials are corrupted.

    java.lang.RuntimeException: org.bouncycastle.crypto.InvalidCipherTextException: block corrupted buffer

    at ch.dunes.util.PasswordEncryptor.decrypt(PasswordEncryptor.java:76)

    at ch.dunes.util.EncryptHelper.newDecrypt(EncryptHelper.java:61)

    Furthermore, when I try to set up an advertising server by using the plug-in, I have the following problem, showing me one of the configuration objects is null - 'ConfigurationManager '.

    2014-05-12 12:11:14.251 - 0400 [WorkflowExecutorPool-thread-1] WARN {[email protected]: Configure Active Directory server: 8a6abc61-9f1e-4b75-84e3-5f7ed902af57:1d74889645f12cdf0145f133c1e20009} Script Runtime error [WorkflowItemTaskRunner] on the workflow: Server Configure Active Directory / 'Configuration' (item1) update: ReferenceError: 'ConfigurationManager' is not defined. (Workflow: Configure the Active Directory Server / update of Configuration (item1) #10)

    2014-05-12 12:11:14.351 - 0400 [WorkflowExecutorPool-thread-1] ERROR {[email protected]: configures Active Directory server: 8a6abc61-9f1e-4b75-84e3-5f7ed902af57:1d74889645f12cdf0145f133c1e20009} [SCRIPTING_LOG] [Server Configure Active Directory (12/05/14 12:11:12)] ReferenceError: 'ConfigurationManager' is not defined. (Workflow: Configure the Active Directory Server / update of Configuration (item1) #10)-null

    We do not use LDAPS, LDAP standard, so I don't see why we would receive an exception of encryption, and the 'ConfigurationManager' null configuration object is interesting.

    Is it possible to reset the configuration of the plugin, re-establish a connection, and try again? I prefer not to reinstall this vCO, as we have done a lot of configuration.

    Uninstalling and reinstalling the 1.0.4 plugin does not seem to solve the problem. I should come back 1.0.3 or can it?

    Thanks for all your help.

    Thank you, Christophe, who complained of being 'ConfigurationManager' being missing (according to the first message in this thread). That said...

    Rename/Delete the

    C:\Program Files\VMware\Infrastructure\Orchestrator\app-server\conf\plugins\AD.xml and

    C:\Program Files\VMware\Infrastructure\Orchestrator\app-server\server\vmo\conf\plugins\AD.xml

    and re - configure the plugin (1.0.3 in this case) AD, seems to have allowed the AD connection is restored. At that time, we were see errors in the vCO related to plugin configuration of the client (it seems that all the old cruft of 1.0.4 has not been completely cleaned), so I upgraded the plugin from 1.0.3 to 1.0.4.

    I can now browse through the structure of the AD in vCO as expected. A terrifying upgrade, plugin-breaking!

  • Build packages of vCO with the Plugin o11n-package

    I began using the maven-011n-package-plugin, found in the Maven Repo to edge of the vCO device or such that got by the vCO Client of-> package-> Expand to folder feature.  First of all, it is a very useful tool, however, the docs are very minimal.  And I have two questions

    (1) is REQUIRED when I build a package (from the native XML) I digitally sign it?

    (2) is there a version of the functionality built into this Maven plugin library?  Where can I get the source?  I was wondering if I can do this without involving the maven; We use gradle.

    I think that the signature is required and package build fails if you don't specify a password and the location of the keystore.

    As for your second question - there is no library, but there is a command line tool that package exim. It can be found in the Maven repo, / com/vmware/o11n/tool/vco-cli-Java /.

    Here is the list of commands it supports + examples.

    On Maven vs Gradle - currently, our tooling is concentrated around Maven. I'll see if we can also provide a Gradle plugin.

    -----------------------------

    vCO Package Exim command line tool

    Description:

    Tool command line that offers the package vCO basic import and export transactions. As source or target, it may have the .package file directory.

    Use:

    Java - jar PackageToolCli.jar

    Controls:

    Here are the basic commands indicating the tool the operation to perform.

    fi - importing files

    Imports the package to vCO .package file.

    Fe - exporting files

    Exports the package vCO .package file.

    di - import directory

    The package is important to vCO of directory tree.

    Ed - directory export

    Exports the vCO to the directory tree package.

    FD - file in the directory

    Create the directory tree .package file.

    Parameters of the command:

    The direct parameters that relate to the specific command. Source or destination files or directories.

    FI

    -Name of the .package file to import.

    fe []

    -Name of the package to export.

    -Directory to export. If this isn't a directory specified, current is assumed.

    di

    -Directory from which to import.

    de []

    -Name of the package to export.

    -Directory to export. If this isn't a directory specified, current is assumed.

    FD

    -Directory to build the .package file.

    Java settings:

    Additional settings that may be needed by the system, in order to execute specific commands.

    -DserverUrl =

    URL and connection of the vCO server against which will be take place imports or exports.

    -DallowedMask =

    Attributes of the package.

    v components can be found

    e editable elements

    f elements can be transferred in other packaging

    -DkeystoreFileLocation =

    Path to the .vmokeystore file that contains the certificate of development

    -DkeystorePassword =

    Password of the .vmokeystore file

    -DexportVersionHistory =

    Export version history

    -Dincludes =

    ';' - separate the list of models showing what are the items to include.

    -Dexcludes =

    ';' - separate the list of models showing the items to be excluded.

    Examples:

    Export com.vmware.test.TestPackage package as a package in the current folder file.

    -DserverUrl=username:password@myserver:8281 java-jar PackageToolCli.jar fe com.vmware.test.TestPackage

    Export the package com.vmware.test.TestPackage as a directory of the current folder structure.

    -DserverUrl=username:password@myserver:8281 java-jar com.vmware.test.TestPackage PackageToolCli.jar

    Import com.vmware.test.TestPackage.package file package vCO server.

    -DserverUrl=username:password@myserver:8281 java-jar PackageToolCli.jar fi com.vmware.test.TestImpex.package

    (Note: the next two commands require a development certificate in order to accomplish)

    Build the .package file in directory structure.

    Java-DserverUrl=username:password@myserver:8281-DkeystoreFileLocation=/path/to/my_cerificate.vmokeystore

    -DkeystorePassword = mypassword-jar PackageToolCli.jar fd com.vmware.test.TestPackage

    Import the directory structure com.vmware.test.TestPackage package to the server vCO.

    Java-DserverUrl=username:password@myserver:8281-DkeystoreFileLocation=/path/to/my_cerificate.vmokeystore

    -DkeystorePassword = mypassword-jar PackageToolCli.jar di com.vmware.test.TestPackage

    The last two commands is also in charge of the allowedMask, the exportVersionHistory and includes / excludes java settings, which offer more control to content and access attributes of the package.

    -DallowedMask = vf

    Creates a package that cannot be edited.

    -DexportVersionHistory = true

    Keeps a history of local versions of objects vCO developed between exports and imports.

    -Dincludes = "" * / Test Package/**/*.element_info.xml;**/Test Samples/**/*.element_info.xml;**/testPackage/**/*.element_info.xml ""

    Includes only the objects that have '. '. element_info.xml"descriptor (which is specific for parcels exported as trees of directories), the folders in the library of tests and samples (for workflows) or testPackage (for actions).

  • vCO Plugin Version Control System Support

    I read in some places that there is support for maven vCO to manage workflows (and other stuff of package) in a build and version control for the side dev.  In the Orchestrator Release Notes, there is a bulleted list item:

    • The version control system support
      Client vCenter Orchestrator offers the possibility to export existing packages directly to a folder. Once workflow packages are exported, they can be easily integrated with a version control system and the content can be easily worked within the team.

    And in this forum thread, I read that there is even a maven plugin to serialize an XML file and the binary .package...

    Version control for the workflows of vCO and packages

    The problem is that I can't find a lot of documentation of all this stuff of Maven.  I found the following link talking about the maven repo, which comes with the vCO.  However, I use the vCO comes with the vCAC device, and that the link does not work against my camera vCAC.

    Creating Plug-Ins using Maven

    (1) where the docs on the maven stuff?

    (2) where the maven repo in the context of the Oct in the context of device vCAC?

    Thank you!

    I think we are talking about different things:

    Versioning of workflows (and other 'content' vCO) vs vCO developing a Plugin.

    Of course, you must first included in your Plugin development process, too.

    Maven integration mentioned in the development of Plugin release notes targets vCO, it is available in the 5.5.1 'stand-alone' device, but NOT YET in the 5.5.1 version that is part of the vCAC.

    As Christopher mentioned, go to the 'Develop with vCO' link on the homepage of the device to see the commands to use for developing a plugin maven archetypes.

    If you are not interested in the development of a plugin for vCO, but 'just' for version control workflows, it is not of interest.

    See you soon,.

    Joerg

Maybe you are looking for

  • Time, battery, wifi, its etc in menu bar flickering after click

    After running updates of security for 10.9.5 yesterday, OS specific menu items flicker after you have clicked on each of them (put on with the button wifi, bluetooth, timemachine, volume level, battery and time.) Projector works fine and notification

  • How to disable double-sided printing on HP jet Office 6700

    I just bought a HP officejet 6700 premium for my iMac computer. I also installed Microsoft for my iMac. I don't want the duplex printer forever. I tried going to system preferences / printers, etc. and it directs me to the Web site of the printer. Fr

  • OLD library heavy iPhoto to time photo capsule

    Hello I have 2 iPhoto library on my time capsule. I've now updated to OS X El Capitan. How can I transform or reopened my iPhoto Library to my time capsule. Before is was easy with ALT. But now, when he wanted to transform my Photo library is blocked

  • Windows media player only works, como lo various

    intento produce a file of musica y no me responde, me error UN da. appears y desaparece in a Flash.

  • [HP dv5-1000us] Rolls of screen, loose connection?

    I recently bought a dv5-1000us. Since a few days after the purchase of the laptop, the screen started rolling as it is a loose connection or there is a problem with the screen. I tried to connect the laptop to my tv and different monitors and the scr