Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8302

JBossLazyUnmarshallingException when hitting HAJNDI during shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.2.0
    • EAP_EWP 5.1.2
    • Clustering
    • None
    • Release Notes
    • Hide
      It was found that, because HARMIServerImpl continued to process requests for HAJNDI while shutting down, clients could receive <literal>JBossLazyUnmarshallingException</literal> errors from components that are not in the correct state. As a resolution to this issue, HARMIServerImpl now throws <literal>java.rmi.NoSuchObjectException</literal> if a request comes in during shutdown, and the shutdown process waits for existing requests to complete.
      Show
      It was found that, because HARMIServerImpl continued to process requests for HAJNDI while shutting down, clients could receive <literal>JBossLazyUnmarshallingException</literal> errors from components that are not in the correct state. As a resolution to this issue, HARMIServerImpl now throws <literal>java.rmi.NoSuchObjectException</literal> if a request comes in during shutdown, and the shutdown process waits for existing requests to complete.
    • Documented as Resolved Issue
    • NEW

      Exception in thread "main" org.jboss.invocation.JBossLazyUnmarshallingException: getArguments failed
      at org.jboss.invocation.MarshalledInvocation.getArguments(MarshalledInvocation.java:513)
      at org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:213)
      ...
      Caused by: java.io.InvalidClassException: org.jnp.interfaces.FastNamingProperties; unable to create instance
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1738)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at javax.naming.CompoundName.readObject(CompoundName.java:554)
      ...
      Caused by: java.lang.reflect.InvocationTargetException
      ...
      Caused by: java.lang.NoClassDefFoundError: java/util/Dictionary
      ...
      Caused by: java.lang.ClassNotFoundException: Class not found: java.util.Dictionary
      ...
      Caused by: java.lang.IllegalStateException: BaseClassLoader@2d7366cb

      {vfsfile:/home/dereed/opt/jboss/instance1/jboss-as/server/431350/conf/jboss-service.xml}

      classLoader is not connected to a domain (probably undeployed?) for class java.util.Dictionary
      ...

              rhn-support-dereed Dennis Reed
              rhn-support-dereed Dennis Reed
              Scott Thomas Scott Thomas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: