2 questions for Oracle portal

i work with portal 10.1.4
2 questions:
Is possible to display in my portal the online users or how many are visited every day the portal ?
i try but i dont cant update my portal to latest version 10.1.4.2.
10.1.4.2 buider have differences from 10.1.4? New features?
thanks,

A quick and dirty way may be to count your logins from wwctx_sso_session$ :
select count(1) from WWCTX_SSO_SESSION$ where SESSION_START_TIME > (sysdate-24) and USER_NAME != 'PUBLIC' ;
This will give you the number of users who have logged on during a 24 hour interval. It doesn't filter out multiple user logins.
Regarding 10.1.4.2 :
It is a patch set on top of Portal 10.1.4. By definition, patch sets should not include any functionality changes. Oracle has added generation of HTML 4.01 Strict for your Portal however. Keep in mind however that you are not having all the fixes which have been incorporated in the patch set. Especially the web cache - PPE communication may be a bit buggy in some cases.

Similar Messages

  • Interview questions for oracle dba

    Hi I am trying to find teh interview questions for oracle dba .
    What will be your answer to the following questions. Can somebody shed some light...
    . What is the day to day duties of oracle dba?
    ·     Did you use online or off-line backups?
    ·     What version of Oracle were you running?
    ·     Haw many databases and what sizes?
    ·     If you have to advise a backup strategy for a new application, how would you approach it and what questions will you ask?
    ·     If a customer calls you about a hanging database session, what will you do to resolve it?
    ·     Compare Oracle to any other database that you know. Why would you prefer to work on one and not on the other?
    Thx
    KK

    . What is the day to day duties of oracle dba?
    I have got a checklist, designed for my daily, weekly, fortnightly and monthly tasks. For example, in the daily checklist tasks, I check for the alert log file, competion and correction of my exports and operating system backups. DB space situation, Antivirus status, standby database status, space on disks, any rogue queries etc.
    · Did you use online or off-line backups?
    Both.
    · What version of Oracle were you running?
    8i(not any more), 9i, 10g
    · Haw many databases and what sizes?
    8 databases, ranging from 1 TB to 10 GB. I have segregated them into OLTP production, testing, cm, and development and a Datawarehouse.
    · If you have to advise a backup strategy for a new application, how would you approach it and what questions will you ask?
    How much they could afford to lose data or they want zero data loss and also I will get their requirements about down time and up time of database.
    · If a customer calls you about a hanging database session, what will you do to resolve it?
    First I will identify it, then see to it what exactly it is doing, capture that situation and then either try to release the locks(if its a blocking or blocked session), or kill the session, if its hanging on a runaway query.
    · Compare Oracle to any other database that you know. Why would you prefer to work on one and not on the other?
    Oracle passes the ACID rule with distinction as compared to the other databases. Moreover, the multiversion read consistency, recovery, flexibility and challenges of Oracle are matchless.
    Cheers
    fahdoracle.blogspot.com

  • Advanced Development Techniques for Oracle Portal Components

    Hello friends,
    I have the following problem. I have a report and a form (on a
    view) in the same page, and when I select an item of the report
    the form is refreshed with the values associated to the selected
    item. The problem is that it makes it with delay, the first
    selection doesn't show anything and the remaining sample the
    data of the previous selection.
    This application has been developed as Ken Atkins explains in
    its document "Advanced Development Techniques for Oracle Portal
    Components."
    Oracle Portal Version: 3.0.9.8.0
    Thanks in advance.
    This is my code:
    -- REPORT --
    SELECT '<A HREF="http://mipc/portal30/
    ALFONSO.refrescar_contenido?
    p_variable=nombre_preferencia&p_variable_valor='||nombre_preferen
    cia||'&p_pagina=61">'||Preferencias||'</A>' nombre_link
    FROM ALFONSO.PREFERENCIAS
    -- PROCEDURE TO REFRESH THE PAGE --
    CREATE OR REPLACE PROCEDURE refrescar_contenido(p_varible IN
    VARCHAR2,
              p_variable_valor IN varchar2,p_pagina IN
    VARCHAR2) IS
    v_Sesion portal30.wwsto_api_session;
    BEGIN
    v_Sesion := portal30.wwsto_api_session.load_session
    ('CONTEXT','SESS_EMP');
    v_Sesion.set_attribute(p_varible, p_variable_valor);
    v_Sesion.save_session;
    owa_util.redirect_url('http://mipc/servlet/page?
    pageid='||ppagina||chr(38)||'_dad=portal30'||chr(38)
    ||'_schema=PORTAL30'||chr(38)||'_mode=3');
    END;
    -- FORM --
    -- ... BEFORE DISPLAYING THE PAGE
    alfonso.consulta_preferencia(p_session);
    -- PROCEDURE consulta_preferencia --
    CREATE OR REPLACE PROCEDURE consulta_preferencia(p_session in
    out PORTAL30.wwa_api_module_session) IS
    v_RowID VARCHAR2(100);
    v_Session portal30.wwsto_api_session;
    v_nombre VARCHAR2(40);
    BEGIN
    v_Session := portal30.wwsto_api_session.load_session
    ('CONTEXT','SESS_EMP');
    v_nombre := v_Session.get_attribute_as_varchar2
    ('nombre_preferencia');
    IF v_nombre IS NOT NULL THEN
    BEGIN
         SELECT rowidtochar(rowid) INTO v_RowID
         FROM ALFONSO.VISTAPREFERENCIAS
         WHERE nombre_preferencia = v_nombre;
    -- VISTAPREFERENCIAS it is the view in which the form is
    based.
    END;
    -- Tell the component that the query is coming from a link,
    and that the rowid
    -- is being used to query the correct context record.
    p_session.set_value (p_block_name=>'DEFAULT',
    p_attribute_name=>'_CALLED_FROM_LINK'
                   ,p_value=>'ROWID');
    -- Pass the rowid of the context record to query.
    p_session.set_value (p_block_name=>'DEFAULT',
    p_attribute_name=> '_ROWID'
                   ,p_value=> v_RowID);
    -- Now do the actual query, using the query button
    processing in the target module
    portal30.wwa_api_module_event.do_event
    ('DEFAULT','QUERY_TOP',1,'ON_CLICK',True,'',p_session);
    -- Save the session information, which includes the
    p_session.save_session;
    END IF;
    END;
    /

    You can make the report with a procedure from which you may call to a form by means of a link. It is a possibility, no??
    It is better a example:
    TABLE A
    campo1 VARCHAR2 (20)
    campo2 VARCHAR2 (20)
    CREATE OR REPLACE PROCEDURE REPORT IS
    v_cursor NUMBER;
    sentencia VARCHAR2(200);
    vnumfilas NUMBER;
    rowid_pref VARCHAR2(18);
    v_campo1 <schemaname>.A.campo1%TYPE;
    v_campo2 <schemaname>.A.campo2%TYPE;
    BEGIN
         htp.p('<HTML>');
         htp.p('<HEAD>');
         htp.p('</HEAD>');
         htp.p('<BODY>');
              sentencia := 'SELECT rowidtochar(rowid), campo1, campo2 FROM A';
              DBMS_SQL.PARSE(v_cursor,sentencia,DBMS_SQL.V7);
              DBMS_SQL.DEFINE_COLUMN(v_cursor,1,rowid_pref,18);
              DBMS_SQL.DEFINE_COLUMN(v_cursor,2,v_campo1,20);
              DBMS_SQL.DEFINE_COLUMN(v_cursor,3,v_campo2,20);
              vnumfilas := DBMS_SQL.EXECUTE(v_cursor);
              LOOP
              IF DBMS_SQL.FETCH_ROWS(v_cursor)=0 THEN
                        EXIT;
              END IF;
              DBMS_SQL.COLUMN_VALUE(v_cursor,1,rowid_pref);
              DBMS_SQL.COLUMN_VALUE(v_cursor,2,v_campo1);
              DBMS_SQL.COLUMN_VALUE(v_cursor,2,campo2);
              v_link := '<A href="PORTAL30.wwa_app_module.link?p_arg_names=_moduleid'||chr(38)||'p_arg_values=<form's moduleid>'||chr(38)||'p_arg_names=_rowid'||chr(38)||'p_arg_values='||rowid_pref||chr(34)||'>'||campo1||'</A> '||campo2||' <BR>';
                   htp.p(v_link);
                END LOOP;
         htp.p('</BODY>');
         htp.p('</HTML>');
    END;
    the form has to be based on the table A.
    I dont know if this example has errors, but have you the idea??
    I hope it helps you out.
    (Excuse my english)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Automated tool to convert from Forms to Dynamic Page for Oracle Portal?

    Hi Experts,
    We are thinking to convert majority of the forms in our portal to dynamic pages. Is there any tool to automate the conversion from Forms to Dynamic page for Oracle Portal 9.0.4.1.0?
    Thanks, Abbas

    Dear Abbas,
    You seem to have two issues... ;-)
    If you are finding the Forms are getting corrupt very easily, I'd suggest you go and open a Service Request into Oracle Support (http://metalink.oracle.com). There are a couple of ways where you can have these not corrupted (depeding on the Portal version you are in) and if there isn't yet a way you may get a bug logged and fixed within the next patchset eventually (improving the product functionality).
    As to changing it to a dynamic page it might give you a bit more flexibility... yeah. It really depends on what you desire to do. I'd slowly start to code them in this way if your goal is this. As to the former coded forms unfortunately as I've said there isn't a strait way to do that, so you may do this slowly in time...
    I hope it helps you a bit further...
    Cheers,
    Pedro.

  • Wich oracle database i need to buy(license) for oracle portal

    wich is better oracle database i need to buy(license) for oracle portal (10g)

    Hmmm... I'm not too sure. But we use 10.1.4.
    Try contacting your nearest Oracle reseller I guess!

  • CSS Setting for Oracle Portal

    Has anyone example css configuration for Oracle Portal ?

    The CSS does not have any specific Oracle Internet Directory (OID) Mibs or Oracle Portal , or directory Mibs per say. It does however comply to standard MIB II Mibs vendor extinctions to configure with SNMP.

  • Problems with Macromedia Extension for Oracle Portal

    Hello,
    I’m learning about Oracle portal 10g(3.0.4). I'm having some problems about Oracle portal. Please help me as soon as possible.
    I created an Web Template using Dreamweaver MX 2004, and I´m tring to send this template to Oracle Portal through dreamweaver webservice (dreamweaver_webservice.zip) using Dreamweaver extension (dreamweaver_extension.zip) but when I try to connect using the extension to send my template I get Invalid Login message (I tried all possible passwords and logins for Oracle Portal and OracleAS). Please Help!
    Please help me or give me any materials about oracle portal. I want to study about this subject so if you have books in pdf format please send me.
    [email protected]
    thanks
    Douglas

    When I try to open the url with the ORMI port in the brownser I get this error message:
    Invalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol
    Ports I have tryed : 1852 and 3202
    ex:
    http://<host>:<port>/portalTemplate/portalTemplate

  • Auto sign-on for Oracle Portal ?

    How do handle auto sign-on for Oracle Portal ?
    I am using Oracle Portal for my home page which should not have any login to the page.

    Just define your homepage as available to public. Then as PORTAL30, edit the user PUBLIC and make your homepage his default page. This way, when a user connects to your site, your page will be displayed without any login required. Note that the user will not have any personalized content until they log on and identify themselves.

  • Fallback questions for user portal

    Is there an option to display a link for the user to get their fallback questions right away instead of waiting X seconds for MFA to timeout?  I'd like for the user to successfully authenticate first then have a link appear to skip to their questions.
     Also, is there an option to add a captcha for the login screen?

    A quick and dirty way may be to count your logins from wwctx_sso_session$ :
    select count(1) from WWCTX_SSO_SESSION$ where SESSION_START_TIME > (sysdate-24) and USER_NAME != 'PUBLIC' ;
    This will give you the number of users who have logged on during a 24 hour interval. It doesn't filter out multiple user logins.
    Regarding 10.1.4.2 :
    It is a patch set on top of Portal 10.1.4. By definition, patch sets should not include any functionality changes. Oracle has added generation of HTML 4.01 Strict for your Portal however. Keep in mind however that you are not having all the fixes which have been incorporated in the patch set. Especially the web cache - PPE communication may be a bit buggy in some cases.

  • [Urgent] Some questions about Oracle Portal 10g - 11g upgrade

    Dear friends,
    We are under doing upgrading assessment of Oracle Portal from 10g to 11g. After reviewed the 'upgrading guide', we still have some questions as below:
    1. Whether the 'Instant Portal' feature remain in Oracle Portal 11g? If yes, how to migrate the Instant Portal 10g sites? If no, any workaround?
    2. Whether the old 10g Page Group and Pages will be still available after 11g upgrade? Also can customer import the old 10g transportset into Portal 11g?
    3. How about the customized Portal 10g objects (such as customized template, style, attributes) after 11g upgrade? Still be usable?
    4. Customer use PDK to develop many portlets in 10g. Can they use JDeveloper 11g to migrate their old project to 11g automatically?
    Thank you in advance and any comment are welcome.

    1. Whether the 'Instant Portal' feature remain in Oracle Portal 11g? If yes, how to migrate the Instant Portal 10g sites? If no, any workaround?Instant Portal is not available anymore in Oracle Portal 11g. The Instant Portal page groups will be migrated to standard Portal page groups. Maintenance of the Instant Portal can be done with the standard Portal tools. The Instant Portal tools are not available anymore.
    Whether the old 10g Page Group and Pages will be still available after 11g upgrade? Also can customer import the old 10g transportset into Portal 11g?Old 10g Page Groups are migrated to Portal 11g. They will still be available after the upgrade.
    Export/Import through transports sets has always been limited to instances of the same version. It is not supported between versions as documented in the Administration Guide :
    [11.2.1|http://download.oracle.com/docs/cd/E14571_01/portal.1111/e10239/cg_imex.htm#CCJBCCGD] System Requirements
    Before exporting and importing content, ensure that your system meets the minimum system requirements, as described in this section.
    Notes:
    * Export and import functions only within the same release of Oracle Portal and the same patch release, for example, release 10.1.4 to release 10.1.4 or release 11.1.1 to release 11.1.1. You cannot export and import between two different releases, such as release 10.1.2 to release 10.1.4 or release 10.1.4 to release 11.1.1.
    How about the customized Portal 10g objects (such as customized template, style, attributes) after 11g upgrade? Still be usable?Customized objects get migrated as well. Certain types (e.g. PL/SQL item types) need to be checked after upgrade as the behavior of the PL/SQL code may differ between database versions. This is particularly of concern when the 10.1.4.x Portal uses a 10.1 database. A database upgrade to either 10.2, 11.1 or 11.2 is necessary as Portal 11g is not supported with RDBMS 10.1.
    Customer use PDK to develop many portlets in 10g. Can they use JDeveloper 11g to migrate their old project to 11g automatically?Never done this, but the Portal framework is able to consume JPDK providers which are running in older versions of the toolkit. If the providers are running in standalone OC4J containers, you would be able to upgrade the framework and keep the providers in their OC4J containers. This will allow you to focus on the framework first and worry about your providers later.
    Thanks,
    EJ

  • Sample  PL/SQL Portlet Source Code for Oracle Portal 9ias

    Hi, I'm a newbie of Oracle Portal technology, and I have a problem:
    I would create a PL/SQL portlet that realizes the following functions:
    1) Retrieve the username of the portal user logged from WWCTX_API.GET_USER function.
    2) Insert into an oracle db table two values about two hidden fields in the HTML FORM of the portlet.
    3) Realize the insert commit through the click on the submit button on the Html form of the portlet. I would redirect by the same button to an other page url also.
    I've never developed in Portal, and may be useful if someone could post me the source code of the SHOW MODE SECTION in the PROCEDURE SHOW of a SAMPLE PL/SQL PORTLET that realizes the upper functions.
    Thanks a lot....

    Hi
    Here's the code from Helloworld_Portlet example:
    procedure show
    p_portlet_record wwpro_api_provider.portlet_runtime_record
    is
    l_portlet wwpro_api_provider.portlet_record;
    begin
    if (not is_runnable(
    p_provider_id => p_portlet_record.provider_id
    ,p_reference_path => p_portlet_record.reference_path)
    ) then
    raise wwpro_api_provider.PORTLET_SECURITY_EXCEPTION;
    end if;
    Retrieve the portlet information.
    l_portlet := get_portlet_info(
    p_provider_id => p_portlet_record.provider_id
    ,p_language => p_portlet_record.language
    if (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW) then
    if (p_portlet_record.has_title_region) then
    Draw the portlet header and specify what links are available
    from that header (i.e. details, customize, help, and about).
    The has_title property is set at the page region level.
    wwui_api_portlet.draw_portlet_header
    p_provider_id => p_portlet_record.provider_id
    ,p_portlet_id => p_portlet_record.portlet_id
    ,p_title => l_portlet.title
    ,p_has_details => true
    ,p_has_edit => true
    ,p_has_help => true
    ,p_has_about => true
    ,p_referencepath => p_portlet_record.reference_path
    ,p_back_url => p_portlet_record.page_url
    end if;
    Draw the portlet borders.
    The has_border property is set at the page region level.
    wwui_api_portlet.open_portlet(p_portlet_record.has_border);
    Display the content of the portlet in the show mode.
    Use the wwui_api_portlet.portlet_text() API when
    generating the content of the portlet so that the
    output uses the portlet CSS.
    htp.p(wwui_api_portlet.portlet_text(
    p_string => 'Hello World - Mode Show'
    ,p_level => 1
    if (p_portlet_record.has_border) then
    wwui_api_portlet.close_portlet;
    end if;
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_ABOUT) then
    Display the about page for the portlet.
    htp.p('Hello World - Mode Show About');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT) then
    Display the edit page for the portlet.
    htp.p('Hello World - Mode Show Edit');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_HELP) then
    Display the help page for the portlet.
    htp.p('Hello World - Mode Show Help');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT_DEFAULTS) then
    Display the edit defaults page for the portlet.
    htp.p('Hello World - Mode Edit Defaults');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_DETAILS) then
    Display the details page for the portlet.
    htp.p('Hello World - Mode Show Details');
    elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_PREVIEW) then
    Display the preview page for the portlet.
    htp.p('Hello World - Mode Show Preview');
    end if;
    end show;
    I think you need to add this:
    You can get the values of your html-form with this command:
    v_hidden_1 varchar2(256);
    v_hidden_2 varchar2(256);
    v_hidden_1 := wwpro_api_parameters.get_value('name_of_hidden_1_in_html_form','p');
    v_hidden_2 := wwpro_api_parameters.get_value('name_of_hidden_2_in_html_form','p');
    You can get the actual URL with this command:
    v_url := p_portlet_record.page_url;
    Hope that helps.
    Regards,
    Mark

  • How to create a omniportlet for oracle portal with apex

    Hello everyone!
    Is there someone who knows how to create a omniportlet?
    This is for openning an application in apex from oracle portal using single sign on.
    Could you explain me step by step how to do this please?
    Thank you.
    Regards

    Hello Erik,
    Please check if the following can help you - http://www.oracle.com/technology/products/database/application_express/howtos/omniportlet_index.html .
    Regards,
    Arie.

  • DR solution for OracleAS Portal 10g

    Hi
    I have to think about a disaster recovery (DR) solution for OracleAS Portal10g.
    Location1: Primary
    Location2: DR System
    SAN Storage used between Location1 + 2.
    The disaster case happens only once a year. (test)
    In DR case, OS technical It would be possible to use the same DNS (hostname) on Location 2 like Location 1.
    Oracle advises to use Dataguard or cluster solutions.
    Do you know if our way would be a walkable and supportable way?
    Thanks
    Reto

    This is a worthwhile course, but not for learning about Oracle Instant Portal (which was released after the Build Corporate Portals course was written). The best place to start finding out about Oracle Instant Portal is the self-paced Oracle By Example (OBE) tutorial, Building Instant Portals with Oracle Instant Portal. The tutorial also has links to a couple of viewlets, which you should find helpful.
    Cheers!
    Julie Tower
    Principal Curriculum Developer
    OracleAS Portal

  • What version of JDeveloper I need for Oracle Portal portlets

    What version of JDeveloper I need for building Portlets who work
    on Oracle Portal????
    Thanks

    Aparently only up to 10.1.2 is supported. :(

  • What version of JDeveloper I need for Oracle Portal portals

    What version of JDeveloper I need for building Portlets who work
    on Oracle Portal????
    Thanks

    Aparently only up to 10.1.2 is supported. :(

Maybe you are looking for