Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4517874

REGRESSION: RI 1.3_01 failure with j2se 1.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.3.0
    • other-libs
    • beta3
    • generic
    • solaris_8

      test
      -----
      <sqe-workspace>/test/environment/resource

      To run the test
      (0) setup database source:

      jdbc/Resource2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      jdbc/Resource, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true

      (1) cloudscape -isql < <sqe-workspace>/workspace/util/dbTools/j2eeCreateDB_cloudscape.sql
      (2) gnumake
      (3) gnumake deploy
      (4) gnumake runclient.

      This test runs without any problem under j2ee 1.3_01 and the current j2ee 1.3.1 and j2se 1.3.1_001 (latest version). When using j2se 1.4 (/net/jano/export/disk21/ee/ws/corba/merlin-oct3/). a regression occurs when the session container is trying to unmarshall an object using the javax.rmi.PortableRemoteObject.narrow. The client invoke the create method on a remote home interface and this exception is thrown by the session container:

      java.lang.ClassCastException
              at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
              at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
              at com.sun.ejb.containers.StatefulSessionContainer.createEJBObject(StatefulSessionContainer.java:250)
              at com.sun.ejb.containers.StatefulSessionContainer.createEJBObject(StatefulSessionContainer.java:96)
              at com.sun.ejb.containers.EJBHomeImpl.createEJBObject(EJBHomeImpl.java:77)
              at test.environment.resource.customer.CustomerEJB_RemoteHomeImpl.create(CustomerEJB_RemoteHomeImpl.java:17)
              at test.environment.resource.customer._CustomerEJB_RemoteHomeImpl_Tie._invoke(Unknown Source)
              at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:519)
              at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:204)
              at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
              at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
              at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
              at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)

      ------------

      In some J2EE 1.3 RI SQE tests involving multiple threads, some threads are not able to locate a Tie class. The failure is sporadic since it depends on the garbage collector deleting keys in a WeakHashMap. Please see the evaluation.



      ###@###.### 2001-10-24

            eandersosunw Everett Anderson (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: