[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages

2009-08-06 Thread adridi
Bijith,

I saw that Andy closed your Jira saying that fix was done.
I have the same problem like you - Is it working for you with trunk build?

Thought Andy will comment what he fixed but didnt see any explanation.
At my company we're thinking to use the JBoss core API instead of JMS - I see 
benefit on that but not sure how it will evolve in the future.

Thanks,
Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248522#4248522

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248522
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBM2 Cluster detection of duplicated messages and distribute

2009-08-03 Thread adridi
If you have two clients (producers) targeting two different nodes in a JBM2 
cluster config then JBM2 Cluster cashes MessagesID in the “ target Node”; 
node that distributes messages in a RoundRobin way between itself and the 
cluster members, the other nodes of the cluster cash MessageID of what they 
received as well.

Is there a way to setup a distributed cash to enable detection of duplicated 
messages in a cluster config with more than a client targeting different 
cluster nodes?

Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247706#4247706

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247706

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load

2009-07-30 Thread adridi
Thanks Clebert!

I know that Tim is in vacation.
Your suggestion make sense to me.

Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247083#4247083

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247083
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load

2009-07-29 Thread adridi
Clebert,

Did you have a chance to check my Jira?
I believe there's a clustering/failover issue: when some connections attached 
to live server fail, the backup node will kick-off and you will have the pair 
live/backup broadcasting the same node id.

Beside when trying JBM2 with a limited number of queues (like 5) things works 
good and when increasing the number of queues (100ds) the system doesnt behave 
properly.

Any ideas how can I resolve the connection failure issue?

Thanks,
Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246767#4246767

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load

2009-07-29 Thread adridi
I added some detailed information in the Jira.
Please take a look at the jbmTest.jpg picture; it represents the Queues that 
has been deployed in each container.

Please, let me know what I might be doing wrong.

Thanks,
Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246822#4246822

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load

2009-07-29 Thread adridi
Clebert,
In one Node every thing work perfect.
it's the cluster/failover that's failing.
And Yes, you need both nodes.

My test case is all JBM2, but in order to start all consumers/producers  in 
parallel I am using a Java concurrence library JCSP .

you can ignore the latch as it waits for a the total count of messages to be 
consumed or an end messages to stop consuming.

Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4246828#4246828

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246828
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load

2009-07-24 Thread adridi
I tried with the trunk and still have the problem - thought I saw some 
improvement with the trunk build.

I created a Jira: JBMESSAGING-1691

Thanks,
Abdel


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4245929#4245929

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBM2 cluster fails under heavy load

2009-07-23 Thread adridi
I have set a cluster of 2 nodes, each node has it's own backup.
Each pair (Live/backup) is installed in a 64bits Linux box.
Configuration of 4 nodes is the same except backup is set to false in each 
live node.

In each node I have 102 distributed queues; A producer produces message to an 
InBoundQueue in each node and a consumer 
consuming messages from the InBoundQueue and distributes them over the 100 
queues depending on the message content, each queue of the 100 ones 
has a consumer that consumes messages and copy them to a common distributed 
outBoundQueue.
I have a consumer producer per Queue except for the outBound queue where I have 
a pool of 100 producer and 1 consumer

The InBoundQueue producer has a rate of 500msg/s which leads to a 1000msg/s for 
the cluster.

After 30 min of running, I had the following error: 

  | Jul 22, 2009 6:37:11 PM org.jboss.messaging.core.logging.Logger warn
  | WARNING: Connection failure has been detected Did not receive data from 
server (or ping).:3
  | 18:37:42,055 ERROR @Thread-12 (group:JBM-client-global-threads-621631806) 
[SmppQueueListener] Exception in onMessage():
  | javax.jms.JMSException: Timed out waiting for response when sending packet 
43
  | at 
org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.sendBlocking(RemotingConnectionImpl.java:1155)
  | at 
org.jboss.messaging.core.client.impl.ClientSessionImpl.commit(ClientSessionImpl.java:420)
  | at 
org.jboss.messaging.jms.client.JBossMessage.acknowledge(JBossMessage.java:969)
  | at 
com.clairmail.test.happypath.SmppQueueListener.onMessage(SmppQueueListener.java:56)
  | at 
org.jboss.messaging.jms.client.JMSMessageListenerWrapper.onMessage(JMSMessageListenerWrapper.java:97)
  | at 
org.jboss.messaging.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:670)
  | at 
org.jboss.messaging.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:41)
  | at 
org.jboss.messaging.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:787)
  | at 
org.jboss.messaging.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:105)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: MessagingException[errorCode=3 message=Timed out waiting for 
response when sending packet 43]
  | 

then the system failover took over for 5 min or so then all connections were 
destroyed.

I Followed Tim's docs (CH.36 and 37) to set the cluster and the backup nodes.
Do you think it's the network switched that's causing the problem?
Thought I have 1G switch.

Thanks,
Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4245446#4245446

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245446
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 cluster fails under heavy load

2009-07-23 Thread adridi
Thanks Tim and Clebert,

I am using the latest version; JBM2-Beta3.
I will try with a build from the trunk as Clebert suggested, else can I create 
a Jira and attach my code?

Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4245613#4245613

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4245613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Any recommendation how to use JBM2 Producers Pool?

