Package command error in Mediator install.xml

4 views
Skip to first unread message

IO

unread,
Nov 1, 2009, 10:35:26 AM11/1/09
to ControlTier, raphy....@gmail.com
Hi ,

I'm using Control tier 3.4.6

When I call package command I see this error in jetty log and the
command take long time to finish.


[7241205] log.common Dispatching command: 'Install' to objects:
cfserverAutoJboss51[CoreFirstUnixServerService],
contextAgentLinux64AutoJboss51[CoreFirstUnixContextAgentService],
aquaTestAutoJboss51[AquaTestService], apache20WithCoreFirstAutoJboss51
[CoreFirstUnixApacheService], oracle10WithCoreFirstAutoJboss51
[CoreFirstUnixOTEService], coreFirstUnixJbossServiceAutoJboss51
[CoreFirstUnixJbossService], contextAgentAutoJboss51Etna
[CoreFirstUnixContextAgentService]
INFO : Dispatching command: 'Install' to objects: aquaTestAutoJes50
[AquaTestService], apache20WithCoreFirstAutoJes50
[CoreFirstUnixApacheService], contextAgentLinux64AutoJes5
[CoreFirstUnixContextAgentService], oracle10WithCoreFirstAutoJes5
[CoreFirstUnixOTEService], jes50WithCoreFirstSolaris64AutoJes5
[CoreFirstUnixJesService], cfserverAutoJes50
[CoreFirstUnixServerService], contextAgentSolaris64AutoJes5
[CoreFirstSunX86ContextAgentService], contextAgentAutoJes50
[CoreFirstUnixContextAgentService]
WARN : Unable to deploy object: [CI-nightly, AutomationSite,
automationSiteAutoJes50]: Error executing Install for object: No
message
org.opendepo.services.cmdr.CtlIntegrationException: Error executing
Install for object: No message
at org.opendepo.services.cmdr.CtlIntegrationImpl.executeCommand
(CtlIntegrationImpl.java:385)
at org.opendepo.services.cmdr.CtlIntegrationImpl.executeCommand
(CtlIntegrationImpl.java:324)
at org.opendepo.services.cmdr.CtlIntegrationImpl.deployObject
(CtlIntegrationImpl.java:281)
at org.opendepo.services.cmdr.CtlIntegrationImpl.redeployByType
(CtlIntegrationImpl.java:430)
at com.networkgps.mbuilder.Access.redeployIntegrationModule
(Access.java:1251)
at com.networkgps.mbuilder.Access.redeployIntegrationModules
(Access.java:1265)
at com.networkgps.itnav.classes.StageMultipleHandlers.go
(StageMultipleHandlers.java:71)
at com.networkgps.itnav.context.ContextProcessBeanBase.execute
(ContextProcessBeanBase.java:101)
at com.networkgps.itnav.process.ForkedProcessBeanBase.run
(ForkedProcessBeanBase.java:57)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:595)
Caused by: /opt/ctier/ctl/depots/CI-nightly/modules/Mediator/commands/
Install.xml:98: No message
at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:142)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
288)
at sun.reflect.GeneratedMethodAccessor2583.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at
com.controltier.ctl.tasks.controller.ErrorhandlerController.doTasksequence
(ErrorhandlerController.java:194)
at
com.controltier.ctl.tasks.controller.ErrorhandlerController.handleErrorAndContinue
(ErrorhandlerController.java:238)
at
com.controltier.ctl.tasks.controller.TaskContainerStrategy.performSequence
(TaskContainerStrategy.java:172)
at com.controltier.ctl.tasks.controller.TaskContainerStrategy.perform
(TaskContainerStrategy.java:113)
at com.controltier.ctl.tasks.controller.Workflow.execute
(Workflow.java:334)
at com.controltier.ctl.tasks.ApplyMacro.apply(ApplyMacro.java:233)
at com.controltier.ctl.tasks.ApplyMacro.execute(ApplyMacro.java:197)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
288)
at sun.reflect.GeneratedMethodAccessor2583.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at com.idaremedia.antx.starters.TaskSet.performTheTasksList
(TaskSet.java:350)
at
com.idaremedia.antx.starters.ConditionalTaskSet.performTheCheckedTasks
(ConditionalTaskSet.java:125)
at com.idaremedia.antx.starters.ConditionalTaskSet.performNestedTasks
(ConditionalTaskSet.java:107)
at com.idaremedia.antx.starters.TaskSet.execute(TaskSet.java:422)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
288)
at sun.reflect.GeneratedMethodAccessor2583.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at com.idaremedia.antx.starters.TaskSet.performTheTasksList
(TaskSet.java:350)
at
com.idaremedia.antx.starters.ConditionalTaskSet.performTheCheckedTasks
(ConditionalTaskSet.java:125)
at com.idaremedia.antx.starters.ConditionalTaskSet.performNestedTasks
(ConditionalTaskSet.java:107)
at com.idaremedia.antx.starters.TaskSet.execute(TaskSet.java:422)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
288)
at sun.reflect.GeneratedMethodAccessor2583.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:
1340)
at org.apache.tools.ant.Project.executeTarget(Project.java:1309)
at org.opendepo.services.cmdr.CtlIntegrationImpl.executeCommand
(CtlIntegrationImpl.java:369)
... 10 more



What can be the cause ?

Thanks ,

Itai

Greg Schueler

unread,
Nov 3, 2009, 2:52:28 PM11/3/09
to contr...@googlegroups.com, raphy....@gmail.com
Hi Itai,

I believe the error is being caused when one of the Mediator objects you have is executing its Install command.

If you execute the "Install" command via the command-line for the Mediator on its own, does an error occur?

Note; when you use the "Package commands" button on workbench, any objects of that type that are deployed to the server node will automatically have the "Install" command executed for them.  

raphy

unread,
Nov 8, 2009, 10:43:29 AM11/8/09
to ControlTier
Hi Greg

We found that the problem was in the install, and we got into the
install command in the mediator and changed the default so that it
will not distribute the change to all the nodes.

Remember, we are working in a VM based environment and most of our
nodes are not up when we do the package commands. I think that either
this should not be the default or that there will be a visible
parameter to disable this option

Raphy

On Nov 3, 9:52 pm, Greg Schueler <g...@controltier.com> wrote:
> Hi Itai,
>
> I believe the error is being caused when one of the Mediator objects you
> have is executing its Install command.
>
> If you execute the "Install" command via the command-line for the Mediator
> on its own, does an error occur?
>
> Note; when you use the "Package commands" button on workbench, any objects
> of that type that are deployed to the server node will automatically have
> the "Install" command executed for them.
>

Greg Schueler

unread,
Nov 9, 2009, 11:38:31 AM11/9/09
to contr...@googlegroups.com
Hi Raphy,

Yes it sounds like either the Install command or the way it is invoked should be updated so this doesn't happen.

I've added a tracker item for it.  I consider it a bug since it isn't the intended behavior of repackaging a type to have it dispatch a command across the network:

Reply all
Reply to author
Forward
0 new messages