System.exit(1);
}
try {
URL managerUrl = new URL(Args[0]);
XmlRpcResourceManagerClient client = new XmlRpcResourceManagerClient(
managerUrl);
Job hw1 = new Job("JobOne", "HelloWorldJob",
"org.apache.oodt.cas.resource.examples.HelloWorldJob",
"org.apache.oodt.cas.resource.structs.NameValueJobInput", "quick",
new Integer(1));
NameValueJobInput hw1Input = new NameValueJobInput();
hw1Input.setNameValuePair("user.name", "Dave");
client.submitJob(hw1, hw1Input);
} catch (Exception e) {
e.printStackTrace();
}