Errors when installing OEHR Sample Objects

Has anyone seen this when running the 'oehr_sample_objects_installer.sql' for the 2dayplus application tutorial. I'm running Oracle 10g release 2 on HP-UX 11.11. I get a slew of other errors which I believe are stemming from this error.
create tables
CREATE TABLE oehr_customers
( customer_id NUMBER(6)
, cust_first_name VARCHAR2(20) CONSTRAINT cust_fname_nn NOT NULL
, cust_last_name VARCHAR2(20) CONSTRAINT cust_lname_nn NOT NULL
, cust_address oehr_cust_address_typ
, phone_numbers oehr_phone_list_typ
, nls_language VARCHAR2(3)
, nls_territory VARCHAR2(30)
, credit_limit NUMBER(9,2)
, cust_email VARCHAR2(30)
, account_mgr_id NUMBER(6)
, cust_geo_location MDSYS.SDO_GEOMETRY
, CONSTRAINT oehr_cust_cl_max
CHECK (credit_limit <= 5000)
, CONSTRAINT oehr_customer_id_min
CHECK (customer_id > 0)
, CONSTRAINT oehr_customers_pk
PRIMARY KEY (customer_id)
ORA-00902: invalid datatype
Any help would be appreciated. Thanks Chet.

Sorry, I'm also getting this on the creation of the oehr_warehouses table
CREATE TABLE oehr_warehouses
( warehouse_id NUMBER(3)
, warehouse_spec SYS.XMLTYPE
, warehouse_name VARCHAR2(35)
, location_id NUMBER(4)
, wh_geo_location MDSYS.SDO_GEOMETRY
, CONSTRAINT oehr_warehouses_pk PRIMARY KEY (warehouse_id)
ORA-00902: invalid datatype

Similar Messages

  • Error installing OEHR sample objects for APEX 4.2

    Hello,
    I'm getting a weird error after importing the OEHR sample objects application from the script found at http://www.oracle.com/technetwork/testcontent/oehr-sample-objects-131098.zip
    The import process works, no errors, the application is created and so are the supporting objects.
    I then try to edit the application (using Application Builder). I click on the only page ("About") and it doesn't render. The message reads :
    Error during rendering of region "Page Rendering".
    ORA-01403: no data found
    If I try to run the application, I also get the same error (no data found). Which is bizarre, as this application is supposed to just show an "About" page.
    I don't really mind that the application doesn't work, since the supporting objects are created correctly, but I am worried that there could be a configuration problem that causes this issue...
    Has anyone else encountered this problem ?
    I'm running :
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Application Express 4.2.2.00.11
    Other sample applications seem to run just fine. Very strange...
    Thanks very much !
    -Laura

    Hi Laura,
    As the name suggests, 'OEHR Sample Objects', is meant for importing of sample objects that are referenced in a number of OBEs and tutorials on APEX.  Those objects can then be used for the creation of the various applications and component examples in the tutorials, etc.  The application itself is not a functioning application, so the errors you see would be expected.  As stated in Chapter 3 of our 2 Day+ Application Developer's Guide, in the note at the end of section Importing the OEHR Supporting Objects:
    The OEHR Sample Objects application that you just installed functions solely as a way to install the sample objects needed to complete the exercises in this document. You will not directly use this application.
    If you wish to install sample applications, then I would recommend that you navigate to Application Builder > Packaged Applications, for the list of available packaged business productivity applications, as well as a number of sample code applications.  Please note that none of these applications are based upon the database objects that would have been created when you installed 'OEHR Sample Objects'.  Apologies for any confusion, but hopefully this helps to clarify things.
    Regards,
    Hilary

  • Installiing OEHR Sample Objects

    Hi,
    I am trying to install the OEHR sample objects into my XE (http://oracle.su/docs/11g/appdev.112/e11945/about.htm) but keep getting this error message:
    "ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-01003: no statement parsed &lt;pre&gt;begin wwv_flow.g_import_in_progress := true; end; &lt;/pre&gt; "
    I am also not sure what I should select with File Character Set and for Parsing Scheme, I just used SYS. Could this be the reason?
    Thanks in advance.
    Sam

    Hi user;
    You are on wrong post site, please close your thread here as answered and move your issue to Forum Home » Database » Application Express which you can get more quick response
    I also suggest check below doc
    Oracle® Database Application Express Advanced Tutorials
    http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/about.htm
    http://www.mandsconsulting.com/apex-32-tutorial-preparation-and-oehr-sample-data-video-walkthrough
    Regard
    Helios

  • Error when installing the supporting objects of OLL Packaged Application

    Hello,
    I am trying to install OLL Packaged Application|http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r41/inst_pkgapp/inst_pkgapp.htm#top
    but when installing the supporting objects, I got error when executing the code of "create_package_body"
    Error at line 274: PLS-00201: identifier 'UTL_TCP' must be declared
    create or replace package body eba_oll_log
    as
    g_start_time    number;
    procedure log_init
    is
    begin
        g_start_time := dbms_utility.get_time;
    end log_init;
    procedure log_page_view
    is
    begin
       insert into eba_oll_page_views
          ( APEX_USER,
            PAGE_ID,
            PAGE_NAME,
            VIEW_DATE,
            TS,
            ELAPSED_TIME,
            IP_ADDRESS,
            AGENT,
            APEX_SESSION_ID,
            CONTENT_ID,
            CONTENT_TITLE )
       values
          ( v('APP_USER'),
            v('APP_PAGE_ID'),
            wwv_flow.g_step_title,
            trunc(sysdate,'DD'),
            systimestamp,
            (dbms_utility.get_time-g_start_time)*(.01),
            owa_util.get_cgi_env('REMOTE_ADDR'),
            owa_util.get_cgi_env('HTTP_USER_AGENT'),
            v('APP_SESSION'),
            case when v('APP_PAGE_ID') = 24
                 then v('P24_CONTENT_ID')
                 else null
                 end,
            case when v('APP_PAGE_ID') = 24
                 then v('P24_CONTENT_TITLE')
                 else null
                 end );
       if v('APP_PAGE_ID') = 24 then
          insert into eba_oll_content_views
             ( APEX_USER,
               VIEW_DATE,
               TS,
               IP_ADDRESS,
               AGENT,
               APEX_SESSION_ID,
               CONTENT_ID,
               CONTENT_TITLE,
               NOTE )
          values
             ( v('APP_USER'),
               trunc(sysdate,'DD'),
               systimestamp,
               owa_util.get_cgi_env('REMOTE_ADDR'),
               owa_util.get_cgi_env('HTTP_USER_AGENT'),
               v('APP_SESSION'),
               v('P24_CONTENT_ID'),
               v('P24_CONTENT_TITLE'),
               'Viewed' );
       end if;
       commit;
    end log_page_view;
    procedure log_content_click
    is
    begin
       insert into eba_oll_content_views
          ( APEX_USER,
            VIEW_DATE,
            TS,
            IP_ADDRESS,
            AGENT,
            APEX_SESSION_ID,
            CONTENT_ID,
            CONTENT_TITLE,
            NOTE )
       values
          ( v('APP_USER'),
            trunc(sysdate,'DD'),
            systimestamp,
            owa_util.get_cgi_env('REMOTE_ADDR'),
            owa_util.get_cgi_env('HTTP_USER_AGENT'),
            v('APP_SESSION'),
            v('P24_CONTENT_ID'),
            v('P24_CONTENT_TITLE'),
            'Launched' );
       commit;
    end log_content_click;
    end eba_oll_log;
    create or replace package body eba_oll_api
    as
    function gen_id
       return number
    is
       l_id  number;
    begin
       select to_number(sys_guid(), 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
         into l_id
         from dual;
       return l_id;
    end gen_id;
    function eba_oll_tags_cleaner (
        p_tags  in varchar2,
        p_case  in varchar2 default 'U' ) return varchar2
    is
        type tags is table of varchar2(255) index by varchar2(255);
        l_tags_a        tags;
        l_tag           varchar2(255);
        l_tags          apex_application_global.vc_arr2;
        l_tags_string   varchar2(32767);
        i               integer;
    begin
        l_tags := apex_util.string_to_table(p_tags,',');
        for i in 1..l_tags.count loop
            --remove all whitespace, including tabs, spaces, line feeds and carraige returns with a single space
            l_tag := substr(trim(regexp_replace(l_tags(i),'[[:space:]]{1,}',' ')),1,255);
            if l_tag is not null and l_tag != ' ' then
                if p_case = 'U' then
                    l_tag := upper(l_tag);
                elsif p_case = 'L' then
                    l_tag := lower(l_tag);
                end if;
                --add it to the associative array, if it is a duplicate, it will just be replaced
                l_tags_a(l_tag) := l_tag;
            end if;
        end loop;
        l_tag := null;
        l_tag := l_tags_a.first;
        while l_tag is not null loop
            l_tags_string := l_tags_string||l_tag;
            if l_tag != l_tags_a.last then
                l_tags_string := l_tags_string||', ';
            end if;
            l_tag := l_tags_a.next(l_tag);
        end loop;
        return substr(l_tags_string,1,4000);
    end eba_oll_tags_cleaner;
    procedure eba_oll_tag_sync (
        p_new_tags          in varchar2,
        p_old_tags          in varchar2,
        p_content_type      in varchar2,
        p_content_id        in number )
    as
        type tags is table of varchar2(255) index by varchar2(255);
        l_new_tags_a    tags;
        l_old_tags_a    tags;
        l_new_tags      apex_application_global.vc_arr2;
        l_old_tags      apex_application_global.vc_arr2;
        l_merge_tags    apex_application_global.vc_arr2;
        l_dummy_tag     varchar2(255);
        i               integer;
    begin
        l_old_tags := apex_util.string_to_table(p_old_tags,', ');
        l_new_tags := apex_util.string_to_table(p_new_tags,', ');
        if l_old_tags.count > 0 then --do inserts and deletes
            --build the associative arrays
            for i in 1..l_old_tags.count loop
                l_old_tags_a(l_old_tags(i)) := l_old_tags(i);
            end loop;
            for i in 1..l_new_tags.count loop
                l_new_tags_a(l_new_tags(i)) := l_new_tags(i);
            end loop;
            --do the inserts
            for i in 1..l_new_tags.count loop
                begin
                    l_dummy_tag := l_old_tags_a(l_new_tags(i));
                exception when no_data_found then
                    insert into eba_oll_tags (tag, content_id, content_type )
                        values (l_new_tags(i), p_content_id, p_content_type );
                    l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
                end;
            end loop;
            --do the deletes
            for i in 1..l_old_tags.count loop
                begin
                    l_dummy_tag := l_new_tags_a(l_old_tags(i));
                exception when no_data_found then
                    delete from eba_oll_tags where content_id = p_content_id and tag = l_old_tags(i);
                    l_merge_tags(l_merge_tags.count + 1) := l_old_tags(i);
                end;
            end loop;
        else --just do inserts
            for i in 1..l_new_tags.count loop
                insert into eba_oll_tags (tag, content_id, content_type )
                    values (l_new_tags(i), p_content_id, p_content_type );
                l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i);
            end loop;
        end if;
        for i in 1..l_merge_tags.count loop
            merge into eba_oll_tags_type_sum s
            using (select count(*) tag_count
                     from eba_oll_tags
                    where tag = l_merge_tags(i) and content_type = p_content_type ) t
               on (s.tag = l_merge_tags(i) and s.content_type = p_content_type )
             when not matched then insert (tag, content_type, tag_count)
                                   values (l_merge_tags(i), p_content_type, t.tag_count)
             when matched then update set s.tag_count = t.tag_count;
            merge into eba_oll_tags_sum s
            using (select sum(tag_count) tag_count
                     from eba_oll_tags_type_sum
                    where tag = l_merge_tags(i) ) t
               on (s.tag = l_merge_tags(i) )
             when not matched then insert (tag, tag_count)
                                   values (l_merge_tags(i), t.tag_count)
             when matched then update set s.tag_count = t.tag_count;
        end loop;
    end eba_oll_tag_sync;
    procedure render_tag_cloud (
       p_selection          in varchar2 default null,
       p_app_id             in number,
       p_session_id         in number,
       p_min_nbr_tags       in number default 1,
       p_max                in number default 100,
       p_limit              in number default 10000,
       p_link_to_page       in varchar2 default '2',
       p_tag_item_filter    in varchar2 default 'P2_TAGS',
       p_clear_cache        in varchar2 default '2,CIR,RIR',
       p_more_page          in varchar2 default '62' )
    as
       l_printed_records    number := 0;
       l_available_records  number := 20;
       l_max                number;
       l_min                number;
       l_class_size         number;
       l_class              varchar2(30);
       type l_tagtype is table of varchar2(2000);
       l_tags l_tagtype;
       type l_numtype is table of number;
       l_cnts l_numtype;
       l_size number;
       l_total number :=0;
       l_buffer varchar2(32676);  
       CURSOR c_all_tags
       IS
           select tag, c from (
           select t.tag, count(*) c
             from eba_oll_content c,
                  eba_oll_tags t
            where c.content_id = t.content_id
              and c.display_yn = 'Y'
              and (p_selection is null or
                   (p_selection is not null and
                   (   (substr(p_selection,1,1) = 'R' and
                        substr(p_selection,2) in (select release_id
                                                    from eba_oll_content_products cp
                                                   where cp.content_id = c.content_id))
                    or (substr(p_selection,1,1) = 'C' and
                        substr(p_selection,2) in (select product_id
                                                    from eba_oll_content_products cp
                                                   where cp.content_id = c.content_id))
                    or (substr(p_selection,1,1) = 'P' and
                        (substr(p_selection,2) in (select product_id
                                                     from eba_oll_content_products cp
                                                    where cp.content_id = c.content_id) or
                         substr(p_selection,2) in (select p.parent_product_id
                                                     from eba_oll_content_products cp,
                                                          eba_oll_products p
                                                    where cp.content_id = c.content_id
                                                      and cp.product_id = p.product_id)))
                    or (substr(p_selection,1,1) = 'G' and
                        (substr(p_selection,2) in (select pg.group_id
                                                     from eba_oll_product_groupings pg,
                                                          eba_oll_content_products cp
                                                    where pg.product_id = cp.product_id
                                                      and cp.content_id = c.content_id) or
                         substr(p_selection,2) in (select pg.group_id
                                                     from eba_oll_product_groupings pg,
                                                          eba_oll_products p,
                                                          eba_oll_content_products cp
                                                    where pg.product_id = p.parent_product_id
                                                      and p.product_id = cp.product_id
                                                      and cp.content_id = c.content_id)))
            group by tag
           ) x where rownum < p_limit
                 and c >= p_min_nbr_tags
            order by upper(tag) ;
    begin
       -- Fetch tags into arrays
       open c_all_tags;
          loop
              fetch c_all_tags bulk collect into l_tags,l_cnts limit p_limit;
              exit;
          end loop;
       close c_all_tags;
       l_available_records := l_tags.count;
       -- Determine total count and maximum tag counts
       l_max := 0;
       l_min := 1000;
       FOR i in l_cnts.first..l_cnts.last loop
          l_total := l_total + l_cnts(i);
          if l_cnts(i) > l_max then
             l_max := l_cnts(i);
          end if;
          if l_cnts(i) < l_min then
             l_min := l_cnts(i);
          end if;
       end loop;
       if l_max = 0 then l_max := 1; end if;
       l_class_size := round((l_max-l_min)/6);
       -- Generate tag cloud --
       sys.htp.prn('<div class="tagCloud"><ul>');
       for i in l_tags.first..l_tags.last loop
           l_printed_records := l_printed_records + 1;
           if l_cnts(i) < l_min + l_class_size then
              l_class := 'size1';
           elsif l_cnts(i) < l_min + (l_class_size*2) then
              l_class := 'size2';
           elsif l_cnts(i) < l_min + (l_class_size*3) then
              l_class := 'size3';
           elsif l_cnts(i) < l_min + (l_class_size*4) then
              l_class := 'size4';
           elsif l_cnts(i) < l_min + (l_class_size*5) then
              l_class := 'size5';
           else l_class := 'size6';
           end if;     
           l_buffer := '<li><a class="'||l_class||'" href="'||
                  'f?p='||p_app_id||':'||p_link_to_page||':'||p_session_id||':::'||p_clear_cache||':'||
                  p_tag_item_filter||':'||htf.escape_sc(l_tags(i))||'">'||
                  htf.escape_sc(l_tags(i)) || '<span>' || l_cnts(i) || '</span></a></li>';
           sys.htp.prn(l_buffer);
           l_buffer := '';
           if  l_printed_records > p_max then
               exit;
           end if;
       end loop;
       sys.htp.prn('</ul></div>');
       -- print if there's more
       if l_tags.count - l_printed_records != 0 then
               htp.prn('<p><a href="f?p='||p_app_id||':'||htf.escape_sc(p_more_page)||
                     ':'||p_session_id||':::'||htf.escape_sc(p_more_page)||'">View all tags</a></p>');
       end if;
       exception when others then
          sys.htp.prn('<p>No tags found.</p>');
    end render_tag_cloud;
    procedure email_when_feedback (
       p_feedback_id  in  number,
       p_host_url     in  varchar2,
       p_app_id       in  number )
    is
       l_body       clob;
       l_body_html  clob;
    begin
    for c1 in (
       select f.feedback_comment, f.feedback_by,
              c.title, nvl(ct.feedback_contacts,'[email protected]') email
         from eba_oll_content_feedback f,
              eba_oll_content c,
              eba_oll_team ct
        where f.id = p_feedback_id
          and f.content_id = c.content_id
          and c.team_id = ct.team_id (+) )
    loop
       l_body := 'You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
    Content: '|| c1.title || utl_tcp.crlf || '
    Feedback: '|| c1.feedback_comment || utl_tcp.crlf || '
    Left by: '|| lower(c1.feedback_by) ||'
    You can respond via the OLL Application, '||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id || '.';
       l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
    <p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
    You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application.
    </p>
    <table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Left by</td>
    <td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||lower(c1.feedback_by)||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
    <a href="'||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">Respond to this Feedback</a>
    </td>
    </tr>
    </table>
    </div>';
       apex_mail.send (
          p_to        => c1.email,
          p_from      => '[email protected]',
          p_subj      => 'OLL - New Feedback for your team',
          p_body      => l_body,
          p_body_html => l_body_html );
    end loop;
    end email_when_feedback;
    procedure email_when_response (
       p_feedback_id  in  number,
       p_host_url     in  varchar2,
       p_app_id       in  number )
    is
       l_body       clob;
       l_body_html  clob;
    begin
    for c1 in (
       select f.feedback_comment, f.feedback_by, f.response, c.title
         from eba_oll_content_feedback f,
              eba_oll_content c
        where f.id = p_feedback_id
          and f.content_id = c.content_id )
    loop
       l_body := 'You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
    Content: '|| c1.title || '
    Feedback: '|| c1.feedback_comment || '
    Response: '|| c1.response || '
    You can also view this response via the OLL Application, '||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id || '.';
          l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;">
    <p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;">
    You have received a response to your feedback left in the Oracle Learning Library (OLL) Application.
    </p>
    <table style="width: 100%;" cellspacing="0" cellpadding="0" border="0">
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td>
    <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Response</td>
    <td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.response,CHR(10),'<br/>')||'</td>
    </tr>
    <tr>' || utl_tcp.crlf || '
    <td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">
    <a href="'||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">View Response in OLL Application</a>
    </td>
    </tr>
    </table>
    </div>';
       apex_mail.send (
          p_to        => c1.feedback_by,
          p_from      => '[email protected]',
          p_subj      => 'Oracle Learning Library - Response to your Feedback',
          p_body      => l_body,
          p_body_html => l_body_html );
    end loop;
    end email_when_response;
    end eba_oll_api;
    /Error at line 274: PLS-00201: identifier 'UTL_TCP' must be declared
    Edited by: Fateh on Jan 13, 2012 7:32 AM

    Thanks & Sorry for not mentioning the full information about my environment.
    it was:
    Oracle 11g xe R2 on Windows 7 machine
    Apex listener deployed on Glass Fish server 3.1 on Windows 7 machine
    Apex 4.1
    Google Chrome
    So, to have OLL application worked locally . we need the following:
    grant execute on utl_tcp to [your_schema_name]And to
    Configure an Application Express Application as a Partner Application in Oracle AS Single Sign-On http://www.oracle.com/technetwork/testcontent/sso-partner-app-100552.html.
    I think I am going to install on my work space on apex.oracle.com.
    Regards,
    Fateh
    Edited by: Fateh on Jan 15, 2012 9:38 AM

  • Installing OEHR Sample Objects

    INSERT INTO tony.oehr_employees VALUES
    ( 104
    , 'Bruce'
    , 'Ernst'
    , 'BERNST'
    , '590.423.4568'
    , TO_DATE('21-MAY-1991', 'dd-MON-yyyy')
    , 'IT_PROG'
    , 6000
    , NULL
    , 103
    , 60
    ORA-01843: not a valid month
    I checked
    select to_char(add_months(sysdate,-5),'MON') from dual;
    MAJ (In swedish)
    What parameter do I have to change so I can install the OEHR sample, NLS...?

    Hi Tobias,
    This is an error in the OEHR scripts (that the date value is not locale-neutral).
    Set your browser language to en-us and run the script again. After you submit the script, you should be able to set your browser language back. Sorry if this is a somewhat lame workaround.
    Joel

  • OEHR Sample Objects incorrect installation

    Hi, i'm very new in this Apex world, i'm trying to follow the 2 Day + Application Express Developer’s Guide (http://www.oracle.com/technology/products/database/application_express/pdf/apex_datasheet_20.pdf) , one of the steps is download and install OEHR Sample Objects and also install supporting objects, i do that but in the installation summary i got the message telling me the installation occured with errors on: 'seed customers' and 'seed orders'. errors like "ORA-01843: not a valid month" and "ORA-02291: integrity constraint (ICOMS.OEHR_EMP_MANAGER_FK) violated - parent key not found".
    does any of you got the same message? is it a critical error?

    I can't find the link to download the OEHR Sample Objects as described in the link in this webpage:
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/get_start.htm#BABDJCJJ
    when i clicked the "Packaged Application" Link it did not show the download for the said OEHR Sample Object just as instructed in the link I've posted above.
    please advise.
    Edited by: 873152 on Jul 18, 2011 3:16 AM

  • Error when Installing Business Content BW 3.5

    Hello Everyone,
    When I "Drag n Drop" the infocube 0PS_C021, it shows following errors :
    Object 0EMPLOYEE_EDUCATION (InfoSource,ISTD) could not be collected for object PA-PA-IO (Application,APCO)
    Message no. RSO296
    Diagnosis
    You have collected objects in the BW Metadata Repository. Associated objects for the object PA-PA-IO of type Application,APCO have also been collected. Object 0EMPLOYEE_EDUCATION of type InfoSource,ISTD was among these objects. This object 0EMPLOYEE_EDUCATION of type InfoSource,ISTD, is not, however, available in the Metadata Repository.                                              
    Object '0EMPLOYEE_EDUCATION' (ISTD) of type 'InfoSource' is not available in version 'D'
    Message no. RSO252                                                                               
    Diagnosis                                                                  
    You wanted to generate an object with the name '0EMPLOYEE_EDUCATION' (in transport request ISTD) of type 'InfoSource' (TLOGO). This is, however, not available in the BW Repository database. It does not exist in the requested version D. If the version is 'D' then it is possible that an error arose during the delivery or installation. If the version is 'A' then the Object was either not created or not activated.
    Please help me to solve these problems.
    Regards
    Sanjiv

    Hi Sanjiv,
    Check the below thread:
    Error when Installing Business Content BW 3.5
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fbabd936493ee7e10000000a1553f7/content.htm
    Reg
    Pra

  • Error when attempting to IMPORT object "TS_CHECK".

    When using in BI SAP NetWeaver 2004s (700 - SP 15) the transaction ST04old -> Detail analysis menu -> Summary report
    The following short dump occurs:
    Runtime Errors         CONNE_IMPORT_WRONG_COMP_TYPE
    Except.                CX_SY_IMPORT_MISMATCH_ERROR
    Date and Time          19.11.2008 15:14:08
    Short text
    Error when attempting to IMPORT object "TS_CHECK".
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLSTD4" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
    not caught in
    procedure "DB02_ORA_FILL_TS_CHECK__CRITOB" "(FUNCTION)", nor was it propagated
    by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When importing the object "TS_CHECK", the component no. 4 in the
    dataset has a different type from the corresponding component
    of the target object in the program "SAPLSTD4".
    The data type is "I" in the dataset, but "N" in the program.
    Missing RAISING Clause in Interface
    Program                                 SAPLSTD4
    Include                                 LSTD4U03
    Row                                     1
    Module type                             (FUNCTION)
    Module Name                             DB02_ORA_FILL_TS_CHECK__CRITOB
    Trigger Location of Exception
    Program                                 SAPLSTD4
    Include                                 LSTD4U03
    Row                                     51
    Module type                             (FUNCTION)
    Module Name                             DB02_ORA_FILL_TS_CHECK__CRITOB
    Source Code Extract
    Line
    SourceCde
    21
    DATA: BEGIN OF TD110.
    22
    INCLUDE STRUCTURE TD110_STRU.
    23
    DATA: END OF TD110.
    24
    25
    CURR_TIME = SY-UZEIT.
    26
    CURR_DATE = SY-DATUM.
    27
    28
    CALL FUNCTION 'GET_DB_ORA_RELEASE'
    29
    IMPORTING
    30
    ORACLE_RELEASE = ORA_REL.
    31
    32
    IF FLAG_REFRESH = 'y'.  FLAG_REFRESH = 'Y'. ENDIF.
    33
    flag_refresh = 'Y': Es soll in jedem Fall auf die DB zugegriffen werd.
    34
    35
    CLEAR TS_CHECK. REFRESH TS_CHECK.
    36
    CLEAR CRITOBJ. REFRESH CRITOBJ.
    37
    CLEAR NR_CRIT_OBJ.
    38
    39
    IF FLAG_REFRESH <> 'Y'.
    40
    41
    Suche zunächst im Arbeitsspeicher !
    42
    CLEAR TS_CHECK_CACHE. READ TABLE TS_CHECK_CACHE.
    43
    IF NOT ( TS_CHECK_CACHE IS INITIAL ) .
    44
    TS_CHECK[] = TS_CHECK_CACHE[].
    45
    CRITOBJ[] = CRITOBJ_CACHE[].
    46
    OK_1 = 'Y'.
    47
    48
    Suche danach in 'MONI' !
    49
    ELSE.
    50
    PERFORM PREPARE_MONIKEY USING 2.
    >>>>>
    IMPORT TS_CHECK CRITOBJ FROM DATABASE MONI(DB) ID MONIKEY.
    52
    53
    IF SY-SUBRC = 0.
    54
    OK_1 = 'Y'.
    55
    TS_CHECK_CACHE[] = TS_CHECK[].
    56
    CRITOBJ_CACHE[] = CRITOBJ[].
    57
    ENDIF.
    58
    ENDIF.
    59
    60
    'Same procedure' für datetime:
    61
    IF NOT ( TD110_CACHE IS INITIAL ).
    62
    DATETIME-MONI_DATE = TD110_CACHE-DATUM.
    63
    DATETIME-MONI_TIME = TD110_CACHE-UZEIT.
    64
    ELSE.
    65
    PERFORM PREPARE_MONIKEY USING 3.
    66
    IMPORT TD110 FROM DATABASE MONI(DB) ID MONIKEY.
    67
    IF SY-SUBRC = 0.
    68
    DATETIME-MONI_DATE = TD110-DATUM.
    69
    DATETIME-MONI_TIME = TD110-UZEIT.
    70
    TD110_CACHE = TD110.
    Only related SDN post is following, but solved by changing permissions for saposcol.
    Only related SAP Note is SAP Note Number 597743 "DB02: Poor entries for critical objects list", but not applicable for current SAP version.
    For me strange is that this issue occurs on the development system, but not on the acceptance and production system.
    Thanks in advance for any assistance.
    KR
    Gidion

    Received the solution from SAP Active Global Support:
    This error occurs due a corruption in the table MONI.
    For solving this issue you need to clean the records of this table via the following path :
    1. Call transaction ST03
    2. With GOTO -> Performance database -> Content of database
    3. Push button Delete data group
    4. Enter ID DB
    5. Continue
    6. Confirm the delete
    If you wish to backup the data before deleting the entry please follow the steps in the note 1000275 "DB02: history data backup procedure".
    Regards,
    Gidion

  • Error when install Infrastructure 10g 10.1.2 in Windows2000 server

    My environment:
    RDBMS Version: 10.1.0.3.1
    Operating System and Version: Windows2000 SP4
    Product (i.e., OAS, IAS, etc): 10g AS Release 2
    Product Version: 10.1.2
    JDK Version: 1.4
    I have the folowing error when installing the Infrastructure (in the stage of SSO Configure Assistant):
    Default Subscriber GUID: E0575BDE015C411CAD99BDEF85F79029
    Subscriber Naming attribute: dc
    Default Subscriber Name: server01
    *** Resetting user DN and GUID information ...***
    Done....
    PL/SQL procedure successfully completed.
    No errors.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.1 - Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    NLS_LANG character set = WE8MSWIN1252
    NLS_LANG param = AMERICAN_AMERICA.WE8MSWIN1252
    ERROR : Exception while configing SSO DAD :
    oracle.ias.repository.schema.SchemaException: Unable to establish connection to the Oracle Internet Directory Server ldap://myserver.domain.com:3060/. Base Exception : javax.naming.CommunicationException: Request: 1 cancelled
    at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:124)
    at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:523)
    Please advice.
    Thanks
    Trung

    I don't know much about the 10g Releases yet but I had the same error with 9.0.2.3. The problem is that OID isn't available when it needs to be.
    When you get the error, start OID using the command line then try running the config assistant again.
    Hope this helps
    Alex

  • TS3212 I get an apple application support error when installing itunes. It says uninstall and re-install.  Does not work.  same message.  What is a solution?

    I get an apple application support error when installing itunes. It says uninstall and re-install.  Does not work.  same message.  What is a solution?

    Is that an error 2 message?
    If so, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • ?I am getting an error when installing on my dell inspiron with latest updates for drivers.  Error 1406.  I have the problem with Scan Snap software and a full version of reader.

    ?I am getting an error when installing on my dell inspiron with latest updates for drivers.  Error 1406.  I have the problem with Scan Snap software and a full version of reader.

    Error 1402 | Error 1406 | Acrobat, Reader

  • What is the 0x80070570 error when installing Win7 or Win8 or Win 8.1 on a clean SSD/HDD ?!

    Hello,
    My computer was working perfectly with Win7 for about 2years until I formatted on monday to clean a little bit my drives ... Since then I'm unable to install windows again. I have the 0x80070570 error.
    The complete error message is:
    Windows cannot install required files. The file may be corrupt or missing. Make sure that all files required for installation are available and restart the installation. Error code:0x80070570.
    What is the 0x80070570 error when installing Win7 or Win8 or Win 8.1 on a clean SSD/HDD ?! These versions are full from MSDN.
    What I did already:
    check my RAM (16go gskill)
    remove unnecessary hard drives
    replace my "old" SSD with a clean new one
    remove my sound cards
    remove the mouse and use only keyboard
    reset the BIOS
    check every LED on the motherboard (asus sabertooth z77) and there is no problem
    What are the problems?
    Thanks,
    Adrien.

    Hi,
    If all images cannot be installed, we have a reason to suspect the hardware cause.
    If you use two memory slots to get 16G RAM, I suggest you test with just one (8G) to check the result.
    Alex Zhao
    TechNet Community Support

  • Update Operation Fatal Error when installing Technical Preview Build 10041 Upgrade

    I posted this in the Microsoft Community forums and was redirected here.
    Below is the original post (URL: http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/update-operation-fatal-error-when-installing/6eaff1b9-0223-4357-afc8-884382590e82 )
    Hello,
    In trying to perform an upgrade install of the Windows 10 Technical Preview Build 10041 (as is the latest available for direct download as of my writing), I am running into a problem I cannot find mention of anywhere else on the web.
    I fall into two categories with regards to this build: A) Product tester who actually needs to test application performance under Windows 10 on bare metal, B) Semi-crazy techie who loves using (usable) beta software as his primary environment ;)
    so it is rather important to me that I get this working on my machine in some non-virtualized respect. I am reluctant to do a full/fresh install if installation problems are happening, because my Windows 8 product key has been f***ed up from the
    start (likely some random database corruption) and I've had to utilize phone support to get around an "unknown error" the last two times I've had to use it. So, for fear of that key completely crapping out on me, I don't want to move to Win10 unless
    I'm confident it will install and I can stick with it (for better or worse) through the end. Problems within the Preview after I install it I can deal with.
    So, I first tried to install the Preview through the standard Windows Update method. The installer took about 7 hours (but from reading lots of internet discussions, stupidly long install times in that range seem to be a common problem with
    this builds separate from it actually failing). During the reboot between the "Setting up Devices" (Or is it Setting up Drivers? I forget) and "Taking Care of a Few More Things" (Again, possibly paraphrased), for about a split second, underneath
    the Windows logo and throbber, some error like this appeared:
    Fatal Error Performing Update Operation # of ##: ERROR CODE
    It only appeared for a fraction of a second, and I had no chance of reading the precise numbers or error.
    However, the installer then seemed to continue, and went until the main circle was at 100%. As soon as 100% hit, however, the screen went black for something like 30min. Then, I briefly saw "Attempting to recover installation" before "Restoring
    your previous version of Windows." And I was, quite impressively considering how far along that installer was, back in Windows 8.1 completely unharmed.
    I tried again by burning an ISO and doing a disc upgrade install. I let that one run overnight and was asleep for the error, but I was back in Win8.1 in the morning, so I can only assume a similar thing happened there.
    As for my system specs, I'm running on a MacBook Pro 9,1 under Boot Camp. I am upgrading from Windows 8.1.2 Pro with Media Center. I have found other online accounts of people quite successfully installing Windows 10 on Macs, so that isn't the issue.
    Does anyone have any clue as to what this error might have been/be, and how I might fix it? Or at least have it on good authority that a fresh installation would be unaffected (meaning it's software-related)? If not, I can try installing to a VHD,
    which would at least let me product test on bare metal, but wouldn't have the harddrive space to be my daily driver and would probably only get used occasionally.
    Thanks in advance to anyone who can help!
    So far, I have the yet-to-be-tried idea of a clean boot prior to installation.
    If anyone here has any more specific ideas, lemme hear 'em.
    Thanks!

    To the individual who proposed this as an answer to my problem: It's not even applicable. I specifically stated that I was trying to avoid doing a clean installation (at least without knowing more about the problem at hand). An answer saying to do the thing
    you're trying to avoid doing is not an answer. You can see my last reply for the current status of this issue. 6-8 hour blocks of time in which I can't use my computer (as is required to install build 10041) aren't super common for me, but I haven't abandoned
    this thread. There have simply been no more updates. If your motivation as a mod was that you simply don't like there being unanswered threads on this forum, then perhaps you could attempt to contribute rather than arbitrarily marking the first reply as an
    answer.
    I will continue to update this thread as I try new things and get more information.
    Thank you.

  • Errors when installing Oracle Client 10.2.0.2.0 on zLinux (Red Hat)

    I am receiving errors when installing Oracle Client 10.2.0.2.0 (Administrator) on zLinux. During the install I receive two notifications for File Not Found when the installer tries to create the link for lib32/libclntsh.so.10.1. I hit ignore on the pop-ups and the install completes. The Oracle Net Configuration Assistant then fails to launch with the following error:
    Output generated from configuration assistant "Oracle Net Configuration Assistant":
    Command = /opt/oracle/product/10.2.0/db_1/bin/netca /orahome /opt/oracle/product/10.2.0/db_1 /orahnam Oracle_home /instype custom /inscomp client,oraclenet,ano /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /opt/oracle/product/10.2.0/db_1/network/install/netca_clt.rsp
    UnsatisfiedLinkError exception loading native library: njni10
    Configuration assistant "Oracle Net Configuration Assistant" failed
    The "/opt/oracle/product/10.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
    I have seen multiple threads relating to very similar errors, but none of the fixes that were suggested have worked. I have double checked the required Red Hat packages and made sure they were all installed on the server. All of the prerequisite checks for the installer are successful. Any assistance would be of most helpful!

    Worked with my Linux system admin and figured out that we were indeed missing some packages. There are 390 and 390x rpm's for Red Hat on System Z, i.e. 64 bit and 32 bit versions. Since we are running a 64 bit os some of those 32 bit packages did not get installed. Since our roles are split up, I am kind of blind as to the OS setup so I was not able to catch the problem. It is truly puzzling as to why Oracle would need 32 bit packages even though Oracle client is 64 bit. Regardless, after adding the 32 bit rpm's the installer was able to perform the linking operation that was failing, and the network configuration script ran successfully.

  • Getting an "installer failed to initialize" error when installing CS5 from CD

    Getting an "installer failed to initialize" error when installing CS5 from CD
    Mac OS X Version 10.7.5

    Try using the Adobe Creative Suite Cleaner Tool
    helps resolve installation problems for CS3 thru CS6 and for Creative Cloud
    http://www.adobe.com/support/contact/cscleanertool.html
    If you continue to have problems getting the CD installation to work you can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site or else the download will not work properly.
    CS5:
    http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

Maybe you are looking for