users@glassfish.java.net

Complex method with 1.5

From: <glassfish_at_javadesktop.org>
Date: Thu, 07 Jun 2007 08:44:26 PDT

Jun 7, 2007 9:52:37 AM com.sun.enterprise.appclient.MainWithModuleSupport prepareSecurity
INFO: Security Manager is ON.
Jun 7, 2007 9:52:40 AM com.sun.enterprise.appclient.MainWithModuleSupport setTargetServerProperties
INFO: ACC001:Using ClientContainer file: [C:\DOCUME~1\CHAPLE~1\LOCALS~1\Temp\sunacc36558.xml].
Jun 7, 2007 9:52:41 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:52:41 AM com.sun.enterprise.appclient.MainWithModuleSupport setupIIOP
INFO: ACC014: ORB host name: [pc6380]
Jun 7, 2007 9:52:41 AM com.sun.enterprise.appclient.MainWithModuleSupport setupIIOP
INFO: ACC013: ORB port number: [3700]
Jun 7, 2007 9:52:55 AM com.sun.enterprise.appclient.MainWithModuleSupport loadMainClientClass
INFO: ACC009: Load Application Class: [com.cae.ssg.NewJFrame]
Jun 7, 2007 9:52:56 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, but notice that it's slightly different)[/b]
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: com.sun.corba.ee.impl.io.IIOPOutputStream
        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.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)
[Message sent by forum member 'chiss' (chiss)]

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