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 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user