Hi, I'm writing a little extension for firefox that it call my java class. This java class should be create a new Context for activeMQ but when I do: --- Context ctx = new InitialContext(config); --- where config is a Properties that include: --- config.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.apache.activemq.jndi.ActiveMQInitialContextFactory"); --- I catch this exception: --- Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory ---
My java class has also a static main (that I call by command line) and within this method all run good. Why it happens? Ask me for free, if you need more feedback. Best regards, Emanuele -- View this message in context: http://activemq.2283324.n4.nabble.com/Error-Cannot-instantiate-class-org-apache-activemq-jndi-ActiveMQInitialContextFactory-tp4302987p4302987.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.