[jboss-user] [JNDI and Naming] - Re: Not able to call weblogic queue from jboss 5.1.0.GA server

valerio de minico do-not-reply at jboss.com
Tue Sep 13 09:56:21 EDT 2011


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&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110913/08839765/attachment-0001.html 


More information about the jboss-user mailing list