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

2009-10-02 Thread clebert.suco...@jboss.com
If you are inside the server, it will always connect to that same server. 

You can enable load balancing on the CF used by the Resource Adapter, but it 
would become a mess.

As you have MDBs and other Beans, you will have other things controlling 
balancing for you. For instance as you get traffic on nodeA on a HTTPServer,  
you use most of the load on that node. If you mix up load balancing on the 
server side you will actually hurt performance instead.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258502#4258502

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258502
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JBM Client Requirements

2009-08-25 Thread clebert.suco...@jboss.com
I mean.. on the EJB forum.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251585#4251585

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: JBM Client Requirements

2009-08-25 Thread clebert.suco...@jboss.com
Take a look at the mdb examples. Those are what the EJB guys call activation 
properties.


You would be able to specify those activation properties on the xmls as well. 
Look at the doc at how they specify activation properties. Or ask that on the 
MDB forum.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251584#4251584

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251584
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Persistent Problem in JBM 2.0.0 BETA4

2009-08-22 Thread clebert.suco...@jboss.com
There was a bug on ID generations.. When you crashed the VM the data was stlil 
there, but because of that bug the Journal was duplicating IDs causing a few 
issues.


It will be available on Monday's release.


thanks again

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251005#4251005

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251005
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 Beta5 with JBAS5.1 - Memory leak SessionContinuatio

2009-08-21 Thread clebert.suco...@jboss.com
Can you send me a sample test showing this happening?


clebert at redhat dot com

or clebert dot suconic at jboss dot com

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250915#4250915

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 Beta5 with JBAS5.1 - Memory leak SessionContinuatio

2009-08-21 Thread clebert.suco...@jboss.com
A single producer? Or you're opening several Producers? How many threads doing 
this.. just one?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250909#4250909

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250909
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 Beta5 with JBAS5.1 - Memory leak SessionContinuatio

2009-08-21 Thread clebert.suco...@jboss.com
What is your windowSize?

I will make a few tests.


With LargeMessage, you should have a bunch of pending packets waiting to be 
delivered on the NettyQueue, but you shouldn't have more than what's configured 
on the windowSize. Otherwise you would get out of memory easily.


I would need to look at your test to know what' s happening better.

Perhaps you're opening multiple producers?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250902#4250902

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250902
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Persistent Problem in JBM 2.0.0 BETA4

2009-08-20 Thread clebert.suco...@jboss.com
I could replicate the issue here. Thanks for bringing it up.

https://jira.jboss.org/jira/browse/HORNETQ-105


I always do this kind of test.. but this scenario slipped me through. (when 
using just a few messages)

There is a counter on the journal, and I believe the counter got messed up on 
restart when you had just a few messages.


It should be fixed by tomorrow. Thanks for this.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250753#4250753

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 Beta5 with JBAS5.1 - Memory leak SessionContinuatio

2009-08-20 Thread clebert.suco...@jboss.com
Did you make any changes on the windowSize?

You should have up to your WindowSize messages in memory. (We control that 
thorugh flow control).

[url]
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta4/html/flow-control.html#flow-control.core.api[/url]

If you disable flow-control.. you will have messages piling up on the memory.

if that's not the case, I would need to take a look at your test.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250717#4250717

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Retrieve queue size in jboss 5.1

2009-08-12 Thread clebert.suco...@jboss.com
Yes.. if this is what you asked, you can install it in JBoss 5.1 as you can see 
on the quickstart guide:

http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/quickstart-2.0.0.beta4/html/installation.html#installation.jboss


Perhaps I didn't understand your question in regard of 5.1

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249273#4249273

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Receive timeout

2009-08-11 Thread clebert.suco...@jboss.com
You should ask this on the ESB forum.


you need to change code for the timeout.. and besides you're not using JBoss 
Messaging.


So, talk to the ESB guys. You to ask them how they configure it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249046#4249046

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249046
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 2.x / STOMP

2009-08-05 Thread clebert.suco...@jboss.com
You could watch this JIRA:

https://jira.jboss.org/jira/browse/JBMESSAGING-1406

It will probably happen right after 2.0.GA. 


ATM you can use Stomp Connect.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248286#4248286

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248286
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any (Repost)

2009-08-05 Thread clebert.suco...@jboss.com
Global-page-size should be the size of the page files you use. Default should 
be 10MiB. And you would rarely need to change it. (Unless you changed the page 
sizes on paging).


paging-max-global-size-bytes is a hard limit that should protect your server 
from Out Of Memory Exception. The server will put everything into page mode 
when you hit that limit. The default is -1. (what means.. unprotected).


You could set paging-max-global-size-bytes to something very close to your full 
memory. Say..if you have 1G memory. Put it 700MiB (700 * 1024 * 1024).


We will document it property before the next release. (We have noticed that 
flaw on the docs.. as you could see on the dev forum)


[url]
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=159473[/url]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248264#4248264

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248264
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any

2009-08-05 Thread clebert.suco...@jboss.com
Global-page-size should be the size of the page files you use. Default should 
be 10MiB. And you would rarely need to change it. (Unless you changed the page 
sizes on paging).


paging-max-global-size-bytes is a hard limit that should protect your server 
from Out Of Memory Exception. The server will put everything into page mode 
when you hit that limit. The default is -1. (what means.. unprotected).


You could set paging-max-global-size-bytes to something very close to your full 
memory. Say..if you have 1G memory. Put it 700MiB (700 * 1024 * 1024).


We will document it property before the next release. (We have noticed that 
flaw on the docs.. as you could see on the dev forum)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248264#4248264

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248264
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any

