[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't serialize object due to LoggerPluginWriter(?)

2006-01-20 Thread brvdboss
Hello,

For completeness, this problem has been solved.
The cause was that my own implementation of ManagedConnectionFactory (in the 
resource adapter) was not serializable.
As pointed out in this forum-topic:
http://www.jboss.com/index.html?module=bbop=viewtopict=75635

Bruno

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918620#3918620

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918620


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Can't serialize object due to LoggerPluginWriter(?)

2005-12-16 Thread brvdboss
Hello,

Something I forgot to mention in the previous post is that (de)serializing the 
mentioned dialog object works just fine in a stand-alone application using the 
following code:

  | ByteArrayOutputStream bs = new ByteArrayOutputStream();
  | ObjectOutputStream os = new ObjectOutputStream(bs);
  | os.writeObject(dialog);
  | 
  | dialog = null;
  | 
  | ByteArrayInputStream bi = new ByteArrayInputStream(bs.toByteArray());
  | ObjectInputStream is = new ObjectInputStream(bi);
  | dialog = (Dialog)is.readObject();
  | 

However, if I insert this code into my Bean (not using entity-beans) I still 
get the same error.  So I get the impression this is some kind of bug with 
JBoss?


Kind regards,
Bruno


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913088#3913088

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913088


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user