bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion
"Eclipse -jBPM5/CR1 - Human Task View" To view the discussion, visit: http://community.jboss.org/message/578519#578519 -------------------------------------------------------------- Following error gets generated while trying to use the refresh button. It perhaps looking for the older drools class instead of using 'org.jbpm.task.service.Command'. Any comments? Caused by: java.lang.ClassNotFoundException: org.drools.task.service.Command at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) ------------------------------------------------------------------------------------------------------------------------------- Here is the test code snippet: import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import org.drools.SystemEventListenerFactory; import org.jbpm.task.service.TaskService; import org.jbpm.task.service.TaskServiceSession; import org.jbpm.task.service.mina.MinaTaskServer; import org.jbpm.task.User; public class TestJBPMHumanTask { @SuppressWarnings("unchecked") public static void main(String[] args) throws InterruptedException { EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task"); TaskService taskService = new TaskService(emf, SystemEventListenerFactory.getSystemEventListener()); TaskServiceSession taskSession = taskService.createSession(); taskSession.addUser(new User("Administrator")); // start server MinaTaskServer server = new MinaTaskServer(taskService); Thread thread = new Thread(server); thread.start(); System.out.println("Server started ..."); Thread.sleep(5000); //taskSession.dispose(); } } -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/578519#578519] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user