Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1118

Abstract base classes of remote proxies are not declaring serialVersionUIDs

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: AS 4.2.1.GA, AS 4.2.2.GA
    • Fix Version/s: AS 5.0.0.Beta3, AS 4.2.3.GA
    • Component/s: None
    • Labels:
      None

      Description

      javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3
      .remoting.BaseRemoteProxy; local class incompatible: stream classdesc serialVersionUID = -2711693270411201590, local class serialVersionUID = 1126421850898582900]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      ......

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            mdesignz Robert Morse added a comment -

            Doesn't seem to be an issue in AS 4.2.1.GA

            Show
            mdesignz Robert Morse added a comment - Doesn't seem to be an issue in AS 4.2.1.GA
            Hide
            wolfc Carlo de Wolf added a comment -

            The correct serialVersionUID is 1126421850898582900L

            Show
            wolfc Carlo de Wolf added a comment - The correct serialVersionUID is 1126421850898582900L
            Hide
            wolfc Carlo de Wolf added a comment -

            org.jboss.ejb3.session.BaseSessionRemoteProxy: static final long serialVersionUID = 8310915813626447181L;

            Show
            wolfc Carlo de Wolf added a comment - org.jboss.ejb3.session.BaseSessionRemoteProxy: static final long serialVersionUID = 8310915813626447181L;
            Show
            wolfc Carlo de Wolf added a comment - See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=203241
            Hide
            vkopichenko Vadim Kopichenko added a comment -

            It would be very nice if developers attached here compiled BaseRemoteProxy.class and BaseSessionRemoteProxy.class files, identical to those shipped with 4.2.2.GA but with corrected serialVersionUID-s.
            Then we would be able to safely patch existing 4.2.2.GA instances to make them usable for remote calls.

            Show
            vkopichenko Vadim Kopichenko added a comment - It would be very nice if developers attached here compiled BaseRemoteProxy.class and BaseSessionRemoteProxy.class files, identical to those shipped with 4.2.2.GA but with corrected serialVersionUID-s. Then we would be able to safely patch existing 4.2.2.GA instances to make them usable for remote calls.

              People

              • Assignee:
                wolfc Carlo de Wolf
                Reporter:
                wolfc Carlo de Wolf
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development