Let's say I am working on a trading application, ask orders against bid orders,
when there is an order match there is a deal.
The point is that I can't take any chance there. If the order is there I don't
want any other cache instance to pull it out. I prefer all the instances to
lock,
Hi JBoss Cache fellows,
I see that pessimistic locking is being deprecated for MVCC scheme, the
question is why ? I do understand that pessimistic lock scheme has very poor
performance but in some case you don't have any other option. Why to deprecate
? Why it can't be left as an option ?
Here is the output of simple concurrency test
Thread: [44] pushing
| Thread: [45] poping
| Thread: [45]
| [null],
| Thread: [45] poping
| Thread: [44]
| [23],
| Thread: [44] pushing
| Thread: [44]
| [23], [23],
| Thread: [45]
| [null],
| Thread: [44] pushing
| Thread:
I am chasing after a strange issue in pojo cache:
There is a Vector that I am using it as a queue
one Thread is pushing things into the tail and
the other poping the head of the Vector.
The Vector is being aspectize with the following
configuration (pojocache-aop.xml):
| ?xml version=1.0
gaohoward wrote :
| Q1:
| JBM doesn't provide connection pooling. You need to pool the connection
yourself or using some 3rd party lib (if any).
|
| Q2:
| Because JBM doesn't pool connections, so there is no place for such
configurations.
|
| Howard
|
Thanks, I think I can
timfox wrote : If you're using a stateless session bean that means you're
running on a server so you can just use JCA pooling.
|
| There are various wiki pages on this.
You mean: to pool JMS stub with JCA it interesting , have you tried it ?
View the original post :
Hi Fellows,
I am trying to gather some information of connection pooling for JMS.
Let's say I have the following architecture:
FrontNode ---Node1 --- Node2
FrontNode gets HTTP trafic and forwards it to Node1, Node2 - cluster over JMS
protocol.
The system works great but the
Hi Brian ,
I found your post here:
http://www.jboss.org/index.html?module=bbop=viewtopict=157684
it solved almost all my problems.
Thanks a lot
Roman
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4258806#4258806
Reply to the post :
Trying to configure a cluster that uses only TCP but without a success, the
ports been assigned correct to the transport but the nodes are not trying to
discover each other, any advice ?.
Here is my configuration:
1) two 5.1 nodes on localhost.
2) run commands:
Hi,
I try to cook load balancing through JMS connection factory here is two
questions to the pros:
1) When I use it from the stand alone it really works, which means it creates
connection to each node in it's turn. The question is when I get the object -
JBossConnectionFactory I see it
I think I am over that issue, the problem was that when I look-up from the
server to ClusterConnectionFactory it actually gives me the local instance and
it doesn't matter what addresses been mentioned in the
java.naming.provider.url.
So I have solved that problem by creating another CF on
Hi,
I am trying to connect from a stand alone program to a 2 nodes cluster started
on binding set ports-02 and ports-03, all the start and node discovery seams to
be ok, but the JNDI lookup fails.
here is the client code:
| Connection connection = null;
| InitialContext
One more thing also seams strange: the fact that I can connect and lookup to
Naming service port, specified in service=Naming but it doesn't supports fail
over.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257700#4257700
Reply to the post :
Hi,
I have tried to run HA-JNDI sample the question is what port to use for
java.naming.provider.url the one that is specified in Naming service usually
1099 or the port that is specified in HAJNDI service usually 1100.
I have tried both options: if I connect to the Naming service port the
Hi,
Basically you are right but I have published it here because I am trying JBM
samples and want to fix it.
Now the problem it self: I have started the all configuration of jboss 5.1 GA
and mbean shows that the service is there and listening, do you think I need to
config something else ?
btw that zip file seams to be corrupted I got the test samples directly from SVN
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4257784#4257784
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4257784
16 matches
Mail list logo