ERROR - org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.context.exe.VariableInstance
Exception in thread "main" org.jbpm.JbpmException: couldn't delete timers for process instance 'org.jbpm.graph.exe.ProcessInstance@314585'
I have a start node where I signal the process and this process was tested to work correctly when It was loaded from the file system. Now this is deployed in a JBoss Server and it causes the above said problem.
any help?
what are the other details I need to send in?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994656#3994656
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994656
Not sure i understand the question right. Your code in appserver1 can do the following:
| Hashtable env = new Hashtable();
| env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
| env.put(Context.PROVIDER_URL,"jnp://theSecondServerName:1099");
| Context remoteCtx = new InitialContext(env);
| remoteCtx.lookup(....);
|
You can even place the address of the second server in the jndi.properties file which accepts a comma separated value for the java.naming.provider.url property
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994653#3994653
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994653