[JBoss-user] [Messaging, JMS JBossMQ] - Re: Null ConnectionFactory

2004-06-19 Thread StephaneNicoll
If you're running your sample code inside JBoss you only need to create a default 
InitialContext object.


  | Context context = new InitialContext(); 
  | 

If you're running for a separate process, you need to set the property that are inside 
$JBOSS_HOME/server/default/conf/jndi.properties and only those

Regards,

Stephane

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839320#3839320

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839320


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Null ConnectionFactory

2004-06-17 Thread bushra
Hello

were u able to resolve that issue. I am facing the same problem of getting a 
nullpointer exception when i try to get the factory.

Let me know if you could resolve this and if so how.

regs
Bushra

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3839058#3839058

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839058


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user