[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-08 Thread timfox
Have you tried a more recent release? (These are available in SVN but not binary). Or you could wait for a week or so for the next binary release. We've fixed a lot of stuff and a lot of stuff has been fixed in remoting since the release you're using. View the original post :

[jboss-user] [JBoss Messaging] - Re: NullPointerException in org.jboss.jms.server.endpoint.Se

2008-11-06 Thread timfox
Also make sure you use the correct version of jboss remoting on both the client and server side as specified in the installation instructions. Wrong remoting is the biggest cause of errors like this. View the original post :

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-11-05 Thread timfox
If you send me a link to the JIRA and mail me the test case, I'll attach it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4187105#4187105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4187105

[jboss-user] [JBoss Messaging] - Re: setting header values

2008-11-04 Thread timfox
I would suggest reading any simple JMS tutorial. The one at java.sun.com is quite good. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4186589#4186589 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4186589

[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ

2008-11-04 Thread timfox
ataylor wrote : | anonymous wrote : - Composite destinations. See http://activemq.apache.org/composite-destinations.html. A comma-separated list of destination names are treated like a single destination. | | no we don't support this at present. | . Can't you get the same effect by

[jboss-user] [JBoss Messaging] - Re: Messages stuck in Queue using the Bridge - Transaction i

2008-10-31 Thread timfox
Those stuck messages, are messages that have been sent or consumed as part of an XA transaction, and the server failed (crashed?) before the XA transaction committed or rolled back. If you're familiar with XA/JTA, you'll know they're in a prepared state (I suggest googling on XA if you're not

[jboss-user] [JBoss Messaging] - Re: java.lang.IllegalStateException: Didn't load expected nu

2008-10-31 Thread timfox
There is an old JIRA for this somewhere which was fixed some time back IIRC. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4185952#4185952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4185952

[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-10-31 Thread timfox
You shouldn't need to copy anything. This error occurs because the user is attempting to start a clustered post office in a non clustered JBoss configuration. E.g. user is trying to start JBM clustered in the default configuration. He should be using the all configuration. In the all

[jboss-user] [JBoss Messaging] - Re: MessageCounter can't get total message count

2008-10-29 Thread timfox
Have you turned on message counters? Read the manual for more info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4185285#4185285 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4185285

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-29 Thread timfox
szhigunov wrote : gaohoward wrote : IMO, unacknowledged messages may be sent twice. In this case after the client reconnects, first thing it should do is a transaction recovery. | | If that is correct, what would you recommend when two clients read from the same queue? When the first

[jboss-user] [JBoss Messaging] - Re: Message is redelivered while the original transaction is

2008-10-28 Thread timfox
szhigunov wrote : I get the same message received twice; in both cases transaction was committed. | | Here are the steps: | 1) Remote client reads message in XA from the remote JBM queue (transaction one). | 2) Client dies after JBM was prepared, but before commit. | 3) Client starts

[jboss-user] [JBoss Messaging] - Re: Exception in thread

2008-10-27 Thread timfox
This looks like a bug in the orderedexecutorfactory shutdown: | public void shutdownNow() | { | tasks.clear(); | } | which is not synchronized. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4184849#4184849 Reply to the post :

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

2008-10-27 Thread timfox
What subscription id problem? As I mentioned before, subscription name and client id are only used for durable subscriptions, NOT non durable subscriptions. In JMS it is impossible to create a non durable subscription with a specific client id and name. See the JMS spec for more details.

[jboss-user] [JBoss Messaging] - Re: Duplicate message after recovery rollback

2008-10-21 Thread timfox
szhigunov wrote : | My understanding, that if transacted session is used, JMS guarantees that any given message delivered only once. | | Not quite. If you consume a message in a tx, *and that tx is committed* then the message is guaranteed to never be delivered again. But in your

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

2008-10-16 Thread timfox
grafzal wrote : do I have to imlement | manual failover with the ExceptionListener and disable supportsFailover? yes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4182611#4182611 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JmxXA not bound

2008-10-16 Thread timfox
The java: prefix means available only in the same JVM. See the wiki on JmsRA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4182734#4182734 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4182734

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

2008-10-16 Thread timfox
I already said in my previous post we don't support this feature. If the user wants it they can file a feature request. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4182741#4182741 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Comparison to ActiveMQ

2008-10-15 Thread timfox
Where do I start with a post like this? JBM has been around for a few years now, and is a production quality messaging system. It's the default messaging provider in JBoss EAP and JBoss SOA platforms and JBoss 5. We're currently working on the next release JBM 2.0, which is due in Q1 2009.

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

2008-10-14 Thread timfox
Client id and subscription name are used in JMS to define *durable subscriptions*, in JMS they have absolutely no meaning for non durable subscriptions. In fact, there is no way using the JMS API to create a non durable subscription with a specific id so you couldn't be doing this on JBoss MQ

[jboss-user] [JBoss Messaging] - Re: Can't consume message.when message delivered

2008-10-10 Thread timfox
jerry.zhao wrote : jboss remoting 2.4.0 is not the correct version to use?? which version is correct version Deep breath. Ok, I'll say it for the third time. The installation section of the user guide explains in detail how to install JBM into JBoss AS and which versions of remoting etc to

[jboss-user] [JBoss Messaging] - Re: JmsTemplate w/ JBM still discouraged?

2008-10-10 Thread timfox
[EMAIL PROTECTED] wrote : anonymous wrote : it would be nice to add this as a suggested solution to the JBMSpringJMSTemplateNotes page that warns against using JmsTemplate with JBoss Messaging. | | This should be the same on any JMS provider you choose. Creating a Session/Producer on

[jboss-user] [JBoss Messaging] - Re: JmsTemplate w/ JBM still discouraged?

2008-10-10 Thread timfox
jmoscato wrote : From the Spring 2.5.x documentation, it appears that it would be safe to listen for messages using a Spring message driven pojo, a DefaultMessageListenerContainer configured with a JmsTransactionManager, and a container managed connection factory (/JmsXA) . | | Is the

[jboss-user] [JBoss Messaging] - Re: Can't consume message.when message delivered

2008-10-09 Thread timfox
Like I said, remoting 2.4.0 is NOT the correct version to use. Please read the user guide, installation section and follow it exactly. It specifies the exact version of remoting, aop etc that must be used. If you use any other versions then we make no guarantees that anything will or will not

[jboss-user] [JBoss Messaging] - Re: MessagingXAResourceRecovery can not reconnect

2008-10-09 Thread timfox
szhigunov wrote : Hi, | I am testing JBM XA recovery. I have two JBoss servers. Server A runs a non-clustered queue. Server B runs a JMS listener, which connects to server A through JCA + remote JMS provider. I added the following configuration to server B (where TM is running) to turn the

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

2008-10-09 Thread timfox
We're hoping to bring out a 1.4.1.GA release some time next week, which will contain all the latest bug fixes and changes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4181226#4181226 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Channel ID error in JBoss EAP 4.3 CP01

2008-10-06 Thread timfox
If you are using an EAP CP, then you have a support contract right? If so, use it, and someone from support will investigate. First you should upgrade to the latest CP though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4180550#4180550 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Can't consume message.when message delivered

2008-10-06 Thread timfox
jerry.zhao wrote : problem: Server will running 2-3 days as well. but after 2-3 days, will have problem. consumer is not consuming, message id delivered, I access http://localhost:8080/jmx-console, see my queue, find the allMessageSize will increase , then delivered a message, will display

[jboss-user] [JBoss Messaging] - Re: Takes much time to Startup - 1.4.0.SP3

2008-10-03 Thread timfox
If you've already created your tables then set createTablesOnStartup to false, since they're already there! http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html_single/index.html#conf.postoffice.attributes.createtables That's what it's for.

[jboss-user] [JBoss Messaging] - Re: When is 2.0 GA?

2008-10-02 Thread timfox
GA Q1 2009 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179939#4179939 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179939 ___ jboss-user mailing list

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

2008-10-02 Thread timfox
I don't really understand what your problem is. JBM 1.4 should support all equivalent JMX functionality to JBoss MQ. See user guide for more info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179940#4179940 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JBoss MDB fails to consume from JBoss ESB queue

2008-09-28 Thread timfox
The correct jars needed on the JBM client side classpath are detailed in the JBM user guide. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179231#4179231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179231

[jboss-user] [JBoss Messaging] - Re: How to set ping timeout of ConnectionValidator from jbos

2008-09-24 Thread timfox
It's in the remoting configuration. E.g. remoting-bisocket-service.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178516#4178516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4178516

[jboss-user] [JBoss Messaging] - Re: How to set ping timeout of ConnectionValidator from jbos