2009-08-04 Thread clebert.suco...@jboss.com
You could set the max size at jbm-configuration.xml:


  |
  |   
  |   
  |  false
  |  jms.queue.DLQ
  |  jms.queue.ExpiryQueue
  |  0
  |  104857600
  |  10485760
  |  
org.jboss.messaging.core.server.impl.RoundRobinDistributor
  |  
10
  |   
  |
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247937#4247937

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247937
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any

2009-08-04 Thread clebert.suco...@jboss.com
We created another dev thread about this:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=159473



Basically global-max-size means the hard limit you have on the server. It' s 
like a memory full, and it should put everything on file instead of memory.


For correct paging, you should have everything using individual addresses 
settings. 

And we will document that clearly.


So, JBMUser: Basically your test made the server "full" and nothing got routed 
after that, what should be the expected behaviour.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247936#4247936

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247936
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any

2009-08-03 Thread clebert.suco...@jboss.com
On the JMS example, the only bug I found was the second destination didn' t 
enter into page mode right away. What should be fixed. But that will mean the 
destination will enter into page mode right away, so it should fail at the 
first time.

In your case.. you have the server full. We can't route any more messages until 
DestinationA had messages being consumed and Acked.


So... what's happening is:

Client sends messages to destinationA.
At this point the server is Full.

Client sends messages to destinationB.
(At this point the server should still be full. DestinationB should page right 
away, and the consumer shouldn' t receive anything until messages from 
destinationA were received).




For the management case.. I was suggesting to never page anything. But there is 
a risk of OME. (If we don't protect it). But as far as I know.. management 
destinations will aways be consumed or dropped. So.. I guess it would be ok to 
ignore paging on Management. Maybe the same would apply to temporary queues.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247699#4247699

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM with singleton MDB

2009-07-31 Thread clebert.suco...@jboss.com
Cool.. I think it will work then.

All you need is to configure the slowconsumer at the Connection Factory used by 
the JmsXA.

BTW: I meant "it's a bit obscure to *me*".. as the problem being me.. not you. 
:-)

(I missed the me because of a typo).


Cheers.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247365#4247365

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247365
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM with singleton MDB

2009-07-31 Thread clebert.suco...@jboss.com
If I understand correctly, you need to set slowConsumer=true on the 
ConnectionFactory used by the MDB. You probably don't want any buffer on the 
client, as you want the message to be round robbed to other servers.


It' s a bit obscure what you are trying to achieve here.. so I' m suggesting 
that based on what I understood.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247356#4247356

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM with singleton MDB

2009-07-31 Thread clebert.suco...@jboss.com
On JBM 1.4, the JCA adapter is part of the application server. So MDBs are not 
really part of JBoss Messaging 1.4. (Differently on JBM 2, as we are writing 
our own JCA adapter).


I suggest you ask this on the JCA Forum 
(http://www.jboss.org/index.html?module=bb&op=viewforum&f=136)


But anyway, you could also make the method onMessage of your MDB synchronized. 
So you would solve the multi-thread issue you have at your native lib.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247339#4247339

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247339
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any

2009-07-31 Thread clebert.suco...@jboss.com
Hmmm...

I' m not sure if we should page temporary destinations also.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247319#4247319

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247319
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any

2009-07-31 Thread clebert.suco...@jboss.com
IMO the management address shouldn' t be paged (ever).


You would only be able to depage, when the memory is freed up.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247279#4247279

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247279
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: connection failure message should report client ip

2009-07-31 Thread clebert.suco...@jboss.com
https://jira.jboss.org/jira/browse/JBMESSAGING-1696

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247257#4247257

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247257
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Receiving XML from c++ sender

2009-07-31 Thread clebert.suco...@jboss.com
... and JBossMessaging will implement AMQP, and other clients such as C++, .NET 
will be able to connect to JBoss Messaging 2 using those libraries, which is a 
nice synergy.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247254#4247254

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247254
___
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 clebert.suco...@jboss.com
Abdel,
We are doing a major piece of work/refactoring (Tim Fox is doing it) on the 
replication. I will get back to this as soon as Tim Fox is done with that over 
the next week (or two weeks maybe).

We will create soak tests for that, and I will make sure your case will work 
with this.

It will be more productive this way.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247063#4247063

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247063
___
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 clebert.suco...@jboss.com
at this point I can' t even run your test. I' m starting the first node only, 
and it hangs. I was wondering if you could give me hint on why? (I mean.. since 
I don' t want to debug your code besides the possible problem).

I will try it again tomorrow.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246824#4246824

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246824
___
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 clebert.suco...@jboss.com
Abdel,


I added a build.xml, as I won' t have access to the graphical interface on the 
machine I' m using.

Also.. I first ran the nodeA, but nothing happened. your tests was just waiting 
some latch. Do I need to run both nodes in order for this test to work? 

Your test seems a bit complex as it involves a bunch of stuff you' re doing 
besides JBM. (which is ok). I just didn' t want to spend time debugging things 
that are beyond the scope now. So.. that' s why the test is just hanging when I 
only ran the first node.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246820#4246820

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246820
___
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 clebert.suco...@jboss.com
I was having a bit of trouble to configure my environment (some hardware issues 
of my own).

but now I' m a bit confused on what you start on the test. Do you use the 
TestLauncher or you run the test in a different way? Can you add a description 
on how to replicate it to the JIRA?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246805#4246805

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246805
___
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 clebert.suco...@jboss.com
I' m actually working on it right now...

Give me a few hours and I will get back on this thread.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246785#4246785

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246785
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Receiving XML from c++ sender

2009-07-29 Thread clebert.suco...@jboss.com
Is it possible to receive TextMessages (with XML payload) from the client 
written in c++ and using ActiveMQ?
  | What URI should be given to the cpp client in such a case? 

Sorry... your question was a little bit obscure to me...


I couldn' t realize you wanted to transfer messages from ActiveMQ to 
JBossMessaging.


We are scheduled to implement AMQP on JBoss Messaging 2, what will enabled C++ 
to connect to JBoss Messaging.


You will be able to configure the bridge between ActiveMQ and JbossMessaging.

While we don' t have a C++ client to connect to JBoss Messaging, you could use 
RedHat Messaging. 

RedHat messaging is the C++ side of the project.

http://jboss.org/rhmessaging/

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246755#4246755

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246755
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Receiving XML from c++ sender

2009-07-29 Thread clebert.suco...@jboss.com
You better asking that to ActiveMQ guys :-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246744#4246744

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Is JBoss Messaging 2.0 beta4 ready for production usage?

2009-07-29 Thread clebert.suco...@jboss.com
anonymous wrote : I would like to help with testing but unfortunately we don't 
have much time and we have to use latest stable version.
  | I'm looking forward to 2.0 final :) 

np...


But what I had in mind was.. I thought you had a system that would go in 
production near future. You would be able to do your regular tests and 
development now with the current Beta and the final release (GA) would be ready 
by the time you are live (if you' re going live end of Aug).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246716#4246716

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBoss Mesaging 2.0.0 beta 4 Released

2009-07-28 Thread clebert.suco...@jboss.com
JBoss Messaging 2.0.0. Beta 4 has been released.


Get it here: http://www.jboss.org/jbossmessaging/downloads/


Enjoy

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246510#4246510

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246510
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Is JBoss Messaging 2.0 beta4 ready for production usage?

2009-07-28 Thread clebert.suco...@jboss.com
We are aiming for Aug/31 as you can see on 
https://jira.jboss.org/jira/browse/JBMESSAGING


It' s not production ready by definition, but it would be nice if you could 
help us testing the Betas.

If you do it, it will help us making a good product, and you would basically 
get the problems you found fixed before GA. That' s the beauty of open source 
:-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246504#4246504

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246504
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Exception during message publsih

2009-07-23 Thread clebert.suco...@jboss.com
The Security Meta Store is forbiding the authorization for some reason. 

Double check your configs. Or you could also provide more details about your 
config then we could help.

You could also try adding debug/Trace at org.jboss.jms.server.security and the 
Security store you are using, and take a look on the logs.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245112#4245112

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245112
___
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 clebert.suco...@jboss.com
Yeah...


please create a JIRA if you still see an issue:

https://jira.jboss.org/jira/browse/JBMESSAGING

If you attach your code with instructions to replicate it, we will give it a 
try.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245615#4245615

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245615
___
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 clebert.suco...@jboss.com
Any chance you could try it using a build from trunk? There was a ping problem 
on trunk that was fixed.


In any case, if you have a test to share it would be really nice, we would give 
a try replicating your issue.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245453#4245453

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245453
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustered messages not being received by external client

2009-07-20 Thread clebert.suco...@jboss.com
This is probably due to the way JBoss Messaging works regarding the local 
queues.

Message are aways sent to the local server, until you need move messages. 

Take a look on the manual and WIKIs about how clustering works on JBoss 
messaging 1.4.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244775#4244775

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
H


I could replicate it with JDK 1.6 on Linux.


So... it's not about being Windows.. but about being JDk 1.5 or 1.6.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243949#4243949

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
I was actually starting the Windows VM while it happened on Linux. so.. maybe 
it was because my CPU was pegged for some time?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243950#4243950

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
Naresh,

The windows you're running is also a Windows VM, or a real machine?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243952#4243952

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
An easy way to replicate this on my Linux Desktop:

Send 100K messages using Naresh's testcase.

The MDBs will be receiving messages over XA.

I got the eventual exception:

javax.jms.JMSException: MessagingException[errorCode=3 message=Did not receive 
ping from server]



One thing I realized, was during the processing.. the MDB is consuming messages 
over XA, so I got lots of small transactions processing...


on the client:


"Thread-13 (group:JBM-client-global-threads-1127086624)" daemon prio=10 
tid=0x7f6d263e nid=0x626f waiting on condition 
[0x4648e000..0x4648eb80]
  |java.lang.Thread.State: TIMED_WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  <0x7f6d59f3bc98> (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
  | at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2054)
  | at 
org.jboss.messaging.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:308)
  | - locked <0x7f6d59f3bcf8> (a java.lang.Object)
  | at 
org.jboss.messaging.core.client.impl.ClientSessionImpl.commit(ClientSessionImpl.java:810)
  | at 
com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelOnePhaseCommit(XAResourceRecord.java:811)
  | at 
com.arjuna.ats.arjuna.coordinator.BasicAction.onePhaseCommit(BasicAction.java:2656)
  | at 
com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1784)
  | - locked <0x7f6d633e0a88> (a 
com.arjuna.ats.internal.jta.transaction.arjunacore.AtomicAction)
  | at 
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:94)
  | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1423)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:137)
  | at 
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
  | at 
org.jboss.messaging.ra.inflow.JBMMessageHandler$XATransactionDemarcationStrategy.end(JBMMessageHandler.java:544)
  | at 
org.jboss.messaging.ra.inflow.JBMMessageHandler.onMessage(JBMMessageHandler.java:287)
  | at 
org.jboss.messaging.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:671)
  | 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:788)
  | 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)
  | 
  | 

and on the server:

  | "Thread-9 (group:JBM-server-threads799626944-377384882)" prio=10 
tid=0x7f6d379f3000 nid=0x627c waiting on condition 
[0x4719b000..0x4719bc00]
  |java.lang.Thread.State: WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  <0x7f6d6340ae90> (a 
org.jboss.messaging.utils.VariableLatch$CountSync)
  | at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
  | at 
org.jboss.messaging.utils.VariableLatch.waitCompletion(VariableLatch.java:120)
  | at 
org.jboss.messaging.core.journal.impl.TransactionCallback.waitCompletion(TransactionCallback.java:56)
  | at 
org.jboss.messaging.core.journal.impl.JournalTransaction.waitCompletion(JournalTransaction.java:379)
  | at 
org.jboss.messaging.core.journal.impl.JournalImpl.appendPrepareRecord(JournalImpl.java:1210)
  | at 
org.jboss.messaging.core.persistence.impl.journal.JournalStorageManager.prepare(JournalStorageManager.java:411)
  | at 
org.jboss.messaging.core.transaction.impl.TransactionImpl.prepare(TransactionImpl.java:166)
  | - locked <0x7f6d6340abd8> (a java.lang.Object)
  | at 
org.jboss.messaging.core.transaction.impl.TransactionImpl.commit(TransactionImpl.java:208)
  | - 

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

2009-07-20 Thread clebert.suco...@jboss.com
As you are using MDBs, you are opening one XA transaction for each message 
received, what means several round trips for each message received.

I also realized what you are saying, and as a result of running your testcase, 
I talked to Tim Fox this morning and opened this jira with a feature request:

https://jira.jboss.org/jira/browse/JBMESSAGING-1686

ATM if you don't use MDBs and batch your transactions would give you a much 
better performance.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244206#4244206

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244206
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
Yes.. we will provide a feature to fix that issue.

And your input will be very appreciated when we are developing it... what 
should happen pretty soon I believe.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244211#4244211

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244211
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: 5.1.0 CA and jboss messaging 2.0.0 beta 3 ---J2EE examp

2009-07-20 Thread clebert.suco...@jboss.com
Please, take a look at docs/README.html:


Running the Java EE examples on Windows
  | 
  | The Java EE examples run by default with JBoss AS on Linux. To run them on 
Windows, you will have to replace the reference to run.sh by run.bat everywhere 
JBoss AS server is started (in /examples/javaee/common/build.xml, 
/examples/javaee/jca-config/build.xml, and 
/examples/javaee/xarecovery/build.xml)
  | For example, in /examples/javaee/common/build.xml, replace:
  | 
  | 
  |
  |   
  |
  | 
  | by
  | 
  | 
  |
  |   
  |
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244498#4244498

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244498
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
"timfox" wrote : If you post your example application on a JIRA, then someone 
next week can have a look at it and see why it's acting slow...
  | 

The test we were using to replicate the ping issue replicates this transaction 
issue.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244332#4244332

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244332
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
"timfox" wrote : Why are you persisting orders in a database?
  | 
  | If you are using persistent messages then the JMS system can guarantee 
persistence for you.

Usually an orders table needs to be kept for historical reasons, right?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244377#4244377

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244377
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
If we had transactions done per batch, we would solve not only the messaging 
bottleneck, but also the database bottleneck.


say... you could batch commits per 100 records. If 1 record failed you would 
eventually process the 100 records again what would give you a better 
throughput on both the database and messaging.

You still guarantee transaction on each message.

I' m almost sure this is what other companies are doing with SpecJ.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244386#4244386

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244386
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-20 Thread clebert.suco...@jboss.com
anonymous wrote : You do not expect me to look at persisted JMS messages as the 
system of record for my orders, do you?

This all depends on your business.

If the data should exist on the DB only for the life cycle of the message. (I 
mean, as soon as the message is consumed, the record is deleted), you could 
just store data on the message using a persistent message, and not use the DB 
for anything.

But if the data will exist on the DB after the message is processed, then you 
probably need the data on the DB for other business matters. But on that case 
the Database will be your bottleneck.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244428#4244428

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244428
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-14 Thread clebert.suco...@jboss.com
"timfox" wrote : "clebert.suco...@jboss.com" wrote : Take a look at jms-ds.xml
  |   | 
  |   | 
  |   | The JNDI is java:/XAConnectionFactory.
  |   | 
  |   | (You need to use the local JNDI for that... just do new 
InitialContext(). As you may known java:/ means local VM).
  |   | 
  |   | 
  |   | you can just do:
  |   | 
  |   | 
  |   | InitialContext ctx = new IntialContext();
  |   |   | ConnectionFactory cf = 
(ConnectionFactory)ctx.lookup("java:/XAConnectionFactory");
  |   |   | 
  |   | 
  |   | 
  | 
  | That is NOT correct.
  | 
  | If you lookup java:/XAConnectionFactory you will NOT be using JCA.
  | 
  | There is a section on using JCA in the docs:
  | 
  | 
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta3/html_single/index.html#d0e5931
  | 
  | 


Yes.. I remember that now...

What confused me was the JMSProviderLoader that still on the jms-ds.xml:



  |
  | 
  |
  |   DefaultJMSProvider
  |   org.jboss.jms.jndi.JNDIProviderAdapter
  |   java:/XAConnectionFactory
  |   java:/XAConnectionFactory
  |   java:/XAConnectionFactory
  |
  |
  |
  |   JmsXA
  |   
  |   jms-ra.rar
  |   
org.jboss.messaging.ra.JBMConnectionFactory
  |   javax.jms.Topic
  |   java:/DefaultJMSProvider
  |   20
  |   
