Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WildFly 8.1 redeploy app with embedded Activiti #334

Closed
g-chukhrai opened this issue Jul 21, 2014 · 2 comments
Closed

WildFly 8.1 redeploy app with embedded Activiti #334

g-chukhrai opened this issue Jul 21, 2014 · 2 comments

Comments

@g-chukhrai
Copy link

WildFly 8.1.0.Final redeploy app with embedded Activiti 5.15.1 with Spring (3.2.7) activiti.cfg,xml configuration cause exception:

org.activiti.engine.ActivitiException: Could not find an implementation of the org.activiti.cdi.spi.ProcessEngineLookup service returning a non-null processEngine.

When deploying first time on clean server Activiti-cdi instance starts Ok, but on redeploy
protected static boolean isInitialized variable in class org.activiti.engine.ProcessEngines stay equals true, so method

  /** obtain a process engine by name.  
   * @param processEngineName is the name of the process engine or null for the default process engine.  */
  public static ProcessEngine getProcessEngine(String processEngineName) {
    if (!isInitialized) {
      init();
    }
    return processEngines.get(processEngineName);
  }

not call init method which can add new process engine, so exception thowns.

@flashboss
Copy link

same problem with the 5.16

@salaboy
Copy link
Contributor

salaboy commented Aug 19, 2017

Your issue is being closed now due to inactivity for a long period. We want to keep the project repository healthy and for that reason, we will close inactive issues. If you are interested in reviewing this issue with us so we can find a way to close it we will appreciate you opening a new issue pointing out the correct branch where the issue is present.
We appreciate your support and understanding.

@salaboy salaboy closed this as completed Aug 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants