JMS without JNDI?
Posted
by dbg
on Stack Overflow
See other posts from Stack Overflow
or by dbg
Published on 2009-08-07T15:19:32Z
Indexed on
2010/05/24
22:01 UTC
Read the original article
Hit count: 328
We are running portlets in WebSphere 6.01, using Java 1.4. We want to send JMS messages to a JBoss 5 queue, running Java 5 (or maybe 6, but it's certainly newer than 1.4). Trying to connect using JNDI is not working, since we have to include the JBoss client jars in the classpath of the portlet, and they are Java 1.5. So I get an unsupported major/minor error when I try to create the InitialContext.
Can we connect straight to JBoss without using JNDI? Or is there some way to get around this issue I can't think of?
© Stack Overflow or respective owner