Which JBoss version are you using? How you declare the "ConnectionFactory" on the web-app.xml file and in jboss-web.xml file on your WAR?
Thanks for your answer.
I m using jboss-3.2.6. I have just declared my Connectionfactory in jboss.xml of my jar application, not in the client.
When i change the default name "ConnectionFactory" in the code and jboss.xml, it doesnt work anymore.
If you want to access a resource from a web-app, you have to declare it using the resource-ref tag in web-app.xml (and if using JBoss, also within jboss-web.xml). If you haven't declared the connection factory to JMS, then it's normal that says "not bound".