I work on a data processing application in which concurrency is achieved by putting several units of work on a message queue that multiple instances of a message driven bean (MDB) listen to. Other then achieving concurrency in this manner, we do not have any specific reason to use the messaging infrastructure and MDBs.
This led me to th...
I need to create asynchronous message queues dynamically in Java. My use case is sending email via multiple SMTP servers: I need to enforce that emails to the same SMTP server are processes sequentially, but emails to different SMTP servers may be processed concurrently. I've used JMS in the past, but as far as I can see it only allows f...
I've copied and pasted the example ejb-jar.xml and jboss.xml file from http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch6.chapt.html#ch6.mdbejbjar.ex and I'm receiving the following error when JBoss attempts to deploy it:
ERROR [ScannerThread] deployment.MainDeployer (MainDeployer.java:943) - Could not create deployment: file:/...-ej...
Hello all.
We have a server app that is deployed across to server machines, each running JBOSS 4.2.2. We use JBOSS messaging with MDBs to communicate between the systems. Currently we need to start the servers in a very specific order so that JBOSS can connect properly. If a server starts and doesn't see its resources it never tries agai...
I am currently using Glassfish v2.1 and I have set up a queue to send and receive messages from with Sesion beans and MDBs respectively. However, I have noticed that I can send only a maximum of 1000 messages to the queue. Is there any reason why I cannot send more than 1000 messages to the queue? I do have a "developer" profile setup fo...
I'm looking for a JBoss MQ tutorial (on JBoss Tools) so that I can write an MDB and a client.
I can find only JBoss Messaging.
...
Hi.
On an existing application I am trying to startup the JBOSS server and I get following error.
Unfortunately I do not know clearly as yet, what all has been configured and is being used on this jboss. For now; I quickly want to get the error sorted out.
If looking at the stack trace, you can suggest what kind of configuration is mi...
For our current J2EE project based on JBoss, we need to interface with a remote system using message driven beans and a JCA resource adapter provided as a RAR file by a third party. I would like to package and deploy the entire project as an EAR file to our JBoss server. Most notably, the RAR file should be embedded within the EAR file a...
I am not able to create a Queue connection in JBOSS4.2.3GA Version & Java1.5, as I am using MDB as per the below details.
I am putting this MDB in a jar file(named utsJar.jar) and copied it in deploy folder of JBOSS, In the test env. this MDB works well
but in another env. [ env settings and jboss/java ver is same ] it is throwing erro...
Hi,
I have a topic configured correctly like this, in jboss 5.1:
<mbean code="org.jboss.jms.server.destination.TopicService"
name="jboss.messaging.destination:service=Topic,name=GreetingsTopic"
xmbean-dd="xmdesc/Topic-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
</depends>
<d...
It's simple: I have an MDB and an EJB that sends messages to a topic (or queue). JBoss complains that the topic is not bound to the JNDI context.
I want to have the topic/queue to be automatically created at best, or at least to have a standard way to define it, per application (say, in ejb-jar/META-INF)
this question and this blogpost...
Hi,
I have a MDB deployed on Jboss 4.2.2 and a client on the same server that produces messages and expects a reply from the MDB via a temporary queue created before the message is sent.
When I run the client, I see that it creates the message, puts it in the queue and waits for the reply (no problem so far) ... but when I check in the...
Hey!
Hopefully quick question....
I have a .MDB file stored on my webserver and I'm trying to connect to it.
I have no way of "registering" it with a name in ODBC.
Is the only way to connect to it by specifying the absolute page of the .mdb file?
$mdbFilename = "./db/Scora.mdb";
$connection =
odbc_connect("Driver={Microsoft Ac...
I have a problem when using a mdb as a seam component. In the bean I inject some other seam somponents.
The problem is that when the server restart after a crash and the mdb is deployed it starts reading the messages but seam is not initialized yet and I got an exception(listed above). If i start the server whith the queues empty and su...
I'm attempting to use the sample broker that comes with ActiveMQ 5 with an MDB deployed on JBoss 5.1 AS.
I've deployed the activemq rar to the deploy directory.
I've deployed activemq-jms-ds.xml to deploy/messaging which defines my connection factories.
I have the broker running on localhost:61616 as defined in the connectionfactory con...
Hi all,
I`am using jboss-5.0.0.GA-jdk6.
Ive implemented a JMS que, and MDB which listens to it.(so far so good)
What im trying to achive is: after 3 attempts of errors, instead of sending the error msg to DLQ, i wanna send it to a new custom Error Que which I want to define, so I can handle the errors in that que the way I want.
any i...
I'm using JBoss 5.1.0 GA together with JMS.
I have two message-driven beans.
Could someone explain the threading model to me? For example, does each MDB have a separate thread pool? Do they share a global pool?
...