Hi,
I have the same problem. Looking up an EJB 2.1 (deployed on Weblogic AS) from JBoss AS 5.1.0.GA gives this message:
unable to build ORBInitializer from class true: Ignoring
The lookup code is:
EJBHome ejbHome;
properties = new Properties();
properties.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
properties.put("java.naming.provider.url", providerUrl);
properties.put("weblogic.jndi.requestTimeout", Long.valueOf(jndiRequestTimeout));
if(user != null)
{
properties.put("java.naming.security.principal", user);
properties.put("java.naming.security.credentials", password != null ? ((Object) (password)) : "");
}
Context jndiContext;
try {
jndiContext = new InitialContext(properties);
yacasHome = (YacasHome)jndiContext.lookup(jndiName);
} catch (NamingException e) {
...
}
try {
this.ejb = ejbHome.create();
} catch (Exception e) {
...
}
and initialization fails.
It seems that while initializing ORB it cannot find an ORBInitializer implementation.
Thanks,
Valerio.