Sun N1 Service Provisioning System 5.2 XML Schema Reference Guide

<execJava> Step

The <execJava> step executes a JavaTM executor instance on the target host. If the executor instance raises an exception, the step fails and execution stops.

The <execJava> step has the following optional child elements:

Attributes for the <execJava> Step

The <execJava> element has the following attributes:

When an <execJava> step is contained within a component, the step typically calls classes that are contained within one or more resources that are deployed by that component. When the step is contained within a plan, the classes called are already resident on the agent. The classes can be a system class of the agent itself or a resource that was deployed with an existing component.

execJava assign* Child Elements

The semantics of the <assign*> elements are similar to those of the <assign> step. A check-in error is triggered if the same variable name is specified for the <assignOutput> and <assignError> elements. The output and error streams are truncated in exactly the same way as the database output is currently truncated, that is, by specifying a value for pe.maxOutputSnapshotBytes in the configuration file.

If the variable indicated by varName for the <assign*> elements does not exist in a plan or component local scope or a plan local scope, a check-in error will result.