Bug 1310006

Summary: WebSphere ClassLoader configuration for Decision Server deployment
Product: [Retired] JBoss BRMS Platform 6 Reporter: Toshiya Kobayashi <tkobayas>
Component: DocumentationAssignee: Dawn Eisner <deisner>
Status: CLOSED EOL QA Contact: Karel Suta <ksuta>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: brms-docs, ksuta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:43:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Toshiya Kobayashi 2016-02-19 09:02:31 UTC
Document URL: 

https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BRMS/6.2/html/IBM_WebSphere_Installation_and_Configuration_Guide/Install_the_Realtime_Decision_Server.html

Section Number and Name: 

4.2. Install the Realtime Decision Server

Describe the issue: 

Step 8:
======
8 Navigate to Applications --> Application Types --> WebSphere enterprise applications and then click on kie-server (this should be in the stopped state). This will show you the specific application settings. Click on Target specific application status and then server1 (or the server that you installed this on). In the properties, change ClassLoader Policy to Single and Class Loading Mode to "Classes loaded with local class loader first (parent last)". Save this configuration. 
======

This step just changes ClassLoader of server itself. You will hit NoSuchMethodError during deployment (deployment process finishes anyway) and cannot access kie-server via REST (will get 404)

java.lang.NoSuchMethodError: org/codehaus/jackson/map/DeserializationConfig.withAnnotationIntrospector(Lorg/codehaus/jackson/map/AnnotationIntrospector;)Lorg/codehaus/jackson/map/DeserializationConfig;

You should leave the server ClassLoader settings (= Multiple). Instead,

======
8. Navigate to Applications --> Application Types --> WebSphere enterprise applications and then click on kie-server (this should be in the stopped state). This will show you the specific application settings. Click on "Class loading and update detection". In the properties, change "Class loader order" to 'Classes loaded with local class loader first (parent last)' and "WAR class loader policy" to 'Single class loader for application'. Save this configuration. 
======

Suggestions for improvement: 

See above.

Comment 2 Karel Suta 2016-04-01 08:20:54 UTC
Done, documentation updated for both BRMS and BPMS.