Warinig appears when embedded application with specific rules is deployed on EAP running on Windows

Solution Unverified - Updated -

Issue

When embedded application with specific rule is deployed on EAP which is running on Windows,
the following warning happens.

WARN  [org.jboss.modules.define] (ServerService Thread Pool -- 18) Failed to define class com.sample.userData in Module "deployment.calculate-point-eap.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link com/sample/userData (Module "deployment.calculate-point-eap.war" from Service Module Loader): com/sample/userData (wrong name: com/sample/UserData)

The problematic rules looks like the following.

package com.sample.rule;
//generated from Decision Table
import com.sample.*;
dialect "mvel"
// rule values at C12, header at C7
rule "CalculatePoint_12"
    when
           userData : UserData(memberType.equals("member"))
    then
               ...
end

i.e. Only first one character (a capital letter or a small letter) is different from a bind variable name(i.e. userData) in the class name(i.e. UserData).

This warning does not happen when running it as java standalone application or on EAP running on RHEL.

Environment

  • Red Hat Decision Manager
    • 7.1
  • Red Hat Enterprise Application Platform (EAP)
    • 7.1
  • Windows

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In