The "exported" JNDI namespace is special because it behaves differently depending on if the client is remote or local. If your client is local then it should use the full JNDI string (i.e. "java:jboss/exported/APR3_TES_Archive_Connection_Factory"), and if the client is remote it should use whatever comes after "exported/" (i.e. "APR3_TES_Archive_Connection_Factory"). My guess is that your application has this mixed up.
I believe you could add this:
to your connection factory and then both local and remote clients can use the same JNDI lookup.
Lastly...If your client is local you should think about using a pooled-connection-factory if you are sending messages or using an MDB if you are consuming messages. At the very least you should use a connection factory with an in-vm connector if your client is local.
After doing ENTRY name change, the above error got resolved but I got another error : HornetQException[errorType=SECURITY_EXCEPTION message=HQ119031: Unable to validate user: null
Are you attempting to send a message to a remote server or your local, in-vm server?
Justin - I have created a queue to which Jboss web application will send a file to process.
There is a remote client which will pick and process this message.
So used below configuration in domain.xml.
I can see the message appearing in the queue from web application - ok.
But the Remote client although says is connected to the queues is not picking up the message - any guess.
Many thanks for your help.