All Posts

A. I would like to be able to access the VC 4.0 Plugin object from a Workflow script that requires no user intervention. I actually would like to get access to all the SdkConnection objects on ... See more...
A. I would like to be able to access the VC 4.0 Plugin object from a Workflow script that requires no user intervention. I actually would like to get access to all the SdkConnection objects on the VC4.0 Plugin as part of a Workflow script that gets called by a server init Policy. B. Alternatively or additionally I would like to gain access to the VC4.0 plugin from within another Java based Plugin. I know there must be a static VC object laying around, but I can't figure out how to get a handle on it. Does anyone have a Worflow script code snippets for part A? And any Java code for part B regards, ~Patrick Don't forget if the answers help, award points
Thanks so much !
Hi Doug and Pablo, The Orchestrator examples were temporarily offline, but they are back on the Orchestrator docs page now. http://www.vmware.com/support/pubs/orchestrator_pubs.html ... See more...
Hi Doug and Pablo, The Orchestrator examples were temporarily offline, but they are back on the Orchestrator docs page now. http://www.vmware.com/support/pubs/orchestrator_pubs.html Thanks, stuart
Setting the log level (log.setLevel(Level.ALL);) in each class object fixed this. The SolarSystem code doesn't appear to be doing this. Don't forget if the answers help, award points ... See more...
Setting the log level (log.setLevel(Level.ALL);) in each class object fixed this. The SolarSystem code doesn't appear to be doing this. Don't forget if the answers help, award points ~P
I didn't copy my dependent jar files to the proper location "app-server/lib" directory in the Orchestrator environment. I had actually copied them to the "app-server/server/vmo/lib" directory.... See more...
I didn't copy my dependent jar files to the proper location "app-server/lib" directory in the Orchestrator environment. I had actually copied them to the "app-server/server/vmo/lib" directory. Copied all dependent jars to both directories and rebooted Orchestrator fixed things. My JMS Client is now happily processing messages. regards, ~Patrick
Is it possible to get Plug-in debugout to appear in Orchestrator logs and what is the proper method if yes? I am following the method described in the SolarSystem sample, but no Plug-in applic... See more...
Is it possible to get Plug-in debugout to appear in Orchestrator logs and what is the proper method if yes? I am following the method described in the SolarSystem sample, but no Plug-in application specific debugout can be found not evern for the SolarSystem sample. regards, ~Patrick Don't forget if the answers help, award points
Workflow has started, in fact I manually launch a vCO workflow that calls the plug-in Java class which initializes the JMS Client. Here is the reference the debug log: "public void ppsb.stageban... See more...
Workflow has started, in fact I manually launch a vCO workflow that calls the plug-in Java class which initializes the JMS Client. Here is the reference the debug log: "public void ppsb.stagebank.MessageClient.initializeMessageClient()" It seems to get called as the JMS client code appears to be getting invoked. Here is the reference that has me believe that: "org/apache/activemq/ActiveMQConnectionFactory (Workflow:Initialize SPT JMS / Initialize JMS Client (item0)#1)" But later it errors and this message has me concerned: "Received change on an object not registered in the factory !" What does the above error message mean? Don't forget if the answers help, award points
The purpose is to define some sort of Singleton object: you can compare the usage to a Java class with only Static members. But your object is instanciated by vCO when you need it. When exa... See more...
The purpose is to define some sort of Singleton object: you can compare the usage to a Java class with only Static members. But your object is instanciated by vCO when you need it. When exactly do you have the message error? Do you have some scripting execution? Or does it happen before any workflow start?
I have no "singleton" scripting objects defined in my "vso.xml" file. Should I have? What the purpose of the "singleton" attribute anyways? The Developers Guide isn't exactly clear. ... See more...
I have no "singleton" scripting objects defined in my "vso.xml" file. Should I have? What the purpose of the "singleton" attribute anyways? The Developers Guide isn't exactly clear. regards, ~Patrick Don't forget if the answers help, award points
Hi, How do you have defined your scripting objects in VSO.xml? Do you use the "Singleton" pattern?
Hey, I have an Orchestrator 4.0 plug-in with a JMS client stack that I am attempting to initialize from within a Orchestrator workflow. The class that supports the JMS stack is getting properl... See more...
Hey, I have an Orchestrator 4.0 plug-in with a JMS client stack that I am attempting to initialize from within a Orchestrator workflow. The class that supports the JMS stack is getting properly created, but I am recieving an error upon initialization. Error log is below. Can anyone on the Orchestrator team take a look at it? regards, ~Patrick INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.653-0700 DEBUG WrappedJavaMethod Calling method : public void ppsb.stagebank.MessageClient.initializeMessageClient() INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.653-0700 ERROR MessageClient destroyMessageClient: null INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.653-0700 DEBUG SCRIPTING_LOG org/apache/activemq/ActiveMQConnectionFactory (Workflow:Initialize SPT JMS / Initialize JMS Client (item0)#1) INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.669-0700 DEBUG WorkflowScriptRunner Execute exception INFO | jvm 1 | 2009/07/08 15:04:38 | org.mozilla.javascript.EvaluatorException: org/apache/activemq/ActiveMQConnectionFactory (Workflow:Initialize SPT JMS / Initialize JMS Client (item0)#1) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:95) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.Context.reportRuntimeError(Context.java:978) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1034) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.vso.sdk.WrappedJavaMethod.call(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3082) INFO | jvm 1 | 2009/07/08 15:04:38 | at script(Workflow:Initialize SPT JMS / Initialize JMS Client (item0):1) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2248) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:158) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:337) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2755) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:169) INFO | jvm 1 | 2009/07/08 15:04:38 | at org.mozilla.javascript.Context.evaluateString(Context.java:1144) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.scripting.server.script.MainScriptingObject.executeScript(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.scripting.server.script.MainScriptingObject.executeScript(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.WorkflowScriptRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.ScriptWorkflowItemRunner.runWorkflowItemTask(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.runner.WorkflowItemTaskRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.runner.WorkflowRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.runner.WorkflowTokenRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.run(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.669-0700 WARN WorkflowItemTaskRunner Script execution error on workflow : Initialize SPT JMS / 'Initialize JMS Client'(item0) : org/apache/activemq/ActiveMQConnectionFactory (Workflow:Initialize SPT JMS / Initialize JMS Client (item0)#1) INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.669-0700 DEBUG WorkflowItemTaskRunner Script execution error stack INFO | jvm 1 | 2009/07/08 15:04:38 | ch.dunes.workflow.engine.mbean.ScriptExecutionException: org/apache/activemq/ActiveMQConnectionFactory (Workflow:Initialize SPT JMS / Initialize JMS Client (item0)#1) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.WorkflowScriptRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.ScriptWorkflowItemRunner.runWorkflowItemTask(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.runner.WorkflowItemTaskRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.runner.WorkflowRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.runner.WorkflowTokenRunner.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.execute(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.run(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.700-0700 DEBUG WorkflowRunner #### No catch exception (root workflow) INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.700-0700 TRACE VSOFactoryBean --updateWorkflowTokenWithContent() called. INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.716-0700 TRACE DunesObjectJMSHelper -- notify dunes model changes : 'edit' on object : 91808080808080808080808080808080808080800124603703214331e2f6fa669 INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.716-0700 DEBUG WorkflowEngine ItemNameStack : '/item0' - Exception : 'org/apache/activemq/ActiveMQConnectionFactory (Workflow:Initialize SPT JMS / Initialize JMS Client (item0)#1)' (91808080808080808080808080808080808080800124603703214331e2f6fa669) - GlobalState : 'failed' INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.716-0700 TRACE LogFactoryBean --Inserting LogEvent ( '2', 'org/apache/activemq/ActiveMQConnectionFactory (Workflow:Initialize SPT JMS / Initialize JMS Client (item0)#1)' - originatorUri:'dunes://service.dunes.ch/WorkflowToken?id='91808080808080808080808080808080808080800124603703214331e2f6fa669'&dunesName='WorkflowToken'' ) INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.716-0700 TRACE SharedVSOFactoryClient JMS Received (edit) : ch.dunes.model.workflow.WorkflowToken@4ce1cd Registered : null INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.716-0700 TRACE SharedVSOFactoryClient Received change on an object not registered in the factory ! INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.731-0700 TRACE VSOFactoryClient JMS Received (edit) : ch.dunes.model.workflow.WorkflowToken@17c6631 Registered : null INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.731-0700 TRACE VSOFactoryClient Received change on an object not registered in the factory ! INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.731-0700 DEBUG WorkflowHandler Workflow 'Initialize SPT JMS' failed. INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.731-0700 DEBUG WorkflowHandler Ending WorkflowHandler (91808080808080808080808080808080808080800124603703214331e2f6fa669) INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.731-0700 DEBUG VSOFactoryClient Disconnect from server INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.731-0700 TRACE VSOFactoryBean --disconnect() called. INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.731-0700 DEBUG VSOFactoryBean --VSOFactoryBean - ejbRemove called and session '1247090677466' INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.747-0700 DEBUG WorkflowHandler MainScriptingObject exited INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.747-0700 DEBUG WorkflowHandler Context exited INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.856-0700 TRACE VSOFactoryBean --getWorkflowForId() called. INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.872-0700 TRACE VSOFactoryBean --getWorkflowTokenContent() called. INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.872-0700 TRACE VSOFactoryBean --getWorkflowForId() called. INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.888-0700 TRACE VSOFactoryBean --getDebugLocation() called. INFO | jvm 1 | 2009/07/08 15:04:38 | 2009-07-08 15:04:38.888-0700 TRACE VSOFactoryBean --getWorkflowForId() called. INFO | jvm 1 | 2009/07/08 15:04:39 | 2009-07-08 15:04:39.091-0700 TRACE VSOFactoryBean --getChildsCountForWorkflowToken() called. INFO | jvm 1 | 2009/07/08 15:04:39 | 2009-07-08 15:04:39.278-0700 DEBUG LocalPublisher Create Publisher on : PolicyLogTopic INFO | jvm 1 | 2009/07/08 15:04:39 | 2009-07-08 15:04:39.278-0700 DEBUG LocalPublisher Message Dispatcher hooked on : PolicyLogTopic INFO | jvm 1 | 2009/07/08 15:04:39 | 2009-07-08 15:04:39.403-0700 TRACE VSOFactoryBean --getWorkflowForId() called. INFO | jvm 1 | 2009/07/08 15:04:39 | 2009-07-08 15:04:39.403-0700 TRACE VSOFactoryBean --getWorkflowForId() called. INFO | jvm 1 | 2009/07/08 15:04:39 | 2009-07-08 15:04:39.419-0700 TRACE VSOFactoryBean --getWorkflowForId() called. Don't forget if the answers help, award points
Sia's the only one who could get really specific about that.
Hi, I am sorry that we are unable to comment on this in a public forum nor without an NDA at the moment. Feel free to PM me if you wouldlike to have more discussion around it. Than... See more...
Hi, I am sorry that we are unable to comment on this in a public forum nor without an NDA at the moment. Feel free to PM me if you wouldlike to have more discussion around it. Thanks, Sia
I don't suppose Carter might know, too? I'll ping my contacts in the UK. Cheers!
DougBaer, Thanks for the feedback, Ill take this up with Sia and team, we have been looking at adding Orchestrator sample code to the Code Central site to help people navigate,,, "spelunking"... See more...
DougBaer, Thanks for the feedback, Ill take this up with Sia and team, we have been looking at adding Orchestrator sample code to the Code Central site to help people navigate,,, "spelunking" ??? thanks Pablo
I have been reading about Orchestrator as I can get information -- and I have read the manuals that come with vSphere. Unfortunately, there is not a lot of meat in them. I think it would help t... See more...
I have been reading about Orchestrator as I can get information -- and I have read the manuals that come with vSphere. Unfortunately, there is not a lot of meat in them. I think it would help to see some examples of what Orchestrator can do, or what VMware wants it to do. Customers ask me about it constantly since VMware is pitching it as a big feature in vSphere, but I can't explain to them why they should care without some kind of example. The slides shown by the sales guys at the vSphere launch events are useless: basically a picture containing flowchart boxes and arrows and the word, "Orchestration" over it all. I am familiar with LCM and the Orchestrator backend. There were rumors of 'many examples' to be included with vCenter 4.0. I was envisioning hooks between Orchestrator and the currently anemic 'Scheduled Tasks' function of vCenter, but I haven't had time to go spelunking through the C:\Program Files\VMware directories yet.
Last VMworld Europe I was impressed by the product. After the presentation several attendees asked about a PowerShell interface to the product. Can someone from the Orchestrator people perhap... See more...
Last VMworld Europe I was impressed by the product. After the presentation several attendees asked about a PowerShell interface to the product. Can someone from the Orchestrator people perhaps give us an update on this ?
Folks - just wanted to welcome our vCenter Orchestrator API developers out there. Please join us, ask questions, share ideas, help us build a robust community. Regards, Pablo ps. We will ha... See more...
Folks - just wanted to welcome our vCenter Orchestrator API developers out there. Please join us, ask questions, share ideas, help us build a robust community. Regards, Pablo ps. We will have an Orchestrator API Session at our VMware Developer Day - August 31st, 2009 @ VMworld