openJMS newbie question

Jacob Flomenberg <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
the code

Hashtable properties = new Hashtable();
           
properties.put(Context.INITIAL_CONTEXT_FACTORY,"org.exolab.jms.jndi.InitialContextFactory"); 

           properties.put(Context.PROVIDER_URL,"tcp://localhost:3035/");
           Context context = new InitialContext(properties);

crashes on the last line with the following stack trace

What am I doing wrong?
thanks,
-jake


java.lang.ExceptionInInitializerError
   at org.exolab.jms.net.orb.ORBFactory.createORB(ORBFactory.java:75)
   at org.exolab.jms.client.net.SharedORB.<init>(SharedORB.java:89)
   at org.exolab.jms.client.net.SharedORB.getInstance(SharedORB.java:292)
   at 
org.exolab.jms.jndi.InitialContextFactory.getInitialContext(InitialContextFactory.java:142) 

   at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
   at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
   at javax.naming.InitialContext.init(InitialContext.java:219)
   at javax.naming.InitialContext.<init>(InitialContext.java:195)
   at jms.QueueSend.<init>(QueueSend.java:45)
   at jms.QueueSend.main(QueueSend.java:32)
Caused by: org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException (Caused by 
java.lang.NullPointerException) (Caused by 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException (Caused by java.lang.NullPointerException))
   at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543) 

   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) 

   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209) 

   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
   at org.exolab.jms.net.orb.DefaultORB.<clinit>(DefaultORB.java:110)
   ... 10 more
Caused by: org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) 

   at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) 

   ... 14 more
Caused by: java.lang.NullPointerException
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374) 

   ... 15 more
Exception in thread "main"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.