[jboss-user] [JBoss Cache Users] - Re: Small road map question

2009-12-07 Thread roman.mandel...@gmail.com
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,

[jboss-user] [JBoss Cache Users] - Small road map question

2009-11-23 Thread roman.mandel...@gmail.com
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 ?

[jboss-user] [JBoss Cache Users] - Re: Null element in the Vector

2009-11-22 Thread roman.mandel...@gmail.com
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:

[jboss-user] [JBoss Cache Users] - Null element in the Vector

2009-11-21 Thread roman.mandel...@gmail.com
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

[jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ?

2009-10-26 Thread roman.mandel...@gmail.com
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

[jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ?

2009-10-26 Thread roman.mandel...@gmail.com
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 :

[jboss-user] [JBoss Messaging Users] - Connection pool for ClusteredConnectionFactory, how to ?

2009-10-07 Thread roman.mandel...@gmail.com
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

[jboss-user] [Clustering] - Re: TCPPING configuration

2009-10-06 Thread roman.mandel...@gmail.com
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 :

[jboss-user] [Clustering] - TCPPING configuration

2009-10-04 Thread roman.mandel...@gmail.com
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:

[jboss-user] [JBoss Messaging Users] - ClusteredConnectionFactory

2009-10-02 Thread roman.mandel...@gmail.com
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

[jboss-user] [JBoss Messaging Users] - Re: ClusteredConnectionFactory

2009-10-02 Thread roman.mandel...@gmail.com
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

[jboss-user] [JNDI and Naming] - HA JNDI , failed to connect from stand alone

2009-09-29 Thread roman.mandel...@gmail.com
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

[jboss-user] [JNDI and Naming] - Re: HA JNDI , failed to connect from stand alone

2009-09-29 Thread roman.mandel...@gmail.com
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 :

[jboss-user] [JBoss Messaging Users] - HA JNDI connection

2009-09-29 Thread roman.mandel...@gmail.com
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

[jboss-user] [JBoss Messaging Users] - Re: HA JNDI connection

2009-09-29 Thread roman.mandel...@gmail.com
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 ?

[jboss-user] [JBoss Messaging Users] - Re: HA JNDI connection

2009-09-29 Thread roman.mandel...@gmail.com
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