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

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Fri Jun 29 10:32:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703991#comment-12703991 ] 

Stuart Douglas commented on AS7-5088:
-------------------------------------

We do not expose all JDK classes by default. To get access to this class you have two options:

- Add the path to the modules/sun/jdk/main/module.xml file
- Use jboss-deployment-structure.xml to give your deployment access to these classes:

{code}

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
    <deployment>
        <dependencies>
            <system export="true">
                <paths>
                    <path name="com/sun/corba/se/spi/legacy/connection"/>
                </paths>
            </system>
        </dependencies>
    </deployment>
</jboss-deployment-structure>

{code}
                
> 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