Hi all,
I noticed some old messages in the list where someone had problem getting
the Connection Factory (Topic or Queue) from a JBoss 3.0 (and I also with
2.4.6) using some code that is working under 2.4.4.
The problem was that when looking for the Connection Factory in the JNDI
context like:

QueueConnectionFactory queueFactory =
(QueueConnectionFactory)context.lookup("java:/ConnectionFactory");

there wasn't an Exception but the queueFactory was null.
I found that the problem is that you must use the right client classes when
compiling the project.
I tried to use the 2.4.6 client classes with the 2.4.6 server (or the 3.0RC2
client classes with the relative server) and I got the right behaviour.
It may look very simple and stupid, but if you, instead of using ant, use an
IDE (I use JBuilder) with the libraries package already created with an
older version of jboss, may be that you can't realize that you're not using
the right classes.

Mr. Andrea Delle Chiaie



_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to