It looks like you are serializing the MySQL connection. You should not keep it around in the session, but rather create a connection when you need it, or use a connection pool.
exceptionist wrote: > > hello, > i´ve got a problem with serialization. > > my application is connected to a mysql-db and every class of mine > implements serializable. > but still there are exceptions telling me that java.lang.Object isn´t > serializable... > > > >> org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: >> Unable to serialize class: java.lang.Object >> >> private java.util.Map com.mysql.jdbc.ConnectionImpl.charsetConverterMap >> [class=java.util.HashMap] >> private java.util.Map >> com.mysql.jdbc.ConnectionImpl.charsetConverterMap[write:1][write:2] >> [class=java.lang.Object] <----- field that is not serializable >> > > is there a possibility to deactivate serialization? > or how shall i solve this problem? > > kind regards ans many thanks to those who can help me out of the > serialization-jungle (never serialized anything before and i am relatively > new to wicket with my very first real wicket-project) > > > > > Tolle Dekolletés oder scharfe Tatoos? Vote jetzt ... oder mach selbst mit > und zeige Deine Schokoladenseite > bei Topp oder Hopp von Arcor: http://www.arcor.de/rd/footer.toh > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/W.%3A-serializable-problem-tp27715846p27716936.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org