*
* @throws ServerBusyException if <code>jwig.max_sessions</code> reached
*/
synchronized public void store(Session s) throws ServerBusyException {
if (sessionset.size() >= max_sessions) {
throw new ServerBusyException("too many active sessions");
}
log.info("Storing session " + s.getID());
sessionset.add(s);
sessionmap.put(s.getID(), s);
for (SessionManagerListener l : listeners) {