Details
Description
Situation:
When deploying the Resource Adapter on WebLogic, there are two warnings emitted by WebLogic:
<Warning> <Connector> <BEA-199200> <Annotation scan/process of the resource adapter camunda-embedded-rar.rar resulted in the following 2 warnings:
[1] ConfigProperty type on class "java.lang.Class" "commonJWorkManagerName" does not equal the corresponding JavaBean property type.
[2] ConfigProperty type on class "java.lang.Class" "isUseCommonJWorkManager" does not equal the corresponding JavaBean property type.>
The warnings do not have any impact on the functionality of the Camunda Platform but users could be misinterpret them.
AT:
- Resolve the warnings during deployment of the Resource Adapter
Hint:
In the JavaEE6 is stated that a Resource Adapter can be configured through a deployment descriptor, annotation-based or both. We use both when deploying on WebLogic, but our ra.xml deployment descriptor is empty, as we rely on the annotations. Maybe WebLogic mixes something up there and it can be solved by mirroring the config-properties in the ra.xml like here? We also use a specific weblogic-ra.xml to describe further RAR properties.
Also it might be that the warnings are thrown because of bean validation, see here.