Please help me to solve this problem.

 

App server : Websphere   DB : db2   IDE : eClipe

 

12/2/10 15:54:28:415 ICT] 00000023 WebApp        E   [Servlet Error]-[Error
while finishing the connection]: java.lang.OutOfMemoryError

            at
java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:116)

            at
java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.ja
va:1791)

            at
java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.ja
va:1736)

            at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:706)

            at java.io.ObjectOutputStream.close(ObjectOutputStream.java:727)

            at
org.apache.wicket.util.io.IObjectStreamFactory$2.close(IObjectStreamFactory.
java:146)

            at
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:1097)

            at
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(Ab
stractPageStore.java:197)

            at
org.apache.wicket.protocol.http.pagestore.DiskPageStore.prepareForSerializat
ion(DiskPageStore.java:1156)

            at
org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCach
ePageMap.writeObject(SecondLevelCacheSessionStore.java:382)

            at sun.reflect.GeneratedMethodAccessor615.invoke(Unknown Source)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)

            at java.lang.reflect.Method.invoke(Method.java:618)

            at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1007)

            at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1445)

            at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1396)

            at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1125)

            at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)

            at java.util.Hashtable.writeObject(Hashtable.java:763)

            at java.util.Hashtable.writeObject(Hashtable.java:748)

            at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)

            at java.lang.reflect.Method.invoke(Method.java:618)

            at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1007)

            at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1445)

            at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1396)

            at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1125)

            at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)

            at
com.ibm.ws.webcontainer.httpsession.BackedHashtable.commonSetup(BackedHashta
ble.java:2231)

            at
com.ibm.ws.webcontainer.httpsession.BackedHashtable.persistSession(BackedHas
htable.java:2435)

            at
com.ibm.ws.webcontainer.httpsession.BackedHashtable.ejbStore(BackedHashtable
.java:2643)

            at
com.ibm.ws.webcontainer.httpsession.BackedHashtable.storeSession(BackedHasht
able.java:2276)

            at
com.ibm.ws.webcontainer.httpsession.BackedHashtable.put(BackedHashtable.java
:2915)

            at
com.ibm.ws.webcontainer.httpsession.DatabaseSessionContext.sync(DatabaseSess
ionContext.java:158)

            at
com.ibm.ws.webcontainer.httpsession.SessionData.releaseSession(SessionData.j
ava:301)

            at
com.ibm.ws.webcontainer.httpsession.SessionContext.sessionPostInvoke(Session
Context.java:3066)

            at
com.ibm.ws.webcontainer.srt.SRTRequestContext.finish(SRTRequestContext.java:
105)

            at
com.ibm.ws.webcontainer.srt.SRTServletRequest.finish(SRTServletRequest.java:
2067)

            at
com.ibm.ws.webcontainer.srt.SRTConnectionContext.finishConnection(SRTConnect
ionContext.java:68)

            at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:912)

            at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)

            at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)

            at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(Ht
tpInboundLink.java:458)

            at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht
tpInboundLink.java:387)

            at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea
dCallback.java:102)

            at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioRea
dCompletionListener.java:165)

            at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java
:217)

            at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture
.java:161)

            at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

            at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)

            at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751
)

            at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)

            at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

 

Thank you.

 

Samaporn Chatchaithitithomrong 

eMail: samap...@2b1tech.com

 

Reply via email to