valerio de minico [
http://community.jboss.org/people/vdeminico] created the discussion
"Re: Not able to call weblogic queue from jboss 5.1.0.GA server"
To view the discussion, visit:
http://community.jboss.org/message/626267#626267
--------------------------------------------------------------
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.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/626267#626267]
Start a new discussion in JNDI and Naming at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]