myGrid

Serialisation & deserialisation of Data documents

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.7
  • Component/s: t2 cloudone
  • Labels:
    None

Description

Currently the beanable infrastructure doesn't work within a Raven environment, as when the XMLEncoded representation of the bean is deserialised ClassNotFound exceptions occur. This is because it is trying to find a class by name using reflection.
This had been found to occur with workflows that contains lists, leading to a ClassNotFound exception whilst looking for the EntityList class.

Issue Links

Activity

Hide
Stuart Owen added a comment - 2007-11-07 09:54

Attached an small program that demonstrates the problem.

Need to first run 'mvn install', the conf/raven.properties needs editing to change raven.repository.0 to point to your local maven repository.
The data store is hard-coded to /tmp/datastuff in Tester.java so without changing this will currently only run on mac / linux.

Run executeworkflow.sh to start the test (need to be in the same directory as the profile location in raven.properties is set to be simply file:t2-profile.xml)

Show
Stuart Owen added a comment - 2007-11-07 09:54 Attached an small program that demonstrates the problem. Need to first run 'mvn install', the conf/raven.properties needs editing to change raven.repository.0 to point to your local maven repository. The data store is hard-coded to /tmp/datastuff in Tester.java so without changing this will currently only run on mac / linux. Run executeworkflow.sh to start the test (need to be in the same directory as the profile location in raven.properties is set to be simply file:t2-profile.xml)
Hide
Ian Dunlop added a comment - 2007-12-03 15:36

Uses JAXB annotations on the Beans and SPI using the BeanableFactory to register the classes which can be serialised

Show
Ian Dunlop added a comment - 2007-12-03 15:36 Uses JAXB annotations on the Beans and SPI using the BeanableFactory to register the classes which can be serialised

People

Vote (0)
Watch (0)

Dates

  • Created:
    2007-11-05 16:45
    Updated:
    2007-12-03 16:56
    Resolved:
    2007-12-03 15:36