Portlet PL/SQL in 9.0.2

Hi Folks,
I have built some portlets in PL/SQL that works fine in Portal 309.
But now I need to install my portlets in Portal 9.0.2.
Is there a step by step process ? I have not found the provsyns.sql script.
The documentation that I found in portalstudio always point me to Portal 3.0.9 steps...

Then it told me that "The older version of iTunes cannot be removed. Contact your technical support group."
That (and the missing msi message) are consistent with a damaged iTunes.msi on your system, skaks. The iTunes.msi contains the installation database of where all your iTunes program files and registry entries and whatnot are installed. So, the 9.0.2.25 installer isn't able to read that to uninstall the previous version of iTunes, and everything turns to custard.
So we'll have to uninstall your exieting iTunes by other means than by using the Add/Remove Programs control panel. Let's try the following procedure.
Quit iTunes first.
Download and install the Windows Installer CleanUp utility from Microsoft:
http://support.microsoft.com/kb/290301
Now run the utility ("Start > All programs > Windows Install Clean Up"). In the list of programs that shows up in CleanUp, select any iTunes entries and click "Remove". Quit out of CleanUp.
Now go "Start > My Computer".
Open local Disk C: or whichever drive your Program Files are installed on.
Open the "Program Files" folder.
Right-Click the iTunes folder and select "Delete".
Right-Click the iPod folder and select "Delete".
Empty your Recycle Bin.
Now try another iTunes 9.0.2.25 install. Does it go through properly this time?

