Error while running application using webstart in oc4j
Hi,
I have oc4j server, and trying to run application through webstart, i received following error. Same thing works fine when I', running application from Eclipse.
I'm able to open login window of application.
In button click I make a call to ejb, that time it throws following error.
Is it because .jars are not signed?
Can anyone tell me, what is problem?
com.mastek.elixir.system.esb.client.ServiceClientException: Unknown error encounteredwhile invoking gateway due to exception: null.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mastek.elixir.system.common.exception.BaseExceptionFactory.instantiateException(BaseExceptionFactory.java:215)
at com.mastek.elixir.system.common.exception.BaseExceptionFactory.instantiateException(BaseExceptionFactory.java:238)
at com.mastek.elixir.system.common.exception.BaseExceptionFactory._createException(BaseExceptionFactory.java:194)
at com.mastek.elixir.system.esb.client.ServiceClientExceptionFactory.createException(ServiceClientExceptionFactory.java:69)
at com.mastek.elixir.system.esb.client.ServiceClientExceptionFactory.createException(ServiceClientExceptionFactory.java:39)
at com.mastek.elixir.system.esb.client.ServiceClient.sendRequest(ServiceClient.java:186)
at com.mastek.elixir.system.esb.client.ServiceInvoker.invokeOperation(ServiceInvoker.java:98)
at com.mastek.elixir.system.esb.client.ServiceInvoker.invokeSyncOperation(ServiceInvoker.java:83)
at com.mastek.elixir.backoffice.client.BackOfficeServiceInvoker.loginUser(BackOfficeServiceInvoker.java:69)
at com.mastek.elixir.backoffice.ui.forms.Loginfrm.login(Loginfrm.java:93)
at com.mastek.elixir.backoffice.ui.forms.Loginfrm.loginbtnActionPerformed(Loginfrm.java:141)
at com.mastek.elixir.backoffice.ui.forms.Loginfrm.access$100(Loginfrm.java:39)
at com.mastek.elixir.backoffice.ui.forms.Loginfrm$3.actionPerformed(Loginfrm.java:262)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicRootPaneUI$DefaultAction.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.mastek.elixir.system.richui.Application$ApplicationEventQueue.dispatchEvent(Application.java:591)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.mastek.elixir.system.richui.Application$ApplicationEventQueue.dispatchEvent(Application.java:591)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at oracle.j2ee.rmi.RMIInitialContextFactory.<clinit>(RMIInitialContextFactory.java:34)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at com.mastek.elixir.system.common.util.EJBServiceLocator.lookupRemoteHome(EJBServiceLocator.java:97)
at com.mastek.elixir.system.common.util.EJBServiceLocator.getRemoteHome(EJBServiceLocator.java:53)
at com.mastek.elixir.system.common.util.EJBServiceLocator.createBean(EJBServiceLocator.java:144)
at com.mastek.elixir.system.common.util.EJBServiceLocator.createRemoteBean(EJBServiceLocator.java:176)
at com.mastek.elixir.system.esb.common.util.GatewayServiceLocator.createInboundHandlerRemote(GatewayServiceLocator.java:93)
at com.mastek.elixir.system.esb.common.Connection.sendMessageEjb(Connection.java:283)
at com.mastek.elixir.system.esb.common.Connection.sendMessage(Connection.java:246)
at com.mastek.elixir.system.esb.client.ServiceClient.sendRequest(ServiceClient.java:157)
... 48 more
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission java.net.preferIPv6Addresses read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.evermind.server.rmi.RMIClientProperties.<clinit>(RMIClientProperties.java:12)
... 64 more

