[Messaging, JMS & JBossMQ] - Access JMS Queue from a Remote Client
by mdenieffe
I'm new to JBoss so if this question has already been asked I apologise in advance.
Background Info
Currently we have a swing application which runs on the same machine as JBoss and I've been asked to remove the Swing Client onto it's own separate machine and this is where the problems are starting...
To the Question...
Is there any configuration needed when accessing a JMS Queue from a remote client (Swing App)? Are there any config files that need to be changed so that a client can have access to the Queue, as I had to use the run.bat -b [IP ADDRESS] parameter when trying to access a Session Bean remotely, so I'm wondering are there similar settings regarding the remote access of a Queue, do I have to configure a security file in JBossMQ to allow remote connections?
Any help, documentation or point me in the right direction would be a great help....
JBoss4.0.4-GA JBossMQ
Thanks in Advance
Mark Denieffe
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116901#4116901
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116901
18 years, 3 months
[JBoss Messaging] - XA Datasource?
by jgilbert
Does JBM support XA Datasources? This posting seems to indicate that I should not use an XA Datasource with JBM. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=119217
I have an MDB that creates a timer using the EJB TimerServer. I have DefaultDS setup to use the Oracle XA driver and I have a non xa oracle datasource setup for JBM. When the MDB executes I get an javax.transaction.HeuristicMixedException.
When I switch the TimerService to use the non xa datasource the exception goes away. However, this doesn't feel like the right solution.
Can I use an XA datasource with JBM?
My Environment:
JBM 1.3
JAS 4.2
Oracle
Stacktrace
2008-01-03 15:12:31,076 ERROR [org.jboss.resource.adapter.jms.inflow.JmsServerSession] org.jboss.resource.adapter.jms.inflow.JmsServerSession@1f6a5e9 failed to commit/rollback
| javax.transaction.HeuristicMixedException
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1264)
| at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
| at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:494)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:248)
| at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
| at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
| at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116896#4116896
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116896
18 years, 3 months