Hi,
I have a standalone client where I lookup a remote EJB stateless session bean,
on nonsecure 3700 port IIOP listener communication is working, but over 3920 port SSL_MUTUALAUTH dont, glassfish GlassFish v3 (build 74.2)
code:
System.setProperty("javax.net.ssl.trustStore", truststoreFile.getAbsolutePath());
System.setProperty("javax.net.ssl.keyStore", keystoreFile.getAbsolutePath());
System.setProperty("javax.net.debug", "SSL,handshake");
System.setProperty("javax.net.ssl.keyStorePassword", "pass");
System.setProperty("javax.net.ssl.trustStorePassword", "pass");
Properties props = new Properties();
props.setProperty("java.naming.factory.initial",
"com.sun.enterprise.naming.SerialInitContextFactory");
props.setProperty("org.omg.CORBA.ORBInitialHost", "10.8.0.2");
props.setProperty("org.omg.CORBA.ORBInitialPort", "3920");
InitialContext ic = new InitialContext(props);
TestBeanRemote bean = (TestBeanRemote) ic.lookup("java:global/Test/TestEjb/TestBean");
any ideas with above stack trace?:
2010-05-22 12:21:26 com.sun.logging.LogDomains$1 log
SEVERE: iiop.init_exception
org.jvnet.hk2.component.ComponentException: Injection failed on private com.sun.enterprise.security.ssl.SSLUtils com.sun.enterprise.iiop.security.IIOPSSLUtilImpl.sslUtils
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:121)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:594)
at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:339)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.init(IIOPSSLSocketFactory.java:246)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.getDefaultSslInfo(IIOPSSLSocketFactory.java:207)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:194)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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$4.operate(ParserTable.java:746)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:58)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:81)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:81)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:492)
at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:540)
at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:698)
at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:684)
at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:100)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:612)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:289)
at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:83)
at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:122)
at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:311)
at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at eksportwag.NewJFrame.jButton2ActionPerformed(NewJFrame.java:448)
at eksportwag.NewJFrame.access$500(NewJFrame.java:39)
at eksportwag.NewJFrame$8.actionPerformed(NewJFrame.java:193)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.IllegalStateException: java.security.UnrecoverableKeyException: Cannot recover key
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:142)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
... 65 more
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(KeyProtector.java:311)
at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:121)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:38)
at java.security.KeyStore.getKey(KeyStore.java:763)
at com.sun.net.ssl.internal.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:113)
at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:48)
at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:239)
at com.sun.enterprise.security.ssl.SSLUtils.initKeyManagers(SSLUtils.java:350)
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:120)
... 77 more
2010-05-22 12:21:26 com.sun.corba.ee.impl.orb.ParserTable$4 operate
WARNING: "IOP02410214: (DATA_CONVERSION) org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory is not a valid custom socket factory"
org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 214 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:4823)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:4842)
at com.sun.corba.ee.impl.orb.ParserTable$4.operate(ParserTable.java:754)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:58)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:81)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:81)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:492)
at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:540)
at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:698)
at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:684)
at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:100)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:612)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:289)
at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:83)
at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:122)
at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:311)
at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at eksportwag.NewJFrame.jButton2ActionPerformed(NewJFrame.java:448)
at eksportwag.NewJFrame.access$500(NewJFrame.java:39)
at eksportwag.NewJFrame$8.actionPerformed(NewJFrame.java:193)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.IllegalStateException: org.jvnet.hk2.component.ComponentException: Injection failed on private com.sun.enterprise.security.ssl.SSLUtils com.sun.enterprise.iiop.security.IIOPSSLUtilImpl.sslUtils
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:199)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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$4.operate(ParserTable.java:746)
... 44 more
Caused by: org.jvnet.hk2.component.ComponentException: Injection failed on private com.sun.enterprise.security.ssl.SSLUtils com.sun.enterprise.iiop.security.IIOPSSLUtilImpl.sslUtils
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:121)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:594)
at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:339)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.init(IIOPSSLSocketFactory.java:246)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.getDefaultSslInfo(IIOPSSLSocketFactory.java:207)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:194)
... 51 more
Caused by: java.lang.IllegalStateException: java.security.UnrecoverableKeyException: Cannot recover key
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:142)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
... 65 more
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(KeyProtector.java:311)
at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:121)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:38)
at java.security.KeyStore.getKey(KeyStore.java:763)
at com.sun.net.ssl.internal.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:113)
at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:48)
at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:239)
at com.sun.enterprise.security.ssl.SSLUtils.initKeyManagers(SSLUtils.java:350)
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:120)
... 77 more
2010-05-22 12:21:26 com.sun.logging.LogDomains$1 log
SEVERE: enterprise_util.excep_in_createorb
org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 214 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:4823)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:4842)
at com.sun.corba.ee.impl.orb.ParserTable$4.operate(ParserTable.java:754)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:58)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:81)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:81)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:492)
at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:540)
at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:698)
at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:684)
at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:100)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:612)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:289)
at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:83)
at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:122)
at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:311)
at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at eksportwag.NewJFrame.jButton2ActionPerformed(NewJFrame.java:448)
at eksportwag.NewJFrame.access$500(NewJFrame.java:39)
at eksportwag.NewJFrame$8.actionPerformed(NewJFrame.java:193)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.IllegalStateException: org.jvnet.hk2.component.ComponentException: Injection failed on private com.sun.enterprise.security.ssl.SSLUtils com.sun.enterprise.iiop.security.IIOPSSLUtilImpl.sslUtils
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:199)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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$4.operate(ParserTable.java:746)
... 44 more
Caused by: org.jvnet.hk2.component.ComponentException: Injection failed on private com.sun.enterprise.security.ssl.SSLUtils com.sun.enterprise.iiop.security.IIOPSSLUtilImpl.sslUtils
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:121)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:594)
at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:339)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.init(IIOPSSLSocketFactory.java:246)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.getDefaultSslInfo(IIOPSSLSocketFactory.java:207)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:194)
... 51 more
Caused by: java.lang.IllegalStateException: java.security.UnrecoverableKeyException: Cannot recover key
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:142)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
... 65 more
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(KeyProtector.java:311)
at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:121)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:38)
at java.security.KeyStore.getKey(KeyStore.java:763)
at com.sun.net.ssl.internal.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:113)
at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:48)
at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:239)
at com.sun.enterprise.security.ssl.SSLUtils.initKeyManagers(SSLUtils.java:350)
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:120)
... 77 more
java.lang.RuntimeException: Orb initialization erorr
at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:150)
at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:311)
at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:285)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:444)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at eksportwag.NewJFrame.jButton2ActionPerformed(NewJFrame.java:448)
at eksportwag.NewJFrame.access$500(NewJFrame.java:39)
at eksportwag.NewJFrame$8.actionPerformed(NewJFrame.java:193)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.RuntimeException: org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 214 completed: No
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:649)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:289)
at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:83)
at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:122)
... 32 more
Caused by: org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 214 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:4823)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:4842)
at com.sun.corba.ee.impl.orb.ParserTable$4.operate(ParserTable.java:754)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:58)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:81)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:81)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:492)
at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:540)
at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:698)
at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:684)
at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:100)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:612)
... 35 more
Caused by: java.lang.IllegalStateException: org.jvnet.hk2.component.ComponentException: Injection failed on private com.sun.enterprise.security.ssl.SSLUtils com.sun.enterprise.iiop.security.IIOPSSLUtilImpl.sslUtils
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:199)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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$4.operate(ParserTable.java:746)
... 44 more
Caused by: org.jvnet.hk2.component.ComponentException: Injection failed on private com.sun.enterprise.security.ssl.SSLUtils com.sun.enterprise.iiop.security.IIOPSSLUtilImpl.sslUtils
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:121)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:594)
at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:339)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.init(IIOPSSLSocketFactory.java:246)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.getDefaultSslInfo(IIOPSSLSocketFactory.java:207)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:194)
... 51 more
Caused by: java.lang.IllegalStateException: java.security.UnrecoverableKeyException: Cannot recover key
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:142)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
... 65 more
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(KeyProtector.java:311)
at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:121)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:38)
at java.security.KeyStore.getKey(KeyStore.java:763)
at com.sun.net.ssl.internal.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:113)
at com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:48)
at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:239)
at com.sun.enterprise.security.ssl.SSLUtils.initKeyManagers(SSLUtils.java:350)
at com.sun.enterprise.security.ssl.SSLUtils.postConstruct(SSLUtils.java:120)
... 77 more
[Message sent by forum member 'adamjanusiewicz']
http://forums.java.net/jive/thread.jspa?messageID=471010