4 Replies Latest reply: Dec 14, 2011 10:55 PM by Mannamal-Oracle RSS

    ORDAudio and ORDVideo setProperties

    899946
      Hi,

      I am using ORDAudio and ORDVideo objects to store audio and video items in databse 11g.

      when i call method .setProperties() as shown below:

      byte[ ] ctx[ ] = new byte [4000][1];
      VideoObj1.setProperties(ctx);

      it is throwing exception as given below:

      for Audio:

      exception : java.sql.SQLException: ORA-29400: data cartridge error
      AUD-00706: unsupported or corrupted input format
      ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 75
      ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 65
      ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 29
      ORA-06512: at "ORDSYS.ORDAUDIO_PKG", line 154
      ORA-06512: at "ORDSYS.ORDAUDIO_PKG", line 314
      ORA-06512: at "ORDSYS.ORDAUDIO", line 1006
      ORA-06512: at "ORDSYS.ORDAUDIO", line 975
      ORA-06512: at line 1



      and for Video:

      exception : java.sql.SQLException: ORA-29400: data cartridge error
      VID-00714: internal error
      ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 75
      ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 65
      ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 29
      ORA-06512: at "ORDSYS.ORDVIDEO_PKG", line 191
      ORA-06512: at "ORDSYS.ORDVIDEO_PKG", line 473
      ORA-06512: at "ORDSYS.ORDVIDEO", line 1142
      ORA-06512: at line 1


      can anyone please help in fixing this issue?

      When i remove the setProperties call from the code, code works fine and I am able to store my audio and video files in database.

      I am trying to upload .mp3 file and .mp4 video file.


      Thank You

      Edited by: 896943 on Dec 3, 2011 1:32 AM