Need Weblogic portal - Stuts portlet tutorial

Hi All,
Need Weblogic portal - Stuts portlet tutorial.
Like how to create struts portlet and how to use it.
Thanks,
Venkata Sarvabatla

Hello Venkata,
Here's an example for Struts portlets:
http://download-llnw.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/building.html#wp1062327
Kevin

Similar Messages

  • Need to add as a WSRP Connection in JDev for Weblogic Portal JSF Portlets.

    I am trying to register WLP 10.3.4 JSF Portlets as a WSRP connection in JDev Webcenter 11.1.1.6 Portal Framework application . The below are steps:
    -Created Simple WLP Application with JSF Portlets and deployed them on WLS 10.3.4 domain.
    -The WSDL url available is http://localhost:7003/TEST_WEB_PORTAL/producer?wsdl
    -Now Open JDev and created WCP Framwork app
    -Under Application Resource, right click on Connections -> New Connection -> WSRP Producer.
    -Click Next on step1 -> Enter WSDL URL on Step 2 and then click next on next 3 screens.
    -It tries to register but ended up with below exception:
    3-Dec-2012 12:48:03 oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegUtil registerProducer
    WARNING:
    oracle.portlet.client.persistence.PersistenceException: oracle.mds.core.ConcurrentMOChangeException: MDS-00165: metadata Object "/oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml" has changed
    MDS-00512: failure to create document /oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml because file C:\Oracle\PS5\mywork\testSR3-6514764665\mds\oracle\adf\portlet\WsrpPortletProducer0\portletDefs\portletPortletproducer\markupTypes\markupType0_texthtml.pxml already exists
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.commit(MDSPersistenceContext.java:473)
         at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.commit(PersistenceBeanContext.java:128)
         at oracle.portlet.client.adapter.simple.SimpleAdapter.commit(SimpleAdapter.java:465)
         at oracle.adfinternal.model.portlet.manager.PortletProviderManager.commit(PortletProviderManager.java:1487)
         at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerPortletProvider(PortletProviderManager.java:1647)
         at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerPortletProvider(PortletProviderManager.java:597)
         at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegUtil.registerProducer(WSRPProducerRegUtil.java:308)
         at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegistrationWizard$1.doWork(WSRPProducerRegistrationWizard.java:863)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.mds.core.ConcurrentMOChangeException: MDS-00165: metadata Object "/oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml" has changed
    MDS-00512: failure to create document /oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml because file C:\Oracle\PS5\mywork\testSR3-6514764665\mds\oracle\adf\portlet\WsrpPortletProducer0\portletDefs\portletPortletproducer\markupTypes\markupType0_texthtml.pxml already exists
         at oracle.mds.core.UpdateableMOContent.constructConcurrentMOChangeException(UpdateableMOContent.java:1376)
         at oracle.mds.core.UpdateableMOContent.saveMOContent(UpdateableMOContent.java:1143)
         at oracle.mds.core.MDSTransaction.flushChangesToPTrans(MDSTransaction.java:851)
         at oracle.mds.core.MDSTransaction.internalCommit(MDSTransaction.java:2928)
         at oracle.mds.core.MDSSession.flushChanges(MDSSession.java:1022)
         at oracle.mds.core.MDSSession.flushChanges(MDSSession.java:850)
         at oracle.portlet.client.persistenceimpl.mds.MDSSessionWrapper.flushChanges(MDSSessionWrapper.java:61)
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.commit(MDSPersistenceContext.java:456)
         ... 10 more
    Caused by: oracle.mds.persistence.DocumentExistsException: MDS-00512: failure to create document /oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml because file C:\Oracle\PS5\mywork\testSR3-6514764665\mds\oracle\adf\portlet\WsrpPortletProducer0\portletDefs\portletPortletproducer\markupTypes\markupType0_texthtml.pxml already exists
         at oracle.mds.internal.persistence.file.Fil
    I have followed the steps given in the http://docs.oracle.com/cd/E26806_01/wlp.1034/e14235/chap_webcenter_interop.htm#BABGIIIJ for preventing User Authentication error by creating user of PortalSystemAdministrator group but did not help.
    Please let me know if anyone have faced this exception or any pointers.
    Thanks
    Kamal Gulati

    Hi,
    I tried creating a simple JSF portlet and I can able to register and it is working Fine, but my teammet got the same issue like you :) . While Analyzing what I found is , the location where we created the portlet in weblogic portal. If you created your portlet directly under WebContent folder then this issue is coming up, so try to create the portlet in a folder inside the WebContent folder, say create a folder with name portlets under webcontent and create the JSF portlet inside that portlets folder.
    Now start the server and register the same in WebCenter, you will not get that exception. I am going to raise a ticket with Oracle about this issue and get the root cause.
    Thanks
    Karthikeyan

  • How to install Weblogic Portal 10.3.0

    Dear All,
    I need to install Weblogic Portal 10.3.0 in two flavaors. 1) Single instance 2)In a cluster.
    I'm relative new to Weblogic Portal. The platform is solaris 10 64 bit. Can anyone provide a step-by-step installation sequence?
    I read the installation guide but it says nothing about how the installation would work. This is what I have done till now:
    1. Installed the WLP 10.3.0 with Weblogic Server, Weblogic Portal and Workshop components.
    2. After installation, ran config.sh command and configured Admin server and one managed server (to support portal).
    But after my domain is created and I start my managed server, I see nothing in the deployments page. There are no errors either in the log files.
    IS there a step I'm missing? Do we need to manually deploy portal application? if yes, how?
    Any help would be truly appreciated.
    rgds,
    rb

    Hi RB!
    Sounds like you just starting off fresh with WLP. This may or may not help. I suggest learning some of the basics of creating a Portal.Ear file and deploying it to other environments.
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/getting_started/introduction.html#wp1005589
    Using WebLogic Portal
    If you are new to WebLogic Portal, a short tutorial is provided to help you get started. See Tutorials – Getting Started with WebLogic Portal for more information. The tutorials discuss setting up a portal development environment, creating a portal, and assembling a desktop in your staging environment.
    Tip:      If you are unfamiliar with the Eclipse development environment on which Workshop for WebLogic is based, the tutorial “Getting Started with Workshop for WebLogic” located in the Oracle Workshop for WebLogic User’s Guide, is highly recommended; the tutorial shows you how to start Workshop for WebLogic and navigate the workbench user interface, introduces terminology associated with the workbench, and shows you how to create a simple web application.
    The WebLogic Portal Overview provides a starting point for understanding and developing applications with WebLogic Portal. This chapter introduces portal concepts, describes the WebLogic Portal infrastructure framework and business services, and describes the portal life cycle, from architecture through development, staging, and production. The remaining chapters in this guide describe each phase of the life cycle in detail and provide a starting point for using WebLogic Portal.
    Tutorials – Getting Started with WebLogic Portal
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/tutorials/index.html
    Cheers!
    RichardL

  • Developing portal using Weblogic portal 10.3 or weblogic workshop 10.3

    Hello
    I am new to portal development. I see that one can develop portal using Oracle weblogic workshop 10.3 which has many features including Java Page Flow and Java controls. I am wondering what extra features one can get using Weblogic portal 10.3. The Weblogic platform 10.3 which I use does not have weblogic portal, it has weblogic AS and workshop. Do I need weblogic portal install now or in future while developing portal. I am trying to develop a portal from scratch. Any input will be highly appreciated. Thanks.

    Some suggesssions,
    While installing the weblogic you need select weblogic portal option also. Only for weblogic different installation exe file with portal different exe file.
    To get the weblogic portal server and portal work shop with weblogc you need to down load weblogic portal 10.3 exe file.
    Thanks,
    Venkata Sarvabatla

  • NPE while registering Remote Portlet in Weblogic Portal 10.3

    Hi,
    I am on Weblogic Portal 10.3 and am trying to create a remote portlet in my portal application. The remote Portlet is hosted on OC4J 10.3.1.1.1 and is consumed properly on Oracle Portal without any errors, however, when I try to access the portlet's wsdl via the Remote Portlet Wizard, I get the following exception while registering.
    bq. {color:#3366ff}!ENTRY com.bea.wlp.eclipse.common 1 1 2008-10-06 11:37:28.938{color} \\ {color:#3366ff} \\ !MESSAGE [Portal-ERROR|http://forums.oracle.com/forums/] There was a problem submitting registration for this producer.{color} \\ {color:#3366ff} \\ Reason = ProducerAgent::java.lang.NullPointerException: null{color} \\ {color:#3366ff} \\ !ENTRY com.bea.wlp.eclipse.common 4 4 2008-10-06 11:37:28.938{color} \\ {color:#3366ff} \\ !MESSAGE {color} \\ {color:#3366ff} \\ !STACK 0{color} \\ {color:#3366ff} \\ java.lang.NullPointerException{color} \\ {color:#3366ff} \\ at weblogic.utils.encoders.CharacterDecoder.decodeBuffer(CharacterDecoder.java:188){color} \\ {color:#3366ff} \\ at com.bea.wsrp.util.XmlUtils.decodeBASE64(XmlUtils.java:270){color} \\ {color:#3366ff} \\ at com.bea.wsrp.bind.RegistrationContextImpl.<init>(RegistrationContextImpl.java:44){color} \\ {color:#3366ff} \\ at com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:258){color} \\ {color:#3366ff} \\ at com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:221){color} \\ {color:#3366ff} \\ at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.submitRegistrationDocument(ProducerAgent.java:384){color} \\ {color:#3366ff} \\ at com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$RegistrationRunner.run(SelectProducerPanel.java:1425){color} \\ {color:#3366ff} \\ !ENTRY com.bea.wlp.eclipse.common 1 1 2008-10-06 11:37:28.953{color} \\ {color:#3366ff} \\ !MESSAGE [Portal-DEBUG|http://forums.oracle.com/forums/] RegistrationPanel::could not submit registration document: null{color}
    {color:#3366ff}
    {color}
    {color:#000000}This producer is fully WSRP compliant and works perfectly fine with Oracle Portal. Any pointers of where it might go wrong?{color}
    Ansuman

    Now I am able to display the initial page of the remote portlet. However, when I try to do some operations I m running into one more issue:
    [WSRP-Consumer:420733]No markup received from the producer [oraclePortal_producer] for portlet with portletHandle[E:3:default].
    Is there anything futher I need to do?
    regards,
    Ansuman

  • Query- IPC using JSF Portlets in WebLogic Portal

    The question is how to pass data when doing InterPortlet Communication using Local JSF portlets in Weblogic Portal.
    I will eloborate on the particular scenario we have below.
    Two JSF portlets are build (both are not using Java Page Flows). The first porltet has a table of data. When the user clicks on one of the items in the table (which is coded using <h:commandLink/> option), the second portlet should show some details on the item clicked.
    For example:
    If there is a list of books in first portlet, when clicking on one of the book name, the details of book should come up in the second portlet.
    To achieve this, faces event was enabled in first portlet with requestAttrPersistence option set to session.
    For example :
    <netuix:content>
    <netuix:facesContent contentUri="/bookList.faces" requestAttrPersistence="session">
    <netuix:facesEvents>
    <netuix:facesEvent action="/bookDetails.faces" eventName="bookDetailEvent"/>
    </netuix:facesEvents>
    </netuix:facesContent>
    </netuix:content>
    The second portlet was configured to handle faces events, particularly the bookDetailEvent.
    Example:
    <netuix:handleFacesEvent eventLabel="handleFacesEvent1" eventName="bookDetailEvent" fromSelfInstanceOnly="false" onlyIfDisplayed="true" sourceDefinitionLabels="JSFPortlet_1" sourceDefinitionWildcard="this">
    <netuix:invokeFacesAction action="/bookDetails.faces"/>
    </netuix:handleFacesEvent>
    Going by this method, how can we find the particular book whose detail has to be shown? As in JSF, we dont directly access the request attributes, what is the ideal way to pass data from one page to other?
    Please help on this.

    i am also having the same problem.I tried by passing _nfls=false but it didn't work.Can you suuggest where do i need to set this or any other parametrs such as this programmatically?                                                                                                                                                                                                                                                                                                                                                                           

  • Need maximum information about Content Management in Weblogic Portal 10.3

    Hi,
    I have worked with Weblogic Portal before, but it's been some time, I do not remember much and I quickly need to find some info.
    We are making a proposal to a customer and have suggested Weblogic Portal.
    I would like to give as much information about the technicalities of the CMS in Weblogic Portal as possible.
    Could you please answer these questions ?
    I am looking for information on the CMS that is integrated in Weblogic Portal 10.3
    I have already checked the available information on the site :
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/introCM.html#wp1067976
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/development.html
    I would like to find more information, especially regarding these questions :
    What are the portlets that are available by default in Weblogic Portal 10.3 ? I read about the Content Presenter portlets, which display real-time data.
    Are there other portlets like these ?
    How can i manage the documentation in the CMS ? I have several source of data (databases, Lotus repositories ...) : can i load them into the WLP Virtual Content Repository ?
    What about images ? Do i need to work on a special format to handle them in my portlets ?
    Is it possible to load data coming from XML files into the repository so i can display them on the portal ?
    Thanks a lot for helping.

    BulkLoader is described in the docs here:
    http://e-docs.bea.com/wlp/docs102/cm/bulkloader.html
    As far as portlets go, WLP provides lots of facilities for creating your own portlets, to do exactly what you want them to do. It really depends upon what you want to do.
    If you're looking to display images, also take a look at the personalization features like Content Selectors and Placeholders, which can retrieve an image from the CM system.
    If you're looking to iterate over a set of content, take a look at display templates as a means to control the presentation.
    You may be able to use re-portlets from the WLP Admin tools, though I'm not familiar with the details.

  • Help needed with weblogic portal and documentum.

    hi guys,
    i have a project in which i have to use documentum with site caching services with weblogic portal 8.1. the html and xml pages will be stored in documentum and the metadata in oracle 8i and xslt will be used for transformation.
    Does anybody have any clue what api or things to use for this thing.
    any help , tutorial, links pointing to the solution will be helpful
    thanks in advance
    rajat

    Ok, so it looks like I only need to call a startapplicaiton after the distribute to make this work.

  • I need help on Spring web flow Integation with JSF  in Weblogic Portal 10.3

    Hi
    I am using JSF1.2(portlet) with weblogic portal 10.3
    I am trying to integrate JSF with Spring web flow...
    I went through JSF white paper(weblogic-portal-jsf-whitepaper.pdf) ...there it is saying that ..as navigation controller, we can use spring web flow...
    Please suggest me how do I integrate JSF with spring web flow in Weblogic portal env...and
    what are steps I need to follow…
    Thanks
    Kumar

    No, there isn't problem show in log. I don't know why... Please suggest me or help me.
    Thanks in advance!
    Best Regards,
    Coy.

  • Using common httpsession in Remote Portlets of Weblogic Portal

    I am using Oracle's Weblogic Portal and I am using multiple remote Producers in Portal application, I want too know if I can use common Http Session among multiple Producer Portlets?
    I am consuming Portlets from Producers in one portal and I have one common Login for Portal.

    There is a much easier pattern for this, but it may or may not serve your needs. You can use Community Preferences. You can set/get them from portlets, control who sets it using portlet security, etc. The one difference is that you won't see it enumerated with the other community properties when you edit a community in the admin view.
    Another option is to do as you planned; you would need to use the plumtree server API to update the data, but you should be able to fetch it using the remote search API. might want to post questions on the respective discussions (native API and prc) for those questions...

  • Java Portlets only JSR 168 compatible Portlet in Weblogic Portal 9.x?

    I and need to develop a JSR 168 Portlet that contains JSF components. I have looked through a lot of the training material, newsgroups and web sites for any information on how to perform this within the Weblogic Portal tools and have been unsuccessful.
    Is there a way in Weblogic Portal 9.x to create a Portlet that is JSR 168 compliant and capable of containing JSF components through the tool interface?

    I and need to develop a JSR 168 Portlet that contains JSF components. I have looked through a lot of the training material, newsgroups and web sites for any information on how to perform this within the Weblogic Portal tools and have been unsuccessful.
    Is there a way in Weblogic Portal 9.x to create a Portlet that is JSR 168 compliant and capable of containing JSF components through the tool interface?

  • Developing JSF Portlets with WebLogic Portal (Oracle White paper May 2009)

    I have created a simple JSF Portlet following the steps delineated in paragraph 3.1.1 Creating a JSF Enabled WLP Web Project of the white paper mentioned above. I used Workshop for Weblogic 10gR3. When I tried to deploy that very simple portlet and portal I got this error message :
    "!MESSAGE Unable to register J2EE shared library C:\bea\wlportal_10.3\samples\lib\j2ee-modules\wlp-sample-lookandfeel-web-lib.war".
    Clearly the folder and file "samples\lib\j2ee-modules\wlp-sample-lookandfeel-web-lib.war" are not under my "C:\bea\wlportal_10.3". My question is where do I download it? Where does it come from?
    Thanks in advance.

    Maybe you did not include the samples when you installed Oracle WebLogic Portal? Now that this is an Oracle product, samples are not installed or configured by default. This is a change in policy from when WebLogic Portal was a BEA thing, so it takes some getting used to and there are probably plenty of places where documentation and papers could be enhanced to emphasize this.
    In addition, it looks like there might be an error in the white paper with respect to configuring your web app to include samples. I don't see any mention of taking an extra step to include the sample facets in your portal app. This oversight may have been caused by the author working with a pre-release of Oracle WebLogic Portal that had not yet been "Oracle-ized" enough to get the default samples out of there. In the old days, I think the samples were automatically included in your portal web app.
    To get the samples in a new portal web app while you are creating it with the IDE you can click the "Modify..." button on the first dialog. It is next to the "Configuration" text area. This pops up a dialog that lets you select the "Weblogic Portal Samples" facet for your web app.
    To get the samples in an existing portal web app after it has been created, right click the app in the IDE, click "Properties...", click "Project Facets", and select the "Weblogic Portal Samples".
    Sorry, I'm not sure what the remedy is for getting samples into an installed product that was not installed with the samples. Unfortunately, I think that is the problem that you need solved. Sorry about that. Hopefully you are working in a test or dev environment that makes it easy to blow away old installations and start over? If not, then maybe install it with samples someplace else and copy the samples/... dir over to your other install?

  • Problems with Inter-Portlet Communication in Weblogic Portal 10.3

    Hi,
    I'm developing a web application using Weblogic Portal 10.3.
    The requirement is that the work requests have to be stored in a workbasket which can be submitted by the user at the end.
    The user can create multiple request of same form.
    Consider a scenario that the user creates 5 instances or work request in a single form. No he moves back to the 2nd request and modifies it. While modifying the 2nd request a validation message is thrown. Now the user navigates to Workbasket directly by selecting the Workbasket from the menu item.
    Now when the user selects any one of the 5 requests, he is able to view the same validation message which is thrown as said in the above scenario. This is happening only when the user navaigates from the workbasket. If the user switches between the request, the problem is not simulated.
    Someone please help me how this can be avaoided.
    More Information:
    Weblogic Portal 10.3
    JSF 1.2
    Spring
    Message is thrown using the FacesMessage in JSF and is displayed in the screen using the following JSF tag.
    <h:messages globalOnly="true" rendered="#{! empty facesContext.maximumSeverity}" styleClass="liststylenone"/>

    Hi,
    Could someone pls explain which cache is used to cache portlet content and in which form the content is cached?

  • Spring MVC Portlet in Weblogic Portal

    Is there any sample application for Spring MVC Portlet(JSR 168) in Weblogic Portal ? If so, where can I download it from ?

    you can get spring source code,then open spring samples folder,and spring portlet can transplant to weblogic portal

  • Error deploying ALBPM portlets in WebLogic Portal

    Hi, I have a problem when I try to deploy ALBPM workspace portlets in WebLogic Portal
    <28/01/2009 18h11min47s BRST> <Error> <HTTP> <BEA-101214> <Included resource or file "/workspaceWeb/framework/skeletons/text/flowlayout.jsp" not found from requested resource "/workspaceWeb/BPMPortal.portal".>
    I copied framework folder into web project but the problem persists. I've used the WLP 10.1. This could be a version issue?
    Regards
    Rogerio Cruz

    Hi,
    I see this messages below of ActionsMenu, Worklist and InstanceDetail portlets. The URL generated first is:
    http://localhost:7001/workspaceWeb/BPMPortal.portal?_nfpb=true&_pageLabel=BPMPortal_portal_page_7
    but when I type this URL in browser, is "redirected" to the following:
    http://localhost:7001/workspaceWeb/BPMPortal.portal?_nfpb=true&_pageLabel=BPMPortal_portal_page_7*#wlp_BPMPortal_portal_page_7*
    and the '404' pages are shown
    I'm using BPM Enterprise for WebLogic Server 604 build 94433
    Regards
    Rogerio Cruz

Maybe you are looking for

  • Install error 11gR2 on Windows 2008 Server R2

    Hello, I have a question about an installation error I received on Windows 2008 Server R2 while trying to install the 11g R2 on an test machine. I had downloaded both cd's and extracted them and copied the first cd into an new directory and then trie

  • Issue with AT SELECTION-SCREEN ON event

    Hi Experts!! In the below code, p_jan, p_feb are showing as blank though they are filled in. Is this how this event works? PARAMETERS: p_categ TYPE zpycateg,                          p_jan TYPE sy-datum,                          p_feb TYPE sy-datum.

  • How do you set the in point of a clip?

    I'm using the timeline template that has a number of clips flying by and I need to adjust the in point of the clips. To be clear, I'm NOT trying to adjust the point that the clip appears in the timeline but instead the portion of the clip that will b

  • Request Tracker

    Hello All, I have configured RT on my machine it was working fine at the begining later on when the size of the DB is growing there seems to be a performance problem ie the login page for checking the tickets is very slow its taking time can any one

  • Why can't I back up ,y iPhone 5.  In iTunes it tell me it cannot start a session to back-up!

    When I sync the iPhone 5,  I get an error mess saying "cannot start a session" when it trys to bask it up.  THe sync goes well excpt for backing it up, what is causing this as I need to back-up my phone?