[jboss-jira] [JBoss JIRA] Commented: (JBREM-556) versioning tests failing

Tom Elrod (JIRA) jira-events at jboss.com
Tue Jul 25 15:42:12 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBREM-556?page=comments#action_12340037 ] 
            
Tom  Elrod commented on JBREM-556:
----------------------------------

The problem with http transport was actually in the test.  The test was checking to see that WebServerError is being thrown, but when running with 1.4.x version of remoting, does not have this calls, so getting no class def found.  Changed the test to catch the exception and then check the type based on name.  Since will have the system property (jboss.remoting.pre_2_0_compatible=true) set when running tests, will not throw the exception in the newer version of remoting.  In short, http tests are working now.

Multiplex are not working (will have Ron check it out).  Looks to be a problem with picking up that it should be using older version.  Since multiplex is not ready for prime time until 2.0.0.CR1 release anyhow, this is not critical.

RMI and socket tests were failing due to serialVersionUID being incompatible in certain classes (i.e. InvokerLocator, RemotingRMIClientSocketFactory).  This has been fixed, however the test cases are still not passing.  This seems to be more a problem with the test setup than being compatible as when manually run the tests with 1.4.x client/server and 2.0.0.CR1, it works.

Have changed the 'tests.versioning' target to call on 'tests.versioning.core' which only runs the http tests until can figure out what is wrong with the test setup (since know it works because of passing with manual test runs).  The test target to run all the transport tests is 'tests.versioning.all'.

> versioning tests failing
> ------------------------
>
>                 Key: JBREM-556
>                 URL: http://jira.jboss.com/jira/browse/JBREM-556
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: general
>    Affects Versions: 2.0.0.Beta2 (Boon)
>            Reporter: Tom  Elrod
>         Assigned To: Tom  Elrod
>             Fix For: 2.0.0.CR1 (Boon)
>
>
> Broke some backwards compatibility with previous remoting versions (1.4.x). 
> Run versioning tests via ant target 'tests.versioning.quick'
> In particular, failures are:
> HTTP:
> beta2 client => rc1 server
> java.lang.NoClassDefFoundError: org/jboss/remoting/transport/http/WebServerError
> Multiplex:
> All failed (even rc1 client => rc1 server)
> RMI:
> beta2 client => rc1 server & rc1 client => beta2 server
> Caused by: java.io.InvalidClassException: org.jboss.remoting.transport.rmi.RemotingRMIClientSocketFactory; local class incompatible: stream classdesc serialVersionUID = -7491556589517716155, local class serialVersionUID = -3039839695840773968

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list