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

    Details

    • Affects:
      Release Notes
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      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
      ...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dereed Dennis Reed
                  Reporter:
                  dereed Dennis Reed
                  Writer:
                  Scott Thomas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: