The reason is that the servlet container is trying to serialize your
session and the mapscript objects are not serializable.
Also remember that, although it might work for some use cases, storing
mapscript objects in session and reusing them is not the recommended
best practice.
hth,
umberto
On
mapserver-users@lists.osgeo.org
Sent: Tuesday, July 19, 2011 3:30 AM
Subject: [mapserver-users] mapscript - java exception
hello
I am dealing with mapscript - java.
I received this error message.
Could you tell me what the reason might be ?
regards
Caused by: java.io.NotSerializableException
hello
I am dealing with mapscript - java.
I received this error message.
Could you tell me what the reason might be ?
regards
Caused by: java.io.NotSerializableException: edu.umn.gis.mapscript.mapObj
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at