Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Tomcat fails to instantiate the plugin #45

Open
SFAntti opened this issue Oct 18, 2016 · 3 comments
Open

Tomcat fails to instantiate the plugin #45

SFAntti opened this issue Oct 18, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@SFAntti
Copy link

SFAntti commented Oct 18, 2016

I'm trying to use the ReactorProcessEnginePlugin when running Camunda in Tomcat (using the default Camunda 7.5.0 Tomcat distribution).

However, instantiation of the plugin fails due to not having a constructor that takes no parameters. See the error callstack in the attachment.

I believe a simple fix would be to add that missing version of the constructor and can provide a patch for that.

camunda-bpm-reactor-tomcat-callstack.txt

@jangalinski
Copy link
Collaborator

I guess the Plugin is registered in the platform.xml by its FQN? Then the missing default constructor is a problem in deed. Thanks for reporting. Earlier version had a default constructor that created the reactor-eventbus. I removed it to make generation of the plugin more explicit (no hidden dependencies). But I only worked with embedded engines and plain-java configuration since then.

But as you mentioned ... this will be an easy fix.

@jangalinski jangalinski added this to the 1.3 milestone Oct 18, 2016
@jangalinski jangalinski self-assigned this Oct 18, 2016
@SFAntti
Copy link
Author

SFAntti commented Oct 18, 2016

Yes, the plugin was registered in the bpm-platform.xml by its FQN.

Thanks @jangalinski for such a quick fix!

@jangalinski
Copy link
Collaborator

see #103 .... since we do not test this, it got broken again

@jangalinski jangalinski reopened this May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants