I have small standalone java app that invokes a method on an EJB. It worked fine under jboss/tomcat but under jboss 3.02 it fails on lookup with the error below. Here is my (simple) call:
InitialContext jndiContext = new InitialContext();
Object ref = jndiContext.lookup("CIS/SearchManager");
Here's the error:
javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalExcept
ion: error unmarshalling return; nested exception is:
(no security manager: RMI class loader disabled)
I have very little idea what this means after spending all day on it. Does anyone have any ideas?
It seems u need to set
some .jar files in the system path which are in the client directories.