私は次の問題に向かっています
SEVERE: Unable to serialize delta request for sessionid [576530C8078FEBD71743551D4417DAD5]
java.io.NotSerializableException: com.extjs.gxt.ui.client.data.RpcMap
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at java.util.ArrayList.writeObject(ArrayList.java:570)
at sun.reflect.GeneratedMethodAccessor955.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at org.apache.catalina.ha.session.DeltaRequest$AttributeInfo.writeExternal(DeltaRequest.java:392)
at org.apache.catalina.ha.session.DeltaRequest.writeExternal(DeltaRequest.java:285)
at org.apache.catalina.ha.session.DeltaRequest.serialize(DeltaRequest.java:299)
at org.apache.catalina.ha.session.DeltaManager.serializeDeltaRequest(DeltaManager.java:617)
at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1057)
at org.apache.catalina.ha.session.DeltaSession.expire(DeltaSession.java:436)
at org.apache.catalina.ha.session.DeltaManager.handleSESSION_EXPIRED(DeltaManager.java:1370)
at org.apache.catalina.ha.session.DeltaManager.messageReceived(DeltaManager.java:1276)
at org.apache.catalina.ha.session.DeltaManager.messageDataReceived(DeltaManager.java:1005)
at org.apache.catalina.ha.session.ClusterSessionListener.messageReceived(ClusterSessionListener.java:92)
at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:897)
at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:878)
at org.apache.catalina.tribes.group.GroupChannel.messageReceived(GroupChannel.java:275)
at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:80)
at org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.messageReceived(TcpFailureDetector.java:113)
at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:80)
at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:80)
at org.apache.catalina.tribes.group.ChannelCoordinator.messageReceived(ChannelCoordinator.java:253)
at org.apache.catalina.tribes.transport.ReceiverBase.messageDataReceived(ReceiverBase.java:271)
at org.apache.catalina.tribes.transport.nio.NioReplicationTask.drainChannel(NioReplicationTask.java:211)
at org.apache.catalina.tribes.transport.nio.NioReplicationTask.run(NioReplicationTask.java:100)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
List<InfoClasifCustom>
セッションにアップロードするとき。
このクラスは次のとおりです。
public class InfoClasifCustom extends BaseModelData implements Serializable, IsSerializable, BeanModelTag, Comparable<InfoClasifCustom>{
private String idClasificacion;
private String color;
private Integer numEquiposGrupo;
private Long idGrupo;
private Boolean isEditable=false;
private static final long serialVersionUID = 8202856915683008011L;
public InfoClasificacionCustom() {
}
public void setColor(String color) {
this.color = color;
}
public Integer getNumOrden() {
return get("numOrden");
}
public void setNumOrden(Integer numOrden) {
set("numOrden",numOrden);
}
したがって、このクラスの属性には、標準属性とBaseModelDataのRPCMapの両方を使用しており、それらはすべてプリミティブ型またはラッパー(つまり、intまたはInteger)です。
RPCMapのシリアル化に問題がありますか?多分リスト?この問題は、Tomcatクラスターであるため、本番環境でのみ発生します。
誰でも助けることができますか?