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
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
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).
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
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
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
"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
"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
"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
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
"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.
|
"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
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
---
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
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
"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
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
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
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
-
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
"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
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
---
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
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
"[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
"[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
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
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
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
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.
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
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
32 matches
Mail list logo