dev@glassfish.java.net

Re: Bug while deploying an MDB

From: Cheng Fang <Cheng.Fang_at_Sun.COM>
Date: Tue, 04 Dec 2007 10:50:09 -0500

Hi,

A better place for the questions is glassfish forum
http://forums.java.net/jive/forum.jspa?forumID=56, or users@glassfish.

Can you attach your ejb-jar and relevant source code? Can you also try
glassfish v2 (from the log you are using v1).

-cheng

NewJavaLearner wrote:
> OF course, i've tried to restart the server many times above. But this
> exception persists.
> Probably this is not the real cause.
>
> Ramesh Parthasarathy wrote:
>
>> Hi,
>> This exception could be because of a previous deployment attempt of the
>> MDB that failed. These exceptions should go away if you restart the
>> server.
>>
>> Thanks
>> -Ramesh
>>
>> NewJavaLearner wrote:
>>
>>> I'm trying to deploy an EJB packaged on a .jar module.
>>> It's successfully deployed but that's what i get (a periodic exception on
>>> the log file).
>>>
>>> @Exception
>>>
>>> [#|2007-12-04T16:03:19.495+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.ejb.mdb|_ThreadID=17;_ThreadName=p:
>>> thread-pool-1; w:
>>> 3;_RequestID=8f07761e-3bdb-4315-a904-e4855cd1af40;|java.lang.NullPointerException
>>> java.lang.NullPointerException
>>> at
>>> com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:139)
>>> at
>>> com.sun.ejb.containers.MessageBeanContainer.createMessageDrivenEJB(MessageBeanContainer.java:684)
>>> at
>>> com.sun.ejb.containers.MessageBeanContainer.access$100(MessageBeanContainer.java:92)
>>> at
>>> com.sun.ejb.containers.MessageBeanContainer$MessageBeanContextFactory.create(MessageBeanContainer.java:477)
>>> at
>>> com.sun.ejb.containers.util.pool.NonBlockingPool.preload(NonBlockingPool.java:267)
>>> at
>>> com.sun.ejb.containers.util.pool.NonBlockingPool.doResize(NonBlockingPool.java:491)
>>> at
>>> com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.run(NonBlockingPool.java:586)
>>> at
>>> com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.service(NonBlockingPool.java:578)
>>> at com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:62)
>>> at
>>> com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
>>> |#]
>>>
>>> Can i get some help.
>>> Thanks
>>> %-|
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>
>