users@glassfish.java.net

Complex method with 1.6

From: <glassfish_at_javadesktop.org>
Date: Thu, 07 Jun 2007 08:41:42 PDT

Jun 7, 2007 9:38:11 AM com.sun.enterprise.appclient.MainWithModuleSupport prepareSecurity
INFO: Security Manager is ON.
Jun 7, 2007 9:38:11 AM com.sun.enterprise.appclient.MainWithModuleSupport setTargetServerProperties
INFO: ACC001:Using ClientContainer file: [C:\DOCUME~1\PERREA~1.F4\LOCALS~1\Temp\sunacc15952.xml].
Jun 7, 2007 9:38:11 AM com.sun.enterprise.appclient.MainWithModuleSupport setTargetServerProperties
WARNING: ACC023:The best practice in case of appclients is to set the endpoints as <target-server> elements in sun-acc.xml. Please avoid using the com.sun.appserv.iiop.endpoints property for appclients.
Jun 7, 2007 9:38:11 AM com.sun.enterprise.appclient.MainWithModuleSupport setupIIOP
INFO: ACC014: ORB host name: [localhost]
Jun 7, 2007 9:38:11 AM com.sun.enterprise.appclient.MainWithModuleSupport setupIIOP
INFO: ACC013: ORB port number: [3700]
Jun 7, 2007 9:38:17 AM com.sun.enterprise.appclient.MainWithModuleSupport loadMainClientClass
INFO: ACC009: Load Application Class: [com.cae.ssg.NewJFrame]
Jun 7, 2007 9:38:17 AM com.sun.enterprise.appclient.MainWithModuleSupport <init>
INFO: Application main() returned; GUI elements may be continuing to run

[b](This is me trying to see if the injection worked)[/b]
EJB is com.cae.ssg._BlinerServiceRemote_Wrapper_at_ad8e6a44

[b](and here we go, the exception we're talking about)[/b]
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Error loading com.sun.corba.ee.impl.io.IIOPOutputStream
        at com.sun.corba.ee.impl.io.ValueHandlerImpl$StreamFactory.run(ValueHandlerImpl.java:838)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.corba.ee.impl.io.ValueHandlerImpl.createOutputStream(ValueHandlerImpl.java:794)
        at com.sun.corba.ee.impl.io.ValueHandlerImpl.writeValueWithVersion(ValueHandlerImpl.java:198)
        at com.sun.corba.ee.impl.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:146)
        at com.sun.corba.ee.impl.encoding.CDROutputStream_1_0.writeRMIIIOPValueType(CDROutputStream_1_0.java:793)
        at com.sun.corba.ee.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:876)
        at com.sun.corba.ee.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:890)
        at com.sun.corba.ee.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:649)
        at com.sun.corba.ee.impl.encoding.CDROutputStream.write_value(CDROutputStream.java:245)
        at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.write(DynamicMethodMarshallerImpl.java:347)
        at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.writeArguments(DynamicMethodMarshallerImpl.java:420)
        at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:161)
        at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:123)
        at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:196)
        at com.cae.ssg.__BlinerServiceRemote_Remote_DynamicStub.merge(__BlinerServiceRemote_Remote_DynamicStub.java)
        at com.cae.ssg._BlinerServiceRemote_Wrapper.merge(com.cae.ssg._BlinerServiceRemote_Wrapper.java)
        at com.cae.ssg.NewJFrame.test1ButtonActionPerformed(NewJFrame.java:67)
        at com.cae.ssg.NewJFrame.access$000(NewJFrame.java:15)
        at com.cae.ssg.NewJFrame$1.actionPerformed(NewJFrame.java:40)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(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 java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(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 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 java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at com.sun.corba.ee.impl.io.ValueHandlerImpl$StreamFactory.run(ValueHandlerImpl.java:836)
        ... 44 more
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.corba)
        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.checkPackageAccess(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at com.sun.corba.ee.impl.io.IIOPOutputStream$1.run(IIOPOutputStream.java:70)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.corba.ee.impl.io.IIOPOutputStream.<clinit>(IIOPOutputStream.java:66)
        ... 51 more
[Message sent by forum member 'chiss' (chiss)]

http://forums.java.net/jive/thread.jspa?messageID=221012