[jboss-jira] [JBoss JIRA] (AS7-5088) Weblogic EJB Lookup fails from JBoss AS

Badal Pradhan (JIRA) jira-events at lists.jboss.org
Fri Jun 29 21:55:12 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Badal Pradhan reopened AS7-5088:
--------------------------------



Thanks a lot. 

I have configured as suggested and that resolved the issue "java.lang.ClassNotFoundException: com.sun.corba.se.spi.legacy.connection.ORBSocketFactory".

Then I got another issue "java.lang.ClassNotFoundException: org.jacorb.orb.ORB". But to resovle it I have packed "jabcob.jar" in my ear/lib.

Now I am getting below issue:

34:19,368 WARN  [jacorb.orb] (EJB default - 8) unable to build ORBInitializer from class true: Ignoring
34:19,399 ERROR [stderr] (EJB default - 8) javax.naming.InvalidNameException: Couldn't resolve initial reference: NameService [Root exception is org.omg.CORB
RBPackage.InvalidName: IDL:omg.org/CORBA/ORB/InvalidName:1.0]
34:19,399 ERROR [stderr] (EJB default - 8)   at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:52)
34:19,399 ERROR [stderr] (EJB default - 8)   at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:587)
34:19,399 ERROR [stderr] (EJB default - 8)   at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:547)
34:19,415 ERROR [stderr] (EJB default - 8)   at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:85)
34:19,415 ERROR [stderr] (EJB default - 8)   at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
34:19,415 ERROR [stderr] (EJB default - 8)   at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
34:19,415 ERROR [stderr] (EJB default - 8)   at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
34:19,415 ERROR [stderr] (EJB default - 8)   at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
34:19,415 ERROR [stderr] (EJB default - 8)   at javax.naming.InitialContext.init(InitialContext.java:223)
34:19,431 ERROR [stderr] (EJB default - 8)   at javax.naming.InitialContext.<init>(InitialContext.java:197)

Not sure whether is is problem with any other configuration or correct "jacob.jar" is not packed.

Note: "jacob.jar" is collected from jboss SOA-P 5.2\jboss-as\server\standard\lib


just for info; We are building application for our production where application would be deployed in weblogic app server and jbpm 3.2.2 would be in JBoss SOA-P 5.2. Communication between weblogic and jboss would be communicated by EJB in bidirection.
                
> Weblogic EJB Lookup fails from JBoss AS 
> ----------------------------------------
>
>                 Key: AS7-5088
>                 URL: https://issues.jboss.org/browse/AS7-5088
>             Project: Application Server 7
>          Issue Type: Bug
>         Environment: JBoss AS 7.1.0.Final
> EJB Deployed in Weblogic 10
> OS - Windows XP
> JDK - jdk160_05 (Used by jboss)
>            Reporter: Badal Pradhan
>
> I am trying to access EJB deployed in Weblogic 10 by its RemoteInterface from JBoss. 
> My initial context config for lookup is as below:
> Hashtable<String,String> wlContextEnv = new Hashtable<String,String>(); 
> wlContextEnv.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); 
> 			wlContextEnv.put(Context.PROVIDER_URL, "t3://localhost:7001"); 
> wlInitialContext = new InitialContext(wlContextEnv);
> During access the bean it throws the below exception:
> java.lang.LinkageError: Failed to link weblogic/corba/client/cluster/ORBSocketFactory
> .....
> Caused by: java.lang.ClassNotFoundException: com.sun.corba.se.spi.legacy.connection.ORBSocketFactory
> Since the above class belongs to jdk rt.jar then what is the issue here? Am I missed any config for it.
> Note: I have wlclient.jar in my ear/lib. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list