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

JBossWS Native backward compatibility issue for wsse - serialVersionUID issue

XMLWordPrintable

    • Not Yet Documented
    • NEW

      Changes introduced in JBPAPP-10455 brought regression in backward compatibility tests for JBossWS Native stack (I'm using 3.1.2.SP11 client)

      svn diff -r17507 http://anonsvn.jboss.org/repos/jbossws/stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/wsse/RequireEncryption.java

      Example of stack trace:

      javax.naming.NamingException: Cannot unmarshall security config, cause: java.io.InvalidClassException: org.jboss.ws.metadata.wsse.RequireEncryption; local class incompatible: stream classdesc serialVersionUID = 3765798680988205648, local class serialVersionUID = 3765798680988205647
      	at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:139)
      	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      	at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1479)
      	at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1496)
      	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:822)
      	at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:153)
      	at com.sun.proxy.$Proxy374.lookup(Unknown Source)
      	at javax.naming.InitialContext.lookup(InitialContext.java:392)
      	at org.jboss.test.ws.jaxrpc.samples.wssecurity.SimpleEncryptTestCase.getPort(SimpleEncryptTestCase.java:63)
      	at org.jboss.test.ws.jaxrpc.samples.wssecurity.SimpleEncryptTestCase.testEndpoint(SimpleEncryptTestCase.java:53)
      

      10 failures in https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JBossWS/job/eap-5x-jbossws-native-backward-compatibility/9/testReport/

              chaowan@redhat.com Chao Wang
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: