0 Replies Latest reply on May 5, 2002 6:31 AM by alci

    Passing a Collection from EJB to web tier throws exception

    alci

      Hi,

      I've got a session EJB that collects data objects via castorjdo (this part works fine). These data objects implement serializable. They also contain some collections of other data objects.

      Then, the EJB adds the data objects to an ArrayList and returns it to the web tier as a Collection.

      On the web tier, I get the following error :

      java.lang.reflect.UndeclaredThrowableException

      when calling the EJB method that returns the collection.

      I think it might have to do with serialization, but I don't know where to look for.

      Any pointer ?

      Thanks (and many thanks for JBoss to you all)

      Franck Routier