Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1552

JBoss use wrong version of javax.resource.ResourceException class file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-4.0.2 Final
    • JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1
    • JCA service
    • None

    Description

      When passing a javax.resource.ResourceException via RMI into the JBoss application server we get the following error message:

      ...
      javax.resource.ResourceException; local class incompatible: stream classdesc serialVersionUID = 547071213627824490, local class serialVersionUID = 4770679801401540475
      at net.fsc.jca.tutorial.SimpleOltpConnectBean.callService(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      ...

      When comparing class files, you can see, that JBoss 4.0.x doesn't use the same class file as is used in Sun's j2ee.jar (J2EE 1.4 reference implementation).

      Both Sun Java System Application Server Platform Edition 8.1 2005Q1 and Oracle OC4J 10.1.3 use the same class file, which differes from the JBoss version. So I assume, that this is a JBoss related problem.

      Attachments

        1. build.properties
          0.1 kB
        2. build.xml
          1 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marochess Manfred Rosenboom (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: