Hi,
Thanks for your reply. I tried what you suggested but get the following error 
output:
anonymous wrote : 
  | Exception in thread "main" java.lang.ExceptionInInitializerError
  |     at java.lang.Class.forName0(Native Method)
  |     at java.lang.Class.forName(Unknown Source)
  |     at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
  |     at javax.naming.spi.NamingManager.getObjectFactoryFromReference(Unknown 
Source)
  |     at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
  |     at 
org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110)
  |     at 
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:690)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
  |     at javax.naming.InitialContext.lookup(Unknown Source)
  |     at 
com.iwise.process.test.EventQueueClient.sendToEventQueue(EventQueueClient.java:56)
  |     at 
com.iwise.process.test.EventQueueClient.main(EventQueueClient.java:30)
  | Caused by: org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
  |     at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
  |     at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
  |     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
  |     at org.activemq.jndi.JNDIReferenceFactory.(JNDIReferenceFactory.java:40)
  |     ... 12 more
  | Caused by: java.lang.NullPointerException
  |     at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
  |     ... 15 more
  | 
Any clues here? It's like it doesn't know about "MyQueue" or something but yet 
it is listed in the JNDI service of JMX Console.
TIA.
-Claire

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905490#3905490

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905490


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to