-
1. Re: Marshalling error "No suitable constructor could be found"
galder.zamarreno Oct 29, 2010 12:30 PM (in response to arwdev)1 of 1 people found this helpfulDepends on how you implement your own serialization . What does this class look like? Do you have the source code available for the version of the class you're using?
-
2. Re: Marshalling error "No suitable constructor could be found"
arwdev Oct 31, 2010 3:31 PM (in response to galder.zamarreno)Hey Galder,
Thanks for the reply! The class in question is this: http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/SessionAuthentication.java.
I've gone ahead and implemented my own Jetty SessionManager with an implementation of this class that has a no-arg constructor and it works fine, so really my question is "should you be able to store serializable objects without a no-arg constructor in Infinispan?"
Thanks!
Andy
-
3. Re: Marshalling error "No suitable constructor could be found"
galder.zamarreno Nov 4, 2010 12:48 PM (in response to arwdev)1 of 1 people found this helpfulYup, an empty constructor is needed cos the two possible avenues right now require it:
http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html
http://download.oracle.com/javase/6/docs/api/java/io/Externalizable.html