2008-09-24 Thread timfox
This is jboss remoting configuration, not jboss messaging configuration. You should ask in the jboss remoting forum to get a definitive answer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178517#4178517 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Receiving message size .

2008-09-24 Thread timfox
The JMS API does not support this directly without you first reading the message body and computing the size yourself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178527#4178527 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JMS HA/Clustering without shared DB

2008-09-23 Thread timfox
testrot wrote : Nobody? | Is this an uncommon request, or did I miss something when searching for a HA solution without without a clustered DB? | | Greetings, | Martin | | P.S.: Even a negative response like there is not possibility and this is not planned would be appreciated. A

[jboss-user] [JBoss Messaging] - Re: Messages don't appear to cluster properly

2008-09-23 Thread timfox
kenwdelong wrote : We have two JMS servers in a cluster. We have set up the instances to cluster: Post Office and the Destinations have Clustered=true. We are using JBoss Messaging 1.4.0 on JBoss AS 4.2.2. | | We have a queue that parses incoming (XML) messages. If the parsing breaks

[jboss-user] [JBoss Messaging] - Re: DLQ override depends on the queues definition order.

2008-09-23 Thread timfox
If you want to make sure one service gets started before another using standard JBoss MBean config, you just need to add a View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4178320#4178320 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JMS HA/Clustering without shared DB

2008-09-23 Thread timfox
testrot wrote : | Thanks for your answer. That's the information I needed. | May I politely ask when you plan to release a production ready version of JBM 2.0? | We're aiming for Q1 2009. :) View the original post :

[jboss-user] [JBoss Messaging] - Re: jms and fault tolerance

2008-09-21 Thread timfox
francesco_81 wrote : I solved my problem. | | i just simulated the crash of a messaging-node siple sendig the TERM signal. If I send the KILL signal to the AS than the fault tolerance just happen. Yes, that's in one of the FAQs View the original post :

[jboss-user] [JBoss Messaging] - Re: Message Redistribution on a Cluster

2008-09-19 Thread timfox
tim.shaw wrote : T | My question then becomes - How does JBM determine when the load is too great for the initial machine? | Each consumer has a client side buffer of messages (see prefetchsize), when that buffer is full the consumer is deemed busy, and won't be sent any more messages.

[jboss-user] [JBoss Messaging] - Re: Possible to deploy JBM to JBoss 4.2?

2008-09-19 Thread timfox
Trying to be polite here. why don't you read the user guide? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4177669#4177669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4177669

[jboss-user] [JBoss Messaging] - Re: High volume usage patterns and best practices

2008-09-18 Thread timfox
xxbrandonoxx wrote : I am trying to implement a system that will require consistently high volume with long running and constantly connected clients. To date I have followed the samples included with JBoss Messaging and am creating a new connection+session+temp_response_queue on a per request

[jboss-user] [JBoss Messaging] - Re: Message Redistribution on a Cluster

2008-09-18 Thread timfox
tim.shaw wrote : Is it possible, using JBM (1.4.x), to evenly distribute message processing across the nodes of a cluster (AS 4.2.3)? | http://wiki.jboss.org/wiki/JBMCluster anonymous wrote : | If not - and my reading of the docs is that it only starts redistribution when the original

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

2008-09-14 Thread timfox
jbossnoob wrote : If you are saying this can be done then your comments on that Jira look contradictory since you proposed a solution then took it back. | | Thanks. The FAQ is correct. The JIRA is talking about providing singleton queue/consumer functionality without using HA singleton

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

2008-09-13 Thread timfox
Read the FAQs! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4176314#4176314 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4176314 ___ jboss-user mailing list

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

2008-09-09 Thread timfox
From the AS readme.html JBossAS now binds its services to localhost (127.0.0.1) *by default*, instead of binding to all available interfaces (0.0.0.0). This was primarily done for security reasons because of concerns of users going to production without having secured their servers properly.

