OK - firstly may I thank those that helped (particularly darranl!) it is all working thank fek!
In essence the NameNotFoundException was entirely a result of me asking for the wrong name from JNDI - so thanks for the reference to the MBean stuff. The second problem was the ClassCastException and that was due to more than one jar on my classpath containing an implementation of the QueueConnectionFactory class and both were loaded by the app server. I got around that one by altering the ant script to specifically include only the files I knew I needed and discarding all others at build time. Thanks again! Shaun View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891607#3891607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891607 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
