1 Reply Latest reply: Jul 19, 2007 6:13 AM by (mike123) RSS

    Creating Task Manager Object

      I am working on a customized interface for LC WF, I have reached a point where I wish to retrieve the task xml data, I have already successfully retrieved a list of tasks assigned to specified user, now, I am using the following code to create task manager object in order to retrieve task xml data.

      TaskManagerRemoteHome tm_home = null;
      askManagerRemote tm_remote = null;
      TaskManager taskmanager = null;
      tm_home = (TaskManagerRemoteHome)PortableRemoteObject.narrow(icx.lookup("adobe/TaskManager"), TaskManagerRemoteHome.class);
      tm_remote = tm_home.create();

      I have also tried the following :

      QLCSession session = QLCSessionFactory.createSession("ADOBE");
      Context _user = session.login("administrator", "password"); TaskManager tm = session.getTaskManager(); tm.setContext(_user);

      both codes I took originally from LC WF SDK 7.0.4

      and in both cases I am receiving an error starts with the following ...

      07-03-06 15:47:39,206 INFO [STDOUT] java.lang.reflect.UndeclaredThrowableException
      2007-03-06 15:47:39,206 INFO [STDOUT] at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.j ava:60)

      I have no ideas what causing this, any body have seen this before?
      I have used JNDI to created other objects such as POFObjectManager and it worked ok,

      I am running 7.0.2 LC WF Suite.

      Appreciating your help,


      Yasser M. Maree