1 Reply Latest reply on Aug 12, 2008 6:52 PM by Rosso.Han

    CF8 Call application server failed

    Rosso.Han
      Hi All

      I got the iiopsslsocketfactory error while calling remote ejb from Coldfusion8 application server

      The issue was when lookup a remote ejb the following error was occurred, and I found that this because when we used com.sun.enterprise.iiop.IIOPSSLSocketFactory to init the lookup class, than it call the jrun security package to verify the connection. I don't know how it is happen. if someone met this issue before

      Thanks
      Rosso

      Rosso.han@sun.com

      Aug 6, 2008 11:16:01 AM com.sun.enterprise.iiop.IIOPSSLSocketFactory <init>
      SEVERE: IOP5002: Exception occurred in init of IIOPSSLSocketFactory
      java.lang.SecurityException: Seed must be between 20 and 64 bytes. Only 8 bytes supplied.
      at com.rsa.jsafe.crypto.au.a(Unknown Source)
      at com.rsa.jsafe.provider.JSA_FIPS186PRNGXChangeNoticeGeneral.engineNextBytes(Unknown Source)
      at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
      at java.security.SecureRandom.next(SecureRandom.java:455)
      at java.util.Random.nextInt(Random.java:189)
      at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineInit(SSLContextImpl.java:82)
      at javax.net.ssl.SSLContext.init(SSLContext.java:248)
      at com.sun.enterprise.iiop.IIOPSSLSocketFactory.init(IIOPSSLSocketFactory.java:247)
      at com.sun.enterprise.iiop.IIOPSSLSocketFactory.getDefaultSslInfo(IIOPSSLSocketFactory.java: 170)
      at com.sun.enterprise.iiop.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:157)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at com.sun.corba.ee.impl.orb.ParserTable$5.operate(ParserTable.java:650)
      at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:22)
      at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:52)
      at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:55)
      at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:397)
      at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:514)
      at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:604)
      at org.omg.CORBA.ORB.init(ORB.java:337)
      at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:372)
      at com.sun.enterprise.util.ORBManager.init(ORBManager.java:236)
      at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:248)
      at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:6 1)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.<init>(InitialContext.java:197)
      at com.sun.cp.iiop.RemoteEjbLookuper$LookuperThread.lookup(RemoteEjbLookuper.java:323)
      at com.sun.cp.iiop.RemoteEjbLookuper$LookuperThread.run(RemoteEjbLookuper.java:311)
      Aug 6, 2008 11:16:01 AM com.sun.enterprise.util.ORBManager createORB
      SEVERE: UTIL6009:Unexcpected Exception in createORB.
      java.lang.IllegalArgumentException: com.sun.corba.se.impl.logging.LogStrings != com.sun.corba.ee.impl.logging.LogStrings
      at java.util.logging.Logger.getLogger(Logger.java:328)
      at com.sun.corba.ee.spi.orb.ORB.getLogger(ORB.java:417)
      at com.sun.corba.ee.spi.logging.LogWrapperBase.getLogger(LogWrapperBase.java:23)
      at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystem Exception.java:3095)
      at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystem Exception.java:3110)
      at com.sun.corba.ee.impl.orb.ParserTable$5.operate(ParserTable.java:658)
      at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:22)
      at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:52)
      at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:55)
      at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:397)
      at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:514)
      at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:604)
      at org.omg.CORBA.ORB.init(ORB.java:337)
      at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:372)
      at com.sun.enterprise.util.ORBManager.init(ORBManager.java:236)
      at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:248)
      at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:6 1)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.<init>(InitialContext.java:197)
      at com.sun.cp.iiop.RemoteEjbLookuper$LookuperThread.lookup(RemoteEjbLookuper.java:323)
      at com.sun.cp.iiop.RemoteEjbLookuper$LookuperThread.run(RemoteEjbLookuper.java:311)
      javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.NullPointerException]
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      at javax.naming.InitialContext.init(InitialContext.java:223)
      at javax.naming.InitialContext.<init>(InitialContext.java:197)
      at com.sun.cp.iiop.RemoteEjbLookuper$LookuperThread.lookup(RemoteEjbLookuper.java:323)
      at com.sun.cp.iiop.RemoteEjbLookuper$LookuperThread.run(RemoteEjbLookuper.java:311)
      Caused by: java.lang.NullPointerException
      at java.util.Hashtable.put(Hashtable.java:394)
      at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:6 1)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
      ... 5 more