Had spent couple of days in trying to launch planing business rule from EAS but was never able to until I figure out the actual cause.
Issue
——-
-Login to EAS
-Business Rules -> Repository View -> BusinessRule1 (Right Click and select Validate)
-Click on browse button and select Planning. Here planning server details are not listed.
Fix
—
We need to verify few things to make this work, firstly check in which port RMI registry is configured. To check this view the file
%HYPERION_HOME%\common\RMI\1.0.0\HyperionRMI_Port.properties
Also check whether port is running using the netstat -an command
netstat -an | grep 11333
C:\Documents and Settings\test>netstat -an | grep 11333
TCP 0.0.0.0:11333 0.0.0.0:0 LISTENING
TCP 140.85.254.105:2029 140.85.254.105:11333 TIME_WAIT
TCP 140.85.254.105:2072 140.85.254.105:11333 TIME_WAIT
Secondly, login to hyperion planning url and navigate as below
Administration -> Manage Properties -> System Properties
and set the PLANNING_RMI_PORT value, in my case its 10733
Thirdly,if you come across this error in the hyperion planning opmn log run the below mentioned alter table command.
Receiving error Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
The HSP_ACTION table has an ACTION_TIME field that should be of type DATE but it was set to TIMESTAMP.
SQL> desc hsp_action;
Name Null? Type
—————————————– ——– —————————-
ID NOT NULL NUMBER(38)
FROM_ID NUMBER(38)
TO_ID NUMBER(38)
ACTION_ID NUMBER(38)
OBJECT_TYPE NUMBER(38)
PRIMARY_KEY VARCHAR2(255)
MESSAGE VARCHAR2(254)
ACTION_TIME TIMESTAMP(6)
SQL> ALTER TABLE HSP_ACTION MODIFY ACTION_TIME DATE;
Table altered.
SQL> desc hsp_action;
Name Null? Type
—————————————– ——– —————————-
ID NOT NULL NUMBER(38)
FROM_ID NUMBER(38)
TO_ID NUMBER(38)
ACTION_ID NUMBER(38)
OBJECT_TYPE NUMBER(38)
PRIMARY_KEY VARCHAR2(255)
MESSAGE VARCHAR2(254)
ACTION_TIME DATE
SQL>
Recycle the RMI services and Hyperion Planning oc4j instance.