Sharing portlets across multiple portal applications

Hello all,
I have a single enterprise application that consists of several portal web applications. Most of these portal web applications have common portlets within their codebase. Is it possible to share portlet code across multiple web applications?
Thanks

No, not possible, in the same way that sharing JSPs and Pageflows wouldn't be possible across multiple webapps. You can, however, have multiple portals within one Portal webapp, and then you could share portlets and portlet resources amongst those portals.
George

Similar Messages

  • Authentication Across Multiple Web Applications (Revisited)

              Its been an ongoing battle, but I've made some insight into this situation. The problem stands as it seems impossible to authenticate against one web application deployed as a WAR archive and have that authentication carry across to another web application with the same security constraints. I've been told by BEA that, quote:
              "It seems to me that we are violating section 11.6 of the servlet 2.2 spec which talks about webapps"
              I've also been told that this is fixed in WLS 6.0, reference issue #38732.
              For those of us building production environments using 5.1 instead of 6.0 XML based configuration, this does NOT solve our problem.
              I've dug further into the bowels of 5.1 and found that if you manually set the realm name in the login-config of the security constraint in the web.xml file in each WAR deployment as such:
                   <login-config>
                        <auth-method> [whichever method] </auth-method>
                        <realm-name>WebLogic Server</realm-name>
                   </login-config>
              Authentication will carry across web applications. However, I've noted that the session management then becomes unpredictable. For example:
              I log into the application TESTAPP1 which contains a protected servlet that outputs the session ID and attempts to get the authenticated principal name from the "_wl_authuser_" session variable. Upon first load of the page (after the login dialog box), the session is null [can be fixed with .getSession(true) call instead] and the "_wl_authuser_" object does not exist. Reload the page and the session appears as well as the "_wl_authuser_" object. Strange.
              I then move to TESTAPP2, which does not prompt me for authentication but also is missing the session in the same manner. Upon browser reload, the session is created with a different ID and the "_wl_authuser_" object is now available with the appropriate principal name.
              Upon moving back to TESTAPP1, I am not prompted for authentication however, I am assigned yet another session ID after browser reload, different from the first.
              So it seems that although authentication is carried across web applications, the session IDs as you move from TESTAPP1 to TESTAPP2 change, and then change again but not back to the original when going back to TESTAPP1.
              This is a particular problem since we are using Vignette's V5 as our main client and tracking sessions through V5 - this would quickly become unmanageable if a single page view access three or four different application components with three or four different session ids.
              I'm wondering if we can expect the same behavior from WLS 6.0?
              Ideally, I'd like to see WebLogic use a single session ID to track users across multiple web applications but still have session independence between applications. So if I store something in session in TESTAPP1, its not available in TESTAPP2. Does this outline the behaviour in WLS 6.0? Can anyone verify this?
              Some food for thought. Thanks!
              ./Chris
              Senior Systems Anaylst
              MassMutual Financial Group
              

    Hello! I am searching an answer to this question too!!!
    Did you get some news regarding this item?
    Regards,
    C.M.

  • Webclipping Portlet in Webcenter portal application

    When creating a web-clipping port-let in Webcenter portal application, we register the url for the webclipping portlet (http://localhost:7101/portalTools/webClipping/providers/webClipping) as Oracle PDK Producer connection as mentioned in Web center portal developer's guide http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_pages.htm#CHDJDGIF.
    The content for the web-clipping portlet is to be specified at runtime only.
    Is it possible to define the contents for the web clipping portlet in design time/JDeveloper itself.
    Thanks,
    Navaneeth

    You mean you have exposed the taskflow and consumed it as a portlet in Webcenter ?
    You may want to check it on the Webcenter Portal forum too - WebCenter Portal

  • Session state variables across multiple ApEx applications

    We have a suite of loosely integrate ApEx applications that all share a common authentication scheme. When you first log in we attempt to load a series of session state variables with temporary data to streamline various logging and authentication related activities for the life of the session.
    However, these session variables seem to disappear when you move from one application to another, so they are not truly tied to just the "session" which carries over across all applications, but the application from which the session state is set.
    What is the suggested way, keeping in mind that the data being held may have security related context, to preserve values during a session, but regardless of which ApEx application you are in.
    The method we are using to share the authentication is using a common "Cookie Name" from a common subscribed authentication scheme as suggested elsewhere on this site and seems to work very well outside of this specific issue.
    Thanks in advance,
    Barney

    Apologies for the delay getting back on this.
    My use of the word "disappear" was probably misleading. They were not visible from the second application. When setting "Session State" I was under the impression that it was setting it for the authenticated session, not for the specific application. (I am referring to the: apex_util.set/get_session_state).
    Your solution will work fine, as long as I know which application the user last authenticated against. However, it could be one of over 30 (and growing) different applications which would require me writing a program to go through every "p_flow" to try and find a valid value every time I need to reference the field.
    It would be really beneficial if you could store true Session variables which stay alive for the life of the authenticated session and is available to anything authenticated against that session id. This would streamline alot of cross-application program development.
    The "get/set_session_state" is a misleading as it is not a Session value, but an Application value. The Session exists across multiple applications, while this procedure does not.
    Thanks,
    Barney

  • How to hide a portlet in a portal application

    Hi, there,
    I want to implement a scenario that restrict specific group of users to access specific portlets based on the users' role. For example, suppose that some portlets labelled A1, A2, B1, B2 and B3. Group A users can only access A1 and A2; where group B users can only access B1, B2, and B3.
    Since the Weblogic portal workshop only allows creating portal application by manually adding portlets, and each portlet does not have hidden property.
    How can I hide the portlets (B1, B2, and B3) that are not used by group A users; and hide the portlets (A1, and A2) that are not used by group B users.
    Thanks a lot.

    You need to use the streaming mode and setup entitlements. Search the docs for this.
    You cannot do this through workshop, but rather need to use the portal admin tools.
    Kunal

  • Accessing a portlet from Non-portal Application

    Hi,
    Is there a way to access a portlet in a non-portal application using javascript. The non-portal application may be a PHP one.
    Also, is it possible to send some parameters through javascript so that the portlet can use it and render different content.

    If by domain you mean the accessed url (and not the weblogic domain) , then yes any ajax based solution needs the files to be located in the same domain (as the browser sees it).
    If that isnt the case you
    a. Either use some sort of frames
    b. use a server side proxy
    c. Other loading javascipt based techniques
    Of this b. is the most common , because its pretty simple to do as most modern webservers directly allow you to reverse proxy to any site by simple configuration.
    E.g. if you have PHP on apache as www.youweb.com and your weblogic runs on yourapp.com , you can create a rule on the apache which states that /xyz goes to weblogic (by using the weblogic plugin or mod_proxy). Once you do this , you are running on the same domain as the browser ses and ajax will work

  • Proxy/Provider Portlets on multiple Portal Server Instances

    Hello All,
    I would like to the Pros and Cons for the following architectural scenarios:
    Proxy Portlets and Provider Portlets on the same Portal Server Instance
    Vs
    Proxy Portlets and Provider Portlets on different Portal Server Instances
    Can some one explain me the same?
    Thanks a ton!
    Ananth

    Hi
    This seems like an architecture question. The best place to post this is @ http://swforum.sun.com/jive/forum.jspa?forumID=80
    Thanks
    Srini

  • Reusing a repository manager across multiple portal instances

    Hi everyone
    I am currently implementing a Enterprise Portal, including KM, for a customer. This customer is utilizing two portal instances, one for intranet-users, the other for extranet-users. I am not entirely sure why this approach was chosen, since it was made before I was assigned to this project.
    This customer has an interesting requirement: that both portals will utilize the same file share as a KM repository. The idea is that intranetusers (i.e. salespeople etc) will create KM resources for customers. Resources belonging to a specific customer must not be accessible by other customers. Additionally, there may be documents which is only accessible by salespeople.
    So far we have implemented automated creation of these resources, including setting the authorisation on folder, as well as file level. This works very well when working with a FSDB repository manager on the intranet server. The issue is that the authorisation settings are obviously not reflected on the extranet-portal, since we have not figured out a way of reusing the same repository manager on the other portal.
    My question then is whether it is possible to create an FSDB repository manager on one of the portals and reuse it on the other. This would quite conveniently allows us to reuse authorisation settings across both portals.
    Does anyone know whether this is possible at all?
    If you need more info to answer this, do not hesitate to ask
    Best regards,
    Svein Gunnar Standnes

    Hi Svein,
    as I assume you know, if you use a CM Repository in FSDB mode folders and documents are stored in the file system, but metadata is stored in the database. Integrating a fileshare into two portals as a CM Repository in FSDB mode will lead to serious inconsistencies, as for example one document will have KM properties in one portal but no properties (or other) in the other, different version histories, and many more!
    The only way to integrate in both portals a fileshare would be as a File System Repository Manager in <b>write-protect (read-only) mode</b>. If the repository is not read-only in such a scenario, concurrent updates to a file by different users on different installations can leave the content of the file in a corrupt state.
    So to sum it up, in write mode I would definitely refrain from integrating the file share in two portals!
    Hope this helps,
    Robert

  • Why doesn't Screen Sharing work across multiple displays anymore in Mavericks?

    Hey Guys,
    I'm having a problem with Screen Sharing in Mavericks. It wasn't a problem in Mountain Lion, so I'm wondering if you could help me.
    I use a Mac Pro with multiple displays to connect to another Mac Pro with multiple displays. Here's how it looks at first:
    Two remote desktops shown in one window on one display locally. (Note: there are two different displays connected to this Mac Pro.)
    In Mountain Lion, I used to be able to scale this up across displays. When I do that now, the remote desktop scales down to the lower-left corner. Observe:
    When I mouse over it, there's some screen tearing (artifacts):
    Any ideas?
    Notes:
    Yes, I've Google'd it.
    I don't have Mavericks' multi-display support enabled. I disabled it to spread out Avid Media Composer and Adobe After Effects usage.
    Thank you,
    Isaac T.

    (bump)

  • Sharing Library across multiple machines

    I have a shared network drive in my house and want to have multiple computers (two Macs and one PC) all have access to the same library. I have all of the machines pointing to the same mucis folder so that is not a problem.
    I would like to be able to add music to the library from any of the machines but then be able to update the individual iTunes screens to show all of the music in the folder.
    After putting in several hundred songs and going to each machine and using Add Library (Add Folder to Library on the Windows PC), I now find that I have duplicated the MP3 files in the album directories. The iTunes screens on each computer only shows the songs listed once but the files are duplicated.
    There has to be a way to do this without duplicating all of these files.
    Thanks for any suggestions.
    David

    David,
    there is no auto-sync feature build-in into iTunes.
    As a workaround when adding/importing music put those tracks on a seperate playlist (or use a smart playlist) and export this playlist to a shared folder.
    Then import this playlist on your two other computer.
    To avoid dupes disable in iTunes Preferences Advanced "Copy files to iTunes Music Folder ...."

  • Cookie handling & navigation across multiple BSP applications

    Hi All,
    This is my scenario...
    I have a main BSP application (say YYYY) which is the user login application.  The application class is ZCL_YYYY.  This application will enable the users to login.  This application will show up the list of other applications say (application AAA - class ZCL_AAA, appln BBB-class ZCL_BBB,  etc).  User can click on the application and navigate. 
    I am storing the password in server side cookie and during navigation to other application from my main application I am passing the user id in the URL (like http://....htm&user=mmmm).  The other application will validate the user id against the server side cookie and then proceeds further.  
    I tried using client side cookie but it is working only with in single application but not across applications (I used response->set_cookie in initialization event of main bsp appln and request->get_cookie in the called application in request event). 
    Is there a better way in handling this navigation??.
    My issue is sometimes(very rare cases but still an issue) when the traffic is more, one user is gets the other user's screen, that is when two users click application AAA at the same time, both the users are getting the same information (which is different for different users). 
    Kindly suggest.
    Thanks,
    Krish

    Thanks Raja & Raja...
    In my scenario, the user logging in is the customer (KNA1-KUNNR).  All the BSP application are going to come in with the same SAP user id which is set in SICF.  For SAP transaction user id is going to be SAP-WEB user. 
    The user logs in with the customer number as user id (we have web users for KNA1 created using SU05).  The first will be the login screen where the customer enters his number and password.  The user id and pwd is validated and then the list of applications page will get displayed (as far as SAP is concerned, the transaction is going to come in with SAP-WEB user id).  Once the application is clicked, the password is stored in server side cookie like.. (since SAP user id is going to be same across it was passed as NONE)
      call method cl_bsp_server_side_cookie=>set_server_cookie
        exporting
          name                  = v_customer
          application_name      = 'NONE'
          application_namespace = 'NONE'
          username              = 'NONE'
          session_id            = 'NONE'
          data_value            = v_pwd
          data_name             = 'NONE'
          expiry_time_rel       = 300.
    In the called application, the cookie is retrieved (it should be with in 5 minutes) and validated again with customer id from the URL.  If there is an issue in validation, navigation will go to login page again.
    Thanks,
    Krish

  • Sharing folders across multiple Macs

    Other than an old post about now-defunct iDisk, I don't seem to easily find an answer to this on the boards so am posting my own question.
    I have two Macs – an old MBPro and a newer iMac. The laptop cannot run Mountain Lion as it's too old; both devices now run Lion. Now I want to solve document sharing issues so I don't have to manually manage synchonization.
    I want the content of certain folders on my iMac to be available to both devices (and preferable my iPad/iPhone as well) anywhere I go and have Internet access. Lacking Internet access, I want the last synced version available, and when I'm online again, any changes will be synced back to the cloud.
    I have iCloud service (25GB for $40/year) as well as 100GB Dropbox subscription that costs me $120/year.  I don't think I need both(?)  Using more iCloud storage means that I'd pay $100/year for just 50GB.  So it seems Dropbox is the better deal at least space-for-money-wise.  The initial folder I want to share is about 7GB but I can see this growing as I sync more things.
    I cannot see using simple file sharing from the iMac as it isn't always running; that is, it might be asleep or even powered off.
    Anyone willing to share the "best practice" approach to getting this done in a secure way that doesn't have me worrying about some third-party accessing all the documents?
    Thank you in advance.

    You can use Sugarsync for this, it is free (up to 5GB) and inexpensive if 5G is insufficient.
    Once installed you can choose any combination of folders from one machine for replication on another. Changes made on either machine are reflected on the other. It will work on Macs, PC's IOS and Android devices.

  • JAXB: Shared objects across multiple xsds

    Hi all,
    Have three xsd files which all contain a few shared classes, I use xjc to put each one into a different package, and then of course they're incompatible with each other. I've tried placing all generated code in one package but the object managers aren't created properly. Also tried creating a base class and extending each shared class from there but that didn't work either.
    Does anyone know the best way to do this without manually modifiying the xml?
    Grateful for any help,
    Many thanks,
    Chris.

    That's too bad. Can't you record the update all function, create a batch, and run through all the psd files?
    Btw, the Photoline betas now also include a placeholder layer that instantly updates when the user changes the externally linked file(s). If the file with the externally linked content is open while changing the file(s), Photoline automatically senses the change, and will update accordingly. No need for an update function.
    I wonder if the Photoshop devs could include a similar function for their linked smart objects. It would simplify life.

  • Sharing scripts across multiple computers

    Hi,
    I'm currently working on customizing Bridge (ie. custom file info panel, start-up scripts), but I would like to share the changes I make with a group of users.
    So far, what I've been doing is modifying a start-up script or custom panel, and then sending it to each person, and telling them where on their system to put the file. It would be much easier to have a shared instance of the file, so I could just modify that file directly. Is this possible? (We all have access to a shared drive, but I can't figure out how to get something on that drive to be detected by Bridge)

    Wayne,
    I'm pretty sure there is no way to redirect Bridge and File Info to look elsewhere for custom panels.
    One thing you might consider doing is publishing the shared panels on a web or FTP server on your intranet or on the internet. You could then use the JavaScript web and ftp access tools to write a script that would synchronize the panels in the local folder with panels on the server.
    -David Franzen
    Adobe Bridge Quality Engineer
    Adobe Systems, Inc.

  • Sharing accounts across 2 plan types  - Planning 9.3.1

    This is my first attempt to share accounts across 2 plan types and I am not getting expected results. In the setup, account 1234 was assigned to both Plan A and plan B with the "source plan type" as Plan B. When I create a form for Plan B, everything looks good and I can input data into account 1234. Then I created a similar form for Plan A using the same account. With all other dimensions being the same, I expect that I would see the data input for Plan B, account 1234 in the Plan A form as a read only field.
    Are my expectations incorrect? If so, then I don't understand the benefit of sharing accounts across multiple plan types.
    Any insight is greatly appreciated.

    One benefit would be how you use the same data in one plan type against the other. A simple example:
    Let's say in your example Plan B represents Revenue and Plan A represents Expense - one way some people design Planning applications. Let's also say that your company calculates expense as a percent of revenue.
    The revenue group enters revenue figures into acct 1234 into the Plan B form.
    When the expense group pulls up the Plan A form, which also shows acct 1234 (but as read-only), they can now calculate against it. So an expense user can enter % values into some other acct in Plan A, "Exp % Rev", and have it calculate against the read-only acct 1234 being x-ref'ed from Plan B.
    Plan B Form:
    ___________Jan__Feb
    "acct 1234"_100__100 (input)
    Plan A Form:
    ____________Jan___Feb
    "acct 1234"___100__100 (read-only)
    "Exp % Rev"__5%___5% (input)
    "Rev Exp"_____5____5 (calculated)
    The benefit here is that no data movement or copy is necessary between plan types for this to work, assuming the x-ref is dynamically calculated. Users can see data in both places.
    This is just a simple example, however, and may not make sense in all situations.
    Hope that helps!
    -O

Maybe you are looking for

  • My G5 reverted to factory settings on its own!

    In the middle of a typical day Mail got locked up... I quit it, then quit all other apps and restarted. Now my G5 restored itself to the original factory settings and my mail is nowhere to be found, it wants me to set up all my mail accounts again. A

  • Need help with 3 way call to a 1 for English or 2 ...

    I can do a 3 way with Skype, but the recording I need to have my client listen to is telling me to push 1 for English or 2 for Spanish. Can you tell me how to do this?

  • Anyone know how to fix this error: RROR ITMS-9000: "OPS/ibooks.ncx(5): element "content" not allowed yet

    Trying to publish an iBook and having major problems at the last step.  Here is my error message: Apple's web service operation was not successful                     Unable to authenticate the package: B_SPACE_NUTRITION.itmsp                     ERR

  • Deployment in OBIEE 11g Server

    We are updating from OBIEE 10g to OBIEE 11g (11.1.1.6.4). we have to build the process deployment ( migration) from DEV to QA to PROD. could you please provide related documents/links ( FYI we hav eto use Anthil Pro and version control) Thanks in adv

  • ** Liquid Data 8.1sp2 now available **

    For product: http://commerce.bea.com/showproduct.jsp?family=LIQDATA&major=8.1&minor=2 For documentation: http://edocs.bea.com/liquiddata/docs81/index.html It requires WebLogic Platform 8.1sp2 - http://commerce.bea.com/showproduct.jsp?family=WLP&major