Similar Messages

  • Passing parameters between portlets (PL/SQL PDK)

    I'm new to the PDK, so forgive me if this is a dumb question. I need to develop a portal page containing a single search portlet, and then many other associated portlets which bring back various bits of data based on the result of the search.
    Is it possible to drive the content of other portlets on the same page by passing values from one to another and refreshing the whole page?
    null

    Neil,
    You can definitely pass parameters from one portlet to another in PL/SQL and we actually have a sample that you can take a look at. In the PDK, download the Parameter passing and CSS Example Provider sample. http://technet.oracle.com/products/iportal/files/pdkjan/index.html
    Click on PL/SQL
    One of the portlets demonstrates how to pass parameters to one portlet or all portlets on a page.
    Hope this helps,
    Sue

  • SQL Portlets - Executing across db link from app server db to DataWarehouse

    Hi
    We are using Ora App Server 10.2.
    Discoverer Portlets saved on app server db, execute their SQL direct to our DataWarehouse (Oracle 9r2) and this works fine.
    However, when we use SQL portlets, the SQL has to be coded with db links from our app server db to our Datawarehouse. This is not ideal.
    Does any know how you can use SQL Portlets without using db links?
    Thanks
    Colm

    Try creating your portlets as java providers using jdbc instead of in PL/SQL.
    Cheers,
    Mick.

  • MS SQL Server error

    Hi All,
    This is my environment :
    Portal : WebLogic Portal 8.1 SP3.
    DB : MS SQL Server 2000 SP3.
    OS : Microsoft 2000 Advanced Sever SP3.
    When I create a Desktop and choose the option of Change the Resources with conflicting resources in the library option, then I am getting this error.
    [email protected] threw exception: javax.ejb.EJBException: SQL Error while trying to update portlet definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 2058
    contentUri = /portlets/MyProfile/MyProfile.jsp
    backingFile = null
    definitionLabel = portlet_22
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /portlets/MyProfile/MyProfile.portlet
    deleted = false
    helpUri = null
    editUri = null
    webAppName = pfieldNet
    PortletInstance:
    portletInstanceId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    des cription = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [2,601] SQL state [23000].; nested exception is: java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PF_PORTLET_DEFINITION' with unique index 'AX1_PORTLET_DEF'.
    javax.ejb.EJBException: SQL Error while trying to update portlet definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 2058
    contentUri = /portlets/MyProfile/MyProfile.jsp
    backingFile = null
    definitionLabel = portlet_22
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /portlets/MyProfile/MyProfile.portlet
    deleted = false
    helpUri = null
    editUri = null
    webAppName = pfieldNet
    PortletInstance:
    portletInstanceId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [2,601] SQL state [23000].; nested exception is: java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PF_PORTLET_DEFINITION' with unique index 'AX1_PORTLET_DEF'.
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PF_PORTLET_DEFINITION' with unique index 'AX1_PORTLET_DEF'.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
    at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
    at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:115)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDelegate.java:1289)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.java:842)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManagerImpl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinitionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.updatePortletDefinitionInternal(PortletFilePersistenceManager.java:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.createUpdatePortletDefinitions(PortletFilePersistenceManager.java:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceManagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    javax.ejb.EJBException: SQL Error while trying to update portlet definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 2058
    contentUri = /portlets/MyProfile/MyProfile.jsp
    backingFile = null
    definitionLabel = portlet_22
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /portlets/MyProfile/MyProfile.portlet
    deleted = false
    helpUri = null
    editUri = null
    webAppName = pfieldNet
    PortletInstance:
    portletInstanceId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [2,601] SQL state [23000].; nested exception is: java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PF_PORTLET_DEFINITION' with unique index 'AX1_PORTLET_DEF'.
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDelegate.java:1310)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.java:842)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManagerImpl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinitionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.updatePortletDefinitionInternal(PortletFilePersistenceManager.java:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.createUpdatePortletDefinitions(PortletFilePersistenceManager.java:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceManagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Apr 5, 2005 6:02:50 AM EDT> <Error> <netuix> <moppgpwsmprod5> <PfieldIntPtlAdm81> <ExecuteThread: '10' for queue: 'default'> <<WLS Kernel>> <> <BEA-420047> <Exception [javax.transaction.TransactionRolledbackException: EJB Exception: : javax.ejb.EJBException: SQL Error while trying to update portlet definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletDefinition [
    PortletDefinition::
    PortletDefinitionId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    markupDefinitionId = 2058
    contentUri = /portlets/MyProfile/MyProfile.jsp
    backingFile = null
    definitionLabel = portlet_22
    forkable = false
    public = true
    renderCacheable = false
    cacheExpires = -1
    forkRender = false
    portletFile = /portlets/MyProfile/MyProfile.portlet
    deleted = false
    helpUri = null
    editUri = null
    webAppName = pfieldNet
    PortletInstance:
    portletInstanceId = 2017
    LocalizationResource:
    IntersectionId: 2058
    title = MyProfile
    description = null
    type = PORTLET
    application = PORTAL
    LocalizationLocale:
    localizationLocaleId = [2001]
    locale = [en_US]
    encoding = [UTF-8]
    instanceLabel = null
    themeDefinitionId = null
    titlebarOrientation = 0
    defaultMinimized = false
    placementId = null
    parentPortletId = null
    instanceType = 1] database error code [2,601] SQL state [23000].; nested exception is: java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PF_PORTLET_DEFINITION' with unique index 'AX1_PORTLET_DEF'.
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PF_PORTLET_DEFINITION' with unique index 'AX1_PORTLET_DEF'.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
    at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
    at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
    at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:115)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.updatePortletDefinitionInternal(PortletDefinitionDelegate.java:1289)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.updatePortletDefinition(PortletDefinitionDelegate.java:842)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManagerImpl.updatePortletDefinition(PortletDefinitionManagerImpl.java:485)
    at com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManager_410kn4_EOImpl.updatePortletDefinition(PortletDefinitionManager_410kn4_EOImpl.java:378)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.updatePortletDefinitionInternal(PortletFilePersistenceManager.java:476)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.updatePortletDefinition(PortletFilePersistenceManager.java:401)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.createUpdatePortletDefinitions(PortletFilePersistenceManager.java:332)
    at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.sync(PortletFilePersistenceManager.java:849)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$Sync.run(AbstractFilePersistenceManager.java:281)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup(AbstractFilePersistenceManager.java:115)
    at com.bea.netuix.servlets.manager.PortalServlet$PersistenceManagerWorker.execute(PortalServlet.java:335)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    javax.ejb.EJBException: SQL Error while trying to update portlet definition: SQL [update PF_PORTLET_DEFINITION set MARKUP_DEFINITION_ID = ?, IS_FORKABLE = ?, CONTENT_URI = ?, BACKING_FILE = ?, IS_PUBLIC = ?, PORTLET_LABEL = ?, FORK_RENDER = ?, IS_CACHEABLE = ?, CACHE_EXPIRES = ?, PORTLET_FILE = ?, IS_PORTLET_FILE_DELETED = ?, HELP_URI = ?, EDIT_URI = ?, WEBAPP_NAME = ? where PORTLET_DEFINITION_ID = ?] merged portletDefinition [
    Basically, it is giving error in updating the Portlet definitions.
    Can somebody throw some idea on what could be the reason for this??
    Thanks,
    Prashanth Bhat.

    The source of the error you are getting is a unique constraint violation on the definition label of the portlet
    CREATE UNIQUE INDEX AX1_PORTLET_DEF ON PF_PORTLET_DEFINITION
    PORTLET_LABEL ASC,
    WEBAPP_NAME ASC
    You may have two .portlet files with the same definition label : in this case "portlet_22". do a grep to find out.
    You should have got a warning about this when you started your server.
    Chris Jolley
    Portal Architect

  • Can't see new portlets in repository

    Hi ,
    after adding a neww portlet (PL/SQL) TO provider , i can not see it although it was compiled succesfully !! it gives the following error in "monitor log detail report" :
    name : wwpro_api_provider.get_portlet_list
    date :01-Aug-01
    information : provider [9441238]: "provider name" LANGUAGE: us Error: PORTLET_EXECUTION_EXCEPTION .
    null

    My portal version is 3.0.9.8.0 upgraded with patch to 3.0.9.8.1.
    My provider is a PL/SQL provider.
    I have a procedure in a package. I have a call to this procedure in my package provider.
    When i go to Administer/Display Portlet repository and refresh the provider, my new portlet doesn't appear in the list.
    The errors i've get in the refresh errors are:
    PROVIDER[685130]: NOTICIAS LANGUAGE: e ERROR: PORTLET_EXECUTION_EXCEPTION
    wwpro_api_provider.get_portlet_list 19-JUN-02 PROVIDER[685130]: NOTICIAS LANGUAGE: us ERROR: PORTLET_EXECUTION_EXCEPTION
    wwpro_api_provider.get_portlet_list 19-JUN-02 PROVIDER[685161]: UX_PROVIDER_MATERIAS LANGUAGE: us ERROR: PORTLET_EXECUTION_EXCEPTION
    wwpro_api_provider.get_portlet_list 19-JUN-02 PROVIDER[685161]: UX_PROVIDER_MATERIAS LANGUAGE: us ERROR: PORTLET_EXECUTION_EXCEPTION
    wwpro_api_provider.get_portlet_list 19-JUN-02 PROVIDER[685130]: NOTICIAS LANGUAGE: us ERROR: PORTLET_EXECUTION_EXCEPTION
    wwpro_api_provider.get_portlet_list 19-JUN-02 PROVIDER[685130]: NOTICIAS LANGUAGE: e ERROR: PORTLET_EXECUTION_EXCEPTION
    wwpro_api_provider.get_portlet_list 19-JUN-02 PROVIDER[685161]: UX_PROVIDER_MATERIAS LANGUAGE: e ERROR: PORTLET_EXECUTION_EXCEPTION
    wwpro_api_provider.get_portlet_list 19-JUN-02 PROVIDER[685161]: UX_PROVIDER_MATERIAS LANGUAGE: e ERROR: PORTLET_EXECUTION_EXCEPTION
    NOticias is my procedure package and UX_PROVIDER_MATERIAS is my package provider

  • Wwsto_api_session: problems on refresh

    Hi,
    I have a portlet [pl/sql based].
    In package of this portlet (procedure show) I am working with the session objects:
    1. Load the session object, using load_session method.
    2. Manipulate the attributes of the session object by using the set_attribute methods.
    3. Save session, using save_session method.
    Then I access the portlet for the first time.
    But on refresh page,which include the portlet, and procedure show of the portlet executes, the session variables are null.
    Please, help me!
    Sorry for my English, Sergei

    Hi!
    Addition to previous queston "wwsto_api_session: problems on refresh"
    Does anybody can help me?
    Oracle 9 iAS R2
    procedure show(...);
    declare
    l_session portal.wwsto_api_session;
    counter number ;
    begin
    l_session:=portal.wwsto_api_session.load_session('domain','subdomain');
    counter:=l_session.get_attribute_as_number('counter');
    htp.p('counter='||counter);
    counter:=counter+1;
    l_session.set_attribute('counter',counter);
    l_session.save_session;
    end;
    end;
    Text of the procedure got from books, oracle guides.
    What's wrong?
    Sergei.

  • Pageimp does it work ?

    Im trying to import portal pages. It bombs out with this error.
    No matter what file i give it.
    I get this error int SQLPLUS
    PL/SQL procedure successfully completed.
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.2.1 -
    Production
    With the Partitioning option
    JServer Release 8.1.7.2.1 - Production
    Update data for the Content Area Portlets Complete
    SQL*Plus: Release 8.1.7.0.0 - Production on Fri Oct 19 15:00:42
    2001
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.2.1 - Production
    With the Partitioning option
    JServer Release 8.1.7.2.1 - Production
    Start Portal Page Import
    Please Wait...
    declare
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWUTL_POB_TRANSPORT", line 2029
    ORA-01403: no data found
    ORA-06512: at line 6
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.2.1 -
    Production
    With the Partitioning option
    bla bla bla
    Can anyone help

    Another consideration for you now is that MS has officially dropped support for XP.  You will get no more secirity patches or stability patches.
    I am not telling you that you must abandon XP, just reporting a fact.
    Good luck with your issue.

  • I see the error: ORA-12170 when I make Net Manager on Oracle DTB Client

    Dear all,
    I installed Oracle Database 10 g on Server, then I installed Oracle Database Client 10 g on another PC. I tested the connection database from client PC by making Net Manager on Oracle Database Client. And I see the error ORA - 12170.
    Can you help me?
    I want to connect database on Server to practice add Portlet by SQL/PLUS.
    Thanks.

    Oracle says...
    ORA-12170: TNS:Connect timeout occurred
    Cause: The server shut down because connection establishment or communication with a client failed to complete within the allotted time interval. This may be a result of network or system delays; or this may indicate that a malicious client is trying to cause a Denial of Service attack on the server.
    Action: If the error occurred because of a slow network or system, reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT, SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values. If a malicious client is suspected, use the address in sqlnet.log to identify the source and restrict access. Note that logged addresses may not be reliable as they can be forged (e.g. in TCP/IP).
    Also check the following...
    1) Listener status on the server.
    2) Check listener.log file present in X:\oracle\product\10.2.0\db_1\NETWORK\log folder to grab any error.
    3) Check the result of tnsping from the client.
    4) try to login by sqlplus username/password@tnsname and see what happens.

  • Pl/sql parameter portlet - need some help/advice - how to create

    I want to create a pl/sql portlet that accepts a parameter and on submit passes the parameter to other portlets (sql reports) these are then automatically run to display the new data.
    E.g.
    parameter portlet = deptno
    On submit
    Sql reports then refreshed using the parameter
    I am aware, and have tried the mycompnay demo, which works exactly as I want but the parameter portlet cannot be amended and is written in Java.
    I need a pl/sql equivalent so I can tailor the code.
    Any advice examples or guidance would be really appreciated.
    Thanks in anticipation.
    SD

    Hi,
    You can use a form portlet to accept parameters and then call a report in the success procedure of the form. In this example it calls a report with the value in the flightno field.
    declare
    flightno number;
    blk varchar2(10) := 'DEFAULT';
    begin
    flightno := p_session.get_value_as_varchar2(
    p_block_name => blk,
    p_attribute_name => 'A_FLIGHT_NO');
    call('SJDEMO30.report1.show?p_arg_names=flightno&p_arg_values='||
    flightno);
    end;
    Thanks,
    Sharmila

  • 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

  • Building portlets with PL/SQl vs java

    Hi
    We are planing to use oracle 9iAS application server(Enterprise version)to build portal application.
    Can someone suggest me which one should i use, building portlets with j2ee or building portlets with PL/SQL.
    what are the advantages of web providers over database providers?which one is the best way of building portlets.

    Hello
    I've been using Portal for years now, and I'm still developping in PL/SQL. It's very simple and quick to developp. I'm even not using any database providers, I'm just invoking my procedures via their URLs with some Ajax hidden components, and I could developp some screens like employees vacations managements, trombinoscope, portal statistics, etc ...
    I learnt at Oracle how to developp some "true" portlets with DB providers but it's not usefull for me at this time as I don't need portlet customization etc.
    BUT
    if I had to developp a really big project with several developpers I would use DB providers.
    And maybe I would use Java but it takes rather long time to be efficient with this language and it needs to be a realy big project for I start using this language. And as explained above Java offers more compatibility with 3rd party products.
    And last but not least, one has to know what Oracle is more and more dealing with Java, the next 11g version that has just released is much more using Java than 10g does, and that's true for every Oracle products.
    So it's just a matter of skill and time.
    A.

  • Parameter form using LOV based on SQL  to pass param to Discoverer portlet

    Hi all
    I have a design issue:-
    I want to create a parameter form in Oracle Portal to allow users to select the department using searchable LOV (like the torch that is there in various oracle products) and pass the selected parameter to the Oracle Discoverer worksheet portlet. The LOV values is required to come from a SQL query which in turn is dependent on User_name varia ble from the session.
    I am looking for any out of the box portlet which can be configured to achieve the same. Any help or pointers in this regard would be greatly appreciated.
    Thanks
    Puneet

    Hi,
    Please refer to the answer in this question Re: OC4J Memory question
    It is similar to your requirement.
    Thanks,
    Sharmila

  • Templates with pl/sql portlets

    We plan to have several custom pl/sql providers. What do we have to do if we want to use templates and styles with our custom portlets?

    Nilay,
    PL/SQL portlets can (and should) utilize the wwui_api_portlet user interface portlet API package to render the portlet content. For additional font classes (not availble through the API) you can simply generate the appropriate HTML output using PL/SQL Web Toolkit (htp.p).

  • Keeping pl/sql portlets state...

    Hi!
    I'll keep this as short as possible :)
    On my Portal I have one pl/sql menu/navigation-portlet and one or more java portlets.
    The menu portlet expands end extracts depending on where you click.
    The menu knows its own state (the way it is extracted) by posting parameters (id's) whenever it's clicked on.
    Url example:
    http://host/portal/page?_pageid=35,66260&_dad=portal&_schema=PORTAL&menu.id=111&menu.p_id=222
    By getting the parameters above the menu can restore/reload its own state.
    Now to my problem:
    When the user navigates to a page where I have a java portlet, the menu is extracted a certain way.
    My javaportlet has navigation on itself.
    When the user navigates by clicking a link on the java portlet the menuparameters are lost because the javaportlet can't see them, thereby the menus state is lost and "closed".
    I find it very awkward/clumsy to put "menulogic" on all portlets in order to be able to keep the state of the menu.
    The menuparameters must always be present somehow so that the menu knows how to restore its state!!!
    Public parameters perhaps? (how do I make the parameters public for a pl/sql portlet?)
    Any hints on how to solve this?

    You would need to generate MobileXML from the portlet if it has to work with mobile devices. There is no automatic conversion from a regular portlet to a mobile portlet simply because the layout issues are vastly different on each mobile browser. However, you would only need to specify content in MobileXML once and this should work with most mobile browsers including WAP/WML, CHTML, TinyHTML etc. and cover most devices including PocketPC, Palm, Symbian etc. For the exact details of mobile-enabling a portlet, please refer to the Portal documentation. For advanced details on writing content for a mobile portlet, please see the wireless developer's guide.
    Regards,
    Deepak

  • Problem with public pages having PL/SQL portlets

    I am having problem with a public page which has PL/SQL portlets.
    When I try to access that page without doing login, it displays everything but the portlets which are database driven.
    Is this the way this public page should behave?
    Is there anyway by which I can display data to my public pages from PL/SQL portlets without doing login?
    FYI PL/SQL portlets are in portal30 schema.

    Yes, it has is_runnable function and it looks like this :
    function is_runnable
    p_provider_id in integer
    ,p_reference_path in varchar2
    return boolean
    is
    begin
    If p_reference_path is null the caller may be the provider
    framework (i.e. the Refresh operation of the Portlet
    Repository).
    if (p_reference_path is null) then
    The following if statement is the security mechanism that
    the portlet implements. It does not have any other semantic
    meaning. Any portlet is expected to implement their own
    security mechanism.
    This security mechanism checks if the current user is logged
    on or just accessing the portal through the public account.
    if (wwctx_api.is_logged_on) then
    return true;
    else
    return false;
    end if;
    else
    If p_reference_path is not null the caller makes this call as
    a security check against the portlet instance.
    The security mechanism implemented by this portlet for portlet
    instances is null so true is returned. Returning this value
    indicates that all users have access to this portlet instance.
    return true;
    end if;
    end is_runnable;
    +++++++++++++++++++++++++++++++++++++++++++
    What should I need to change with that function? And what exactly is its use?
    FYI : The code which I wrote for my portlet is by doing some modification in downloaded service portlet. But I have not altered is_runaable function.

Maybe you are looking for

  • My iPad shows that I am connected to wifi but safari tells me it cannot open the page because I am not connected.

    This problem has been occurring at different hot spot locations.  When I go into settings it shows I am connected. It will not forget the network either.  Very strange. Any ideas would be helpful. Thanks.

  • Basic IDoc type ZSAB008 is unknown

    We just completed a client copy of our Production landscape to our Test landscape including R/3, BW and SRM.  In BW we have a source system of type File System that is used to upload data from flat files.  Prior to the client copy uploads using this

  • TS2610 Can png menu overlays glitch in chroma button colors?

    I created a png overlay with blue dots for buttons. I created my buttons around the dots only. Next to the dots are text. When I chroma out the blue and change its activation color, all of the text begins to highlights in that same color. It looks hi

  • Help on "Programming with Objective-C Exercise.

    I'm working through the "Programming with Objective-C exercise and in the chapter "Working with Objects," there is a question to use the factory method as follows: Implement the XYZPerson class person factory method you declared in the previous chapt

  • Audio question for XL1/FCP users.....

    Hi, I used an XL1 with radio mic and need to know what is the best way to capture my audio. FCP gives me the option of capturing the 1st 2channels, the 2nd 2 channels, or a 4 channel mix.... Now the first two channels are the on camera mic, the 2nd t