Default Provider Hiding in Add Portlet

Hai Experts,
In a page i am adding a new portlet using
add portlet tab. While clicking the add
portlet i am getting all portlets including
oracle portlets,monitar,etc,
I need only my applications.
How to hide the unwanted portlets.
Please help me...
Very very urgent.
Regards
Ramesh.G
null

You have to refresh the Provider. They are a couple of ways to
do it.
1. Take a look at the release notes for PDK-Java.
http://portalstudio.oracle.com/servlet/page?_pageid=468&_dad=ops&
_schema=OPSTUDIO
It mentions and auto reload feature that will refresh the
provider on the PDK-Java side when you make changes to the
provider.xml. When you add portlet, you simply refresh the
repository in portal and add the new portlet to a page.
2. If you do not have the auto_reload parameter, you simply need
to refresh manually.
a. After updating the provider.xml, restart the HttpServer where
your PDK-Java Provider is located.
b. Refresh the Portlet Repository
Both these do the same thing, and should solve your problem
Sue

Similar Messages

  • JSP is not getting displayed in add portlet repositery

    Hi,
    I have registered two servlet in provider.xml and I was able to
    view that servlet as a portlet in add portlet repositery.
    After that I wanted to add one more JSP as portlet under same
    provider. So I have kept JSP in same directory where servlet is
    kept. I have added JSP as portlet in Provider(i.e. provider.xml)
    and given appPath and appRoot for that JSP. Whenever I am trying
    to view my provider by giving following URL
    http://servername/servlet/myprovider
    I am getting message -
    Congratulations! You have successfully reached your Provider's
    Test Page.
    in same page I am able to view my all portlets. in that list I
    am able to view my JSP as a portlet.
    Now I want to add JSP portlet in my page at that time that JSP
    portlet is not getting displayed in add portlet repositery.
    Can anybody tell why JSP is not getting displayed in portlet
    repositery ? What should I do to get it displayed in portlet
    repositery ?
    Thanks in advance.
    Biren

    You have to refresh the Provider. They are a couple of ways to
    do it.
    1. Take a look at the release notes for PDK-Java.
    http://portalstudio.oracle.com/servlet/page?_pageid=468&_dad=ops&
    _schema=OPSTUDIO
    It mentions and auto reload feature that will refresh the
    provider on the PDK-Java side when you make changes to the
    provider.xml. When you add portlet, you simply refresh the
    repository in portal and add the new portlet to a page.
    2. If you do not have the auto_reload parameter, you simply need
    to refresh manually.
    a. After updating the provider.xml, restart the HttpServer where
    your PDK-Java Provider is located.
    b. Refresh the Portlet Repository
    Both these do the same thing, and should solve your problem
    Sue

  • How to add portlets to the task flow page

    I am using WebCenter space and I want space users to be able to put the portlets into their group space pages.
    All the portlets are under portlet folder in the catalog. However, our requirement was to have a custom folders.
    For example, the user administration portlets have to be in something like "user administration" folder and report portlets have to be in something like "report" folder.
    By "extending WebCenter Spaces" White Paper, I can create a custom folders and then I can put custom task flows. However, it doesn't say anything about the portlets. I opened SR with Oracle but so far I don't have the answer from Oracle.
    So I tried to add portlet into task flow pages after registering the portlet producers. However, it gives me the error portlet unavailable. Do I need additional steps to do this? I need help...

    Thank you.
    However it is not showing in the catalog.
    I used the WSRP producer connection name as provider and id from the portlet.xml file.
    rss is my WSRP producer connection name from EM and the id is numeric in my portlet.xml file.
    I can see the folder but I cannot see anything inside of the folder.
    <folder id="customPortletFolder">
    <attributes>
    <attribute value="Custom Portlet Folder" attributeId="Title" isKey="true"/>
    <attribute value="Custom Portlet Folder" attributeId="Description" isKey="true"/>
    <attribute value="Custom Portlet Folder" attributeId="Subject" isKey="true"/>
    <attribute value="/adf/webcenter/folderlists_qualifier.png" attributeId="IconURI"/>
    </attributes>
    <contents>
    <resource path="1269551712363"
    repository="rss"
    id="RSSReader">
    <attributes>
    <attribute value="portletTest" attributeId="Title" isKey="true"/>
    <attribute value="portletTest" attributeId="Description" isKey="true"/>
    <attribute value="portletTest" attributeId="Subject" isKey="true"/>
    <attribute value="oracle.webcenter.spaces.browser" attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/community_qualifier.png" attributeId="IconURI"/>
    </attributes>
    </resource>
    </contents>
    </folder>

  • Authenticating a user present in default provider from a custom provider

    Hi,
    I have two authentication providers(custom and default one) configured with the configuration option "OPTIONAL" on weblogic v 10 server instance.
    The custom Authentication provider basically creates a custom principal and adds the principal to the subject.This scenario works irrespective of the username sent by the client.
    Now I want the custom authentication provider to add only principals (username) which are present in the default provider/ladap provider configured on the server.
    for eg: If the client tries to authenticate with username "test", then my custom authentication provider should check if "test" user is present in the default/ldap provider, and if the "test" user does exists then create a custom principal with the user "test" and send it back to client as part of authentication.
    How should one go about doing this? I tried to call the following code in my custom authentication provider,
    try
    System.out.println("default Login" + userId);
    Authenticate.authenticate(environment, _subject);
    principalsVector.add(new WLSUserImpl(customPrincipal.getName()));
    but as expected the server startup gets into an infinite loop and throws
    failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot iden
    tity not valid; The user name and/or password from the boot identity file (boot.properties) is not v
    alid. The boot identity may have been changed since the boot identity file was created. Please edit
    and update the boot identity file with the proper values of username and password. The first time th
    e updated boot identity file is used to start the server, these new values are encrypted.
    Any help on this would be great.
    Thanks in Advance.
    Regards,
    Preethi.

    Hi,
    Thanks for the information. It works when you change the configuration option for both the providers to sufficient . Now the subject gets populated with the custom principal and sent back to the client
    can you tell me how to invoke an EJB method using this customprincipal from a java client? The EJB method is mapped to users having Admin role.
    Best Regards,
    Preethi.

  • How can i add portlet programetically to a page

    Hi
    I want to create a portlet that contains a list of my portlets so i can place this on a page(by default customization) and all the authorized users can just click on items of this portlet to add this item to their view of the page.
    This is just to avoid the long procedure to add portlet(From clicking on customize link of the page,add portlet button of the region, selecting the portlet....).For end users this may seem difficult.
    If it is possible let me how to remove it programetically.
    thanks in advance
    Abdulla
    null

    Do anybody know a way to achieve this??
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sherry:
    Hi
    I want to create a portlet that contains a list of my portlets so i can place this on a page(by default customization) and all the authorized users can just click on items of this portlet to add this item to their view of the page.
    This is just to avoid the long procedure to add portlet(From clicking on customize link of the page,add portlet button of the region, selecting the portlet....).For end users this may seem difficult.
    If it is possible let me how to remove it programetically.
    thanks in advance
    Abdulla<HR></BLOCKQUOTE>
    null

  • "Add Portlets" list - where are my portlets?

    As an Administrator, when I click "Add Portlets" from the My Page menu, I see all portlets listed.
    As a normal user, I'm currently seeing a blank list. When I click "Browse All Folders", I can find the portlets in their respective folders. They also appear when I specifically search for them. This morning, I was seeing a sub-set of the portlets (i.e. some were missing), but now I see none.
    The privileges are correct - I just can't work out how the initial list of portlets is generated.
    How can I get all those portlets visible back in the list again, and make sure they stay this time?
    Cheers,

    As already mentioned:
    When I click "Browse All Folders", I can find the portlets in their respective folders. They also appear when I specifically search for them.
    They're definitely available to the user ... they're just not appearing in the default list.

  • Portlet not showing up in 'Add Portlets to Region' page

    This relates to Portal 9.0.2 (the new version that shipped with iAS 9.0.2).
    I created a provider based on a Report, specifying the SQL query to be used, and thus created a portlet which produces a report from the query. It works and I have added it to a region in a page. So far, so good.
    Then I created a second provider with a very nearly identical SQL query, set virtually everything to be the same as the attributes for the first portlet. I wish to add it to another region in the same page. However, when I try to do the edit for the page, to add the second portlet, it doesn't show up in the list of portlets in the 'Add Portlets to Region' page, so I can't add it.
    Both portlets show up in the Providers list. They both say 'Report from SQL Query' under Type, and both say that their owner is EXAMPLE_APP. However, when I navigate to that owner in the 'Add Portlets to Region' page, only the first portlet shows up. The other one doesn't.
    Any ideas as to why this might occur? What do I look for? I've tried to look for any differences between the two portlets, and haven't seen anything obvious.
    Help!
    Responses much appreciated!
    Regards
    Bryan

    Thanks!
    I did what you suggested, and the page came back:
    Portlet Repository Refresh Status
    View information about the most recent Portlet Repository refresh, such as who initiated the process, when it was started, and whether it is complete or still in progress. If the refresh is complete, this page also shows when the process finished and whether it was successful. Click View Details to view a more detailed log of the refresh process.
    Started By: PORTAL
    Started On: April 08, 2002 19:13:38
    Completed On: April 08, 2002 19:13:57
    Refresh Status: Complete
    Refresh Result: Succeeded
    View Details
    Note that since I had just done a refresh, I would have expected the date to be today's, assuming that the date refers to when the refresh was done, but instead it's April 8th. Strange?
    When I clicked on the View Details link, it brought up a page:
    Monitor Log Detail Report
    Advanced
    Error: Unable to perform query (WWV-10202)
    ORA-01722: invalid number (WWV-11230)
    No row returned.
    Not too helpful an error message, huh?
    Clicking on the Advanced/Basic links produced identical results (the same exact error message).
    The Add Portlets to Region still does not show the portlet I wish to add.
    Any additional help much appreciated...
    Thanks
    Bryan

  • Info on whether to use ext. Netegrity tool or the default provided by SAP

    Hi,
       Can anyone give me some info. as to which would be better or which would SAP recommend as Best Practice - whether to use external <b>Netegrity tool for Authentication & Security</b> or the default provided by SAP Web AS.
    Thanks & Regards,
    Jeetu

    Firstly, I completely agree with Nicks comments and in any case the original question was Best Practice and desgin phase not technical "how to" implemenation.
    @Jeetendra,
    Actually, overall the decisions are normally made for you as a basic project requirement eg. Constraint: Users need to access Portal from a web link in intranet site secured by Netegrity without reauthentication. So as mentioned above its usually a pure SSO constraint.  Thereafter it is more of 'How best' and what are the technical limitations. Otherwise there is no real need to make life more difficult. Could you describe why you are having to make this feasability study?
    Since Netegrity is an external component, Performance will never be a reason to include Netegrity as it only adds complexity.  The performance impact will depend on agent configuration and policies and size of Netegrity infrastructure etc.  This needs to be evaluated with the Netegrity team based on the estimated number of concurrent users/requests etc. Concrete info will not be possible unless you do a load test with / without Netegrity and compare results.
    Security aspects have to be looked at across the whole spectrum based on the local environment and requirements.  Netegrity is complementary to WAS security but can actually reduce security eg. If basic header authentication is configured without additional checks. It also may or may not be required to cover requests to back end systems.
    Take a look at the SAP security guide.
    If you are still unsure of how best to proceed you may need to get specialist assistance as I doubt someone will be able/willing to provide the detail you require without some kind of intervention.

  • Cannot add Portlets: Portal Repository - Refresh Errors

    I cannot add portlets in Portal 3.0.8.
    When I click the "Refresh Error" link in the Portal Repository, I get the following error:
    PROVIDER[527954]: Oracle Portal Pages PORTLET[886]: TN_ORGAN LANGUAGE: s ERROR: User-Defined Exception
    How do I get rid of the error?
    null

    The way the Refresh works is that for each provider, Oracle9i AS Portal contacts the provider for its list of portlets. It will request the list in each of the installed languages. For database providers, this call is the get_portlet_list API. For web providers, this call is the oracle.portal.provider.v1.Provider.getPortlets java API.
    The error you are seeing in the refresh log is being caused by an exception raised in provider=527954,portlet=886,language=s in either the get portlets or get portlet methods. You should check these two methods with Swedish.

  • Forms 6i, open default mail client and add attachment to message

    Hi,
    I would like to use some functionality in my forms application. I want call some action, that opens default mail client in windows platform and add some attachment to message. I want to do this for my reports. I am exporting reports to PDF files. I am using oracle forms / reports 6.0.8.12.1 version. And I cant use build-in PDF export functionality, because exported PDF files are in old PDF version and I have problem with Czech charakters. So I am using my own virtual PDF printer for printing reports. A now I would like to send report as mail attachment. I know that there is this functionality in report preview. When I click button with letter image (showed on screenshot at http://img20.imagevenue.com/img.php?image=00067_screen_122_899lo.JPG) the default mail client is opened in this is created new messages with report (eps) in attachment.
    That is what i need. Only open default mail client and add own attachment to message.
    I found only one solution for Outlook, but I need open default mail client (for example Mozilla Thunderbird etc.)
    Can You help me? Or send some solution how it is solved in report previewer?
    Thank you.

    Hi,
    metalink Note 47498.1 "Programmatically Sending a Fax/Email via Microsoft Exchange" may be a good documentation for you. Have a look in there.
    regards,
    Heike

  • Can see the test page, Can register the provider but error in portlet

    Hi all,
    I have done the following settings in my web.xml
    web.xml
    <servlet>
    <servlet-name>calsample</servlet-name>
    <servlet-class>oracle.portal.provider.v1.http.HttpProvider</servlet-class>
    <init-param>
    <param-name>provider_root</param-name>
    <param-value>D:\pdk\pdkoct\pdk\urlservices\providers\calsample</param-value>
    </init-param>
    <init-param>
    <param-name>sessiontimeout</param-name>
    <param-value>1800000</param-value>
    </init-param>
    <init-param>
    <param-name>debuglevel</param-name>
    <param-value>3</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>calsample</servlet-name>
    <url-pattern>/calsample/*</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>CalendarServlet</servlet-name>
    <servlet-class>com.jsos.calendar.CalendarServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
         <param-value>d:/tomcat/conf/calconf.txt</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CalendarServlet</servlet-name>
    <url-pattern>calendar</url-pattern>
    </servlet-mapping>
    provider.xml
    <provider class="oracle.portal.provider.v1.http.DefaultProvider" session="true">
    <portlet class="oracle.portal.provider.v1.http.DefaultPortlet" version="1">
    <id>1</id>
    <name>CalendarServlet</name>
    <title>My Calendar Servlet</title>
    <description>This is my Calendar Servlet implemented as a ServletRenderer.</description>
    <timeout>5</timeout>
    <timeoutMsg>Calendar Servlet Renderer example timed out</timeoutMsg>
    <hasHelp>true</hasHelp>
    <hasAbout>true</hasAbout>
    <showDetails>true</showDetails>
    <showEdit>true</showEdit>
    <showEditDefault>true</showEditDefault>
    <acceptContentTypes>
    <item>text/html</item>
    </acceptContentTypes>
    <portletRenderer class="oracle.portal.provider.v1.http.ServletPageRenderer">
    <appPath>/pdk/calendar</appPath>
    <appRoot>D:\tomcat\webapps\pdk\WEB-INF\lib</appRoot>
         <showServlet>com.jsos.calendar.CalendarServlet</showServlet>
    </portletRenderer>
    </portlet>
    </provider>
    With the above settings, I can see the test page at http://<server_ip>:port/pdk/calsample.
    I am able to register the provider on the Portal server as well.
    While adding the portlet to the portal page, the Calendar Portlet is listed there.
    But, when I press the preview button next to it, It shows "Error: The listener returned the following Message: 500 Internal Server Error".
    Please give me a clue where I am going wrong.
    Thanks in advance.

    Well, over the past few days while desparately trying to make my portlets work, I have tried several things. I started initially with a downloaded version of pdk that contains samples of v1. My first message above reflects the setup I used with v1. While trying to figure-out the problem for error 500, I tried v2 but the same problem persisted.
    However, the clue by Mr. Peter Moskovits to check the application.log has helped me to finally resolve the problem.
    Here is my new WORKING setup:
    \WEB-INF\web.xml:
    <context-param>
    <param-name>oracle.portal.log.LoggerClass</param-name>
    <param-value>oracle.webdb.log.ServletLogger</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.portal.log.LogLevel</param-name>
    <param-value>7</param-value>
    </context-param>
    <!--
    Define the JPDK servlets and their parameters
    -->
    <servlet>
    <servlet-name>SOAPServlet</servlet-name>
    <display-name>SOAPServlet</display-name>
    <description>Extended Portal SOAP Server</description>
    <servlet-class>oracle.webdb.provider.v2.adapter.SOAPServlet</servlet-class>
    <!-- The following parameter enables invalidation caching -->
    <init-param>
    <param-name>invalidation_caching</param-name>
    <param-value>true</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>SOAPServlet</servlet-name>
    <url-pattern>/providers</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>SOAPServlet</servlet-name>
    <url-pattern>/providers/*</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>CalendarServlet</servlet-name>
    <servlet-class>com.jsos.calendar.CalendarServlet</servlet-class>
         <init-param>
         <param-name>config</param-name>
         <param-value>d:/conf/calconf.txt</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CalendarServlet</servlet-name>
    <url-pattern>/calendar</url-pattern>
    </servlet-mapping>
    \WEB-INF\providers\calendar\provider.xml :
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition" >
    <id>1</id>
    <name>Calendar</name>
    <title>Calendar Portlet</title>
    <shortTitle>Calendar</shortTitle>
    <description>This portlet is my calendar portlet.</description>
    <timeout>30</timeout>
    <timeoutMessage>Calendar Portlet timed out</timeoutMessage>
    <renderer class="oracle.portal.provider.v2.render.RenderManager" >
    <showPage/calendar</showPage>
    </renderer>
    </portlet>
    </provider>
    \WEB-INF\deployment\calendar.properties
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/calendar/provider.xml
    autoReload=true
    debugLevel=7
    With the above setup, I am able to access the test page successfully at:
    http://[server-ip]:port/jpdk/providers/calendar
    Which lists my portlet, Calendar.
    Upon registering the portlet provider with the above URL, the portlet provider lists my Calendar portlet there and it shows-up the portlet successfully there.
    Thank you all.

  • How do I stop  my mail from send out my e-mails with the mobile me acct instead of my default provider?  I have checked the "use only this server" in my provider account.

    How do I stop  my mail from send out my e-mails with the mobile me acct instead of my default provider?  I have checked the "use only this server" in my provider account.

    There is no such option/setting on an iPhone to determine this. Whether you can view the attachment has more to do with your connection, WiFi or cellular, and the size of the attachment than anything else. There will be a paperclip indicating the message includes an attachment regardless if downloaded with the message or not. When connected to the cellular network, if an attachment is below a designated size the attachment will be downloaded automatically. If over a certain size, you must select the attached file icon in the body of the message to download the attachment. The size limit varies by carrier/provider.
    Tell her you're gonna leave her out of the Will if she doesn't stop .

  • Default provider/portlet URL where register to another Portal or OCS?

    I am trying to register a portlet provider on a Portal into a Oracle Collaboration Suite.
    How can I find out the URL of the protlet provider?
    The portal url is like: http://my-url:7777/pls/portal/
    Looks like everybody knows it since the instruction didn't even mentione, but it puzzled me for a while, could get any provider registered so far :(
    Thanks!

    Actually, the issue turned out to be a port (7777) that was blocked FROM the database TO the apps server. I guess that when the portalprovider tried to register the value in the database and the database could not access the site due to firewall rules, it threw that error. After we opened that port in that direction, it worked just fine.
    Thanks,
    Scott

  • 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 !

  • 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 !

Maybe you are looking for