Accesing the portal database

HI ALL,
some one pls explain the how can i access the portal database . i want to accees the portal database tables, along with each tableu2019s fields, for holding the aggregated data that is used for creating portal activity reports.
Thanks
Suresh

HI Michale,
Thanks for quick response . I am new to  EP Portal.
but i want to view the data of WcR_USERSTAT ,WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON, WCR_USERPAGEUSAGE data base tables.i need to extract all the above mentiioned tables data ,please explain me how can view tha data and extract db tables data from portal system.
pls explain detailed how can i achive this.
Thanks alot in Advance .
Thanks
Suresh.

Similar Messages

  • Moving the Portal Database

    I have attempted to move the portal database onto another host machine. When I move the database and point the portal at the database everything seems to work fine except for the administration area of the portal. When I try to navigate to the administration area I get an error. Can anyone help with a resolution for this?
    Chris
    error:
    Server Error in '/portal' Application.
    Runtime ErrorDescription: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details:To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    Notes:The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

    I did it a few times succesfull and this is (my) procedure:
    1. stop the SAP system
    2. detach th DB on the Source server
    3. copy db+log files to the Target server
    4. attach the db on the Target server
    5. repair login/db user account following the steps:
    -  http://support.microsoft.com/kb/274188
    OR
    -  http://blog3.daqureshi.com/archive/2008/12/16/11.aspx
    6. update/change the file usr\sap\<sid>\sys\profile\default.prf
    7. start the configtool and within the keystore change the jdbc connection parameters so that it points to the new DB Server
    8. save this action!!!!
    9. exit and restart the configtool and look if its connecting to the new DB Server
    10. exit the confconfigtool.
    11. start your SAP System
    Good Luck!
    Benjamin Houttuin

  • Creating Custom Tables in the Portal Database

    Is there a way to create custom tables in the portal database in EP6?
    Thanks,
    Melissa

    Thanks for responding, Nick.
    We want to be able to display informational messages on the logon page before the user logs in.  Currently we make changes to several ASP files in EP5 to display the messages.  We want to be able to give privileged users the ability to enter the message, enter start/end date, etc.  We want to do this in EP6 as well.

  • A new application built on a schema not in the portal database

    I want to create a new application using the create "new application" function of the "build" tab of Portal.
    I want this application to use a schema not in the Portal Database. The schema the application has to use belongs to a different database residing on the same machine the Portal database resides.
    But the Portal "Application Name and Schema" form does allow me to choose a schema outside the Oracle Portal database.
    I run Oracle Portal Version: 3.0.7.6.2 on WNT.
    Thank for any suggestion.

    Maurizio
    Carol's right. Create a schema in the local database then create a db link to the remote db connecting as that schema user (or some other of your choice). In my experience this has to be a public db link.
    I run a portal application against a database on another sun box. There's some hassles, but it works ok mostly.
    The db link connects as the user to the remote database and I grant privileges in the remote db to that db link user. I also have public synonyms in the portal database that point to the objects in the remote db. I have public synonyms in the remote database that sort out the schema of the objects required.
    This sounds complicated and I've explained it in a rush, but if you sit down and work it through it's not so bad. You may find a better way, but after several trials I've got a setup that works.
    Also, when I create a form I always refer only to the synonym - never to a schema.object. That way you can adjust the synonym easily without rewriting your report.
    I always make reports from sql for the reason that you can change the sql, though I always refer to my synonym never to schema.object.
    Session info doesn't travel well to the remote instance. I've had to build a work-around to get my table triggers in the remote instance to figure out who the portal user is because wwctx_api.get_user returns public.
    I've been unable to directly call procedures in the remote database from portal components, but I've got around that by creating wrapper procedures in the local database.
    It hasn't been a trivial exercise, but it does work.
    Greg
    I want to create a new application using the create "new application" function of the "build" tab of Portal.>I want this application to use a schema not in the Portal Database. The schema the application has to use belongs to a different database residing on the same machine the Portal database resides.>>But the Portal "Application Name and Schema" form does allow me to choose a schema outside the Oracle Portal database.>>I run Oracle Portal Version: 3.0.7.6.2 on WNT.>>Thank for any suggestion.

  • Error: Page Metadata could not be obtained from the Portal database.

    Hi,
    Maybe some one can help me with this.
    After my installation (oas portal 10.1.4) I changed my URL in portal and sso.
    modplsql : http://<webserver>:<port>/pls/portal/htp.p?cbuf=test --> its working fine. I got test
    Parallel Page Engine (PPE) : http://<webserver>:<port>/portal/page --> its working fine. I got PPE is working.
    http://login.hostname:port/oiddas --> It`s working fine
    http://login.hostname:port/sso --> It`s working fine
    http://hostname:port/portal/page/portal/TOPLEVELSITE --> It's not working I got in firefox Error: Page Metadata could not be obtained from the Portal database. In explorer i got HTTP 500 error.
    I checked my application.log and I got this:
    **portal: id=45342345678,1 ContentFetcher Unexpected Exception Request Failed:oracle.webdb.dispatcher.DispatcherException: I/O Error dispatching request name=content-fetcher19 label=pageMeta url=http://<webserver>:port/portal/pls/portal/!PORTAL.wwpob_page.show/TOPLEVELSITE time=1ms timeout=60000ms process=Dispatching**
    Maybe some one can help me to solve this threat.
    Thank you.

    C@rlitos wrote:Edited by: C@rlitos on Sep 30, 2009 6:14 PM
    Hi!!
    To register the url in portal I used this doc 434795.1 - 558634.1 from metalink.
    http://download-west.oracle.com/docs/cd/B14099_17/core.1012/b13998/variants.htm#CBDBDJHD
    I verified and i got this:
    LSNR_TOKEN
    SITE_TOKEN
    SITE_ID
    LS_LOGIN_URL
    URLCOOKIE_VERSION
    ENCRYPTION_KEY
    ENCRYPTION_MASK_PRE
    ENCRYPTION_MASK_POST
    U
    oldurl.com:7781
    XY776FQWDCY4EFF
    8AC54EFF
    http://oldurl.com:7780/pls/orasso/orasso.wwsso_app_admin.ls_login
    v1.2
    2FWERFW768767866
    6B4DEERWF87W87897E89WRF897W3FC9
    F0FEC6AREW76786WEFWER76F8968695
    N
    newurl.com
    1RG8IYA4F9D2E30A
    F9D2E233A
    http://newurl.com/pls/orasso/orasso.wwsso_app_admin.ls_login
    v1.2
    B32852345661513F0
    1A5DTR546EYEYEHEHSVSGFB44C
    A33RTWERGERGERGREFWERF8
    N
    I havent create new token values.
    Edited by: C@rlitos on Sep 30, 2009 6:14 PMHave you configured your Infra with a new hostname on a different port ?
    Unless, you had installed your OAS with custom ports, and have not used the default ports for the components, your lsnr_token for the newurl has a problem. orasso and sso should be configured at 7777, and by default they configure at that port. That means that your newURL should be pointing to http://newurl.com:7777/pls/orasso/orasso.wwsso_app_admin.ls_login for the ls_login_url.
    This might have happened due to some error in registering your portal with the SSO. Have you used custom ports for your installations?
    Additionally, did you configure your newurl on port 80?

  • Dynamic page information from the portal database?

    Is it possible to get information about existing dynamic pages from the portal database? We're upgrading our portal from 9.0.4 to 10.1.4 and because we will be running the new version on a different platform, we can't run any upgrade scripts and need to build again from scratch. I was hoping I could pull dynamic page information from a portal view or table into a spreadsheet, to save our developers having to click into each dynamic page application in the old version to get the pl/sql code to copy and paste into the new version. The generated dynamic page packages just have api calls, so it may be possible that there's an api to do this. Does anyone know if this is possible, and if so, how to do it? Thanks.

    closing the thread

  • How to access the portal database ?

    Hi ,
    1. How to access the portal database from an abstract portal component program ?
    2. How to insert data to the Table from the abstract portal component program ?
    Please provide me some direction to proceed .
    plz send me the steps how to access the Database using SQL.
    Thanks
    Smita
    Edited by: Smita Mohanty on Nov 14, 2008 9:21 AM

    Hi Smita,
    In case your portal has MS SQL server as its databse, then I am giving the step by step directions to achieve 90% of what you wish to do. Rest 10% you can try on your own.
    Go through my article given below:
    [How to Create a Web Service using Enterprise JavaBeans|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10]
    First go through pages 1-12 which will help you to create user/table in MS SQL database as well as create a data source in Visual Admin. Page 19 will give you the code which you can use in your Portal component to access the tables you have created in your SQL database.
    I hope your problem gets solved.
    Bye
    Ankur

  • Hw to find the tables in the Portal Database

    Hello,
    I'm new to this Portals. I would like to know where the database tables stored in Portal Database. We are using the Oracle as the database. Can you please tell me where can I view the database tables.
    thnx in advance
    cheers
    murali

    Hi Murali,
    they are stored in a database which has the same name as your instance, for example J2E. KMC tables (most of them - if not all - starting with "KMC_") are stored within the same database as the portal tables are (this wasn't the case for EP5 and EP6 SP2 on 6.20).
    Anyhow, you shouldn't touch or trying to access these tables directly. Two reasons for this: (a) there are APIs for (almost) everything which can be accessed from the DB tables, even if sometimes not documented. Anyhow, the DB schema isn't documented, too, so you should choose the "upper layer"; (b) the DB schema is subject to change without notice (and this is also done regulary); whereas the released (=documented) APIs are stable and the non-released are at least quite stable, too.
    Hope it helps
    Detlev

  • Is there a way to get the details for each hit in the portal database WCR_WEBCONTENTSTAT?

    Hi,
    I need to get the details for each user hit.
    Apparently, this table has the IMPRESSIONS column which returns the total number of hitcounts and VISITS which counts the number of unique user who accesses the portal. What I am trying to look for is to get all the details per hitcount. I need to find out how many time a specific user accessed a specific page or iview.
    I also used the table WCR_USERPAGEUSAGE, which I get the information of the users counted in the VISITS column in the first table.
    I could not get the specific user per hit.
    Please enlighten me if this is possible and how to do this?
    Thanks!

    Hi Catherine,
    Why not use the portal activity report iView?
    In the portal activity report iView the 3rd option allows you to choose a page for example and see
    the user who accessed it and how many times.
    Thanks and BR,
    Saar

  • Accesing the mysql database using jsp

    hi. I'm trbing to access the mysal data base using the following jsp code. but it gives me the exception: Exception is: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    please help.
    <%@ page language="java" import="java.sql.*" %>
    <%
         String JDBC_DRIVER = ("com.mysql.jdbc.Driver");
         String DATABASE_URI = ("jdbc:mysql://localhost/MCQTest?user=root&password=vishanka" );
         Connection con=null;
         ResultSet rst=null;
         Statement stmt=null;
         int noOfQuestions = 30;
         String [] question = new String [noOfQuestions];
         try
              Class.forName(JDBC_DRIVER).newInstance();
              con=DriverManager.getConnection(DATABASE_URI);
              stmt=con.createStatement();
              rst = stmt.executeQuery("select question from question");
              while(rst.next())
                   for(int i = 1; i<=noOfQuestions; i++)
                        question[i-1] = rst.getString(i);
                        out.print(question[i-1]);
              rst.close();
              stmt.close();
              con.close();
         catch(Exception ex)
              {out.println("Exception is: " + ex.toString());ex.printStackTrace();}
    %>
    <html>
    <head><title>StudentRegistration Front</title></head>
    <jsp:useBean id="user" class="beans.User" scope="session" />
    <body>
    <font color="blue">
    <h2 align="center">
    <p>Welcome <jsp:getProperty name="user" property="name" />:
    </h2>
    </font>
    <form action="marking.jsp" method="post">
    <h4 align="center">
    <input type="submit" value="submit">
    </h4>
    </form>
    </font>
    </body>
    </html>

    sorry guys. the code is given below clearly.
    <%@ page language="java" import="java.sql.*" %>
    <%
         String JDBC_DRIVER = ("com.mysql.jdbc.Driver");
         String DATABASE_URI = ("jdbc:mysql://localhost/MCQTest?user=root&password=vishanka" );
         Connection con=null;
         ResultSet rst=null;
         Statement stmt=null;
         int noOfQuestions = 30;
         String [] question = new String [noOfQuestions];
         try
              Class.forName(JDBC_DRIVER).newInstance();
              con=DriverManager.getConnection(DATABASE_URI);
              stmt=con.createStatement();
              rst = stmt.executeQuery("select question from question");
              while(rst.next())
                   for(int i = 1; i<=noOfQuestions; i++)
                        question[i-1] = rst.getString(i);
                        out.print(question[i-1]);
              rst.close();
              stmt.close();
              con.close();
         catch(Exception ex)
              {out.println("Exception is: " + ex.toString());ex.printStackTrace();}
    %>
    <html>
    <head><title>StudentRegistration Front</title></head>
    <jsp:useBean id="user" class="beans.User" scope="session" />
    <body>
      <font color="blue">
      <h2 align="center">
        <p>Welcome <jsp:getProperty name="user" property="name" />:
      </h2>
      </font>
      <form action="marking.jsp" method="post">
         <h4 align="center">
             <input type="submit" value="submit">
        </h4>
      </form>
      </font>
    </body>
    </html>

  • How to copy/move Portal database from one machine to another?

    I am receiving a ORA-22973 error (size of object identifier exceeds maxmum size allowed) on the wwsec_enabler_config_info$ table when attempting to import my entire "portal30" schema from one database to another on different Windows NT Servers.
    Background: I had Portal 3.0.9.8 installed, configured, and running with the following setup:
    Machine 1: Windows NT 4.0 SP 6, Oracle 9iAS 1.0.2.2, Oracle Portal 3.0.9.8
    Machine 2: Windows NT 4.0 SP 6, Oracle 8i Database 8.1.7.0.0
    We no longer have use of Machine 2 and needed to move the database over to Machine 1.
    I performed the following steps:
    1. Installed Oracle 8i database 8.1.7.0.0 on Machine 1.
    2. Set up the tablespaces in the database on Machine 1 to match the same names and sizes of the tablespaces in the database on Machine 2.
    3. Used the Oracle "exp" command to export the entire database that resided on Machine 2.
    4. Copied the ".dmp" file to Machine 1.
    5. Used the Oracle "imp" command to import the entire database on Machine 1.
    6. The import completed successfully with warnings. But I had received the ORA-22973 error during the import process.
    7. After it completed I compared the list of tables and packages in the "portal30" schema between the two databases. The wwsec_enabler_config_info$ table is missing.
    8. I tried to export and import only the wwsec_enabler_config_info$ table between the two databases, but continue to receive the ORA-22973 error.
    Without the table being created, access to the portal cannot be achieved.
    Here are my questions:
    1. Is there anyway to create the wwsec_enabler_config_info$ table without receiving the noted error?
    2. Is there any other workable way to get the portal database from Machine 2 to Machine 1?
    I am aware of the portal import/export utilities but that would require me to run through the 2 hour install of Portal 3.0.9.8 on the database on Machine 1 and then individually export and import all the portal components (security, pages, applications, content library, etc). I merely wanted to transfer the entire database from one machine to another, so I felt the Oracle exp/imp utilities would be quicker and less work.

    Hi,
    I've been hitting problems with Portal 3.0.9.8.1 against 8.1.7.2.1 on NT - i.e., Intermedia not working at all, and have been advised by support to move back to 8.1.7.1.1.
    I don't want to lose any of my content in the Portal since the db upgrade and am wondering on what is the best way to do this.
    The version of the Portal will be the same so I am hoping I can just use the Portal export and import utilities, as afterall, it is just data and the schema structures are the same between db versions. I'm also hoping that the Portal export doesn't use the standard Oracle EXP tool as it doesn't work anymore on 8.1.7.2.1 on NT!!
    Regards,
    John

  • Remove .par from syste not using the portal(it´s down),should do offline

    Hi
    we have a portal that have an iView called in the framework.
    This iView is causing an error, so when accesing the portal we inmediatelly have the issue and we have no access to the web and the content admin.
    This error is caused due to a problem in the last version updated.
    I have 2 options in mind to change this:
    -Upload a new version of the file withot the proble. This could be done with NWDS but it´s not working.
    -Remove the iView with the problem but this should be done offline. And i don´t know how.
    Any idea?
    I´m lost and in a rush.
    Regards
    Fernando

    Hi,
    Offline undeployment:
    Here is the way you can undeploy your par file manually:
    Remove your par.bak files from:
    ..\usr\sap\<SID>\<JC-->\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd
    and
    ..\usr\sap\<SID>\<JC-->\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\temp
    Mostly the par.bak will be present either in pcd or temp folders but not in both.
    ex: C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd
    After that restart your J2EE engine and check your par file again.
    To remove the IView you should goto Content Administration and Portal Content and remove the IView from there.
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • Creating a ZTable in portal database

    HI,
    We have a case where we need to create some ZTable to strore some custom values. We can create this table in ECC and access it in Portal applications but it would be better if we can extend the same database of portal to accomodate few tables. How can we achieve this? Which is the best method to do this?
    Regards,
    Nirmal

    Hi Nirmal,
    Its always recommented not to directly access the Portal Database. The best practice would be to create a table in ECC and expose a BAPI for accessing this from Portal.
    Regards,
    Vivek

  • Best Practices for data storage in portal database

    Hi,
    I need to store some stuctured data which is related to portal only. This data may grow data by data and may huge amount some point of time.
    Iam thinking which is the best way to handle it like maintanance point of view.
    i think i can store it in R/3 as custom table which is easy to maintain and read/write using RFC.
    the other one is store it on the portal database (dictionary), may not be easy to handle it.
    suggestions please?
    Thanks.

    Best way is to maintian data(growing data) on R3 and use  JCA to write a simple portal application(JSPDynpage or WD) to get the data back on portal.
    Using JCA, won't affect noticeable portal performance..
    Itz not advisable to store large data on dictionary.
    Regards,
    N.

  • Portal Database

    How do I move my production users (stored in the portal database using a RDBMS realm) to QA and Dev. I can't simply do a database refresh due to the desktop stuff.
    Thanks
    Kunal

    Hey kunal
    am really sorry that i cant help you in your query but as i as i read you query i have one of my own . just need your help on that.
    you are using RDBMS realm right? IS YOUR PORTAL ADMINISTRATION WORKING ??
    Because i am also using RDBMS realm but the portal administration is not working. Not working in the sense is that the links on top of the page are visible like "Users and Groups", Visitor Entitlements" etc. But when i click them no content is shown in the lower part of the window.
    Please can u help

Maybe you are looking for

  • How can i set up different ring tones for email accounts?

    Hello all, I have about 6 different email accounts on my iPhone.  From exchange server (work email) to my personal yahoo and google accounts plus my personal business account.  Is there a possibility to set up different ringtones for each of the emai

  • Dynamic Title Tags in Webcenter

    This is a newbie question. But I am going to be creating a complete external commercial website using Webcenter/jDev. I see nothing in the documentation about search engine optimization, and more importantly, creating dynamic URL-based title tags. Wi

  • Ibook G3 in need of update

    please excuse my ignorance about my own computer i want to upgrade my OS X 10.1.4. to one that can handle the software for my digital camera. unfortunately i have dial up and the download page on apple.com never completely loads. how do i upgrade my

  • How do I re-download photoshop elements 12

    I have replaced my PC and need to re-download Photoshop elements 12. I see the product and serial number under My Account but see no download button.

  • How To Edit Parts of XFCE4 Desktop Menu

    I am running Arch 0.7.1 with XFCE4.2. As I have been adding applications with Pacman, some items have started to show up on the XFCE4 desktop menu, but some have not. For example, a Multimedia category has shown up, but xcdroast and xzgv didn't get a