Receive some error when add portlet into portal page

Dear all,
I use:
+ JDeveloper 10.1.3.4.0
+ Oracle AS Portal 10g release 2.
+ Oracle Application Server 10g release 2.
+ JDK 1.4
I installed ADF_Installer and Portlet_Container for OC4J instance in Oracle Application Server ok.
1. I use JDeveloper, create my simple project with template is WebCenter Application.
2. In the Portlet project, I added the Portlet Faces Bridge.
3. I add the JSF (with name is home.jspx) in Web Tier into the Portlet project (select the JSF JSP). And type is .jspx and Do not automatically Expose UI Components in a Managed Bean.
4. Inside the home.jspx, I add the OutputText only.
5. Inside the WEB-INF, i created portlet.xml file with content is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<portlet-app version="1.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<portlet-name>MyTestPortlet</portlet-name>
<display-name>My Test Portlet</display-name>
<portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
<init-param>
<name>DefaultPage.view</name>
<value>/home.jspx</value>
</init-param>
<init-param>
<name>BridgeLifecycleListeners</name>
<value>
oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener
</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>My Test Portlet</title>
<short-title>testportlet</short-title>
</portlet-info>
</portlet>
</portlet-app>
6. Inside the WEB-INF, i edited web.xml by added some contents (and inside this file, I removed line in web-app tag
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"): --> If I did not remove it, I received some error !
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
7. I create the WAR File Deployment Profiles.
Ok, I deploy this portlet into OC4J instance in Oracle Application Server (10g release 2). -- > Finished.
From my browser, I use URL Address such as:
http://mymachine.com:7780/jobs/portlets?WSDL --> ok.
After that, I log into Oracle AS Portal, and register this provider with style WSRP --> ok, I can see it from Portlet Reposistory. But when I add it into my portal page, I receive following message
Error:Could not get markup. The cookie or session is invalid or there is a runtime exception.
I refresh my portal page but it not effect !
In Oracle Application Server 10g release 2 have support JSF Portlet ? Or I have some misstakes ? Please guide to me to solve this problem.

I updated Oracle Application Server Portal from 10.1.2 to 10.1.4 ! Please give me some ideas !

Similar Messages

  • Error when add portlet into portal page

    Dear all,
    I use:
    + JDeveloper 10.1.3.4.0
    + Oracle Application Server 10g release 2.
    + JDK 1.4
    I installed ADF_Installer and Portlet_Container for OC4J instance in Oracle Application Server ok.
    1. I use JDeveloper, create my simple project with template is WebCenter Application.
    2. In the Portlet project, I added the Portlet Faces Bridge.
    3. I add the JSF (with name is home.jspx) in Web Tier into the Portlet project (select the JSF JSP). And type is .jspx and Do not automatically Expose UI Components in a Managed Bean.
    4. Inside the home.jspx, I add the OutputText only.
    5. Inside the WEB-INF, i created portlet.xml file with content is:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <portlet-app version="1.0"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
    <portlet>
    <portlet-name>MyTestPortlet</portlet-name>
    <display-name>My Test Portlet</display-name>
    <portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
    <init-param>
    <name>DefaultPage.view</name>
    <value>/home.jspx</value>
    </init-param>
    <init-param>
    <name>BridgeLifecycleListeners</name>
    <value>
    oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener
    </value>
    </init-param>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
    <title>My Test Portlet</title>
    <short-title>testportlet</short-title>
    </portlet-info>
    </portlet>
    </portlet-app>
    6. Inside the WEB-INF, i edited web.xml by added some contents (and inside this file, I removed line in web-app tag
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"): --> If I did not remove it, I received some error !
    <context-param>
    <param-name>javax.faces.application.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    7. I create the WAR File Deployment Profiles.
    Ok, I deploy this portlet into OC4J instance in Oracle Application Server (10g release 2). -- > Finished.
    From my browser, I use URL Address such as:
    http://mymachine.com:7780/jobs/portlets?WSDL --> ok.
    After that, I log into Oracle AS Portal, and register this provider with style WSRP --> ok, I can see it from Portlet Reposistory. But when I add it into my portal page, I receive following message
    Error:Could not get markup. The cookie or session is invalid or there is a runtime exception.
    I refresh my portal page but it not effect !
    In Oracle Application Server 10g release 2 have support JSF Portlet ? Or I have some misstakes ? Please guide to me to solve this problem.

    I updated Oracle Application Server Portal from 10.1.2 to 10.1.4 ! Please give me some ideas !

  • Hp all-in-one c309n-s Receiving script error when trying to print web page. Any web page.

    I just installed my hp all-in-one c309n-s printer. Everything works fine but when I try to print from a web page (any web page) I am receiving a script error. If I click No to continue running scripts on that page and try to print again, still receive same error. Same wihen I click yes.

    FreddieP,
    You may want to download and run the HP Print and Scan Doctor. It helps diagnose and resolve printing issues. You can click on the link below to go right to it.
    Let us know if this works for your issue or not.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=oj-106151-2&cc=us&dlc=en&lc=en...
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • Portal Runtime error when modifying: com.sap.portal.runtime.logon.par

    Hello,
    We need some help because we get 'Portal Runtime error: iView: N/A Component Name:N/A' error when trying to access portal logon screen.
    This is what we've done:
    We've modified com.sap.portal.runtime.logon.par file and we've uploaded it but it doesn't work. Because of the error, we've overwritten this file with the original one but now it's imposible to access portal.
    The situation it seems to be like before the modification of the .par file but we get the same error and can't access portal.
    Please, do you know what could be the problem?
    Thanks in advance

    Hi Belen,
    Here are the steps you would need to take
    1. import the original par file into the NWDS and name the project as  
        com.sap.portal.runtime.logon
    2. Make sure the project name is com.sap.portal.runtime.logon
    3. use winzip/winrar to extract the com.sap.portal.runtime.logon.par file in
        a local directory
    4.Under the lib you would find two jar files copy them and paste them in your project
       under dist>PORTAL-INF>lib directory
    5.move the files cert....till umResetPass....jsp into the  PORTAL-INF directory
    6. export the par to the server in question
    7. restart your server
    This should solve your problem..
    Thanks,
    Gokul

  • TS3833 I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    Right click the filename that won't download and selsct 'Get Info'. Look at the file path, does it have a //?// in it? That is a problem with Amazon downloads that prevent iTunes from finding the file. Use 'Add Folder' to add the album to your library and try syncing it again

  • Received the error when updating to inDesign 2014 "Unable to extract to temp directory."  c

    Received the error when updating to inDesign 2014 "Unable to extract to temp directory."  Anyone have a fix for this?

    Tjshannonhigg you will want to ensure that the User account you are logged into has proper access to the temp directory and that there is sufficient disk space available.

  • Procurement Coordinator received Authorization Error when creating Bid Inv

    Hi All,
            In SRM I have an issue Please help me in solving this. Please see below
                  Procurement Coordinator received Authorization Error when creating Bid Invitation from Sourcing Cockpit.  Message states u201CMissing Transaction BBP_BID_EXTSOu201D; however Bid # is still created. User requests that Authorization issue is resolved and Bid # appear for Procurement Coordinators.  This problem does not happen for Commodity Managers

    Hi
    Please do the following steps.
    When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Deafult host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transactuon server-->test service/Publish.
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (TA SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • Receiving an error when trying to remove P00 Security role from the user

    Hi All,
    I am receiving an error when trying to remove P00 Security role from the user.
    After logging on to GRC CUP, clicking on u201CCreate requestu201D, and filling out required information,
    I click on Select Roles/Groups
    On the next screen,
    I click on Existing Roles/Groups
    ERROR MESSAGE appears X Action failed and no roles appear in the box to select for removal.
    Regards,
    Vineet

    Hi Vineet,
    My be your selection is incorrect
    Try this
    in Applicaiton Area -- Select ALL
    Functional Area  -
    Select ALL
    Company           -
    Select ALL
    Role/Profile/Group Names --- Give p00* and execute the report
    if you give only p00 it wont give any result
    Hope this helps
    Thank you,
    Kishore

  • REP-50159: Executed successfully but there were some errors when distribt

    Hi,
    i get this error(REP-50159: Executed successfully but there were some errors when distribute the output)
    when i distribute output using following url.
    http://myserver.com:7778/reports/rwservlet?server=rep_myserver_oracleas2+report=D:\Reports\emp.rdf+userid=abc/xyz@mydb+desformat=pdf+DESTYPE=mail+DESNAME="[email protected]"+FROM="[email protected]"
    I am working on ORA AS 10g(10.1.2.0.2),Windows Server 2003
    Please mark out suggestions.
    Regards,
    IK

    @Inol ...yea i have configrd the mail server(smtp) properties in report server,when the destype is file, the url works fine.i.e generate the file on specified location.
    but using destype mail, it fails, whether i use the url, or use the even driven api procedure..
    Running the procedure its the debugged out put with error...
    * WELCOME TO EVENT-BASED-REPORTING API *
    * API-Version : 9i *
    * (C) Oracle Corporation, 2000 - 2002 *
    * Debugging turned ON **************************
    *** Length of Paramlist : 1
    OK : Parameter added : GATEWAY=http://myserver.com:7778/reports/rwservlet
    *** Length of Paramlist : 2
    OK : Parameter added : SERVER=rep_myserver_oracleas2
    *** Length of Paramlist : 3
    OK : Parameter added : REPORT=D:\Reports\emp.rdf
    *** Length of Paramlist : 4
    OK : Parameter added : USERID=abc/xyz@mydb
    *** Length of Paramlist : 5
    OK : Parameter added : DESTYPE=mail
    *** Length of Paramlist : 6
    OK : Parameter added : DESFORMAT=PDF
    *** Length of Paramlist : 7
    OK : Parameter added : [email protected]
    Starting run_report: building url
    *** Building URL (RUN_REPORT)
    OK : URL built :
    http://myserver.com:7778/reports/rwservlet?SERVER=rep_myserver_oracleas2&REPO
    RT=D%3A%CReports%5Cemp.rdf&USERID=abc%2Fxyz%40mydb&DESTYPE=mail&D
    ESFORMAT=PDF&DESNAME=khan.emran84%40gmail.com&statusformat=xml
    *** Submitting HTTP Request
    *** using URL
    :http://myserver.com:7778/reports/rwservlet?SERVER=rep_myserver_oracleas2&REP
    ORT=D%3A%5CReports%5Cemp.rdf&USERID=abc%2Fxyz%40mydb&DESTYPE=mail&
    DESFORMAT=PDF&DESNAME=khan.emran84%40gmail.com&statusformat=xml
    OK : Request submitted - Return stream : <?xml version = '1.0' encoding =
    'ISO-8859-1' standalone = 'yes'?>
    <serverQueues>
    <error code="50159"
    component="REP" message="Executed successfully but there were some errors when
    distribute the output"/>
    <
    OK : Request submitted - Length of stream : 229
    *** XML-Parsed - Following Structure discovered :
    *** Checking elements!
    serverQueues ()
    *** Checking attributes!
    error
    *** Checking attributes!
    __code = 50159
    __component = REP
    __message = Executed successfully but there were some errors when distribute the
    output
    *** Finished Parsing XML
    Getting value for element: job
    Getting value for element: error
    *** Requesting value for Attribute error.component [REP]
    Getting value for element: error
    *** Requesting value for Attribute error.code [50159]
    Getting value for element: error
    *** Requesting value for Attribute error.message [Executed successfully but
    there were some errors when distribute the output]
    REP-50159:Executed successfully but there were some errors when distribute the
    output
    declare
    ERROR at line 1:
    ORA-20999:
    ORA-06512: at "NRSP.SRW", line 264
    ORA-06512: at "NRSP.SRW", line 799
    ORA-06512: at line 15
    --- i am stuck here...
    -- Googled the error but in vain.....

  • I received an error when trying to open itunes

    I received an error when trying to open itunes.  It said itunes stopped working, so I tried to uninstall and re-install.  It let me install it, but when I tried to open it, it gave me the same error message.  How can I get itunes back on my laptop (windows).

    Perhaps is post what the error is someone might be able to offer assistance.
    Also, have you had a look here  >  http://www.apple.com/support/itunes/troubleshooting/

  • I repeatedly receive an error when my IPad is trying to restore during the IOS 5 update. The error is (-50).  How do I fix this?

    I repeatedly receive an error when my IPad is trying to restore during the IOS 5 update. The error is (-50).  How do I fix this?

    Try restarting everything and then try to sync or reactivate. Quit iTunes, reboot your computer, reboot your iPad and then try again.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Use WLC's service interface IP when add WLC into WCS

    Hi All,
    Does anybody know if there's any limitations or bugs to use WLC's service interface IP when add WLC into WCS?
    Another question is I remember there's a post previously says that there are a bug regarding to ARP if the WLC not using LAG but connect one port to one switch, connect another port to another switch, so that's why it is strongly suggested to use LAG, but I can't find it now, anybody know it? Thanks!

    The service port is controlled by the service-port interface and is reserved for out-of-band management of the controller and system recovery and maintenance in the event of a network failure. It is also the only port that is active when the controller is in boot mode. The service port is not capable of carrying 802.1Q tags, so it must be connected to an access port on the neighbor switch.
    If the service port is in use, the management interface must be on a different supernet from the service-port interface.
    The service-port interface controls communications through and is statically mapped by the system to the service port. It must have an IP address on a different supernet from the management, AP-manager, and any dynamic interfaces, and it cannot be mapped to a backup port. This configuration enables you to manage the controller directly or through a dedicated operating system network, such as 10.1.2.x, which can ensure service access during network downtime.
    The service port can obtain an IP address using DHCP, or it can be assigned a static IP address, but a default gateway cannot be assigned to the service-port interface. Static routes can be defined through the controller for remote network access to the service port.

  • I receive an error when trying to convert PDF to word.  Pls help, I have a paid acct.

    I receive an error when trying to convert PDF to word.  Can someone advise on how to resolve?

    "an error" really doesn't tell us much.
    Assuming that you use the ExportPDF online service, I suggest that you Contact Customer Care - click on the Still need help? button to chat or talk with an agent.
    [topic moved to ExportPDF forum]

  • I received an error when trying to sync my IPOD erorr 13019

    I received an error when trying to sync my IPOD erorr # 13019

    See my response to your other post.

  • REP-50159: Executed successfully but there were some errors when distribute

    HI All,
    I am using Oracle 10g Rel2 application server on linux environment. I am calling oracle reports from forms i am getting REP-50159: Executed successfully but there were some errors when distribute error.
    I am using Destype :PRINTER and Desname:Printername. Please help us in resloving this issue.
    Thanks & Regards,
    Ram

    Try editing rwlpr.sh in $ORACLEHOME/bin and change the lines (at around line 172) from
    if [ ! -x $PRNCMDPATH ]
    then
    searchcommand $CMD
    fi
    to
    if [ -z $PRNCMDPATH ]
    then
    searchcommand $CMD
    fi
    It worked for me :-)

Maybe you are looking for

  • Return to Vendor with Shipping - Help with the credit memo

    Hey guys, I've configured return deliveries to vendors, using a return PO with shipping, then creating an RL delivery type > transfer order> post goods issue. All that works fine. My trouble is trying to set up the credit memo. I'm not an SD consulta

  • How to go to the top of the page

    I have an Apex application in an iframe with the submit button at the bottom of a long form. When clicking submit the next page is much shorter therefore the user initially just sees a blank page and needs to scroll up. Any ideas for a process or cod

  • How to check in metadata without check in files

    I only want to check in some metadata for search purpose. What should I do to allow ucm to do it without check in files? Thanks

  • Prepare for 1z0-402 and 1z0-403 with CentOS?

    Hi Can I prepare for 1z0-402 and 1z0-403 (Oracle Enterprise Linux Administrator Certified Associate) with CentOS? Because there are no free security updates for Oracle Linux.

  • Can't uninstall PALM DESKTOP, please help

    I tossed the PALM folder in the garbage but when I try to empty it says Localized.rsrc is in use? I have diabled PALM apps at start-up, and I don't know what to do. Does anyone have experience uninstalling this app? Is there a "safe mode" I could log