[JBoss Cache: Core Edition] - Far cache problem (3.0.2) tx problems
by rs1050
Hi,
I am using 3.0.2 GA. I have a 'far cache' design. What i observed is:
1. I open JTA tx
2. write to local cache (which is hooked to remote cache via TcpDelegatingCacheLoader)
3. write to DB
4. rollback tx
5. get value from local cache
Result:
1) the far cache is correct, it never gets the value from step 2 which got rolledback
2)the local cache is *incorrect*, for some reason the value from step 2 remains in that cache, and i can get it from step 5.
I observed the same results on both JBoss 4.2.3 and Resin 3.1.8
>From the log files I see that the cache is actually aware of the TX being rolled back:
21:41:43,906 INFO [STDOUT] 21:41:43,906 [http-127.0.0.1-8080-1] DEBUG JtaTransactionManager:processRollback:821 - Initiating transaction rollback
21:41:43,906 INFO [STDOUT] 21:41:43,906 [http-127.0.0.1-8080-1] INFO TMCacheListener:onNodeTransactioncompleted:24 - : EventImpl{type=TRANSACTION_COMPLETED,pre=false, cache=org.jboss.cache.DataContainerImpl [2nodes, 0 locks], modificationType=null, data=null, fqn=null, transaction=TransactionImple < ac, BasicAction: -3f57fe88:11fc:4983ba4b:34 status: ActionStatus.ABORTED >, originLocal=true, targetFqn=null, successful=false, newView=null, buddyGroup=null}
Thank you.
RS.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206034#4206034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206034
15 years, 11 months
[JBoss jBPM] - Multiple, Simultaneous Dynamic Tasks?
by ClayM
Ok, help me out here, how can I tackle this problem?
I'm trying to put a workflow to handle user access requests.
A single request can require multiple approval types, which should happen at the same time.
In addition, each of those types can require an arbitrary number of internal approvals.
Let's see if we can give a reasonable example...
Say you want to create a workflow to request permission to make sandwiches.
You need to permission to make bread, cheese, meat, condiments.
For bread, you need permission to use rye, french, and wheat bread
For cheese, you need permission to use swiss, american and provolone
For meat, you need permission to use turkey, roast beef, and ham
And for condiments, you need permission to use mustard and mayo..
Different people have to approve each ingredient. The combination of ingredients are always different.
How can this be represented in a workflow?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206033#4206033
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206033
15 years, 11 months
Application.xml problem
by Balogh Péter
Hi,
I don't know if it's the right place to ask my question, but I can't
find any reason, why an application.xml could not hold multiple context
roots.
The context-root-uniqueness prevents me from doing it. But after
removing the constraint, it works like a charm with virtual hosts.
Can anyone point me into the right direction, how to avoid this error,
without setting my modified application_5.xsd as xsi:schemaLocation.
Thanks for the help,
Peter Balogh
15 years, 11 months