[jboss-user] [JBoss jBPM] - Re: Timer Problem

colsona do-not-reply at jboss.com
Mon Jan 29 13:29:09 EST 2007


Here is the test client method for clarity. 


  | 	public void runTest() throws Exception {
  | 		InitialContext ctx = new InitialContext();
  | 		ctx.addToEnvironment(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
  | 		ctx.addToEnvironment(Context.PROVIDER_URL,serverUrl);
  | 		Object obj = ctx.lookup("ABOMv2/BatchJobQueue/remote");
  | 		BatchJobQueue queue = (BatchJobQueue)obj;
  | 		long processID = queue.createBusinessProcess(new File("C:\\FileTest\\testfile"), new File("C:\\FileTest\\test"));
  | 		queue.signalBusinessProcess(processID);
  | 	}
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007938#4007938

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007938



More information about the jboss-user mailing list