Community

Unable to load JBPM 4.3 in spring web application context

reply from Jaber C. Mourad in jBPM - View the full discussion

I've justed test it, remplacing my @PreDestroy annotation, I've got that messages :

2010-05-20 09:37:48,648 [INFO ] org.springframework.web.context.support.XmlWebApplicationContext  - Closing Root WebApplicationContext: startup date [Thu May 20 09:36:59 CEST 2010]; root of context hierarchy
2010-05-20 09:37:48,648 [DEBUG] mypackage.internal.jbpm.ExtendedProcessEngine  - ApplicationClosedEvent fired !
2010-05-20 09:37:48,648 [INFO ] mypackage.internal.jbpm.ExtendedProcessEngine  - Terminating ProcessEngine !...2010-05-20 09:37:48,649 [INFO ] org.jbpm.pvm.internal.jobexecutor.DispatcherThread  - inactive job dispatcher thread 'DispatcherThread' got interrupted
2010-05-20 09:37:48,649 [INFO ] org.jbpm.pvm.internal.jobexecutor.DispatcherThread  - DispatcherThread leaves cyberspace

 

My "ExtendedProcessEngine" is only a wrapper implementing ProcessEngine and ApplicationListener

    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        logger.info("Terminating ProcessEngine !...");
        processEngine.close();
        processEngine =  null;
    }

 

It doesn't help for reloading context :(

 

Any other idea ?

Reply to this message by going to Community

Start a new discussion in jBPM at Community