activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendry <hendry...@elasitas.com>
Subject ActiveMQ integration with Jetty
Date Tue, 26 Dec 2006 06:48:53 GMT
Hi all,

I am new to Active MQ, right now I'm trying to integrate ActiveMQ with 
Jetty, I followed the instructions on

http://docs.codehaus.org/display/JETTY/Integrating%20with%20ActiveMQ

but when I run it, I got errors (sorry if it's too long):

Dec 26, 2006 1:41:07 PM org.apache.activemq.jndi.JNDIReferenceFactory 
createReference
SEVERE: null
java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at java.util.Properties.setProperty(Properties.java:128)
         at 
org.apache.activemq.ActiveMQConnectionFactory.populateProperties(ActiveMQConnectionFactory.java:416)
...

2006-12-26 13:41:07.082::WARN:  Config error at <New id="cf" 
class="org.mortbay.jetty.plus.naming.Resource"><Arg>jms/connectionFactory</Arg><Arg>
     <New 
class="org.apache.activemq.ActiveMQConnectionFactory"><Arg>broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false</Arg></New>
   </Arg></New>
2006-12-26 13:41:07.092::WARN:  EXCEPTION
java.lang.reflect.InvocationTargetException
         at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         ...

Caused by: javax.naming.NamingException
         at 
org.apache.activemq.jndi.JNDIReferenceFactory.createReference(JNDIReferenceFactory.java:109)
         at 
org.apache.activemq.jndi.JNDIBaseStorable.getReference(JNDIBaseStorable.java:80)
         ... 15 more

2006-12-26 13:41:07.289::WARN:  Nested in 
java.lang.reflect.InvocationTargetException:
javax.naming.NamingException
         at 
org.apache.activemq.jndi.JNDIReferenceFactory.createReference(JNDIReferenceFactory.java:109)
...


Could anyone help me where's the error? Thanx.

-- 
Regards,
Hendry

Mime
View raw message