hey,everyone!
i 'm new here.have some problems when programming with jms in jboss 4.0.2:
1.What's the differece and relationship between the config files under deploy-hasingleton\jms and deploy\jms? What do I need to do if I want to config my jms provider and jms destination?
2.When running a jms test program,I encounted such exception:
java.lang.ClassCastException: javax.naming.Reference
it is resulted in the code :
Object tmp = iniCtx.lookup("ConnectionFactory"); TopicConnectionFactory tcf = (TopicConnectionFactory)tmp;
In my case all is stored in deploy/jms - I made ssl-jms providers and MDBs cross-linking between two boxes and didn't encounter problems in JMS on JBoss. In JBoss Admin. manual see "Messaging on JBoss", I found a lot of goods there.