[JBoss Cache: Core Edition] - Re: About Merging States on Merge of two sub groups.
by nachiket_patel
Thanks Manik,
I think Shutting down and restarting will work in our case, as there is only one writer server, which will be initial host, and only one who will write to cache, so server instance of cache will be correct one always. Only disconnected instance (reader) needs to restart itself, not all others.
Which event should be used for this,
viewChanged(ViewChangedEvent newView)??,
How to identify that i am joined back in cluster???
i think i can use getCreator() (returns Address class, but it does not have getIP or getPort kind of methods..)
Regards,
Nachiket
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197110#4197110
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197110
17 years, 6 months
[JBoss jBPM] - Re: Class Cast Exception while the BPEL Process Ends
by dhanushgopinath
Hi,
Inorder to solve this problem, I tried upgrading my jbpm bpel instance to 1.1.1
I ran my process and now it throws a slightly different exception.
17:52:39,153 ERROR [GraphElement] action threw exception: org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory
| java.lang.ClassCastException: org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory
| at org.jbpm.svc.Services.getServiceFactory(Services.java:131)
| at org.jbpm.svc.Services.getService(Services.java:148)
| at org.jbpm.svc.Services.getCurrentService(Services.java:94)
| at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:328)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
Now its looking throwing class cast exception for the class EntitySchedulerServiceFactory.
Can I some how disable it, as I do not need the scheduler service in my application?
If so What should be done so that I can disable it ? Will commenting of the line
<service name="scheduler" factory="org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory" />
in jbpm.cfg.xml suffice ?
Please let me know.
Thanks
Dhanush
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197105#4197105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197105
17 years, 6 months
[JBoss Cache: Core Edition] - About Merging States on Merge of two sub groups.
by nachiket_patel
Hello,
I am getting more familiar with JBoss Cache.
I got very much confused and scared in past 3 to 4 days.
Because of zero knowledge of JBoss Cache as well as JGroups.
And i was trying to avoid JGroup internals initially, lately ended in poor understanding. But now (I feel) i am much clear in basics of PojoCache and JGroups, still don't know much about Core Cache.
Thank you all who helped me, and sorry for putting lots of messages and configuration stacks, i know it's annoying sometimes.
I am writing this stuff because i really appreciated your help, and i want to thank you for that, Finally my fear of JBoss is gone.
Anyways,
What mechanism should be used when i want to copy (or sync to) a particular cache instance (AppInstance 'A') which is initial_host in TCPPING on MERGE. (Because 'B' AppInstance was disconnected from network and come back after Splitting of Cluster) ..
ViewChange event of CacheListener should be used?? or some special ReplicationInterceptor ??
And how to re-sync with 'A'? By stopping and starting Cache? or some other option is available??
Regards,
Nachiket
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197098#4197098
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197098
17 years, 6 months