JBoss recipe of the day
This error means that the interface javax.naming.Reference cannot be resolved. It can happen when you are trying to lookup a component like an EJB or a Datasource from the JNDI. It is commonly caused by two reasons:


  • You are missing some classes in client classpath (Verify that you have jbossall-client.jar in the classpath).
  • You are using different JBoss runtimes between the client and the server. (For example the server uses JBoss 5.1.0 libraries and the client uses JBoss 5.0.0 or earlier)




Related articles available on mastertheboss.com

JBoss MBeans POJO

JMX MBean services are the core building blocks of the JBoss Appl

How to a dump of JNDI tree with JMX console ?

#2 JBoss Howto. This is the recipe of the day

How to configure JBoss to bind to a different IP ?

  If you want to change the jboss.bind.address property use the 

How to shut down JBoss from remote ?

JBoss recipe of the day

How to create multiple instances of an Mbean?

  Supposing you need two instances of an MBean, let's say one fo

JBoss classloader issues

By default JBoss (prior to version 3.2) uses a flat class loading