JmsXARealm
  |
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243617#4243617

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-07 Thread clebert.suco...@jboss.com
Take a look at jms-ds.xml


The JNDI is java:/XAConnectionFactory.

(You need to use the local JNDI for that... just do new InitialContext(). As 
you may known java:/ means local VM).


you can just do:


InitialContext ctx = new IntialContext();
  | ConnectionFactory cf = 
(ConnectionFactory)ctx.lookup("java:/XAConnectionFactory");
  | 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242288#4242288

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242288
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-07 Thread clebert.suco...@jboss.com
I couldn't replicate your issue.

However I had to add the acceptors and connectors at the config.


I have used this configuration here instead (which just have the netty and 
in-vm acceptors and connectors:


http://anonsvn.jboss.org/repos/messaging/trunk/examples/javaee/mdb/server/jbm-configuration.xml


Also.. you don't need to narrow anything on the lookup. And since you are on 
the application server, you don't need also to use properties. You could do 
just:

jndiContext = new InitialContext();
  | 
  | logger.debug("Looking up ConnectionFactory...");
  | connectionFactory = (ConnectionFactory)
  | jndiContext.lookup(CONNECTION_FACTORY);
  | 
  | logger.debug("Looking up test queue...");
  | testQueue = (Queue)
  | jndiContext.lookup(TEST_QUEUE);
  | 


(But I had tested without these changes also, and I couldn't replicate).



Also.. you should probably use the JCA connection factory inside the 
application server. you are currently using /ConnectionFactory.



And all this ran really fast.


I will close as can't replicate for now.. if you provide more data on 
replicating we can reopen it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242272#4242272

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242272
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-06 Thread clebert.suco...@jboss.com
Can you open a JIRA and attach the test please?



https://jira.jboss.org/jira/browse/JBMESSAGING

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242004#4242004

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242004
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: MessagingException when deploying ear

2009-07-05 Thread clebert.suco...@jboss.com
No.. not intentional. We will fix it.


thanks for pointing it out.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241874#4241874

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241874
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: MessagingException when deploying ear

2009-07-05 Thread clebert.suco...@jboss.com
Take a look at the configuration and the MDB example.

On Beta1, the InVM acceptor existed by default, and that changed on Beta2. You 
now have to define it explicitally. 


I believe we didn't add the acceptor on the default configuration.


Can you open jbm-configuration.xml, and add the following snippet of code?


  |
  |   
  |  
org.jboss.messaging.integration.transports.netty.NettyConnectorFactory
  |  
  |  
  |   
  | 
  |   
  |  
org.jboss.messaging.core.remoting.impl.invm.InVMConnectorFactory
  |   
  | 
  |
  | 
  | 


take a look at examples/javaee/mdb/server/jbm-configuration.xml


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241861#4241861

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241861
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clusted FailOver doesn't seem to work correctly with Bri

2009-07-02 Thread clebert.suco...@jboss.com
anonymous wrote : I believe some of the changes Howard made on trunk 

typo... Old habit.. I meant.. Branch_1_4.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241598#4241598

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241598
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clusted FailOver doesn't seem to work correctly with Bri

2009-07-02 Thread clebert.suco...@jboss.com
anonymous wrote : 
  | jboss 5.1, JBM 1.4.4 src, I modified JMSRemoteConnection to compile against 
Remoting 2.5.1, so we could have the Bridge fixes, etc.
  | 


I believe some of the changes Howard made on trunk will also require some 
changes on Remoting 2.5.X, but I don't think the required changes have been 
made yet.

Howard: do you have more details about this?


artp: as you are runninig from source: did you run the complete testsuite? You 
may have bugs at your code that we haven't tested yet. (the pending changes on 
remoting may be an issue for you).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241597#4241597

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to find total mumber of messages in a queue (i.e. in

2009-06-30 Thread clebert.suco...@jboss.com
BTW, we don't know how many messages are stored at the paging system. We could 
easily find how many files, or how many bytes are stored.. but not the number 
of messages.

We could have a counter at Address level, but as soon as we restart the system 
we would need to read all the page files to re-establish those counters.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241034#4241034

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241034
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustering differences versus JBoss MQ

2009-06-29 Thread clebert.suco...@jboss.com
JBossMessaging has automatic failover.

If you want to control the failover the same style you would do on JBossMQ, you 
need to disable failover and do the reconnects yourself.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240914#4240914

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240914
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread clebert.suco...@jboss.com
I'm comitting this on trunk as we speak.


we started a dev thread about it:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=157681




Sorry for the inconvenience. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240408#4240408

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240408
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread clebert.suco...@jboss.com
Actually, As Tim pointed out, there is also paging and large-message

So, you would need to add this to your jbm-configuration.xml



  |  
${jboss.server.data.dir}/messaging/largemessages
  |  
${jboss.server.data.dir}/messaging/paging
  | 
  |
${jboss.server.data.dir}/messaging/bindings
  | 
  |
${jboss.server.data.dir}/messaging/journal
  | 
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240398#4240398

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread clebert.suco...@jboss.com
Can you add this to your jbm-configuration.xml please?



   
${jboss.server.data.dir}/messaging/bindings
  | 
  |
${jboss.server.data.dir}/messaging/journal
  | 
  | 

(I'm making this part of the default distribution)



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240395#4240395

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240395
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to create persistent queues on the fly

2009-06-23 Thread clebert.suco...@jboss.com
"PeterJ" wrote : No, I did not realize this was about JBM 2. Sorry.

No worries.

You aways help on the forum... so.. thank you!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239575#4239575

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239575
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to create persistent queues on the fly

2009-06-23 Thread clebert.suco...@jboss.com
"PeterJ" wrote : You cannot create a persistent queue that way. There are only 
two ways to create a persistent queue:
  | 
  | 1 - create a *-service.xml file and declare the queue in it and place the 
file in the deploy directory
  | 
  | 2 - use the new admin console (Embedded Jopr)
  | 
  | By the way, #2 employs #1 to actually deploy the queue.


You realize this thread is about JBossMessaging 2, right?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239533#4239533

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239533
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Client program exception

2009-06-22 Thread clebert.suco...@jboss.com
anonymous wrote : I just upgraded my JBM to 1.4.4 and am trying to read a queue 
from a JUnit test. I get: 

Probably a classPath issue.


Try verifying if you have everything documented at your classPath.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239155#4239155

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239155
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBoss Mesaging 2.0.0 beta 3 Released

2009-06-22 Thread clebert.suco...@jboss.com
JBoss Messaging 2.0.0. Beta 3 has been released.


Beta 3 is a minor update on Beta 2.

As we said last week, we are following the mantra "release early, release 
often".


Get it here: http://www.jboss.org/jbossmessaging/downloads/ 


Enjoy

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238947#4238947

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238947
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: 4.2.3.GA messaging service?

2009-06-18 Thread clebert.suco...@jboss.com
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.3.GA/html_single/index.html#install

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238621#4238621

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238621
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: journal files not getting cleaned up and server startup

2009-06-18 Thread clebert.suco...@jboss.com
Adding a link here for future reference:


https://jira.jboss.org/jira/browse/JBMESSAGING-1660

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238602#4238602

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238602
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: journal files not getting cleaned up and server startup

2009-06-18 Thread clebert.suco...@jboss.com
Thanks for the report.


I have fixed it on trunk. It will be available on next version.

Or you could give it a try now on SVN if you want.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238599#4238599

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: MDB Throttling:

2009-06-16 Thread clebert.suco...@jboss.com
MDB itself is part of EJB3, not JMS.

ActivactionConfigProperty belongs to the JCA adapter. So it's better to ask on 
the JCA forum.


anonymous wrote : Also, is there any way to throttle the MDB consumers 
automatically based on CPU or IO activity and available resources? 


I will take that questions as a regular consumer. 

It shouldn't make any difference. You model your consumers based on your 
useCase (or business if you prefer calling it this way). A Messaging System 
should load balance messages accordingly to your resources anyway.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238062#4238062

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238062
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?` (Repost)

2009-06-15 Thread clebert.suco...@jboss.com
Were you able to run any of the examples (clustered.. etc)?

You wouldn't need to do any syncs for adding new nodes on the cluster. 

Also, we are releasing a Beta2 probably tomorrow, that will include a few 
standalone-clusters configs and a new standalone clustered example, that will 
probably help you on your testing.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237753#4237753

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?`

2009-06-15 Thread clebert.suco...@jboss.com
Were you able to run any of the examples (clustered.. etc)?

You wouldn't need to do any syncs for adding new clusters. 

Also, we are releasing a Beta2 probably tomorrow, that will include a few 
standalone-clusters configs and a new standalone clustered example, that will 
probably help you on your testing.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237753#4237753

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?`

2009-06-13 Thread clebert.suco...@jboss.com
"clebert.suco...@jboss.com" wrote : "Else" wrote :  we sacrificed the 
convenience to gain performance, right?
  |   | 
  | 
  | I wouldn't say that. It was way more hassle administering a DB.
  | 
  | 


I mean.. we got a lot of performance thorugh the journal. But the DB for our 
usage was far away from being convenient IMHO.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237415#4237415

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?`

2009-06-12 Thread clebert.suco...@jboss.com
"Else" wrote :  we sacrificed the convenience to gain performance, right?
  | 

I wouldn't say that. It was way more hassle administering a DB.


anonymous wrote : For the original question: when add a new broker to a running 
cluster, do we need to copy persistent data from other nodes? I guess no, since 
for load balance cluster we didn't guarantee exactly same, is it correct?
  | 
  | Another question: For the existing broker in a cluster, if somehow we 
stopped it for a while, could we just restart it and join in to the cluster 
directly? we don't need to worry the data divergence between load balance 
cluster nodes, do we? It could happen even if the node has backup, since in the 
worst case the backup server could also failed, and we didn't provide facility 
for re-assigning a backup node with a running node. 


I believe you don't need to do any syncs when adding new nodes.. but I will 
wait for Tim Fox (the project lead) to answer that question if you don't mind. 
He's the wizard on this module.. and I don't want to give you a wrong answer.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237413#4237413

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237413
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to add a new server in a cluster?`

2009-06-12 Thread clebert.suco...@jboss.com
Failover is different than load balancing. Failover is aways an exact copy of 
the live node, so whenever your server fails clients can fail over to the 
backup. While another node sharing load on the cluster will be a different 
server.

That text is saying that you need to keep live and backup equal.. that's all.


We don't support shared folder on it, because we manually control the 
replication. 

I'm not sure what you mean by RDB. (not sure you meant RDBMS or that old Oracle 
database). But we decided by the journal from JBM 2 on, since it's a much 
faster approach.

anonymous wrote : BTW: if we don't have backup server in a cluster, then the 
cluster cannot bear server crashed? We provide two or more servers and then we 
cannot stop anyone? I don't think it makes sense.

If you need failover, you could just provide backup nodes.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237401#4237401

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237401
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Messaging Samples

2009-06-11 Thread clebert.suco...@jboss.com
Sorry about the incovenience. We are sorting out this with the Application 
Server team and we will provide the download package until this is sorted out.


As for now you can download them from SVN at:

svn co 
http://anonsvn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_3_GA/docs/examples/




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237183#4237183

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Connecting to JmsXA outside app server

2009-06-10 Thread clebert.suco...@jboss.com
"clebert.suco...@jboss.com" wrote : 
  | If you are connecting from outside of the application, you should use the 
regular application server.
  | 

oops... I meant.. regular connection factory (sorry for the typo).


javax.jms.ConnectionFactory factory = jndi.lookup("/ConnectionFactory");

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236838#4236838

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Connecting to JmsXA outside app server

2009-06-10 Thread clebert.suco...@jboss.com
java:/ means on the same VM.


If you are connecting from outside of the application, you should use the 
regular application server.


JmsXA is the JCA for ApplicationServer plugin. That means.. inside the 
application server.


There is probably a FAQ about this.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236825#4236825

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236825
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: MDB jboss properties

2009-06-09 Thread clebert.suco...@jboss.com
Also: MDB is not part of JBoss Messaging. for more questions around MDB you can 
refer to the JCA forum, if  your question is regarding properties configuration:

http://www.jboss.org/index.html?module=bb&op=viewforum&f=136


or the EJB3 forum, if your question is regarding MDBs itself:

http://www.jboss.org/index.html?module=bb&op=viewforum&f=221

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236454#4236454

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236454
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: MDB jboss properties

2009-06-09 Thread clebert.suco...@jboss.com
For the generic JCA adapter on JBoss AS (used on JBoss Messaging 1.4 and JBoss 
MQ):

http://www.jboss.org/community/wiki/ConfigJMSMessageListener



For JBoss Messaging 2, since we provide our own adapter:


http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta1/html/appserver-integration.html#d0e6240

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236419#4236419

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236419
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Topic hierarchy support in JBM 2.0 ?

2009-06-08 Thread clebert.suco...@jboss.com
It was just an idea...

JBoss Messaging 2, is using MicroContainer, but that' s not available on JBoss 
4.

On JBoss 4, you would need to develop a service, and the way for doing is 
creating a MBean.

You could have a JBM2MBean, instantiating and starting the server, the same way 
we don the embedded example.



But I would rather migrate to JBos5. If you can try JBossMessaging 2, you 
probably can try JBoss 5.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236161#4236161

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236161
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Topic hierarchy support in JBM 2.0 ?

2009-06-07 Thread clebert.suco...@jboss.com
It' s technically possible.. however we haven' t provided a solution, because 
we considered people using JBM 2 would be probably on JBoss 5.


You could do something based on the Embedded JBoss Messaging, maybe embedding 
it easily on an MBean.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235859#4235859

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235859
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Cannot find session during shutdown

2009-05-20 Thread clebert.suco...@jboss.com
anonymous wrote : I'm not sure why you're getting this error though. 



I was referring to this error:


  | 2009-05-20 12:30:52,499 ERROR [org.jboss.messaging.util.ExceptionUtil] 
(WorkManager(2)-44) Connectio
  | nEndpoint[fe-oz919yuf-1-mj809yuf-bruz48-x21o4c5] sendTransaction 
[ur4-b6b39yuf-1-mj809yuf-bruz48-x21
  | o4c5]
  | javax.jms.IllegalStateException: Cannot find session with id 
ie-qz919yuf-1-mj809yuf-bruz48-x21o4c5
  | ...
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232355#4232355

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232355
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Cannot find session during shutdown

2009-05-20 Thread clebert.suco...@jboss.com
Regarding the non-serializable error, look at this thread:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=152893


I'm not sure why you're getting this error though. Maybe some missing 
dependency between JCA and JBossMessaging and the shutdown order is not being 
respected?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232354#4232354

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232354
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss slowing down

2009-05-20 Thread clebert.suco...@jboss.com
Anything.. I mean... *anything*.


you can't even say it is a JBM until you fully analyze the histogram.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232337#4232337

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232337
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss slowing down

2009-05-20 Thread clebert.suco...@jboss.com
At this point It's impossible to say what it is. You need to keep looking down 
the list.. for JBoss/JGroups related objects.

It could be anything.. from JGroups retransmissions because of the network to 
real leakages. 

Also.. look at the stack traces on the dump itself.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232336#4232336

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss slowing down

2009-05-19 Thread clebert.suco...@jboss.com
"pratimkm" wrote : forgot to mention that we use two Jboss servers in cluster 
and JBoss messaging database in Oracle 10g.


Right... 
The ClassHistogram would be able to tell you where your memory is going to.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232073#4232073

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss slowing down

2009-05-19 Thread clebert.suco...@jboss.com
You should produce a Stack trace of your server when things are slowing down.

Add -XX:+PrintClassHistogram to your VM Options. and call kill -3  when the 
process is getting slow (before it crashed).

-XX:+PrintClassHistogram or kill -3 wouldn't hurt your production system. But 
if you can replicate this on a test environment it's better.

This link will provide you some extra information:


http://www.jboss.org/community/wiki/StackTrace

You are probably running out of memory. I used to work with Solaris years ago, 
and running out of memory would certainly crash the VM on Solaris.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232072#4232072

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232072
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-19 Thread clebert.suco...@jboss.com
"timfox" wrote : If you want a topic subscriber to receive all messages of a 
certain type and also receive all messages sent directly to it, can't you 
assign each subscriber an id and use a selector like:
  | 
  | 
  |   | messageType='FOO' OR destinationID=myid
  |   | 

It's a good idea but I don't think that would work for cpslo1999. 

Say you send messageType="A", destinationID=myID

The other subsriber with messageType="A" , destinationID=2 will also receive 
this message, and from what I read this is not what he wanted.

It would be an idea though.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232016#4232016

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232016
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-19 Thread clebert.suco...@jboss.com
I think you need a Topic with subscribers and selectors for the regular 
day-to-day operation.

And you also probably need a request mechanism on receiving the initial 
information. Maybe the client creates a temporary queue, send a request to 
receive the initial information, and the initial information comes on that 
queue.


On the day-by-day basis you would have the durable selector receiving the 
information.


I feel like spoiling the surprise suggesting you this :-) , but there is a 
great JMS example on JBoss Messaging 2 which explains what I' m suggesting to 
you in terms of Request-Reply:

svn co http://anonsvn.jboss.org/repos/messaging/trunk/examples/jms/request-reply


Look at the readme.. it bring a lot of information.


if you want to run the example:


svn co http://anonsvn.jboss.org/repos/messaging/trunk messaging
cd messaging
ant
cd examples/jms/request-reply
and

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231976#4231976

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-19 Thread clebert.suco...@jboss.com
I don' t understand what you are trying to achieve... mainly here:

anonymous wrote : - I need to be able to also (re)send a notification to only 
one client


Can you try abstracting your business and explain what you are trying to 
achieve in pure JMS terms?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231927#4231927

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231927
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Multiple clients and message types - selectors?

2009-05-18 Thread clebert.suco...@jboss.com
I would use a topic and subscribers (durable if is the case) with selectors.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231759#4231759

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Where is the DDL for Messaging?

2009-05-11 Thread clebert.suco...@jboss.com
This thread is becoming a DevThread now...
I'm moving it to the dev-forums.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230253#4230253

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230253
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Where is the DDL for Messaging?

2009-05-11 Thread clebert.suco...@jboss.com
Dimitris has disabled it:

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/branches/Branch_5_x/build/build-distr.xml?r1=85382&r2=85387&pathrev=85387

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230252#4230252

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230252
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Where is the DDL for Messaging?

2009-05-11 Thread clebert.suco...@jboss.com
I just looked into 5.0.1.GA and the DDLs are there. I just built 5.0.1.GA from 
the TAG and they are at /jboss-5.0.1.GA/docs/examples/jms.

I'm investigating to what happened to them between 5.0 and 5.1.

I may need to talk to Howard.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230204#4230204

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230204
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: jboss messaging

2009-05-07 Thread clebert.suco...@jboss.com
"anal...@8_java" wrote : 
  | Is there any way to do this using Jboss Messaging, so that my application 
will not take 4 hrs? 
  | 

Are you using NonPersistentMessages?

If you are using a sheel, it seems you don't need an extra level of persistence.

Like.. if someting happens, you could have the producer sending the messages 
again after some sort of request.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229549#4229549

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229549
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to send message to a remote queue

2009-05-07 Thread clebert.suco...@jboss.com
That's pretty much the procedure.

- you define a JMSPRoviderLoader. Give it a name

  |   
  | MyProvider
  | 
  |   org.jboss.jms.jndi.JNDIProviderAdapter
  | 
  | 
  | java:/XAConnectionFactory
  | 
  | java:/XAConnectionFactory
  | 
  | 
  |   

- you define the tx-connection-factory. make a reference to the provider loader 
using the property JmsProviderAdapterJNDI. Also define a JNDI name for the 
tx-connection-factory


  | 
  |   
  | MyConnectionFactory
  | 
  | jms-ra.rar
  | 
org.jboss.resource.adapter.jms.JmsConnectionFactory
  | JMS Adapter
  | javax.jms.Topic
  | java:/MyProvider
  | 
WhateverJmsXARealm
  |   
  | 
  | 



- In your code, use refer to JNDI name from tx-connection-factory:


  | javax.jms.ConnectionFactory factory = 
(javax.jms.ConnectionFactory)jndi.lookup("java:/MyConnectionFactory");
  | 


But all this is already defined on that Wiki. So I'm already providing you 
extra information.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229538#4229538

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229538
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JMS Porting from SUN Java Application Server to JBOSS

2009-05-06 Thread clebert.suco...@jboss.com
In you case j2ee.jar has the interfaces from Sun. Our equivalent would be 
jboss-javaee.jar

imq.jar has probably the implementation for their Messaging service. In our 
case you will find jboss-messaging.jar.


Also look at the documentation for our list of dependencies.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229046#4229046

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229046
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception from Sun AS 8.2 to JBM 1.4.0

2009-04-14 Thread clebert.suco...@jboss.com
Any pointer on how to debug such issue would be appreciated, too. (the 
verbose:class option didn't help me much) Thanks for your inputs! 

The only thing I can think of is doing a real debug by attaching a debugger or 
looking a log4j.trace logs.


I would also look if Sun AS is setting Thread.currentClassLoader properly, as 
AOP is probably going to use that.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225461#4225461

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225461
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception from Sun AS 8.2 to JBM 1.4.0

2009-04-13 Thread clebert.suco...@jboss.com
jbossall-client.jar is deprecated after JBoss5 only.

The reasoning for the deprecation is this:

- Think about when a customer or user found a trivial bug. We then change the 
class and recompile it.  Now we have to update at least two jars: 
-jboss-messaging.jar and jbossall-client.jar.

- Now thing about another project doing the same.. say.. jboss-cache also found 
a bug, and updated jboss-all-client.jar.


If we send this customer both updates, you won' t know what version of 
jbossall-client you should use. It' s a mess.


That's why the jar was dropped after jboss5.


jbossall-client is still being "supported"  on jboss4, however I really think 
it would be a good idea staying away from it for those reasons I pointed you.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225126#4225126

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >