users@glassfish.java.net

Re: [JMS] destination to another application server

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Jan 2009 10:23:11 PST

hi Ramesh,

Below message shows generic RA is binds with remote Queue name called QUEUE.MetadataImportXML. If i provide wrong queue to generic RA, will throught an error like : there is no queue called queue/MetadataImportXML in remote server.
So it means generic RA can able to find queue in remote server.

#Creates a javax.jms.Queue Administered Object and binds it to application server's JNDI tree at jms/MyQueue and points to /queue/B
asadmin create-admin-object --raname genericra --restype javax.jms.Queue --property DestinationJndiName=/queue/B jms/OutQueue

[#|2009-01-21T12:58:25.850-0500|FINEST|sun-appserver9.1|com.sun.genericjmsra|_ThreadID=17;_ThreadName=Thread-94;ClassName=com.sun.genericra.util.ObjectBuilder;MethodName=build;_RequestID=a11d3cb6-2cf8-4e03-856e-2d4aa95e97d5;|Created the object based on class :org.jboss.mq.SpyQueue|#]
[#|2009-01-21T12:58:25.850-0500|FINEST|sun-appserver9.1|com.sun.genericjmsra|_ThreadID=17;_ThreadName=Thread-94;ClassName=com.sun.genericra.util.ObjectBuilder;MethodName=build;_RequestID=a11d3cb6-2cf8-4e03-856e-2d4aa95e97d5;|About to set properties on QUEUE.MetadataImportXML|#]

One more thing just want to confirm:
In your blog: http://weblogs.java.net/blog/rampsarathy/archive/2006/12/configuring_gla.html
I have not run below command since i only have to consume message from remote server.I don't need to repost the message to anywhere.So, i thought i don't need this command to run.

Admin Objects
For JMS Destination Resources, an administered object needs to be created. In the image above, see jms/MyQueue [pointing to Generic JMS RA and TQueue] created in the application server.

Now i am not getting any error while redeploying the EAR. I am also attching new log file.

Even now i am not able to consume messages from remote server.Since i am not getting any errors i don't know how to move forward.

Can you give me some idea's where i could confirm all the steps i followed are correct?
And also conform me what are the steps i need to make sure setup which i did is corrct?

-Nanda
[Message sent by forum member 'chalava' (chalava)]

http://forums.java.net/jive/thread.jspa?messageID=327430