users@glassfish.java.net

After Restarting: Glassfish can't map implementations to interfaces?

From: <glassfish_at_javadesktop.org>
Date: Mon, 23 Nov 2009 00:24:57 PST

Hi!

Last Friday I've stopped my developer instance of glassfish with a running deploy.

I'm using "Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)"

Today I start my glassfish instance again, but it fails, because it can't find the implementation of interfaces. The failure message is:

[#|2009-11-23T09:07:09.200+0100|INFO|sun-appserver2.1|GRIZZLY|_ThreadID=10;_ThreadName=main;|Enabling Grizzly ARP Comet support.|#]

[#|2009-11-23T09:07:17.202+0100|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]

[#|2009-11-23T09:07:17.796+0100|SEVERE|sun-appserver2.1|mypackage.other.event.AbstractEventHandler|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=52742afa-8027-4e3a-aaca-f99e7752fd25;|Runtime exception occured while processing event (null)
javax.ejb.EJBTransactionRolledbackException
        at com.sun.ejb.containers.BaseContainer.mapBusinessInterfaceException(BaseContainer.java:1507)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1421)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
        at $Proxy78.update(Unknown Source)
        at mypackage.other.another.BackendSyncScheduler.runTasksOnServerStart(BackendSyncScheduler.java:121)
        at mypackage.other.another.BackendSyncScheduler.scheduleBackendSync(BackendSyncScheduler.java:69)
        at mypackage.other.another.BackendSyncScheduler.onEvent(BackendSyncScheduler.java:50)
        at mypackage.other.event.AbstractEventHandler.onMessage(AbstractEventHandler.java:29)
        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 com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:181)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:985)
        at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:186)
        at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
        at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
        at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1111)
        at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:74)
        at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:179)
        at $Proxy193.onMessage(Unknown Source)
        at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:258)
        at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.EJBTransactionRolledbackException
        at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3753)
        at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3601)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
        ... 25 more
|#]

[#|2009-11-23T09:07:17.812+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=71b385d4-1e7c-437f-9a8d-56221555cbd1;|MQRA:OMR:run:Caught Exception from onMessage():Redelivering:message-driven bean method public abstract void javax.jms.MessageListener.onMessage(javax.jms.Message) system exception|#]

[#|2009-11-23T09:07:18.343+0100|SEVERE|sun-appserver2.1|mypackage.other.event.AbstractEventHandler|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=71b385d4-1e7c-437f-9a8d-56221555cbd1;|Runtime exception occured while processing event (null)
javax.ejb.EJBTransactionRolledbackException
        at com.sun.ejb.containers.BaseContainer.mapBusinessInterfaceException(BaseContainer.java:1507)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1421)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
        at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
        at $Proxy78.update(Unknown Source)
        at mypackage.other.another.BackendSyncScheduler.runTasksOnServerStart(BackendSyncScheduler.java:121)
        at mypackage.other.another.BackendSyncScheduler.scheduleBackendSync(BackendSyncScheduler.java:69)
        at mypackage.other.another.BackendSyncScheduler.onEvent(BackendSyncScheduler.java:50)
        at mypackage.other.event.AbstractEventHandler.onMessage(AbstractEventHandler.java:29)
        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 com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:181)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:985)
        at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:186)
        at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
        at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
        at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1111)
        at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:74)
        at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:179)
        at $Proxy193.onMessage(Unknown Source)
        at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:258)
        at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: javax.ejb.EJBTransactionRolledbackException
        at com.sun.ejb.containers.BaseContainer.checkExceptionClientTx(BaseContainer.java:3753)
        at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3601)
        at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
        ... 25 more
|#]

[#|2009-11-23T09:07:18.343+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=aecdc57d-6f8c-415d-99ec-ad33592aac10;|
MQRA:OMR:run:Caught Exception from onMessage():Redelivering:message-driven bean method public abstract void javax.jms.MessageListener.onMessage(javax.jms.Message) system exception|#]

[#|2009-11-23T09:07:18.343+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=aecdc57d-6f8c-415d-99ec-ad33592aac10;|
MQRA:OMR:run:Exhausted redeliveryAttempts-msg=
Class: com.sun.messaging.jmq.jmsclient.ObjectMessageImpl
getJMSMessageID(): ID:124-192.168.1.46(e0:c6:26:c7:71:68)-2492-1258963633826
getJMSTimestamp(): 1258963633826
getJMSCorrelationID(): null
JMSReplyTo: null
JMSDestination: EventTopic
getJMSDeliveryMode(): PERSISTENT
getJMSRedelivered(): true
getJMSType(): null
getJMSExpiration(): 0
getJMSPriority(): 4
Properties: null|#]

[#|2009-11-23T09:07:18.343+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=aecdc57d-6f8c-415d-99ec-ad33592aac10;|
MQRA:OMR:run:Exhausted redeliveryAttempts-spec=ActvationSpec configuration=
        DestinationType =javax.jms.Topic
        Destination =EventTopic
        MessageSelector =null
        AcknowledgeMode =Auto-acknowledge
        SubscriptionDurability =NonDurable
        ClientId =null
        SubscriptionName =null
        EndpointPoolMaxSize =1
        EndpointPoolSteadySize =1
        EndpointPoolResizeCount =1
        EndpointPoolResizeTimeout =600
        EndpointExceptionRedeliveryAttempts =1
        EndpointExceptionRedeliveryInterval =500
        SendUndeliverableMsgsToDMQ =true
        GroupName =null
        RAUID =null
        InClusteredContainer =false
        MdbName =null
        UserName =null
        EnableDirect =false
        AddressList (in effect) =localhost:7676
|#]

[#|2009-11-23T09:07:18.343+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=aecdc57d-6f8c-415d-99ec-ad33592aac10;|
MQRA:OMR:run:Message returned & marked for routing to the DMQ|#]

[#|2009-11-23T09:07:18.343+0100|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=12;_ThreadName=p: thread-pool-1; w: 6;_RequestID=aecdc57d-6f8c-415d-99ec-ad33592aac10;|
MQRA:OMR:run:omrId=0:Acked Undeliverable-Msg=
Class: com.sun.messaging.jmq.jmsclient.ObjectMessageImpl
getJMSMessageID(): ID:124-192.168.1.46(e0:c6:26:c7:71:68)-2492-1258963633826
getJMSTimestamp(): 1258963633826
getJMSCorrelationID(): null
JMSReplyTo: null
JMSDestination: EventTopic
getJMSDeliveryMode(): PERSISTENT
getJMSRedelivered(): true
getJMSType(): null
getJMSExpiration(): 0
getJMSPriority(): 4
Properties: null|#]
[Message sent by forum member 'hegalor' ]

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