How to expose JSR168 portlets from existing JSF webapp?

Hi all,
I have a web application with JSF components, and a set of JSP pages that use these components. In WEB-INF, I also have a standard portlet.xml which describes what JSP page to expose for the declared portlet(s).
Is there any administrative interface in the WebLogic Portal that would automatically detect these portlets as soon as I deploy the webapp, so that I can display them ? My idea is that as soon as this webapp with the portlet.xml is deployed, my portlets should be added to the list of available portlets somewhere. Is that so with the WebLogic portal ? Thanks very much for your feedback.
P.S: I am using WebLogic Portal 10.0
Regards,
Angel

I'm not sure I understand your question. It sounds like you have JSF (faces) components and JSP pages; do you also have JSR168 portlets? The WEB-INF/portlet.xml file should have nothing to do with JSF / JSP pages; it is used only to declare JSR168 portlets.
To try and answer your question though, if you have JSR168 portlets listed in WEB-INF/portlet.xml, these portlets should show up in the administrative tools when the webapp deploys.

Similar Messages

  • How to debug JSR168 portlets

    Hi,
    Is there a way to debug the jsr168 portlets from Jdeveloper, possibly using remote debugging feature? If yes, appreciate step-by-step instruction on this.
    I have posted a query related to remote debugging here:
    Remote Debugging (Jdev 10.1.3 to AS 10.1.3)
    Thanks,
    Pandian.

    I'm not sure I understand your question. It sounds like you have JSF (faces) components and JSP pages; do you also have JSR168 portlets? The WEB-INF/portlet.xml file should have nothing to do with JSF / JSP pages; it is used only to declare JSR168 portlets.
    To try and answer your question though, if you have JSR168 portlets listed in WEB-INF/portlet.xml, these portlets should show up in the administrative tools when the webapp deploys.

  • How can I create back up dvds for itunes and how do I back up from existing dvds?

    How can I create back up dvds for itunes and how do I back up from existing dvds?

    Recovery Mode:
    1. Turn off iPad
    2. Connect USB cable to computer; leave the other end alone
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times to recover your iPad

  • How to Get Prebuilt Portlets from OPN

    Hi,
    I want to get the following or any other prebuilt portlets from OPN, How I can get this and register it to my Webcenter Portal spaces application.
    https://solutions.oracle.com/scwar/sc/Solution/SCSP-OOWLOBVD.html
    We are Oracle Gold Partner
    Thank you,
    Muhammad Nasir

    Thanks Sir for you kind reply But I have just studied about this from the following doc, I think it is possible but how i dont know.
    http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10149/portlets.htm#BABIHAAH
    Thank You,
    Muhammad Nasir

  • How to format one partition from existing filesysem

    Hi All,
    I want to install ASM on my RHEL machine. There is one disk which has been partitioned into regular filesystem as follows:
    [root@*** /]# fdisk -l
    Disk /dev/hda: 644.2 GB, 644245094400 bytes
    255 heads, 63 sectors/track, 78325 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1          25      200781   83  Linux
    /dev/hda2              26       57392   460800427+  83  Linux
    /dev/hda3           57393       61471    32764567+  82  Linux swap / Solaris
    /dev/hda4           61472       78325   135379755    5  Extended
    /dev/hda5           61472       78325   135379723+  83  Linux
    My question is, how can I format and merge a couple of partitions from these to create a volume for ASM? Is it even possible?
    Regards,
    Vinod

    SenthilKumar - Oracle wrote:
    It can be done as below:
    #fdisk /dev/hda
    p
    --To print partitions
    d
    --To delete partition, chose 2[This will erase the contents in it]
    n
    --Create new partition
    choose p to create primary partition
    now /dev/hda1 can be used as  ASM disk.
    #chown oracle:oinstall /dev/hda1
    login to ASM and update the asm_diskstring to include this disk and run "select* from v$asm_disk" we can see this new disk as CANDIDATE Or Provisioned
    Thanks,
    Senthil
    Dangerous - the default partition type of a newly created partition is ext3. Which means the kernel will view that partition as a regular file system - and will attempt to mount and use it. A sysadmin will not know, looking at the type of partition, that it is not an ext file system, but in fact a raw device.
    One needs to avoid this confusion - as it easily can trash your entire database's storage (diskgroup). With the only option being to restore backups that likely is out of date, or non-existent. (given the lackadaisical attitude to use a file system partition as a raw device, it is a reasonable assumption that backups are in a similar sorry state)
    PS. and the question was how to use /dev/hda2 - you described removing that partition and then using /dev/hda1 (which will likely trash the root file system).

  • How to create new solution from Existing solution in integration services on TFS project?

    Hi,
    I am working on SSIS Project and it is created in VS 2008 .I opened the solution in VS 2010 and it is upgraded and unfortynately i don't have the back up to re open it in VS 2008.I am thinking of creating new solution from the existing one and open the new
    solution in VS 2008.I was struck how can we copy existing solution to new solution on TFS.
    Please let me know will this process work? and also how can we create a new solution without losing any files.
    Any help is appreciated.

    Hi moh1kumr,
    As Joost said, you can try to revert the changes back for the checked in files in TFS. For more information, please see:
    http://msdn.microsoft.com/en-us/library/ee371161(v=expression.40).aspx
    http://stackoverflow.com/questions/2694644/how-to-revert-roll-back-a-checkin-in-tfs-2010
    If it doesn’t work, I am afraid you have to design the package in VS 2008 from scratch.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to upload the data from existing ods to new cube?

    Hi all,
    There is an existing ods and reports are been created for that ods. My task is to create a cube and pull out the data from the ods to cube.
    I have created a cube with update rule. And i want to know to how to load all the data from the existing ods to the newly created cube.
    thanxs
    haritha

    Hi haritha,
    If you've already created the update-rules, try to create cube, than make a mapping between ODS & Cube.
    If done,
    1. Right-Click on ODS, find the menu update data to data target.
    2. Choose for Init.
    If you wanna make it update data to cube automatically, then you must setup the setting in ODS.
    1. double-click on it.
    2. In setting, you'll see the option for "automatically update data to data target".
    3. Choose for it.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for any points you choose to assign.

  • How to create an ERD from existing database ?

    hi all
    how i can capture from databse and create an ERD from the whole of database by designer ?
    ssaeeds

    Does a very lousy job at it, as it can create only 1 ERD, one screen big and doesn't save intermediate results.
    Sybrand Bakker
    Senior Oracle DBA

  • How to create MUSE file from existing MUSE site?

    Hi-
    A customer has a site that was created with MUSE and she wants some edits made to it.
    I have installed MUSE and can access the server via FTP. I've downloaded the site's html files and assets, but these are useless in MUSE.
    How do I create or get the whole site's MUSE file from the server so I can make the edits and put back on her server?
    Thanks for any guidance here.

    Hello,
    You would need the .muse file (source file of website). And you can get it only from the person who created it.
    It must b saved on their local machine. This file  is not uploaded on the  server via FTP. And you cannot use the .html and other output files as the changes need to be made in that .muse file.
    Regards,
    Sachin

  • How to create CVI drivers from existing LabView HP816x.fp

    I downloaded an instrument driver from the www.agilent.com; Instructions are provided to convert drivers for LabView from the provided HP816x.fp, however, I need to create them for LabWindows CVI.

    If you downloaded Agilent 816x VXI Plug&Play Driver, you can use it in CVI immediately. You don't need conver anything for CVI. fp file is part of CVI driver.
    In project window select menu item Instrument>>Load. Load the hp816x.fp. Add #include to your C code and you can use all function from driver.
    Help about converting fp for labview describes how easy create LabVIEW driver. This convertion make llb file with VIs for every function from Fp panel. These VIs call functions from hp861x_32.dll. If you are using CVI you don't need do it. This help is only for LabVIEW users.
    Zdenek

  • How to create Bar chart  from existing XML file

    Hi all,
    i'm new to flex, i need your help to develop a flex for
    dashboard app. we have sample.xml file. by using this i need to
    create a bar diagram or piechart.
    Please help me out
    The XMl looks like this.....
    <?xml version="1.0" encoding="utf-8"?>
    <user id="123412343">
    <fullName>
    <lastName>Telles</lastName>
    <firstName>vijay</firstName>
    </fullName>
    <preferences>
    <modWidth>235</modWidth>
    <modHeight>250</modHeight>
    <totalWidth>1650</totalWidth>
    <totalHeight>1650</totalHeight>
    <modsX>4</modsX>
    <modsY>2</modsY>
    </preferences>
    <module id="Status2">
    <windowOpen>true</windowOpen>
    <pointsToShow>
    <p label="Proposed"/>
    <p label="Draft"/>
    <p label="DEP Adpt"/>
    <p label="EPA Adpt"/>
    </pointsToShow>
    <dataSetsToShow>
    <label>2006</label>
    <label>2007</label>
    </dataSetsToShow>
    </module>
    </user>

    convert this xml to ArrayCollection called chartData
    var charOption:String = "totalHeight"; /Use this to set the
    yField property...
    <mx:ColumnChart showDataTips="true" id="barChart"
    width="100%" height="100%" dataProvider="{chartData}"
    color="0xffffff">
    <mx:horizontalAxis>
    <mx:CategoryAxis
    dataProvider="{chartData}"
    categoryField="hour" />
    </mx:horizontalAxis>
    <mx:verticalAxis>
    <mx:LinearAxis labelFunction="addDollarSign"/>
    </mx:verticalAxis>
    <mx:series>
    <mx:ColumnSeries yField="{chartOption}"
    showDataEffect="interpolate"
    creationCompleteEffect="interpolate"/>
    </mx:series>
    </mx:ColumnChart>

  • How-to get attributes from one JSF page redirected to another?

    How do I send information from one JSF page when the navigation rule redirects it to another?
    When JSF navigation does a forward I can use request.setAttribute() in the from-page and then use request.getAttribute() in the to-page, but this doesn't work with <redirect/>.
    Regards,
    Al Malin

    The process scope in ADF Faces solves this. See:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.adffacesguide%7Cdevguide%7CcommunicatingBetweenPages%7Ehtml/

  • How to Create WebService (the Server, not Client) from existing WSDL

    Does anyone have any suggestions on how to create a WebService from existing WSDL.  I have been asked to implement a WebService (the Server) based on WSDL from a standards based consortium.  I have created several WebServices in the past and the generated WSDL under my control.  Does Axis WebServices generate WebService service stub Java code?

    Hai
      you can create stubs for AXis webservices also
      for help use the following link
    http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page1

  • JSR168 portlet packaging?

    From the JSR168 spec, (which is similar to how other portals seem to behave
    with their proprietary APIs), a JSR168 portlet application appears to be a
    WAR with a portlet.xml and web.xml conforming to the requirements of the
    spec, that can then be installed in any portal.
    From my superficial knowledge based on skimming the WL8.1 portal docs
    recently, WL portlet development appears to be done within a Portal WAR such
    that the portlet(s) are just components of the portal war itself.
    How are these two supposed to work together in the WLP env? Say I develop a
    couple JSR168 portlets in my own Java environment (emacs :-) and then WAR
    them up and install them into Jetspeed-2 and another 168 compliant portal
    when available (eg, IBM's 5.something). I believe those would accept my
    portlet WAR and keep them in that WAR and just reference them from their
    Portals. How would WL8.1.x handle such development (outside of Workshop/WL)
    and deployment to a WL8.1.x portal? Do I have to merge my JSR168 based
    portlet WAR (and thus a web.xml and portlet.xml merge) into the Portal WAR
    (eg, if I want to ship a script to deploy my portlet WAR into an existing
    WL8.1 portal?) or will WL8.1.x be able to reference a Portlet WAR outside of
    a Portal WAR?
    TIA - a confused potential portlet developer...

    I agree with what Joe said...
    BTW, I (and I assume Joe) think JSR168 is a good thing - and it's great that
    WLP has the first prototype of it out there - don't get me wrong, I like it,
    I'd just prefer if it were easier to deploy to given portlets coming in from
    multiple sources being added into an existing portal. From Joe's case, he
    probably doesn't want to have to merge the portlet.xml files. From my case
    as a supplier of portlets, I'd rather not have to have to create different
    install tools/docs/procedures for my customers for each portal vendor now
    that I can have standard portlets based on JSR168...
    "Joe C." <[email protected]> wrote in message
    news:[email protected]...
    You can always import any arbitrary webapp using the WLW as a portalproject
    I'm not sure that solves my problem or the one ISV was talking about(which
    I assume is the same).
    I am not talking about importing a webapp (containing portlets or nto) and
    making it be my portal.
    - Assume I'm already developing a portal with some in-house developed
    portlets.
    - I want to get 3 JSR168 portlets from SAP (just picked a random vendorout
    of the air) and add them to my portal.
    - I want to get 2 JSR168 portlets from Siebel (ditto)
    - And I need one Domino portlet from that other 3 letter vendor (ditto)
    - Each of those vendors is likely to build JSR168 portlets that can be
    installed/used in any JSR168 compliant portal, so they can stop buildingall
    the various per-vendor proprietary API portlets.
    - Each of those vendors needs to package up their portlets for
    shipping/install.
    - Given that JSR168 describes the Web App layout for packaging a portlet,
    each of those vendors is likely to package their portlets up in a WAR.
    - Some JSR168 compliant portals (I believe) will be able to just install
    those WARs and use them as is from the Portal WAR and drop them on pages.
    - WLP 8.1 appears to require that I unpack/extract those WARs and mergethe
    portlet.xml and contents of each of those WARs with my existing Portal WAR
    that I want to add those portlets to. Tell me why this is better?
    To your earlier comments made here:
    The pitfall of this approach is that webapps depend on each other towork correctly
    Well yeah, I expect my portal to depend on my portlets - of course.
    which is against the spirit of webapps.I disagree - EARs depend on the WARs within them. Cooperating WARs can
    depend on each other too.
    A deployer should be able to deploy/undeploy any webapp withoutaffecting the functionality of other
    webapps - which would be case in the model you describe.Of course, if you remove a portlet that a portal depends on, I wouldexpect
    it to break .
    In addition, there are security issues that the deployer must be awareof.
    Of course. That's the case with any J2EE deployment no matter how many
    EARs/WARs you're deployiing.
    "Subbu Allamaraju" <[email protected]> wrote in message
    news:[email protected]...
    Joe,
    You can always import any arbitrary webapp using the WLW as a portal
    project, and during that process you'll have the opportunity to
    automatically update the descriptors (and also adding the correct jar
    files). There is no need to hand-merge descriptors unless you want to.
    Subbu
    Joe C. wrote:
    Please tell me it's going to get better.
    That would make sense if one were developing all their own portlets
    for
    their portals.
    But I (and most people I know) as a customer, that needs to aggregate
    portlets from multiple (possibly many) 3rd parties, such as the big 4
    application vendors, am going to need to know how those standardJSR168
    portlets work and are configured so that I can hand-merge them into my
    company's portal?
    As an end user it doesn't really help me that much that I can developmy
    own
    portlets to JSR168. The whole point of JSR168 is that portlet vendorsthat
    build portlets for others to install into their portals will be able
    to
    build one set of portlets that can then be installed in any compliant
    portal. This limitation seems to prevent that from beingcommonplace/useful
    (given how few people are going to know how to do such merges - theyjust
    want to install 3rd party portlets and drop them on pages). I reallyhope
    Workshop provides a user friendly way to integrate such 3rd party
    JSR168
    portlets or WLP will be missing the whole point of having such astandard in
    the first place. I agree with the ISV that started this
    conversation -
    please provide a means for me to install 3rd party portlets withouthaving
    to hand-merge XML configuration files.
    "Subbu Allamaraju" <[email protected]> wrote in message
    news:[email protected]...
    isv wrote:
    From the JSR168 spec, (which is similar to how other portals seem to
    behave
    with their proprietary APIs), a JSR168 portlet application appears to
    be
    a
    WAR with a portlet.xml and web.xml conforming to the requirements of
    the
    spec, that can then be installed in any portal.For all practical purposes, a portal app is a web app, with the only
    differece being the portlet.xml file. So, a portal app contains
    portlets
    in addition to things that typically exist in a webapp.
    How are these two supposed to work together in the WLP env? Say I
    develop a
    couple JSR168 portlets in my own Java environment (emacs :-) and thenWAR
    them up and install them into Jetspeed-2 and another 168 compliantportal
    when available (eg, IBM's 5.something). I believe those would accept
    my
    portlet WAR and keep them in that WAR and just reference them fromtheir
    Portals. How would WL8.1.x handle such development (outside ofWorkshop/WL)
    and deployment to a WL8.1.x portal? Do I have to merge my JSR168
    based
    portlet WAR (and thus a web.xml and portlet.xml merge) into thePortal
    >>>
    WAR
    (eg, if I want to ship a script to deploy my portlet WAR into anexisting
    WL8.1 portal?) or will WL8.1.x be able to reference a Portlet WARoutside of
    a Portal WAR?For WLP, the unit of development/deployment is a webapp. We're aware
    that some implementations (including the ones you mention) follow a
    model where portal deployment involves several web apps with portlets
    aggregated by a portal deployed in one of those webapps. The pitfall
    of
    this approach is that webapps depend on each other to work correctly -
    which is against the spirit of webapps. A deployer should be able to
    deploy/undeploy any webapp without affecting the functionality ofother
    webapps - which would be case in the model you describe. In addition,
    there are security issues that the deployer must be aware of.
    Having said this, if your portlets are already bundled into a WARfile,
    you need to merge the portlets into the portal webapp. Or, you couldlet
    WL convert your webapp into a portal webapp. We don't intend tosupport
    portlet referencing from other webapps.
    Subbu

  • How create XML example file from DTD

    Hi,
    I'm using for good tips/solution (I didn't find anyone) how to create example xml from existing DTD?
    Best Regards,
    Rafal

    Various tools are available generate an XML document from a DTD.
    http://www.eclipse.org/webtools/community/tutorials/XMLWizards/XMLWizards.html
    http://www.altova.com/products/xmlspy/dtd_editor.html
    http://www.stylusstudio.com/xml_generator.html

Maybe you are looking for

  • How to connect and manage multiple devices against one computer/account?

    I have 2 i phones, 2 i Pads and 2 i Touches and need to maintain unique photos/music/apps on each device.  How do I do this using 1 i tunes account and 1 computer?

  • How to create a connection pooling in Netbeans 6.0 using the oracle driver

    hi all, I am using Netbeans 6.0. Apache Tomcat 6.0.14 server, oracle 9i. I tried to create a connection pooling using tomcat web server. I have included the following code in context.xml and web.xml. CONTEXT.XML: <?xml version="1.0" encoding="UTF-8"?

  • What to do with an ISO file?

    I've downloaded a zip file which has expanded to an iso file - I thought i needed to burn it to dvd before opening but nothings happened.... it does look like it hasn't fully uncompressed.... any ideas? Thanks....

  • About lumia 720

    Hi iam Sharath from Nagpur.i heard abut there will be file manager on Lumia 720 after amber update in India..is it true or not iam so curious about it ...

  • Callable Object from another server?

    Is there any way of setting up a Web Dynpro application or component as a callable object in GP that was deployed to a server other than the portal server?  Our WD apps and components will not be living on the portal server but we would like to set t