-
1. Re: SwiftMQ with Jboss3.0.0beta
amueller Feb 26, 2002 1:59 PM (in response to camtabor)> Hello,
> I feel I am very close to getting MDB working with
> h SwiftMQ, but I get the following error on
> deployment. If anyone has gotten this working, I
> would really appreciate your configuration.
> Thanks.
> -Cameron
>
> javax.jms.JMSException:
> com.swiftmq.tools.requestreply.TransportException: No
> requestService for request defined:
> [CreateConsumerRequest [Request, dispatchId=16
> requestNumber=0 timeout=-1 replyRequired=true
> reply=null] queue=REALTIME@router1
> messageSelector=null]
You use the standard JMS Swiftlet. You must use the JMS XA/ASF Swiftlet. -
2. Re: SwiftMQ with Jboss3.0.0beta
camtabor Feb 26, 2002 2:19 PM (in response to camtabor)Thank you, I'm going to try and use the XA/ASF swiftlet instead, except I have no idea how. Here is my current configuration. Thanks for pointing me in the right direction.
SwiftMQAdapter
smqp://localhost:4001/timeout=10000
com.swiftmq.appserver.jboss.SwiftMQAdapter
QueueConnectionFactory
TopicConnectionFactory -
3. Re: SwiftMQ with Jboss3.0.0beta
amueller Feb 26, 2002 2:32 PM (in response to camtabor)The use of the JMS XA/ASF Swiftlet is simple. Download it and unpack it. You'll find a "deploy" directory there with one jar file and one config.xml. Copy both into "kernel/sys$jms" directory of your router and start the router. On startup you'll see that the JMS XA/ASF Swiftlet is used now instead of the standard JMS Swiftlet.
-
4. Re: SwiftMQ with Jboss3.0.0beta
camtabor Feb 26, 2002 4:09 PM (in response to camtabor)I figured that out, thanks so much again. Now there is one last issue.
When I try to use the explorer I get:
unable to connect exception= javax.jms.JMSException: java.lang.NullpointerException
with this configuration:
JNDI-Provider-URL smqp://localhost:4001/timeout=10000
Name Queue Connection Factory: QueueConnectionFactory
The same when I try to use a basic jms sender. I wonder if the URL should be different with the XA/ASF swiftlet?
Thanks so much for your help, if you have any advice here I'd appreciate it.
-Cameron -
5. Re: SwiftMQ with Jboss3.0.0beta
camtabor Feb 26, 2002 4:18 PM (in response to camtabor)Hmm, I put in in kernel and took it out of deploy and it worked. Oh well, thanks so much for your help on this.
-Cameron Tabor -
6. Re: SwiftMQ with Jboss3.0.0beta
amueller Feb 26, 2002 4:19 PM (in response to camtabor)That seems some classpath mismatch or a configuration problem. It works fine here.
Please take a clean SwiftMQ 3.0.1 eval, unzip it into a new directory, copy the jar + config.xml from the JMS XA/ASF Swiftlet into the kernel/sys$jms and then use the explorer from that new clean distribution.
This is not the right forum to give you SwiftMQ answers, so if you need more help, contact me directly: am@iit.de -
7. Re: SwiftMQ with Jboss3.0.0beta
camtabor Feb 26, 2002 4:49 PM (in response to camtabor)I'm all set up now, thanks.