out.writeBoolean(isNew);
out.writeBoolean(distributable);
// Write the map, but first remove non-serializables
Map copy = new HashMap(sessionData);
Set keys = new HashSet(copy.keySet());
for (Iterator i = keys.iterator(); i.hasNext();) {
String key = (String) i.next();
if (!(copy.get(key) instanceof Serializable)) {
Logger.log(Logger.WARNING, Launcher.RESOURCES,
"WinstoneSession.SkippingNonSerializable",