-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
beta2
-
generic
-
generic
-
Not verified
> Problem description:
>
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoImpl.<in
>it> (Constructor) is checking for instance of
>com.sun.corba.se.impl.legacy.connection.EndPointInfoImpl and if it is
>not then throwing an Exception stating that the EndPointInfo is invalid.
>
> Implication:
> Due to this our thin doesn't work at all.
>
> Instrumented the code and removed the check and it works without the
>check mentioned above.
>
> Stacktrace of the problem:
>
>----- endPointInfo is : weblogic.corba.client.utils.EndPointInfo
>Feb 13, 2004 3:17:58 PM
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoImpl
><init>
>WARNING: ORBUTIL.invalidEndPointInfoType
>org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 281 completed: No
> at
>com.sun.corba.se.impl.logging.ORBUtilSystemException.invalidEndPointInfo
>Type(ORBUtilSyste
>mException.java:5084)
> at
>com.sun.corba.se.impl.logging.ORBUtilSystemException.invalidEndPointInfo
>Type(ORBUtilSyste
>mException.java:5106)
> at
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoImpl.<in
>it>(SocketFactory
>ContactInfoImpl.java:59)
> at
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoListIter
>atorImpl.next(Soc
>ketFactoryContactInfoListIteratorImpl.java:56)
> at
>com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClie
>ntDelegateImpl.ja
>va:111)
> at
>com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(BootstrapRes
>olverImpl.java:75
>)
> at
>com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(BootstrapRe
>solverImpl.java:1
>08)
> at
>com.sun.corba.se.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSUR
>LOperationImpl.ja
>va:131)
> at
>com.sun.corba.se.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLO
>perationImpl.java
>:116)
> at
>com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperati
>onImpl.java:104)
> at
>com.sun.corba.se.impl.resolver.ORBInitRefResolverImpl.resolve(ORBInitRef
>ResolverImpl.java
>:31)
> at
>com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeRe
>solverImpl.java:2
>0)
> at
>com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeRe
>solverImpl.java:2
>2)
> at
>com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.jav
>a:1112)
> at
>weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.
>java:504)
> at
>weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:478)
> at
>weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(I
>nitialContextFact
>oryImpl.java:85)
> at
>weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(I
>nitialContextFact
>oryImpl.java:31)
> at
>weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContext
>Factory.java:41)
> at
>javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
> at
>javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
> at javax.naming.InitialContext.init(InitialContext.java:219)
> at javax.naming.InitialContext.<init>(InitialContext.java:195)
> at
>examples.ejb20.basic.statelessSession.Client.getInitialContext(Client.ja
>va:128)
> at
>examples.ejb20.basic.statelessSession.Client.lookupHome(Client.java:104)
> at
>examples.ejb20.basic.statelessSession.Client.<init>(Client.java:32)
> at
>examples.ejb20.basic.statelessSession.Client.main(Client.java:59)
>
>
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoImpl.<in
>it> (Constructor) is checking for instance of
>com.sun.corba.se.impl.legacy.connection.EndPointInfoImpl and if it is
>not then throwing an Exception stating that the EndPointInfo is invalid.
>
> Implication:
> Due to this our thin doesn't work at all.
>
> Instrumented the code and removed the check and it works without the
>check mentioned above.
>
> Stacktrace of the problem:
>
>----- endPointInfo is : weblogic.corba.client.utils.EndPointInfo
>Feb 13, 2004 3:17:58 PM
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoImpl
><init>
>WARNING: ORBUTIL.invalidEndPointInfoType
>org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 281 completed: No
> at
>com.sun.corba.se.impl.logging.ORBUtilSystemException.invalidEndPointInfo
>Type(ORBUtilSyste
>mException.java:5084)
> at
>com.sun.corba.se.impl.logging.ORBUtilSystemException.invalidEndPointInfo
>Type(ORBUtilSyste
>mException.java:5106)
> at
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoImpl.<in
>it>(SocketFactory
>ContactInfoImpl.java:59)
> at
>com.sun.corba.se.impl.legacy.connection.SocketFactoryContactInfoListIter
>atorImpl.next(Soc
>ketFactoryContactInfoListIteratorImpl.java:56)
> at
>com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClie
>ntDelegateImpl.ja
>va:111)
> at
>com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(BootstrapRes
>olverImpl.java:75
>)
> at
>com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(BootstrapRe
>solverImpl.java:1
>08)
> at
>com.sun.corba.se.impl.resolver.INSURLOperationImpl.resolveCorbaloc(INSUR
>LOperationImpl.ja
>va:131)
> at
>com.sun.corba.se.impl.resolver.INSURLOperationImpl.resolveINSURL(INSURLO
>perationImpl.java
>:116)
> at
>com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperati
>onImpl.java:104)
> at
>com.sun.corba.se.impl.resolver.ORBInitRefResolverImpl.resolve(ORBInitRef
>ResolverImpl.java
>:31)
> at
>com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeRe
>solverImpl.java:2
>0)
> at
>com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeRe
>solverImpl.java:2
>2)
> at
>com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.jav
>a:1112)
> at
>weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.
>java:504)
> at
>weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:478)
> at
>weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(I
>nitialContextFact
>oryImpl.java:85)
> at
>weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(I
>nitialContextFact
>oryImpl.java:31)
> at
>weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContext
>Factory.java:41)
> at
>javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
> at
>javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
> at javax.naming.InitialContext.init(InitialContext.java:219)
> at javax.naming.InitialContext.<init>(InitialContext.java:195)
> at
>examples.ejb20.basic.statelessSession.Client.getInitialContext(Client.ja
>va:128)
> at
>examples.ejb20.basic.statelessSession.Client.lookupHome(Client.java:104)
> at
>examples.ejb20.basic.statelessSession.Client.<init>(Client.java:32)
> at
>examples.ejb20.basic.statelessSession.Client.main(Client.java:59)
>