12.2.4.1 Linux 64 Bit Engine Cannot Run Engine (Doc ID 2035293.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Demantra Demand Management - Version 7.3.1.4 and later
Information in this document applies to any platform.

Goal

Customer is trying to configure the engine on a linux box
They have the following tech stack
The are configuring a 64 bit engine on 12.2.4.1 with patch
linux oel 6.6 64 bit
weblogic 12c 12.1.3.0.0
Java 1.8 update 45 64 bit

WebLogic Server with Java HotSpot(TM) Server VM Version 25.45-b02 from Oracle Corporation

When they run the engine from the URL, the engines are not getting spawned and the engine2k logs not generated. The engineManager.log shows the following entry

13:59:32:343 Oracle Demantra Unix - Linux Forecast Engine Version 12.2.4 ( 12.2.4.1 Build 117 (3307) )
13:59:32:343 Engine Start Time 13:59:32 - 22/06/2015
13:59:32:343 Running in Simulation mode for profile ID: 1
13:59:32:343 13:59:32:345 Loading parameters from INIT_PARAMS_0 table.
13:59:32:349 Loading parameters from INIT_PARAMS_1 table.
13:59:33:170 CHECK_FORE_SERIES finished
13:59:33:190 Executing the shell...
13:59:33:259 Waiting for simulation requests...
13:59:33:259 Creating engines...
13:59:33:259 Communication String to Engine (ID: 0) : 0 7004 /engineManager 0 0
13:59:33:268 Engine (ID: 0) on machine localhost was successfully initiated.
13:59:33:268 Communication String to Engine (ID: 1) : 1 7004 /engineManager 0 0
13:59:33:269 Engine (ID: 1) on machine localhost was successfully initiated.
13:59:33:269 Communication String to Engine (ID: 2) : 2 7004 /engineManager 0 0
13:59:33:274 Engine (ID: 2) on machine localhost was successfully initiated.
13:59:33:275 Communication String to Engine (ID: 3) : 3 7004 /engineManager 0 0
13:59:33:278 Engine (ID: 3) on machine localhost was successfully initiated.
13:59:33:278 Communication String to Engine (ID: 4) : 4 7004 /engineManager 0 0
13:59:33:279 Engine (ID: 4) on machine localhost was successfully initiated.
13:59:33:279 Communication String to Engine (ID: 5) : 5 7004 /engineManager 0 0
13:59:33:283 Engine (ID: 5) on machine localhost was successfully initiated.
13:59:33:283 Communication String to Engine (ID: 6) : 6 7004 /engineManager 0 0
13:59:33:286 Engine (ID: 6) on machine localhost was successfully initiated.
13:59:33:289 Communication String to Engine (ID: 7) : 7 7004 /engineManager 0 0
13:59:33:290 Engine (ID: 7) on machine localhost was successfully initiated.
13:59:33:290 8 engines were created.
14:02:03:579 Communication String to Engine (ID: 8) : 8 7004 /engineManager 0 0
14:02:03:582 Engine (ID: 8) on machine localhost was successfully initiated.

The EngineManagerPreRunlog.txt shows no errors either

The diagnostic scripts shows no error either

As per the customer they mention that they run the engineStarter with nohup command, and when they run the engine from the URL, even though it shows the status a -1, after a while nothng happens and the nohup files shows the following error

dostuff accepted args: ,0,7
Peer Address: 127.0.0.1
Recieved Request: 127.0.0.1 7 7004 /engineManager 0 0
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

Also at the OS level when they grep from enfine processes ( ps -ef |grep -i engine*), it shows some engine defunct processes

We have checked the environment variables, verified that they are using a certified configuration, have checked the EnginePlatform and the EngineBaseUrl whihc point to the right values

Have even tried to add the environment variables to the weblogic start scripts. But that also does not help

Customer also tried to replace localhost with the webserver's ip address in the Settings.xml file. Below are the error messages, which are the same.

Accepted args: 12345,,0

dostuff accepted args: ,0,0
Peer Address: 10.1.60.45
Recieved Request: 10.1.60.45 0 7004 /engineManager 0 0
dostuff accepted args: ,0,1
Peer Address: 10.1.60.45
Recieved Request: 10.1.60.45 1 7004 /engineManager 0 0
dostuff accepted args: ,0,2
Peer Address: 10.1.60.45
Recieved Request: 10.1.60.45 2 7004 /engineManager 0 0
dostuff accepted args: ,0,3
Peer Address: 10.1.60.45
Recieved Request: 10.1.60.45 3 7004 /engineManager 0 0
dostuff accepted args: ,0,4
Peer Address: 10.1.60.45
dostuff accepted args: ,0,5
Peer Address: 10.1.60.45
Recieved Request: 10.1.60.45 5 7004 /engineManager 0 0
Recieved Request: 10.1.60.45 4 7004 /engineManager 0 0
dostuff accepted args: ,0,7
Peer Address: 10.1.60.45
dostuff accepted args: ,0,6
Peer Address: 10.1.60.45
Recieved Request: 10.1.60.45 6 7004 /engineManager 0 0
Recieved Request: 10.1.60.45 7 7004 /engineManager 0 0
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM


They also changed the IP to Hostname (demapp.dev.dc2.beachbody.com ) followed by a bounce of application services and EngineStarter.

Ran http://demapp.dev.dc2.beachbody.com:7004/engineManager/EngineManagerStarterServlet?command=start&mode=1&profile_id=1 URL.

Following is the nohup.out and attaced is the manager log.

oracle@demapp.dev.dc2.beachbody.com lib$ tail -f nohup.out
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Accepted args: 12345,,0

Uploading the logs
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms