users@glassfish.java.net

Re: What if EJB passivation fails?

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Jan 2008 06:39:35 PST

Hi, here's server.log
This is repeated MANY times.
Is it possible that it eats up heap somehow ?...

I have another question:
At the end I call a @Remove annotated method, but in Admin Console RemoveCount is zero in the Monitor section. Shouldn't it be the same number as CreateCount?

THX!
MB



[#|2008-01-24T10:47:39.656+0100|WARNING|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=43;_ThreadName=RMI TCP Connection(1034)-127.0.0.1;_RequestID=ece940f8-e9e9-4136-bfed-faeba10ee06f;|[NRU-hu.charm.einvoiceserver.ejb.session.QuerySessionBean]: passivateEJB(), Exception caught ->
java.io.IOException: java.io.IOException
        at com.sun.ejb.base.io.IOUtils.serializeObject(IOUtils.java:105)
        at com.sun.ejb.containers.util.cache.LruSessionCache.saveStateToStore(LruSessionCache.java:508)
        at com.sun.ejb.containers.util.cache.LruSessionCache.passivateEJB(LruSessionCache.java:433)
        at com.sun.ejb.containers.StatefulSessionContainer.passivateEJB(StatefulSessionContainer.java:3524)
        at com.sun.ejb.containers.StatefulSessionContainer.onShutdown(StatefulSessionContainer.java:4370)
        at com.sun.enterprise.server.ApplicationLifecycle.onShutdown(ApplicationLifecycle.java:391)
        at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
        at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:75)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1501)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1490)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:480)
        at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
        at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:121)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException
        at com.sun.ejb.EJBUtils.serializeObjectFields(EJBUtils.java:678)
        at hu.charm.einvoiceserver.ejb.session._QuerySessionBean_Serializable.writeObject(hu/charm/einvoiceserver/ejb/session/_QuerySessionBean_Serializable.java)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        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:1461)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
        at com.sun.ejb.base.io.IOUtils.serializeObject(IOUtils.java:99)
        ... 27 more
Caused by: java.io.NotSerializableException: java.util.logging.Logger
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
        at com.sun.ejb.EJBUtils.serializeObjectFields(EJBUtils.java:676)
        ... 42 more
|#]
[Message sent by forum member 'mbazs123' (mbazs123)]

http://forums.java.net/jive/thread.jspa?messageID=256343