cancel
Showing results for 
Search instead for 
Did you mean: 

Message driven bean example is not working

Former Member
0 Kudos

Hi,

i tried message driven bean example on J2ee 6.20. I am able to make connection factory, but when i tried to deploy ear file a get an exception:

Error occurred

com.inqmy.services.deploy.container.DeploymentException: java.lang.NullPointerEx

ception

at com.inqmy.services.ejb20.EJBAdmin.commitDeploy(EJBAdmin.java:604)

at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServi

ceImpl.java:2897)

at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeployServ

iceImpl.java:524)

at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServi

ceImpl.java:139)

at com.inqmy.services.deploy.command.DeployCommand.exec(DeployCommand.ja

va:142)

at com.inqmy.services.shell.processor.environment.CommandBase.exec(Comma

ndBase.java:124)

at com.inqmy.services.shell.processor.Interpreter.applyLineCommand(Inter

preter.java:391)

at com.inqmy.services.shell.processor.Interpreter.apply(Interpreter.java

:150)

at com.inqmy.services.shell.processor.Shell.work(Shell.java:150)

at com.inqmy.services.shell.processor.managers.ScriptProcessThread.run(S

criptProcessThread.java:128)

in visual administrator I can see the right queue and for few seconds this queue have one consumer.

thank

JJ

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member198228
Active Participant
0 Kudos

Hi Jiri,

Message driven beans are not supported in J2EE 6.20. Please try it against J2EE engine version 6.40

Regards

Abdul

Former Member
0 Kudos

Hi,

but this example was in guide to this version.

Ok, in case it is not possible to use MDB, how should i handle long time consumpting functions in EP enviroment?

(customer has only EP6SP2 and he need to send a lot of mails after user request and i dont want to leave user waiting till that function ends. - should i start new thread in portal?)

JJ