[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-09-08 Thread timfox
If after installation, the clustered examples don't work, it's more than likely the installation was botched. Solution: re-install being very careful to follow all steps exactly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174950#4174950 Reply to the post

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

2008-09-07 Thread timfox
I don't think this is JCA, it's an ESB pooling question. You should try posting in the ESB forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174806#4174806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174806

[jboss-user] [JBoss Messaging] - Re: Class not found in 1.4.0.CR1

2008-09-07 Thread timfox
francesco_81 wrote : I've the same problem but i want to use jms in clustered environmet. May someone help me? | Best Regards. Read the user guide? ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174807#4174807 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Latest JBM Versions

2008-09-06 Thread timfox
CP stands for Cumulative patch. We create CP releases for our paying customers (i.e. those which have bought a support contract), and they mainly contain bug fixes. We don't distribute binaries for these publicly, but all the source is publicly available in

[jboss-user] [JBoss Messaging] - Re: NoClassDefFoundError: org/jgroups/Channel

2008-09-04 Thread timfox
The real reason for this is probably the user has installed jboss messaging in a non clustered app server configuration (e.g. like default), but has set clustered=true in the config file. If clustering is required, then jbm must be installed in a clustered app server config where jgroups is

[jboss-user] [JBoss Messaging] - Re: Integrating Websphere MQ with JBoss

2008-09-04 Thread timfox
Please use the JCA forum for JCA questions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174256#4174256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174256 ___ jboss-user

[jboss-user] [JBoss Messaging] - Re: java.io.StreamCorruptedException: invalid stream header

2008-09-04 Thread timfox
Please use the correct forums. This does not seem to be related to JBoss Messaging. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174257#4174257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174257

[jboss-user] [JBoss Messaging] - Re: JBoss doesnt release threads after executing MDB (out of

2008-09-04 Thread timfox
Please use the JBoss MQ forum for JBoss MQ issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174258#4174258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174258 ___

[jboss-user] [JBoss Messaging] - Re: IBM MQ JCA Connector - error

2008-09-04 Thread timfox
Please use the JCA forum for JCA issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4174259#4174259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4174259 ___ jboss-user mailing

[jboss-user] [JBoss Messaging] - Re: JBM w/ EJB 2 MDB issue (new to JBM)

2008-08-28 Thread timfox
There's a working EJB2 example in the distribution (see user guide). If that doesn't work it means your installation was bodged. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173137#4173137 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: java.lang.NullPointerException

2008-08-22 Thread timfox
I believe this was a JBR bug fixed quite some time ago https://jira.jboss.org/jira/browse/JBREM-952. You're using a very old version of JBM and JBR, I suggest you upgrade. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171985#4171985 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
Looks like you're creating a non transacted session. There are lots of examples around of doing this correctly. I suggest you find one of those and copy it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171437#4171437 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Best practice for scheduled message processing

2008-08-20 Thread timfox
ataylor wrote : There may be a way of stopping the MDB from consuming messages i don't know, speak to the App server guys they could help you. Alternatively you couls write you're own mbean that consumes from the queue and stop and start the connection your self. Or you could write a simple

[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
Ah I just noticed you're using an interceptor, I thought you were using an EJB which is an extremely common pattern. The JMS JCA resource adapter requires a managed environment (read servlet or EJB) otherwise transaction won't get enlisted automatically. But this is app server stuff and not

[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
perisb wrote : So your saying the enlistment of the JMS Session as an XA resource has nothing to do with JBM (or is completely orthogonal to it)? | Yes, the resource enlistment is done by the JCA adapter, not JBM. anonymous wrote : | Just curious: the connection factory name java:/JmsXA

[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
http://java.sun.com/j2ee/apidocs-1_5-fr/javax/resource/spi/package-summary.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171510#4171510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171510

[jboss-user] [JBoss Messaging] - Re: Best practice for scheduled message processing

2008-08-20 Thread timfox
If you like you can add a JIRA feature request for the ability to pause resume delivery on a queue via the management interface. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171512#4171512 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
perisb wrote : If not, is there anything explicit I can do to make this work? If you can get a reference to the transaction, then you can always enlist the resources yourself. I.e. don't use JmsXA, use XAConnectionFactory, create an XAConnection, create an XASession, and enlist the

[jboss-user] [JBoss Messaging] - Re: How to set the FullSize of the queue

2008-08-18 Thread timfox
Search for fullSize in the documentation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4171015#4171015 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171015 ___ jboss-user

[jboss-user] [JBoss Messaging] - Re: Best architecture practice for jboss messaging.

2008-08-16 Thread timfox
I would use a topic. Each user can create a subscription when they join. If you want users to see chat messages sent while they were not connected, they can use a durable subscription. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170913#4170913 Reply to

[jboss-user] [JBoss Messaging] - Re: What is better for a JMS request/response pattern?

2008-08-16 Thread timfox
[EMAIL PROTECTED] wrote : I don't know your complete use case, but Temporary Queue is better. | | Topic - your message would probably be sent to other internal queues that don't need to know about your message. And besides selector has some performance implications. | | | So...

[jboss-user] [JBoss Messaging] - Re: What is better for a JMS request/response pattern?

2008-08-14 Thread timfox
How long is a piece of string? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4170634#4170634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4170634 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: Jboss Messaging 1.4.0 SP3 and Message Redistribution / P

2008-08-11 Thread timfox
Did you run the examples after installing to validate the installation? There's a message redistribution example. If it doesn't work it means your installation is messed up. If it does work, see how it differs from your program to work out what is wrong. View the original post :

[jboss-user] [JCA/JBoss] - Re: Configuring a non-JBoss JMS Provider (Weblogic) in JBoss

2008-08-07 Thread timfox
The error message is pretty clear, it's saying that the object at context foresight in your remote JNDI (I'm assuming this is Weblogic's JNDI server) does not implement the QueueConnectionFactory interface. View the original post :

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-08-05 Thread timfox
As I said before I suspect you're starting your publisher(s) before the subscriber has created the durable subscription, hence the first few messages get lost since there's no durable subscription. That's to be expected. Putting publisher and subscriber into the same file means that can't

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-08-05 Thread timfox
There are two other problems with your code I can see after a quick perusal: 1) You're starting your threads but not waiting for them to complete before exiting. You need to add calls to Thread::join() to make sure you wait until they complete or your program will exit before they are done 2)

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-08-05 Thread timfox
There's a third problem with your code: You start the subscriber thread, then immediately start the publisher thread(s) before waiting for the subcriber thread to finish. This means there's a strong possibility you'll start sending messages before the durable subscription is created, so

[jboss-user] [JBoss Messaging] - Re: All messages are not consumed in Clustered environment.

2008-08-04 Thread timfox
You already posted this here: http://www.jboss.com/index.html?module=bbop=viewtopict=139256 The last comment on the original thread was Please post a simple Java test that we can run that demonstrates the problem. We're still waiting for that. Do not repost/crosspost or I will delete your

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-08-04 Thread timfox
Ok, you're almost there. You have two programs now. You just need to combine them into a single test that we can run to show your problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168573#4168573 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-08-04 Thread timfox
Yes, persistent is the default. But going back to my original request, please provide a simple test program which demonstrates the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168592#4168592 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-08-04 Thread timfox
If the problem is real, you should be able to easily provide a simple test case to run that demonstrates it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168594#4168594 Reply to the post :

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

2008-08-02 Thread timfox
Overlord, with respect, can you please stop the stream of consciousness posts. If you have a problem, please do some research into it, make sure you have set things up correctly, read all the manuals etc. If that still doesn't work, then create a simple self contained test case that

[jboss-user] [JBoss Messaging] - Re: Configuring a non-JBoss JMS Provider (Weblogic)

2008-08-02 Thread timfox
I don't know Dan Christopherson, but the JCA people should be able to help you out. Also, have you looked on the wiki. IIRC there are some resources about how to configure the JBoss JCA adaptor to talk to other messaging systems. View the original post :

[jboss-user] [JBoss Messaging] - Re: Configuring a non-JBoss JMS Provider (Weblogic)

2008-08-01 Thread timfox
No idea, this is a JBoss Messaging forum, not a How do I use Weblogic forum - have you asked the Weblogic guys? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168098#4168098 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: how to suspend consumer of a queue/topic

2008-08-01 Thread timfox
zhaoxixie wrote : I wish such feature in messaging system. | | We already have such feature - it is called connection.stop(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168096#4168096 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: How to send messages to a remote clustered queue (using

2008-08-01 Thread timfox
You can use either normal or HA JNDI it's up to you. I'd recommend a book/tutorial on JNDI. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168100#4168100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168100

[jboss-user] [JBoss Messaging] - Re: Configuring a non-JBoss JMS Provider (Weblogic)

2008-08-01 Thread timfox
Or you could ask in the JCA users forum, since this seems to be a question of how to configure the JBoss AS JMS JCA adaptor to talk to Weblogic JMS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168121#4168121 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Configuring a non-JBoss JMS Provider (Weblogic)

2008-08-01 Thread timfox
[EMAIL PROTECTED] wrote : Tim, | | The question is not a How do I use Weblogic forum - it is an interoperability issue with JBoss. Fine, but you are in the wrong forum. This team does not deal with interoperability with weblogic. That's why I said try the JCA forum. In the same way, if

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 2.0.0 alpha released

2008-07-31 Thread timfox
dumitriu wrote : The Beta release is slated for when? | We're aiming for about three months time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167905#4167905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167905

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

2008-07-31 Thread timfox
Burnison- None of the stacks you posted show any JBoss Messaging code. All I can see is the JCA layer (that's part of JBoss AS) trying to do some stuff with JBoss Transactions and failing. I suggest you post in the JCA forum. View the original post :

[jboss-user] [JBoss Messaging] - Re: How do I empty a JBoss queue?

2008-07-31 Thread timfox
As previously mentioned, messages will get put back on the queue when the client gets timed out (not when another client reconnects). If you can produce a simple self contained test case that we can run that demonstrates otherwise we will be happy to investigate further. View the original post

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

2008-07-31 Thread timfox
I have to agree with Clebert. A warm-up period is critical before taking any measurements since JIT warmup can make a huge difference (I've noticed about a 300% performance difference). Secondly just sending messages is not really a good measurement. One reason is that after the call to send()

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

2008-07-31 Thread timfox
shimi wrote : and to see ActiveMQ as part as the test as well. http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-2.0.0.alpha1/html/performance.html#performance.results What's more JBM 2.0 is even faster now then when those results were taken :) View the

[jboss-user] [JBoss Messaging] - Re: how to suspend consumer of a queue/topic

2008-07-31 Thread timfox
Connection.stop(). It's a standard part of JMS. See JMS spec or JMS javadoc for more details View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167936#4167936 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167936

[jboss-user] [JBoss Messaging] - Re: how to suspend consumer of a queue/topic

2008-07-31 Thread timfox
You should try asking in the MDB forum. MDBs are a part of JBoss AS, not JBM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167956#4167956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4167956

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 2.0.0 alpha released

2008-07-28 Thread timfox
dumitriu wrote : When will high availability (broker mirroring with automatic failover) be available in JBM 2.0? The beta release View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167149#4167149 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Wierd behavior with reply queue

2008-07-28 Thread timfox
Anything to do with MDBs and MDB config is not part of the JBoss Messaging project, but is handled by the JBoss AS project. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4167152#4167152 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: How do I empty a JBoss queue?

2008-07-28 Thread timfox
If you have well written clients which always close their connection(s) properly before exiting then any unacknowledged messages will be returned immediately to the queue(s) on close of those connection(s), otherwise the after the client exits the server will eventually time out that client and

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-07-23 Thread timfox
Please post a simple Java test that we can run that demonstrates the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4166263#4166263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166263

[jboss-user] [JBoss Messaging] - Re: server and client threads are created duirng jboss messa

2008-07-21 Thread timfox
When you close the connection or session the threads should be reclaimed, so this is only going to be a problem if you create a very large number of sessions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165597#4165597 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Spring JmsTemplate questions

2008-07-21 Thread timfox
TheOverlord wrote : According to the JBoss Wiki relating to JmsTemplate, it's safe to use JmsTemplate so long as it's used in a Jboss AS when using the connection factory from java:/JmsXA. | And even then, it's only safe for sending messages, not consuming them. View the original post :

[jboss-user] [JBoss Messaging] - Re: question about DownCacheSize

2008-07-18 Thread timfox
jasonhu919 wrote : | 3. the message dequeue is fast, but the message enqueue is really slow compared to oracle AQ. any way, I can tune the enqueue performance? Message consume rate is highly dependent on many factors including what acknowledge mode you are using (e.g. AUTO_ACKNOWLEDGE

[jboss-user] [JBoss Messaging] - Re: All messages are not persisted in Database.

2008-07-18 Thread timfox
Probably you aren't creating your durable subscriber until after some of the messages have been sent, so clearly those messages will be unavailable to consume. This would also explain why it only happens on the first run, since on subsequent runs the durable subscriber already exists. View

[jboss-user] [JBoss Messaging] - Re: Performance Tuning for Jboss Messaging

2008-07-18 Thread timfox
The reason you don't see documentation for this in the JBM documentation, is the MDB pooling stuff is a part of JBoss App server, not JBoss messaging. It's not part of the JBM project or code. I believe this is documented in the app server documentation somewhere. There are also wiki pages on

<    1   2   3   4   5   6   7   8   9   10   >