2 Replies Latest reply: Jan 8, 2008 4:17 AM by Marcelinho RSS

    ses 10.1.3.1 sample Rule isn't working...

    600287
      PLEASE TELL ME WHAT I'M MISSING HERE...

      I read the README located at 10.1.3.1\OracleAS_1\j2ee\home\applications\edge\edge\sample\StreamsSample folder.
      I followed it and did the following in sqlplus(as edge user) :
      exec edg_utl.add_rule(ruleName => 'MyRule', condition => ':event.type = 200', param => 'edg_utl.testProc', command => 'call');
      exec edg_utl.set_log_level(edg_utl.tcdebug);
      exec DBMS_APPLY_ADM.STOP_APPLY('EDG_APPLY');
      exec DBMS_APPLY_ADM.START_APPLY('EDG_APPLY');

      select count(*) from edg_log;
      COUNT(*)
      ----------
      0

      exec edg_utl.sendToStage (200,1,'id','sitename','devicename','data',systimestamp,'sourcename','correlid');

      select count(*) from edg_log;
      COUNT(*)
      ----------
      0