dev@glassfish.java.net

Re: cluster_helloworld quicklook test fails

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Tue, 26 Mar 2013 13:56:13 -0700

Tom Mueller wrote on 03/26/13 12:40:
> Is this repeatable?
Yes, at least on my Solaris machine.

I'm trying to build on Mac OS to see what happens there.

> We had GLASSFISH-19712 <http://java.net/jira/browse/GLASSFISH-19712> that
> would have this symptom, but that has was fixed in build 81.
>
> However, I have seen nucleus admin devtest failures that act as if a server
> dies unexpectedly after starting successfully. This only happens occasionally
> and we don't have any data on it yet.

It sure would be nice if quicklook put something in the server.log file before
every test...

I'll try to run the test separately.

Scanning through the log file, I did see this, which doesn't look good:

[2013-03-26T11:28:05.726-0700] [glassfish 4.0] [SEVERE] [] [javax.enterprise.sys
tem.tools.amxee] [tid: _ThreadID=95 _ThreadName=pool-20-thread-1] [timeMillis: 1
364322485726] [levelValue: 1000] [[
  Exception while processing config bean changes :
java.lang.NullPointerException
    at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:112
3)
      at org.glassfish.admin.amx.impl.j2ee.MetadataImpl.add(MetadataImpl.java:
74)
       at org.glassfish.admin.amx.impl.j2ee.MetadataImpl.setCorrespondingConfig
(MetadataImpl.java:85)
    at org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService$Proper
tyChangeHandler.changed(AMXJ2EEStartupService.java:160)
    at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java
:288)
         at org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService.change
d(AMXJ2EEStartupService.java:135)
    at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transacti
ons.java:400)
    at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transacti
ons.java:390)
    at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Tra
nsactions.java:280)
    at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Tra
nsactions.java:278)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
        at java.lang.Thread.run(Thread.java:722)
]]


And this:

[2013-03-26T11:27:46.708-0700] [glassfish 4.0] [WARNING] [] [javax.enterprise.sy
stem.container.ejb.com.sun.ejb.containers] [tid: _ThreadID=110 _ThreadName=p: th
read-pool-1; w: 2] [timeMillis: 1364322466708] [levelValue: 900] [[

javax.ejb.NoSuchObjectLocalException: The EJB does not exist. session-key: b4900
a5a00841f-ffffffffa7f49a3b-1
    at com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulS
essionContainer.java:1616)
    at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:25
18)
       at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:190
8)
      at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLoca
lObjectInvocationHandler.java:210)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke
(EJBLocalObjectInvocationHandlerDelegate.java:88)
    at com.sun.proxy.$Proxy532.hello(Unknown Source)
    at com.sun.mdb.MessageBean.onMessage(MessageBean.java:88)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(E
JBSecurityManager.java:1057)
    at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBS
ecurityManager.java:1129)
    at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseConta
iner.java:4120)
    at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4
677)
        at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:465
7)
      at org.glassfish.ejb.mdb.MessageBeanContainer.deliverMessage(MessageBean
Container.java:1197)
    at org.glassfish.ejb.mdb.MessageBeanListenerImpl.deliverMessage(MessageB
eanListenerImpl.java:81)
    at com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandle
r.invoke(MessageEndpointInvocationHandler.java:171)
    at com.sun.proxy.$Proxy534.onMessage(Unknown Source)
    at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:283
)
     at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:107)
    at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performW
ork(ThreadPoolImpl.java:497)
    at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(Thre
adPoolImpl.java:540)
]]