[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to create a Queue in JBoss

2005-03-11 Thread razor_harm
Edit this file: $JBOSS_HOME\server\default\deploy\jms\jbossmq-destinations-service.xml Please consult the online documentation for basic JBoss administration: http://www.jboss.org/docs/index#as View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869718#3869718 Re

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: error: ConnectionFactory not bound

2005-03-11 Thread razor_harm
anonymous wrote : | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: | ObjectName: jboss:database=localDB,service=Hypersonic | state: FAILED | I Depend On: | Depends On Me: jboss.jca:name=DefaultDS,service=ManagedConnectionFactory | java.sql.SQLException: General error: java.lang.NullPoi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote ConnectionFactory/Queue reconnection

2005-03-11 Thread razor_harm
anonymous wrote : | I get my ConnectionFactory and my Queue from the JNDI. Should I do an initialContext.lookup(...) twice ? | Yes. I guess you could implement the javax.jms.ExceptionListener interface. (Altough, i'm not 100% sure if this is the way to do it, if you use a session bean).

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote ConnectionFactory/Queue reconnection

2005-03-10 Thread razor_harm
Simply catch the exception and reconnect? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869531#3869531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869531 --- SF

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: is it possible to deploy a mdb as a mbean in a sar archi

2005-03-10 Thread razor_harm
Yes, you can put this MBean in any *-service.xml file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869481#3869481 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869481

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0 JMS Cluster Support

2005-03-09 Thread razor_harm
anonymous wrote : | Okay I can see your point... Just remember that when your node dies (machine crashes), you loose both the queue and a message consumer (processing power). This is the reason why we chose to deploy our consumers on separe JBoss instances. | small correction: You don't l

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB listening to TIBCO JMS provider

2005-03-09 Thread razor_harm
"pancor" wrote : hi to everyone. | I know that this question is similar to others. But i didn't understand how tell to jboss that it has to point to external tibco jms provider and how to set mdb to read messages. Sorry for my bad english. I guess you need to figure out what jndi.properties yo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0 JMS Cluster Support

2005-03-09 Thread razor_harm
"kiran222" wrote : | Why not? The Node (with JMS Queue) has the JBoss server running and available for processing. Why should not we use it? | | If that Node (with JMS Queue) is to die, another instance of Queue will be made available on the other Node by the HAJNDI and that Queue will s

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Basic Clustering/Load Balancing Question

2005-03-09 Thread razor_harm
"thinkaholic" wrote : How long does it take to a failover of the JMS to happen in the case of a crash. | I tried it and it takes with me about 20 minutes to have my queue up and running on the second node and I think I am missing something here since it not acceptable at all to have a 20 minu

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending message with delay

2005-03-09 Thread razor_harm
I'm not aware of any initial delay. But you can set the redeliver delay: | | | jboss.mq:service=DestinationManager | org.jboss.mq.server.ReceiversImplArrayList | 1000 | 3 | | So, I guess you could do an immediate NACK after receiving the message the messa

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HA-JMS, datasources

2005-03-09 Thread razor_harm
"vijayk" wrote : Thank you for your reply. I read Wiki and understand that a single database is required. But what if that database goes down? | | My question is - is there a way to insert messages in to 2 databases instead of just one? That way I can be sure that no messages get lost. |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0 JMS Cluster Support

2005-03-09 Thread razor_harm
"kiran222" wrote : Thanks for your replies. I am still trying to make the example in http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA work with JBoss 4.0. | | I don't mind whether the load balancing takes place in the Queues or at the Consumer(MDB) level. | | So this is my understandi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Not able to receive JMS Messages.

2005-03-09 Thread razor_harm
What kind of error do you get? What does the server log say? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869349#3869349 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869349 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: new InitialContext(remote) in servlet returns local jndi

2005-03-09 Thread razor_harm
Can you post your (servlet) code here? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869345#3869345 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869345 --- SF ema

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 4.0 JMS Cluster Support

2005-03-08 Thread razor_harm
I don't think it is possible to load balance the queue itself. (Only the consumers). Adrian, correct me if I'm wrong here. Do you want to load balance the queue itself? Or can you live with load balancing the consumers? (I assume this is where the actual work get's done??) View the origi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Basic Clustering/Load Balancing Question

2005-03-08 Thread razor_harm
"kiran222" wrote : I need to run a 2 node JBoss cluster with the following requirements: | | 1) Both the nodes will have a Queue with same name. Lets say the name as "Purchase Queue" | You don't actualy need two queue's. You could create a cluster using HA-JMS. This cluster provides auto

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Arent

2005-03-08 Thread razor_harm
Yes, you need a single database for the clustered HA-JMS queue. Also see: http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869163#3869163 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)

2005-03-02 Thread razor_harm
Sorry to kick this message up again. But I'm running into the same problem using 3.2.6 I cannot find any bug report in the JIRA. I also tried the workaround provided a few posts up. But nothing seems to work. Please suggest View the original post : http://www.jboss.org/index.html?modu

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: OutOfMemory on the JMS Client Side

2005-02-25 Thread razor_harm
You might want to switch to a 'real' db such as PostgreSQL or MySQL View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867753#3867753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867753 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Jboss/JMS out of managed connections on java:/DefaultDS

2005-02-18 Thread razor_harm
Can you reproduce this behaviour when you use a 'real' database such as MySQL, PostgreSQL or Oracle? Hypersonic is not a production ready database. It is only shipped with JBoss to have something working out-of-the-box. View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multiply queue consumers

2005-02-17 Thread razor_harm
"jgc195" wrote : Sorry - I'm obviously being stupid and missing something obvious but... | | | Or are they hard coded into an implementation of the Receivers interface? Of is this something to do with the DestinationManager? | | Apologies in advance if this is a really really st

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic DB become corrupt fairly often, JMS startup f

2005-02-15 Thread razor_harm
Also see: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=52693 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866654#3866654 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866654 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Anyone seen this?

2005-02-15 Thread razor_harm
You probably should not use HSQL. I would recommend a more 'production ready' RDMS as MySQL, PostgreSQL or Oracle. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866653#3866653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [Messaging, JMS & JBossMQ] - HAJMS distributed Queue

2005-02-10 Thread razor_harm
I would like to setup a distibuted queue on a JBoss cluster (2 nodes). This way I would like to achieve fail-over, if one node dies the other node should take over the JMS server task(s). I have read the WIKI on HAJMS. But I'm not sure where to start deploying my distributed Queue. Is there any

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multiply queue consumers

2005-02-10 Thread razor_harm
"[EMAIL PROTECTED]" wrote : Moderated: RTFM | | Hint: ReceiversImpl Just for the 'searches' on the forum This is actualy not in the Manual. But it can be found in the WIKI: http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQReceiverImpl View the original post : http://www.jboss.org/index

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: configure dead-letter-queue per queue

2005-02-10 Thread razor_harm
"[EMAIL PROTECTED]" wrote : Only MDBs have a dead letter queue. There is no similar notion for a jms queue. Write your own MessageListener implementation that puts messages onto another queue when an exception is thrown from its delegated onMessage invocation. | Thanks Scott for the reply. I

[JBoss-user] [Messaging, JMS & JBossMQ] - configure dead-letter-queue per queue

2005-02-09 Thread razor_harm
I have seen this question posted on the forum several times now. But I have not seen a reply which confirms if it is possible to specify a DLQ for a specific Message queue. For example Dead messages for Queue A should be send to DLQA. Dead messages for Queue B should be send to DLQB. Is it poss

[JBoss-user] [Beginners Corner] - Re: get rid of the absurd long stacktrace

2005-01-04 Thread razor_harm
Thank you for your response. Unfortunatly this does not help me much. How could I 're-write' the Console appender so that it does nog print all these (long) stacktraces. I think this has somehow to do with how JBoss wrappes exceptions Can somebody give a hint? View the original post : htt

[JBoss-user] [Beginners Corner] - get rid of the absurd long stacktrace

2004-12-29 Thread razor_harm
Hi all, Is there some way to get rid of the (sometimes) absurd long stacktrace. (J Boss sometimes gives me > 1 lines of stacktrace)... Can this be turned off some way? Regards, Harm. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860126#3860126 Reply

[JBoss-user] [Management, JMX/JBoss] - Re: mbeanserver persistence

2004-09-14 Thread razor_harm
Nobody? I'm realy stuck on this View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848109#3848109 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848109 --- This SF.

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean description

2004-09-13 Thread razor_harm
Use model dynamic mbeans or model mbeans instead of standard MBeans. You can use JBoss's XMBean implementation for Model MBeans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847990#3847990 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Management, JMX/JBoss] - mbeanserver persistence

2004-09-09 Thread razor_harm
Hi all, I use the: service=DestinationManager (org.jboss.mq.server.jmx.DestinationManager) mbean to create a new Queue in the JMX console. I invoke the createQueue(String name) method. This works nicely. I see the queue created and it appears in the jboss.mq.destination domain. However whe