[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-23 Thread jamlu
hi: I am an Chinese boy! Can you share your experiences with me? thanks a lot! My MSN:[EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822628#3822628 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
to Adrian: I run my program while JBoss is running. but it still does not work. Follow is JNDIContext: java.util.Hashtable JNDIParm = new java.util.Hashtable(); JNDIParm.put(Context.PROVIDER_URL, localhost); JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY,

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
package simple; import javax.jms.*; import javax.naming.*; public class SimpleQueueReceiver { public static void main(String[] args) { String queueName = A; Context jndiContext = null; QueueConnectionFactory queueConnectionFactory =

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
Up is my JMS reciever. I known there is a default Queue named A.But How can I get ConnectionFactory?Is there a JNDI name I can use and what is it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822478#3822478 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
Queue name is A javax.naming.NameNotFoundException: ConnectionFactory not bound at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-22 Thread SportsBaby1980
Thank you,everyone. The problem has resovled. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822487#3822487 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822487 ---

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
My code is below: try { java.util.Hashtable JNDIParm = new java.util.Hashtable(); JNDIParm.put(Context.PROVIDER_URL, localhost); JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); jndiContext = new

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
JBossMQProvider when my program run, it throws an exception, JNDI API lookup failed: javax.naming.NameNotFoundException: JBossMQProvider not bound who can Help? thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822241#3822241 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread [EMAIL PROTECTED]
lookup UIL2ConnectionFactory Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822261#3822261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822261 ---