glassfish
  1. glassfish
  2. GLASSFISH-21047

java.lang.NoClassDefFoundError after upgrading to jdk1.7.0_55

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2.2
    • Fix Version/s: None
    • Component/s: orb
    • Labels:
      None
    • Environment:

      Red Hat Enterprise Linux Server release 6.4 (Santiago)

      Description

      After upgrading to jdk1.7.0_55 from jdk1.7.0_51 we get the following exceptions when trying to invoke an EJB:

      [#|2014-04-18T12:13:52.131+0200|WARNING|glassfish3.1.2|javax.enterprise.resource.corba.ORBUtil|_ThreadID=190;_ThreadName=Thread-2;|IOP00810010: Error from readValue on ValueHandler in CDRInputStream
      org.omg.CORBA.MARSHAL: WARNING: IOP00810010: Error from readValue on ValueHandler in CDRInputStream vmcid: OMG minor code: 10 completed: Maybe
      at sun.reflect.GeneratedConstructorAccessor275.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:388)
      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:108)
      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:512)
      at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at com.sun.proxy.$Proxy177.valuehandlerReadError(Unknown Source)
      at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(CDRInputStream_1_0.java:1024)
      at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1123)
      at com.sun.corba.ee.impl.encoding.CDRInputObject.read_value(CDRInputObject.java:531)
      at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:384)
      at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:451)
      at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:172)
      at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:528)
      at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:199)
      at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1624)
      at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:126)
      at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:273)
      at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:200)
      at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
      at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:227)
      ...
      at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      ...
      at com.sun.proxy.$Proxy1331.execute(Unknown Source)
      ...
      at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.corba.ee.impl.io.IIOPInputStream
      at com.sun.corba.ee.impl.io.ValueHandlerImpl.createInputStream(ValueHandlerImpl.java:821)
      at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:264)
      at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(CDRInputStream_1_0.java:1015)
      ... 23 more

      #]

      The glassfish-corba-orb.jar file where the IIOPInputStream class is packaged, has not been changed.

        Activity

        Hide
        lprimak added a comment -

        Is there a solution to this problem? I am running into this as well,
        and -Dorg.omg.CORBA.ORBSingletonClass=com.sun.corba.se.impl.orb.ORBSingleton does not solve the problem.
        This is both in Glassfish 3.1.2.2 and 4.0

        Show
        lprimak added a comment - Is there a solution to this problem? I am running into this as well, and -Dorg.omg.CORBA.ORBSingletonClass=com.sun.corba.se.impl.orb.ORBSingleton does not solve the problem. This is both in Glassfish 3.1.2.2 and 4.0
        Hide
        palman added a comment -

        Hi,

        its work for me again with the new Build Version of Java: 1.8.0_20-ea-b20

        Java; VM; Vendor = 1.8.0_20-ea; Java HotSpot(TM) 64-Bit Server VM 25.20-b20; Oracle Corporation

        http://download.java.net/jdk8u20/archive/b20/binaries/jdk8u20-b20.html

        http://hg.openjdk.java.net/jdk8u/jdk8u/corba
        Changeset Bug ID Synopsis
        009fc3f785a9 8042789 org.omg.CORBA.ORBSingletonClass loading no longer uses context class loader

        greetz palman

        Show
        palman added a comment - Hi, its work for me again with the new Build Version of Java: 1.8.0_20-ea-b20 Java; VM; Vendor = 1.8.0_20-ea; Java HotSpot(TM) 64-Bit Server VM 25.20-b20; Oracle Corporation http://download.java.net/jdk8u20/archive/b20/binaries/jdk8u20-b20.html http://hg.openjdk.java.net/jdk8u/jdk8u/corba Changeset Bug ID Synopsis 009fc3f785a9 8042789 org.omg.CORBA.ORBSingletonClass loading no longer uses context class loader greetz palman
        Hide
        gfuser9999 added a comment -

        Seem https://bugs.openjdk.java.net/browse/JDK-8042789 revert the broken
        JDK7/8 regression issue. To be fix in whatever JDK7 patch release.

        Show
        gfuser9999 added a comment - Seem https://bugs.openjdk.java.net/browse/JDK-8042789 revert the broken JDK7/8 regression issue. To be fix in whatever JDK7 patch release.
        Hide
        chebert1974 added a comment -

        I had the same issue running Glassfish 3.1.2.2 with JDK 1.7u55. Upgrading to u65 solved my problem.

        Show
        chebert1974 added a comment - I had the same issue running Glassfish 3.1.2.2 with JDK 1.7u55. Upgrading to u65 solved my problem.
        Hide
        lprimak added a comment -

        I can confirm this also. Both v3.1.2.2 and v4.0 and v4.0.1 work correctly with u65 update.
        thank you!

        Show
        lprimak added a comment - I can confirm this also. Both v3.1.2.2 and v4.0 and v4.0.1 work correctly with u65 update. thank you!

          People

          • Assignee:
            russgold
            Reporter:
            boernd
          • Votes:
            17 Vote for this issue
            Watchers:
            25 Start watching this issue

            Dates

            • Created:
              Updated: