Error When Extracting the UD Connect Source Objects

Hi,
I am working on UD Connect to extract data from an external Oracle Database System. I have done all the required configurations from the Visual Admin and BI side.
When I click on F4 help on 'UD Connect Source Object' in the 'Extraction' tab of Application Component, I am getting a message " Extraction of existing UD Connect data source objects". But, the message reamains the same forever. I mean, the source objects(tables) are not displayed.
Message no. RSDS_ACCESS030
But, this is working fine in the Web.
1) We have tested the BI JDBC Connector using the URL:
http://xxxabcdev03:50000/TestJDBC_Web/TestJDBCPage.jsp
We got the list of tables displayed, implies connector is configured properly.
2) When we are trying to configure the Source system in rsa1->modelling->source systems-> UD connect -> create,
following are the values given:
a) RFC: The RFC we have created from BW to Java.
b)Logical System Name: We have manually typed in free text 'UDC_local'. Could you please clarify do we need to type in manually or select the logical system name from the F4 help?
Which logical system name should we enter here exactly.. pls clarify.
Do we have a seperate logical system name for the J2EE server...?
c) Type of Connector : JDBC
d) name of connector: SDK_JDBC
e) Source system name: SDK_JDBC
f) Type and Release : blank
Please clarify, if we went wrong anywhere.
Regards,
Srinivas.

Hi Srinivas,
even i am facing the same problem,had you resolved it,if so pls help me out in resolving
i have been in the same approach and even i am not clear with the logical system name(i have give a generic name) and even i tried given with the bi logical system name but it shows source system has got the same name as bi.
i got struck there,pls guide me
thanks in advance.

Similar Messages

  • Error When Opening the Setup/Transactions/ Sources Window

    Hi All,
    in Oracle E-Business Suite R12 Version
    Error When Opening the Setup/Transactions/ Sources Window
    APP-FND-01388: Cannot read value for profile option FND_DEVELOPER_MODE in routine &ROUTINE.
    ORA-01403: no data found
    FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502.

    Amr,
    Please see the suggested solutions in these docs.
    App-Fnd-01388: Cannot Read Value For Profile Option Fnd_developer_mode In Routine [ID 563884.1]
    R12: How To Avoid The Error Message APP-FND-01388 On Drilldown [ID 556668.1]
    R12 APXINWKB Error APP-FND-01388 When Trying To Query Invoice [ID 864195.1]
    APP-FND-01388 Cannot Read Profile Option FND_DEVELOPER_MODE In Benefits Service Center Form [ID 422182.1]
    Thanks,
    Hussein

  • Error when extracting the text data

    Hi all
    I am getting an error when transfering the text data thru flat files .
    It is asking " No transfer structure available for the source system ," and saying that 0langu is not assigned to source syatem.I am working on 3.5.
    pls suggest me.
    thanks in advance
    karna

    hi,
         you have to decline 0LANGU, STTXT(short text), MDTXT(medium text),
    LGTXT(long text), and respective key field(primary key) of attribute for
    text data source.  give the above five info object's in transfer structure for
    text data source and activate it.
    if helpful provide points
    regards
    harikrishna.N

  • Error when extracting data from Data Source

    Hi All,
    I have a Generic datasource in BW which is based on a Function Module.When I am extracting the data from this source in RSA3 it is ending up in Run time error.
    the error message is
    The current ABAP program "SAPLYBWPU" had to be terminated because one of the
    statements could not be executed.
    and the error analysis is
    You wanted to add an entry to table "\FUNCTION-POOL=YBWPU\DATA=GT_HIERTAB2", which you declared with a UNIQUE KEY. However, there was already an entry with the same key.
    This may have been in an INSERT or MOVE statement, or within a
    SELECT ... INTO statement.
    In particular, you cannot insert more than one initial line into a
    table with a unique key using the INSERT INITIAL LINE... statement.
    Can anybody explain me how can I resolve this
    Thanks
    Sreeja

    Hello
    You can refer following link.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33&overridelayout=true

  • Error when compiling the J2ee tutorial source files on win2k professional

    Hi,
    Could you help me?
    I'm trying to complete the j2ee tutorial.
    I have downloaded the example code, J2EE Sdk, J2SE and Ant from the web site (these files� name are: j2ee-1_3-doc-tutorial-draft3.zip, j2sdkee-1_3_01-win.exe, j2sdk-1_3_1_01-win.exe, jakarta-ant-1.3-bin.zip) and installed the �j2sdkee-1_3_01-win.exe, j2sdk-1_3_1_01-win.exe� and unzipped �j2ee-1_3-doc-tutorial-draft3.zip, jakarta-ant-1.3-bin.zip� to their default subdirectory.( jdk1.3.1_01,
    j2sdkee1.3,jakarta-ant-1.3)
    According to instructions, I have set the Environment Variables as the below:
    ANT_HOME=c:\jakarta-ant-1.3
    CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;c:\program files\microsoft sql server 2000 jdbc\lib\mssqlserver.jar;c:\program files\microsoft sql server 2000 jdbc\lib\msbase.jar;c:\program files\microsoft sql server 2000 jdbc\lib\msutil.jar;c:\orcle\ora81\jdbc\lib\classes12.zip; c:\orcle\ora81\jdbc\lib\nls_charset12.zip;c:\program files\oracle\jdevelop 3.2.3\jdbc\lib\oracle8.1.7\classes12.zip;c:\j2sdkee1.3\lib\j2ee.jar;c:\jdk1.3.1_01\lib\tools.jar;c:\jdk1.3.1_01\lib\classes.zip;c:\jakarta-ant-1.3\lib\ant.jar
    HOMEPATH=\
    J2EE_HOME=c:\j2sdkee1.3
    JAVA_HOME=c:\jdk1.3.1_01
    OS=Windows_NT
    Os2LibPath=C:\WINNT\system32\os2\dll;
    Path=C:\oracle\ora81\bin;C:\oracle\ora81\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.7\bin;C:\PROGRA~1\REFLEC~1;C:\Program Files\Reflection;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\DMI\WIN32\BIN;C:\Program Files\Symantec\pcAnywhere\;C:\MSSQL7\BINN;C:\Sybase\DLL;C:\Sybase\BIN;C:\sybtools\WIN32;C:\sybtools\ASEP;c:\oracle\ora81\jdbc\lib;c:\j2sdkee1.3\bin;c:\jdk1.3.1_01\bin;c:\jakarta-ant-1.3\bin
    SystemRoot=C:\WINNT
    windir=C:\WINNT

    After finishing the above actions, I have started the j2ee server and deploytools successfully. But when I executed the following command( ANT CONVERTER ) under the appointed subdirectory, the error occurred.
    The information is
    �Exception in thread �main� java.lang.NoClassDefFoundError: files\Microsoft �.
    Looking forward to the answer!
    Arthur Ward
    2001-12-21

    by the way, after checking the ant_home\bin\ant.bat(see bellow)
    -------end quote----
    @echo off
    if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
    if not "%OS%"=="Windows_NT" goto win9xStart
    :winNTStart
    @setlocal
    rem %~dp0 is name of current script under NT
    set DEFAULT_ANT_HOME=%~dp0
    rem : operator works similar to make : operator
    set DEFAULT_ANT_HOME=%DEFAULT_ANT_HOME:\bin\=%
    if %ANT_HOME%a==a set ANT_HOME=%DEFAULT_ANT_HOME%
    set DEFAULT_ANT_HOME=
    rem On NT/2K grab all arguments at once
    set ANT_CMD_LINE_ARGS=%*
    goto doneStart
    :win9xStart
    rem Slurp the command line arguments. This loop allows for an unlimited number of
    rem agruments (up to the command line limit, anyway).
    set ANT_CMD_LINE_ARGS=
    :setupArgs
    if %1a==a goto doneStart
    set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1
    shift
    goto setupArgs
    :doneStart
    rem This label provides a place for the argument list loop to break out
    rem and for NT handling to skip to.
    rem find ANT_HOME
    if not "%ANT_HOME%"=="" goto checkJava
    rem check for ant in Program Files on system drive
    if not exist "%SystemDrive%\Program Files\ant" goto checkSystemDrive
    set ANT_HOME=%SystemDrive%\Program Files\ant
    goto checkJava
    :checkSystemDrive
    rem check for ant in root directory of system drive
    if not exist "%SystemDrive%\ant" goto noAntHome
    set ANT_HOME=%SystemDrive%\ant
    goto checkJava
    :noAntHome
    echo ANT_HOME is not set and ant could not be located. Please set ANT_HOME.
    goto end
    :checkJava
    set _JAVACMD=%JAVACMD%
    set LOCALCLASSPATH=%CLASSPATH%
    for %%i in ("%ANT_HOME%\lib\*.jar") do call "%ANT_HOME%\bin\lcp.bat" "%%i"
    if "%JAVA_HOME%" == "" goto noJavaHome
    if "%_JAVACMD%" == "" set JAVACMD=%JAVAHOME%\bin\java
    if exist "%JAVA_HOME%\lib\tools.jar" call "%ANT_HOME%\bin\lcp.bat" "%JAVA_HOME%\lib\tools.jar"
    if exist "%JAVA_HOME%\lib\classes.zip" call "%ANT_HOME%\bin\lcp.bat"
    "%JAVA_HOME%\lib\classes.zip"
    goto checkJikes
    :noJavaHome
    if "%_JAVACMD%" == "" set _JAVACMD=java
    echo.
    echo Warning: JAVA_HOME environment variable is not set.
    echo If build fails because sun.* classes could not be found
    echo you will need to set the JAVA_HOME environment variable
    echo to the installation directory of java.
    echo.
    :checkJikes
    if not "%JIKESPATH%" == "" goto runAntWithJikes
    :runAnt
    %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" %ANT_OPTS%
    org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
    goto end
    :runAntWithJikes
    %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" -Djikes.class.path=%JIKESPATH%
    %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
    :end
    set LOCALCLASSPATH=
    set _JAVACMD=
    set ANT_CMD_LINE_ARGS=
    if not "%OS%"=="Windows_NT" goto mainEnd
    :winNTend
    @endlocal
    -------end quote----
    i found something is wrong with the sentence in ":runAnt".
    --------quote-----
    %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" %ANT_OPTS%
    org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
    --------end quote-----
    No value was set for %ANT_OPTS% and %ANT_CMD_LINE_ARGS%

  • Error when compiling the J2ee tutorial source files

    HI,
    I have installed ant, j2ee tomcat-3.2.2 and jdk1.3 and when i tried to compile the source file downloaded from java.sun by
    ant converter, it prompted
    "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/main"
    I am running it on win98 with the autoexec.bat containing the followings:
    set J2EE_HOME=c:\j2sdkee1.3
    set JAVA_HOME=c:\jdk1.3.1
    set ANT_HOME=c:\jakarta-ant-1.3
    set TOMCAT_HOME=c:\tomcat\jakarta-tomcat-3.2.2
    set classpath=;.;c:\jdk1.3.1\jre\lib\rt.jar;c:\j2sdkee1.3\lib\j2ee.jar;c:\jaxp\xalan.jar;c:\jaxp\crimson.jar;c:\jaxp\jaxp.jar;c:\C:\jakarta-ant-1.3\lib\ant.jar;C:\jakarta-ant-1.3\lib\jaxp.jar;C:\jakarta-ant-1.3\lib\parser.jar
    PATH=%PATH%;"C:\Program Files\Mts";C:\PROGRA~1\ULTRAE~1;c:\jdk1.3.1\bin;c:\j2sdkee1.3\bin;c:\jakarta-ant-1.3\bin;C:\PROGRA~1\MICROS~4\80\TOOLS\BINN
    Really thx for help !!!!

    Hi.
    I am compiling the sample converter.ear downloaded from
    the j2ee tutorial bundle form java.sun. I am using jakarta-ant-1.4alpha-bin.zip downloaded from jakarta
    oh..yes it should be org.apache.tools.ant.Main ....sorryfor typo.....
    look forward to any helpful reply

  • Error when Activating the data store object

    Hi All,
    I have to get the following below errors when i was activating the ods.
    Transfer structure prefix for source systemt T90CLNT is not defined
    Error when creating the export datasource and dependent objects
    could anyone help me on this issue.
    Regards,
    Naveen.
    Edited by: naveen naveen on Feb 2, 2009 6:35 AM

    Hi Naveen,
    Check the Source System connection and Run program RS_TRANSTRU_ACTIAVATE_ALL in SE38 and give your Source system ID and Infosource. If you have infosource. or replicate your datasource.
    and also Check the BW self System whether it is active or not. then try activating DSO
    hope this helps
    Regards,
    Daya Sagar
    Edited by: Daya Sagar on Feb 2, 2009 11:13 AM

  • Error when opening an RFC connection (LB : Hostname or service of the messa

    Hi All,
    Im trying to transport datasources in BW, they are 7.x  RSDS datasources. but we did not change the source system, it was existing and we are using the same source for older BW version. we now installing new BW 7.x system.
    These  transports went fine in BQ system but failing in BP system with the below error :
    Error when opening an RFC connection (LB : Hostname or service of the message ser
    Error when activating DataSource 2LIS_17_I0NOTIF RP1CLT100
    Error when opening an RFC connection (LB : Hostname or service of the message ser
    Error when resetting DataSource 2LIS_17_I0NOTIF RP1CLT100 to the active version
    the datasource 2LIS_17_I0NOTIF is active in RP1CLT100 system. when this transport goes to prod it tries to overwrite the existing one, as there are no changes to the datasource the structure will be the same.
    but after that it cant able to activate that datasource.
    so my question is can we able to activate this datasource in RP rather than doing transport again from R/3 Dev---R/3 PRD.
    i tried RSDS_DATASOURCE_ACTIVATE_ALL but it doesn't help.
    another question is when we migrate from 3.x datasource to 7.x, does this change any metadata in R/3 system as well.
    Best Regards
    Robyn.

    Hi Rizwan,
    Looking at the error message it seems like there is some issue with RFC connection and whatever objects you are trying to move are not reaching to target system. Just have a check with basis team.
    Once you migrate DS from 3.x to 7.0 yes there will be some meta data changes e.g. the DS type will be changed from ISFS to RSDS. You will have to send the migration along with current data source.
    Regards,
    Durgesh.

  • LSO---- Authoring Environment----Error when synchronizing the objectives

    Hi All
    I am getting this error  when i am creating  new learning objectives in Authoring environment.
    ""A fatal error occurred when synchronizing the off-line objectives catalog with online catalog""
    Any advises????
    Regards
    Rajya

    Hi
    Authorizations is one issue. First try with authorization.
    If you have a Learning Portal Installed, you will also find this problem there. In that case, tell your Basis Admin to check the RFC connection.
    Regards
    Waz

  • 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

  • "Unauthorized Host" error when you try to connect to the admin server

    "Unauthorized Host" error when you try to connect to the admin server
    <p>
    If you see this error message when you try to connect to a Netscape
    administration server:<P>
    Internal Error
    The administration server was unable to fulfill your request.
    Reason: Unauthorized host
    --------------------------<P>
    Here is how to solve the problem and gain access. First you should
    temporarily open access to all sites, and then once you make sure that
    this lets you get into your administration server, try again to set up
    the domain name or IP address access restrictions you want.<P>
    For all 2.x/3.x Netscape servers on Windows NT and Unix, or for Commerce and
    Communications servers (1.x) on Unix:<P>
    <OL>
    <LI>Open the "ns-admin.conf" file with a text editor. You can
    find this file in the "admserv" directory under your Netscape
    server root. The directory is named "admin-serv" in 3.x servers.<P>
    <LI>Delete the "Hosts" and "Addresses" lines you see there (either one
    of them might not be present). Don't confuse the "Addresses" line,
    which you should delete, with the "Address" line, which you should NOT
    delete.<P>
    <LI>Save the file, then restart your administration server (on Unix run
    "stop-admin" then "start-admin"; on Windows NT go into the Services
    control panel and stop/start the "Netscape Admin Server" service).<P>
    </OL><P>
    For Commerce Server or Communications Server (1.x) on Windows NT:<P>
    <OL>
    <LI>Go into the registry editor. On Windows NT 4.0, run the command
    "regedit". On Windows 3.51, run the command
    "regedt32".<P>
    <LI>Navigate down to the section
    "HKEY_LOCAL_MACHINE\SOFTWARE\Netscape\Administration".<P>
    <LI>Delete the "Hosts" and "Addresses" entries you see there (either one
    of them might not be present). Don't confuse the "Addresses" entry,
    which you should delete, with the "Address" entry, which you should NOT
    delete.<P>
    <LI>Close the registry editor, then restart your administration server
    by going into the Services control panel and stopping then starting the
    "Netscape Administration" service.<P>
    </OL>
    Now try again to access your administration server. Remember, the URL
    will be something like "http://servername:12345/", where
    "12345" is where the administration server's port number goes.<P>
    If you still get the same "Unauthorized host" error, then make sure that
    your "ns-admin.conf" file really doesn't contain any "Hosts" or
    "Addresses" lines any more, and try stopping your administration server
    again then starting it back up.<P>
    Once you have access to your administration server, you can try again to
    set up the access controls you want.<P>
    <UL>
    <LI>For the administration server on a 3.x server installation, select
    "Admin Preferences" from the General Administration page (the first page
    you see when you connect to the admin server), then click on "Superuser Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 2.x server installation, select
    "Configure Administration" from the Server Selector page (the first page
    you see when you connect to the admin server), then click on "Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 1.x server installation, select
    "Configure Administration Server" from the bottom of the Server Manager
    page, then enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the substrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that your
    DNS can resolve those hostnames -- it's generally safer to stick with IP address
    restrictions.
    When you're finished configuring this, click "Make These Changes" then
    restart your admin server.<P>
    </UL><P>
    If you still find yourself getting an "Unauthorized host" error message,
    you can use the above steps to open up access and try different
    settings.<P>

    "Unauthorized Host" error when you try to connect to the admin server
    <p>
    If you see this error message when you try to connect to a Netscape
    administration server:<P>
    Internal Error
    The administration server was unable to fulfill your request.
    Reason: Unauthorized host
    --------------------------<P>
    Here is how to solve the problem and gain access. First you should
    temporarily open access to all sites, and then once you make sure that
    this lets you get into your administration server, try again to set up
    the domain name or IP address access restrictions you want.<P>
    For all 2.x/3.x Netscape servers on Windows NT and Unix, or for Commerce and
    Communications servers (1.x) on Unix:<P>
    <OL>
    <LI>Open the "ns-admin.conf" file with a text editor. You can
    find this file in the "admserv" directory under your Netscape
    server root. The directory is named "admin-serv" in 3.x servers.<P>
    <LI>Delete the "Hosts" and "Addresses" lines you see there (either one
    of them might not be present). Don't confuse the "Addresses" line,
    which you should delete, with the "Address" line, which you should NOT
    delete.<P>
    <LI>Save the file, then restart your administration server (on Unix run
    "stop-admin" then "start-admin"; on Windows NT go into the Services
    control panel and stop/start the "Netscape Admin Server" service).<P>
    </OL><P>
    For Commerce Server or Communications Server (1.x) on Windows NT:<P>
    <OL>
    <LI>Go into the registry editor. On Windows NT 4.0, run the command
    "regedit". On Windows 3.51, run the command
    "regedt32".<P>
    <LI>Navigate down to the section
    "HKEY_LOCAL_MACHINE\SOFTWARE\Netscape\Administration".<P>
    <LI>Delete the "Hosts" and "Addresses" entries you see there (either one
    of them might not be present). Don't confuse the "Addresses" entry,
    which you should delete, with the "Address" entry, which you should NOT
    delete.<P>
    <LI>Close the registry editor, then restart your administration server
    by going into the Services control panel and stopping then starting the
    "Netscape Administration" service.<P>
    </OL>
    Now try again to access your administration server. Remember, the URL
    will be something like "http://servername:12345/", where
    "12345" is where the administration server's port number goes.<P>
    If you still get the same "Unauthorized host" error, then make sure that
    your "ns-admin.conf" file really doesn't contain any "Hosts" or
    "Addresses" lines any more, and try stopping your administration server
    again then starting it back up.<P>
    Once you have access to your administration server, you can try again to
    set up the access controls you want.<P>
    <UL>
    <LI>For the administration server on a 3.x server installation, select
    "Admin Preferences" from the General Administration page (the first page
    you see when you connect to the admin server), then click on "Superuser Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 2.x server installation, select
    "Configure Administration" from the Server Selector page (the first page
    you see when you connect to the admin server), then click on "Access
    Control" and enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the subsrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that
    your DNS can resolve those hostnames -- it's generally safer to stick
    with IP address restrictions. When you're finished configuring this,
    click "OK" then restart your admin server.<P>
    <LI>For the administration server on a 1.x server installation, select
    "Configure Administration Server" from the bottom of the Server Manager
    page, then enter hostname and IP address restrictions. If you want
    allow access to multiple clients, you'll have to use wildcard patterns
    (separate the substrings with a pipe character, like
    "(host1|host2|host3)"); the substrings must be enclosed in parentheses, as shown.
    If you're setting up hostname restrictions, you'll need to make sure that your
    DNS can resolve those hostnames -- it's generally safer to stick with IP address
    restrictions.
    When you're finished configuring this, click "Make These Changes" then
    restart your admin server.<P>
    </UL><P>
    If you still find yourself getting an "Unauthorized host" error message,
    you can use the above steps to open up access and try different
    settings.<P>

  • When downloading ios 5 to my itunes an error message saying "the network connection has timed out" keeps popping up. how do i fix this?

    when downloading ios 5 to my itunes an error message saying "the network connection has timed out" keeps popping up. how do i fix this?

    Temporarily dip ****.
    And excluding the extremely high network traffic due to the many millions of users downloading the update a day or two after is was released, this is a problem with that swiss cheese for security garbage OS that is Windows only, which is the joke. An update that is now running on 1 in 3 compatible iDevices which is in the 10's of milllions is vaporware Einstein?
    If I were your rep, I would tell you to **** off. Go get Windoze mobile devices.

  • I keep getting an error that reads the network connection was reset when tring to down load a purchase?

    i keep getting an error that reads the network connection was reset when tring to download a puchase from itunes and one know how to fix this

    I'm having same problem today. Did yours get resolved?  If so, please share. I'm dying....

  • Error: cannot extract the embedded font 'WTNNGO+LiberationMono-Bold' when reading a PDF

    I am trying to read a pdf file and I get the error: cannot extract the embedded font 'WTNNGO+LiberationMono-Bold'. Then some of the words are displayed as sets of dots, a dot per character. I have tried Adobe Reader 7 through 11 all with the same error. Apparently some fonts are missing. My OS is 64 bit windows 7.

    Tell them to embed the font information into the PDF. You don't have the font on your system so as-is, the PDF needs it to display that font. With embedded font information, you don't need the font.

  • Error in transporting ODS(Error when creating the export DataSource.......)

    Hi All,
        When I try to transport ODS from dev to quality i m getting the following error.
      <b>DataSource 8XADDR1 does not exist in source system BQ1CLNT355 of version A  
    Error when creating the export DataSource and dependent Objects             
    Error when activating ODS Object XADDR1                                     
    </b>
        <b>XADDR1</b> is my ODS.  <b>BQ1CLNT355</b>  is myself source system. When i checked the connection in the source system tab in Quality,it is ok.
      Please Suggest solution,if any body encountered same problem. It is very urgent for me.
    Regards,
    Ramana.

    Hi
    You generate export datasource once again
    Replicate your source system in qual and then try to transport the ODS and the datamart object 8ODS ....
    Hope this helps
    Reg
    N Ganesh
    assign points if useful***

Maybe you are looking for

  • Why does completed encrypted disk have converted size of "-none-"?

    Under Lion 10.7.3 I've encrypted both partitions on an external drive. I'm confused how the two partitions can display different converted sizes if both are indeed truly completed: one indicates converted size is same as total size, but the other say

  • BWObjects as Datasource

    Hi Experts, I have a doubt whether the QM status for all the request in BW objects (such as Infocube, ODS) needs to be in green. If they are red or yellow can they not act as a datasource. Please give an answer to this question supported by the reaso

  • Re: NoClassDefFoundError at iiop.CDROutputStream.writeValueTag]

    Hi Archana, you have to copy whole ias_install/ias/usr/java directory to client side. Thanks Deepka Archana Sagar wrote: There is just one problem associated with this. I am running the client remotely (rich client). The server side configuration inc

  • Warehouse Builder Error

    Hi all, I am facing a warehouse builder error during validation of a map. The map is created to populate a target dimension from a source table. Whenever i validated the map this error message is coming- Warehouse Builder Error MMM1034: Property LOAD

  • BW Reports in Portal

    Hi, 1) What are the different ways of showing BW Reports in Portal? I want to difference between these. a) Visual Composer b) BW Query iView c) Heard that some business package is also available. Want clarification when to use which option. 2) Proced