2009-07-15 Thread adridi
Thanks Tim and Andy!
The JCA adapter pool works great for me.

Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243829#4243829

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Circular cache TimeToLive for Duplicated Message detecti

2009-07-14 Thread adridi
Andy,
In my use case, I would like to detect duplicated user messages within user 
session time _window, meaning:
1.  Client AB sends an asynchrone message about user AB to my application 
that willpersisted it to queue 
2.  If my application fails to ACK back in 15 seconds then the same message 
will be sent again.
3.  I use the duplicated message detection that JBM offer and configure the 
id_cache_size.
4.  I build a message ID from (userID and messageBody(10 chars))
5.  More than 15 min later (old session to time out) the same client is 
allowed to send the same user message with the same body.
6.  JBM duplicated message detection will ignore the message as it found 
similar one in the cache.

There’s none common between the same user messages except that it’s sent 
after the old session times out, that’s why I was looking if there’s a way 
to clean the message_detection cache of messagesIDs after a predefined 
time_window.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243587#4243587

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243587

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Circular cache TimeToLive for Duplicated Message detection?

2009-07-13 Thread adridi
I am using JBM2 and would like to use DuplicateMessage detection to prevent 
duplicated message – is there a way to clean messageID from the cache after a 
predefined time-window (session timeout)? This to allow duplication when I 
start a new session in my own application.

Thanks,
Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243413#4243413

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243413

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Any recommendation how to use JBM2 Producers Pool?

2009-07-13 Thread adridi
I have an OutBound Queue accessible from 120 different web application deployed 
on the same Servlet container; each application will be producing messages to 
the OutBound Queue.
I created two test cases to manage this and not sure what will be the 
recommended one:

1.  Each producer has its own resource lookup at application startup – I 
create a connection and producer keep using it to send messages to the queue. 
Connection failure was detected many times as well as “too many open 
files”. 2 sockets were open for each connection.

2.  All producers share the same connection, I was able to go further with 
this solution but down side that I created dependency on my application that 
can be moved to a different JVM where connection cant be shared.

I went thru the JBM2 doc and saw that solution (1) should be avoided but I am 
looking if there are better ways of managing producer’s pool.

Thanks,
Abdel   


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243414#4243414

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243414

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 Cluster config

2009-03-10 Thread adridi
Thanks Clebert!
Please let me know when you checked a working Cluster version thru. the forum 
or maybe your blog.

-Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4216707#4216707

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBM2 Cluster config

2009-03-09 Thread adridi
I checked out JBM2 code from SVN (revision 6038) and did the following:
- Build the code.
- Installed the build to 2 different Linux servers.
- Configured the cluster (I set the tag clustered to true).
- Configured a valid multicast ip address.
- I saw that the rmi.server.hostname was not injected so I added the 
following to run.sh to fix the issue -Djava.rmi.server.hostname=

Then I started both servers - all the examples were working fine in both nodes 
(servers) except the ClusteredQueueExample.

[TextMessage message2 = (TextMessage) messageConsumer.receive(5000);] message2 
was null which means the cluster didnt work for me.

Could you please tell me what I am missing?
I set the logging to DEBUG mode but didnt see significant information about the 
cluster failover


-Abdel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4216287#4216287

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4216287
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Possible bug in Jboss-messaging-2.0.0-alpha1

2009-02-25 Thread adridi
lidgaca,

I had the same issue and resolved it by specifying the rmi server host name in 
bin/run.sh.
open that file and add the following line:
-Djava.rmi.server.hostname=localhost

In the alpha release the problem was fixed by injecting the hostname into the 
naming service from the configuration object.
I talked to Celbert about the problem, I guess they didnt have time to fix it 
yet but you can use this as a workaround.

I have to say that JBM2 team did an amazing job, I was playing with it for a 
while now and I am getting great results, I cant wait to try the cluster - I 
tried the Beta release from the trunk and was not able to make the cluster work 
- I guess I have to wait. 



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213113#4213113

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213113
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Sorting messages as they arrive on the queue.

2009-02-03 Thread adridi
I am happy to see that we will be able to order/sort message in JBM2.

to have an idea, check the following discussion:
http://www.jboss.com/index.html?module=bbop=viewtopict=149624



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4206643#4206643

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4206643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Sorting messages as they arrive on the queue.

2009-01-15 Thread adridi
Can any one help on this?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4202283#4202283

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4202283
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Sorting messages as they arrive on the queue.

2009-01-14 Thread adridi
Hi Clebert,

Is there a general configuration parameters to sort messages in queue, such as 
having a destination key for sorting messages as they arrive on the queue - the 
consumer will start consuming messages when sorted.

I mean a way to configure queues explicitly or by configuring a JMS template to 
define and manage multiple queues sorting with similar attribute settings.

Thanks,
Abdel

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4201913#4201913

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4201913
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Use of EJB 3.0

2006-12-14 Thread adridi
I have the same question.
Steve; did you find an answer to your question - if so can you please let me 
know.
Thank you,
Abdel

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3993928#3993928

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3993928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user