Multiple portlet instances with public portlet parameter.

If I have a java Portlet with a public portlet parameter, and I put two portlet instance (same portlet) on the same page.
Can page designer assign different value for the public portlet parameter of different portlet instance?
Or the question is:
Is public portlet parameter per portlet definition, or per portlet instance?

Hi Derek,
Let me give it shot. Gurus correct me if I am wrong!!
In an hosted environment we can have multiple Organizations or Organization units that may be catered with a single Oracle9iAS Portal instance. In which case each of these Organizations / Organization units will be Subscribers to the Oracle9iAS Portal and will have an unique Subscriber ID. A company name is a part of the Subscriber profile so a subscriber has a Company that it belongs to. So if the Marketing dept. of a 'X' company is a subscriber to Oracle9iAS Portal, then this Subscriber will have a Subscriber ID associated to it and the Company that he belongs to is 'X'. So we can have a Company who has one or more subscribers to Oracle9iAS Portal.
The distinguished name, or DN, is the identifier for unambiguously referring to a particular entry in the directory. The DN is formed by sequentially connecting all
the individual names of the parent entries of the node, back to the root.
I hope this helps, please get back in case you have any questions.
Take care,
Manoj

Similar Messages

  • JNDI Lookup for multiple server instances with multiple cluster nodes

    Hi Experts,
    I need help with retreiving log files for multiple server instances with multiple cluster nodes. The system is Netweaver 7.01.
    There are 3 server instances all instances with 3 cluster nodes.
    There are EJB session beans deployed on them to retreive the log information for each server node.
    In the session bean there is a method:
    public List getServers() {
      List servers = new ArrayList();
      ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
      try {
       Properties prop = new Properties();
       prop.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
       prop.put(Context.SECURITY_AUTHENTICATION, "none");
       Thread.currentThread().setContextClassLoader((com.sap.engine.services.adminadapter.interfaces.RemoteAdminInterface.class).getClassLoader());
       InitialContext mInitialContext = new InitialContext(prop);
       RemoteAdminInterface rai = (RemoteAdminInterface) mInitialContext.lookup("adminadapter");
       ClusterAdministrator cadm = rai.getClusterAdministrator();
       ConvenienceEngineAdministrator cea = rai.getConvenienceEngineAdministrator();
       int nodeId[] = cea.getClusterNodeIds();
       int dispatcherId = 0;
       String dispatcherIP = null;
       String p4Port = null;
       for (int i = 0; i < nodeId.length; i++) {
        if (cea.getClusterNodeType(nodeId[i]) != 1)
         continue;
        Properties dispatcherProp = cadm.getNodeInfo(nodeId[i]);
        dispatcherIP = dispatcherProp.getProperty("Host", "localhost");
        p4Port = cea.getServiceProperty(nodeId[i], "p4", "port");
        String[] loc = new String[3];
        loc[0] = dispatcherIP;
        loc[1] = p4Port;
        loc[2] = null;
        servers.add(loc);
       mInitialContext.close();
      } catch (NamingException e) {
      } catch (RemoteException e) {
      } finally {
       Thread.currentThread().setContextClassLoader(saveLoader);
      return servers;
    and the retreived server information used here in another class:
    public void run() {
      ReadLogsSession readLogsSession;
      int total = servers.size();
      for (Iterator iter = servers.iterator(); iter.hasNext();) {
       if (keepAlive) {
        try {
         Thread.sleep(500);
        } catch (InterruptedException e) {
         status = status + e.getMessage();
         System.err.println("LogReader Thread Exception" + e.toString());
         e.printStackTrace();
        String[] serverLocs = (String[]) iter.next();
        searchFilter.setDetails("[" + serverLocs[1] + "]");
        Properties prop = new Properties();
        prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
        prop.put(Context.PROVIDER_URL, serverLocs[0] + ":" + serverLocs[1]);
        System.err.println("LogReader run [" + serverLocs[0] + ":" + serverLocs[1] + "]");
        status = " Reading :[" + serverLocs[0] + ":" + serverLocs[1] + "] servers :[" + currentIndex + "/" + total + " ] ";
        prop.put("force_remote", "true");
        prop.put(Context.SECURITY_AUTHENTICATION, "none");
        try {
         Context ctx = new InitialContext(prop);
         Object ob = ctx.lookup("com.xom.sia.ReadLogsSession");
         ReadLogsSessionHome readLogsSessionHome = (ReadLogsSessionHome) PortableRemoteObject.narrow(ob, ReadLogsSessionHome.class);
         status = status + "Found ReadLogsSessionHome ["+readLogsSessionHome+"]";
         readLogsSession = readLogsSessionHome.create();
         if(readLogsSession!=null){
          status = status + " Created  ["+readLogsSession+"]";
          List l = readLogsSession.getAuditLogs(searchFilter);
          serverLocs[2] = String.valueOf(l.size());
          status = status + serverLocs[2];
          allRecords.addAll(l);
         }else{
          status = status + " unable to create  readLogsSession ";
         ctx.close();
        } catch (NamingException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (CreateException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (IOException e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
        } catch (Exception e) {
         status = status + e.getMessage();
         System.err.println(e.getMessage());
         e.printStackTrace();
       currentIndex++;
      jobComplete = true;
    The application is working for multiple server instances with a single cluster node but not working for multiple cusltered environment.
    Anybody knows what should be changed to handle more cluster nodes?
    Thanks,
    Gergely

    Thanks for the response.
    I was afraid that it would be something like that although
    was hoping for
    something closer to the application pools we use with IIS to
    isolate sites
    and limit the impact one badly behaving one can have on
    another.
    mmr
    "Ian Skinner" <[email protected]> wrote in message
    news:fe5u5v$pue$[email protected]..
    > Run CF with one instance. Look at your processes and see
    how much memory
    > the "JRun" process is using, multiply this by number of
    other CF
    > instances.
    >
    > You are most likely going to end up on implementing a
    "handful" of
    > instances versus "dozens" of instance on all but the
    beefiest of servers.
    >
    > This can be affected by how much memory each instance
    uses. An
    > application that puts major amounts of data into
    persistent scopes such as
    > application and|or session will have a larger foot print
    then a leaner
    > application that does not put much data into memory
    and|or leave it there
    > for a very long time.
    >
    > I know the first time we made use of CF in it's
    multi-home flavor, we went
    > a bit overboard and created way too many. After nearly
    bringing a
    > moderate server to its knees, we consolidated until we
    had three or four
    > or so IIRC. A couple dedicated to to each of our largest
    and most
    > critical applications and a couple general instances
    that ran many smaller
    > applications each.
    >
    >
    >
    >
    >

  • Create multiple portal instances with only one database?

    Can someone create multiple portal instances with only one database?
    If so, how is this done, just by running the portal configuration wizard?
    How are most people running with multiple developers working on portal? Do they share a portal instance, or create their own?
    Thank you very much!
    Phillip

    i'm currently using 9ias rel 2(9.0.2) and i have install one infrastructure and two mid tier, hoping that this will create two portal, but it didn't. Can you please tell me how to do create two portal within one server.
    thanks and regards;
    andrew

  • RAC: Multiple Databases / Instances with network seperation

    Dear all,
    We are planning to run our oracle 11g DB on RAC, with two instances both on seperate networks. Is this possible?
    here is what i mean
    Instance 1 including RAC DB is configured in e.g VLAN 12 with subnet 192.168.120.0/24. Instance 2 is configured in VLAN 22 with subnet 192.168.122.0/24. Servers of instance 2 send their data also to instance 1 RAC DB at subnet 192.168.120.0/24. Traffic between them is routed by a Cisco router.
    i searched the net for similar implementations and found a couple of people running similar configurations on RAC,
    but i want to know any downsides/pros cons of running such a setup.
    THanks in advance
    Saad

    Hi Saad,
    The problem in my case is clusterware configuration. While creating the cluster CRS asks for public IP,Private IP and VIP for both nodes. I can do it for one database environment which we call here pre-prod.
    The prod environment also uses the same hardware but is in different subnet and will use same cluster. Can i put vips for that environment when clusterware asks for public ip,private ip and vips.
    Or as you suggested,create cluster using ip of one subnet and create database for it and for second network create just database and in listerner.ora enter vips of prod environment. My current hosts file looks like this
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    #Production
    10.88.118.200 cps-oracle-vip.fedex.com cps-oracle-vip
    10.88.118.201 cps-oracle-1.fedex.com cps-oracle-1
    10.88.118.202 cps-oracle-2.fedex.com cps-oracle-2
    10.88.118.203 cps-oracle-1-vip.fedex.com cps-oracle-1-vip
    10.88.118.204 cps-oracle-2-vip.fedex.com cps-oracle-2-vip
    #Pre-Production
    10.88.119.200 cps-pre-oracle-vip.fedex.com cps-pre-oracle-vip
    10.88.119.201 cps-pre-oracle-1.fedex.com cps-pre-oracle-1
    10.88.119.202 cps-pre-oracle-2.fedex.com cps-pre-oracle-2
    10.88.119.203 cps-pre-oracle-1-vip.fedex.com cps-pre-oracle-1-vip
    10.88.119.204 cps-pre-oracle-2-vip.fedex.com cps-pre-oracle-2-vip
    #Internal
    192.168.101.1 cps-oracle-1-priv.fedex.com cps-oracle-1-priv
    192.168.101.2 cps-oracle-2-priv.fedex.com cps-oracle-2-priv
    Does 11G provide facility to enter multiple vips in CRS.

  • Multiple db2 instances with informix in a single transaction

    Hi All,
    Can somebody tell how this can be achieved.
    I do have 3 db2 instances in three physical mahines. Within a transaction I will
    only be writing to a one instance but will be retieving data from the other two
    instances. In the same transaction I will be writing to a Informix database as
    well. All the systems are on windows.
    The application server is Weblogic 7.02.
    For DB2 the driver is db2jcc driver which does not support XA transactions. And
    for informix we do use the driver which comes along with the informix installation
    which is a XA supported driver.
    We do have seperate TXDatasources created in the Web logic server and EJBs are
    used in the project.
    As welogic can give the XA features only for one none XA driver. How about implementing
    the above scenario.
    Waiting for a early response.

    Hello Sebastien,
    Thanks for your response!!!
    Let me make it bit more clear.In deploymewnt descriptor,we define jndi name for any resource and do a lookup on that resource from the code.
    Let us consider that resource as JDBC data source for our discussion.usually you define any jdbc data source under a JDBC resource provider.
    So my question is,in a single transaction can you access multiple data sources defines under multiple JDBC resource providers.
    Ex:A datasource "x "defined under resource provider "A"[say DB2 jbdc provider] and a datasource "y" defined under respurce provider "B"[say mysql jdbc provider].
    Thanks

  • Inserting multiple subforms instances with app.response on click event.

    I could use some help sorting out this click event. I can't seem to get it to work the way I need it too. I have tried a few different variations with no success. The part I am having trouble with is in the loop and inserting multiple copies based on user input from the app.response event. I have a version of script that works with no loop but that won't allow functionality for inserting multiple instances of the subform. Would appreciate any help figuring out how I can do this.
    var cChoice = app.popUpMenu("Add a blank section",  "Copy this section", "-", "Delete this section");
    if(cChoice == "Add a blank section"){
    ACT.instanceManager.addInstance(1)
    } else if(cChoice == "Delete this section"){
    ACT.instanceManager.removeInstance(this.parent.instanceIndex)
    }else if(cChoice == "Copy this section"){
    var cResponse = app.response("How many instances of this section would you like to insert?",["Copy current section",])
    if (cResponse == null)
    app.alert("No copy of the current section was inserted due to a null response.");
    else
    var i=ACT.instanceIndex
    var j=0
    while(j<cResponse)do
    _ACT.addInstance(1)
    xfa.resolveNode("form1.Subform1.ACT[" +(i+1) + "].Row1.textField").rawValue = xfa.resolveNode("form1.Subform1.ACT.Row1.textField").rawValue

    Hi,
    You code has got a bit mangled , but maybe something like;
    var cChoice = app.popUpMenu("Add a blank section",  "Copy this section", "-", "Delete this section");
    if(cChoice == "Add a blank section")
        ACT.instanceManager.addInstance(1)
    else
    if(cChoice == "Delete this section")
        ACT.instanceManager.removeInstance(this.parent.instanceIndex)
    else if(cChoice == "Copy this section")
        var cResponse = app.response("How many instances of this section would you like to insert?",["Copy current section",])
        if (cResponse == null)
            app.alert("No copy of the current section was inserted due to a null response.");
        else
            var i=ACT.instanceIndex
            var j=0
            while(j<cResponse)
                var act = _ACT.addInstance(1)
                act.Row1.textField.rawValue = xfa.resolveNode("form1.Subform1.ACT.Row1.textField").rawValue
                j++;

  • BlazeDS, multiple Module instances with Consumers issue

    I have an application that can load multiple instances of a module. The module has a consumer that connects to a destination and listens for messages pushed from a JMS topic. In order for me to be able to load and unload multiple instances of the module I'm appending a uid to the url of the swf. When the first instance of the module is loaded everything works as expected and the consumer successfully subscribes to the destination. However, if a second instance of the module is loaded the consumer fails to subscribe and I see the following error in the server log:
    [#|2010-10-28T15:05:33.666+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;|
    [BlazeDS]10/28/2010 [INFO] [Endpoint.General] Channel endpoint channel-streaming-amf received request.|#]
    [#|2010-10-28T15:05:33.671+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1-in-streaming-mode;|
    [BlazeDS]10/28/2010 [WARN] [Endpoint.StreamingAMF] Endpoint with id 'channel-streaming-amf' received a duplicate streaming connection request from, FlexClient with id '4CA3967A-071C-AB24-D5B9-CAB9D20F14B5'. Faulting request.|#]
    [#|2010-10-28T15:05:33.671+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;|
    [BlazeDS]10/28/2010 [INFO] [Endpoint.FlexSession] Number of streaming clients for FlexSession with id '3275dcec0f5dc0c30a7381fa6044' is 0.|#]
    [#|2010-10-28T15:05:33.672+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;|
    [BlazeDS]10/28/2010 [DEBUG] [Endpoint.StreamingAMF] Number of streaming clients for endpoint with id 'channel-streaming-amf' is 0.|#]
    [#|2010-10-28T15:05:33.673+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container. web|_ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=96f36b13-0da4-49ad-b788 -bc6d1413da3b;|StandardWrapperValve[MessageBrokerServlet]: PWC1406: Servlet.service() for servlet MessageBrokerServlet threw exception
    java.lang.IllegalStateException
    at org.apache.coyote.tomcat5.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:449)
    at flex.messaging.endpoints.BaseStreamingHTTPEndpoint.handleFlexClientStreamingOpenRequest(B aseStreamingHTTPEndpoint.java:732)
    at flex.messaging.endpoints.BaseStreamingHTTPEndpoint.serviceStreamingRequest(BaseStreamingH TTPEndpoint.java:1022)
    at flex.messaging.endpoints.BaseStreamingHTTPEndpoint.service(BaseStreamingHTTPEndpoint.java :430)
    at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.jav a:427)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:333)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncoding Filter.java:88)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76 )
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:28 7)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProces sorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorT ask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTas k.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultRead Task.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106 )
    |#]
    Can anyone explain to me what is happening here and suggest a solution please? I'm not sure if it's a BlazeDS issue or a Flex Module issue but I can't seem to find any references to this issue and the last 2 days have been spent trying to resolve this without any success.
    Any help appreciated.
    If I don't append the uid to the module url then the consumers subscribe as expected but then I'm unable to unload individual instances of the module as they all share the same url property.
    Thanks in advance.

    I have similar problem, but I don't understand your solution.
    Hypothetically, let’s say I use 2 separate sets of Consumer/Producer components in my flex app.
    There is no problem with connecting first set of Consumer/Producer to a particular channel.
    For second set of Consumer/Producer I create new ChannelSet  and new StreamingAMFChannel instances (but the channel has the same URL as the one used in first set, because I want to use the same channel).
    When I try to connect another set of Consumer/Producer to the same channel I get the error on BlazeDS: "... Endpoint with id 'streaming-amf' received a duplicate streaming connection request from, FlexClient with id ..."
    There is no such problem when I define additional channel in BlazeDS configuration an use this new channel with second set of Consumer/Producer components. This solution requires this additional channel so it’s not fully satisfying for me.
    Could you post some code samples of your solution or describe it in more detail?
    I will be grateful for any useful tips.

  • Multiple Lync instances with instance reporting and centralized reporting

    Hi everyone,
    This is my first post here and I guess I'm looking at a very particular situation but I would like to know if anyone ever attempted to implement a similar environment...
    So we are looking at using Lync for webchat and internal communications. The product in general seems to meet our requirements but I would have an extra question for reporting.
    The thing is we would like to have multiple instances of Lync to segregate users and the pools of users.
    We would like to have a central Lync server that has our company users. 
    Then we would have many Lync servers of independent companies that could communicate with the central server, but could not communicate with each other. 
    So we would like to know if it is possible to provide all those independent companies with their own reporting that would only show them their own data, and have a central reporting hub with data from all the instances centralized in a single server.
    I was wondering if it was possible to do with an existing product, or with log shipping in a special instance of SQL server that would get all the information from all different instances. Then we would connect to that instance?
    We do not have a lab right now but I'm working on getting it done, but if anyone did anything that is similar, I would love to get some input on this.
    Thanks,

    Would the separate companies administer Lync independendly or would you?
    In this situation, I'd actually suggest Office365/Lync Online.  However, that said:
    If they need to administer Lync, you may want to look at the now dead Lync Hosting Pack. 
    If you're going to administer, and they absolutely can't talk to each other, you could set up multiple pools each sending monitoring archiving data to their own copy of SQL and set up an ethical wall or MSPL script to keep them from chatting. 
    Check out Matt Landis' blog:
    http://windowspbx.blogspot.com/2012/07/controlling-who-has-what-access-to-who.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Multiple Java Instances with Workspace Studio 1.1

    When I launch my WebLogic server with Workspace Studio 1.1, I now see two instances of java.exe instead of the one that previously was launched from 9.2.1 Workshop.
    Does anyone know why, or if this can be re-configured? Several GB's of RAM are being used.
    Chris

    Are you launching the same version of the server as before? Workshop just calls the domain's start script. Try closing workshop and calling the start script from the command line. How many java processes do you see now?
    - Konstantin

  • How to serve multiple weblogic instances with a single apche server

    Can any body let me know how to make use of an apache server to serve 2 weblogic
    instances.
    Thanks in advance
    damodar

    Yes, the documentation explains how to do this:
    http://e-docs.bea.com/wls/docs61/adminguide/apache.html
    Regards,
    Eric
    "Damodar" <[email protected]> wrote in message
    news:3c23ccb9$[email protected]..
    >
    Can any body let me know how to make use of an apache server to serve 2weblogic
    instances.
    Thanks in advance
    damodar

  • Portlet Instance Identifier.

    Hi All,
    It is my understanding that the when we put portlet into a desktop(as a part of
    creating desktop either from ".portal" template OR by way of assembling), specific
    portlet instance will be uniquely identified by its instance ID.
    If we have to attach some properties for this portlet,which would help in achieving
    some business functionality, we can use instance ID as identifier in our applicaton
    specific table to store/retrieve the values.
    Can somebody validate this??
    TIA,
    Prashanth Bhat.

    Thanks for the reply. I have gone through the article on portlet preferences by
    Subbu. But some of the things are clear and some are not.
    1. As per Subbu, we cannot depend upon Instance IDs. That means we cannot have
    this as PK to store data.
    my comment : If this is the case, then what is the unique identifier of portlet
    instance??.
    2. Subbu says that to store any application specific data these are to be followed
         Setup:
    o     Add a preference to your portlet. This preference will act as the primary key
    to your portlet’s application data. Assign a default value for this preference.
    o     Create tables in your database to store application data with the value of the
    preference as the primary key.
    ·     In your portlet:
    o     When you want to associate application data with the current portlet instance,
    check the value of the preference. If the value is the default, generate a new
    value (for example, using a sequence number generator), and set this as the value
    of the preference, and store the preference.
    my comment: If the portlet instance ID gets changed, then how can we retrieve
    this PK (for application data) at later point of time. And also, only a specific
    user who has stored a value can only retrieve. But if i want application data
    not for each user but for whole portlet itself, then how can i use this??
    o     If the value of the preference is not the default, no need to generate a new
    value.
    o     Now store your application data using the value of the preference as the primary
    key.
    my comment : If this is possibility, then if portlet is designed to serve many
    users and configured by a admin,
    in such cases, how can we tie the portlet instance with application specific data??
    As the storing is very much tied to a user, if application data is not for
    a user rather for all the users and the admin user configures/stores what
    to be displayed for a user. In such cases, WLP user has left with no choice
    to store any application speific data as we cannot depend on portlet
    instance.
    Hope,somebody answers this.
    Thanks,
    Prashanth Bhat.
    "Prashanth " <[email protected]> wrote:
    >
    Thanks Dennis - I got it on how to duplicate the portlet.
    "Dennis" <[email protected]> wrote:
    I have a base sp2 instatllation too. The duplicate functionality is
    not on the
    portlet page itself, but on the 'All portlets' page where it lists all
    the portlets
    in the library. On the right there is a duplicate button for each portlet.
    Wrt. your question about preferences, given your use case, I don't believe
    the
    API currently supports it and only supports the scenario where the preference
    is tied to the user, rather than the portlet.
    "Prashanth " <[email protected]> wrote:
    Thanks for the reply. I am using Portal 8.1 SP2. There is no possibility
    of duplicating
    the portlet definition through portal admin tool (from library) .
    I am wondering whether this is available in SP3 ?? OR should I apply
    some patch
    to get this functionality??
    Pls direct me on this.
    Thanks,
    Prashanth Bhat.
    "Dennis" <[email protected]> wrote:
    If each documentum portlet should be different from others, and allbased
    on the
    same template, you may look at creating new definitions in the admin
    t
    ool. In
    the portal tab, click on library, and then 'All Portlets', on thispage,
    you will
    be able to duplicate portlets. This will make a duplicate definition
    rather than
    a duplicate instance. You can then use the definition id to persist
    data against.
    I think preferences could also work for you, since there appears tobe
    several
    levels of scope you can set the preference at in portal. For example,
    you can
    set them in the admin tool and make them read only, thus all instances
    and children
    of those instances will inherit the preferences of the definition.
    Dennis
    "Prashanth " <[email protected]> wrote:
    Thanks for the reply and clarification. I would explain our scenario:
    We have a portlet which is interacting with Documentum. This has
    been
    designed
    as a very general and configurable portlet. This portlet has to bring
    all the
    documents from Documentum from a specific folder. The folder namehas
    to be a
    configurable property and will be set by so called Content Administrator.
    Depending on the folder for which a portlet is mapped to,the end
    user
    gets documents
    accordingly.
    I have used portlet preference for this, but it will not work properly.
    The reason
    for this is that, content admin will set the values for this preference
    where
    as this has to be used by all the users.
    As portlet preferences values are stored as user specific(the onewho
    saves can
    see his value and not by anybody else), I cannot use this feature.
    Based on the above scenario, can you pls suggest me what is the best
    way to do
    this??
    Thanks in advance,
    Prashanth Bhat.
    "Dennis" <[email protected]> wrote:
    It's a bit more complicated than that. The scenario you state is
    true
    for non-personalized
    desktops. As soon as you start personalizing it, the framework
    creates
    a 'child'
    portlet with a new instance id that has the original portlet instance
    id as its
    parent. Thus, if you use the instance id, and you do not checkto
    see
    if the
    portlet id is a child or parent id, you could become unstuck.
    Added to this, a document about portlet preferences by Subbu on
    dev2dev
    stated
    that the portal framework could change the the portlet instanceid
    at
    any time.
    Unfortunately the article did not go on to list an exhaustive listof
    situations
    in which this occurs. The only assumption we can make is thus thatthe
    portal
    framework will take care of dependencies on the instance id that
    it
    knows
    about,
    which in your case won't help because it does not know about your
    new
    instance
    id -> properties relationships.
    You might consider using the definition id to match properties against,
    or you
    might use portlet preferences.
    Cheers
    Dennis
    "Prashanth " <[email protected]> wrote:
    Hi All,
    It is my understanding that the when we put portlet into a desktop(as
    a part of
    creating desktop either from ".portal" template OR by way of assembling),
    specific
    portlet instance will be uniquely identified by its instance ID.
    If we have to attach some properties for this portlet,which wouldhelp
    in achieving
    some business functionality, we can use instance ID as identifierin
    our applicaton
    specific table to store/retrieve the values.
    Can somebody validate this??
    TIA,
    Prashanth Bhat.

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • Multiple Database Instances on Single Server and effect of NLS_LANG

    What is the effect of the NLS_LANG registry setting on a Windows server that is to host multiple database instance each created with a different database character set ? The server needs to support data in the following languages : Thai, Chinese Traditional, Chinese Simplified, Vietnamese and Korean. Selecting the Unicode character set(AL32UTF8) is not an option since the application is not Unicode complaint.
    My understanding is that as long as NLS_LANG is set correctly on the client connecting to the particular database instance then the data will be stored correctly - is this correct ?
    What should NLS_LANG be set to on the server if there are multiple oracle instances with different character sets ?

    My question is not in relation to connecting to the database on the server itself but with regards to client connections. What I need to know is what is the effect of the NLS_LANG setting in the registry on a server that has multiple databases each created with a different character set ?
    Say for instance, the server has two databases - one created with the character set ZHS16GBK and the other created with the character set JA16SJIS and NLS_LANG is set to SIMPLIFIED CHINESE_CHINA.ZHS16GBK in the registry on the server. Will Japanese data that is inserted into the database that has character set JA16SJIS be stored correctly when it is inserted from a client with NLS_LANG set to JAPANESE_JAPAN.JA16SJIS even though NLS_LANG is set to SIMPLIFIED CHINESE_CHINA.ZHS16GBK on the server ?

  • Multiple BW Instance question

    Getting lost wading through the plethora of information available, so any direct pointers to information that directly addresses the following would be appreciated, in addition to any direct answers of course!
    Consider a multiple BW instance, with a staging layer, and integration layer, and multiple analytic layers (one large one, and a couple smaller ones that operate at different service levels).
    If we upgrade staging to 3.5, do all the rest have to tag along (staging feeds integration and one other, integration gets data from staging and feeds all the rest).
    If we upgrade to 7.0, or whatever they are going to call it, will every system have to upgrade, or are the BW to BW connections backwardly compatable.
    Major reason for considering this architecture is the ability to have a couple target BW's at higher or lower releases/service pack levels as warranted by the specific applications using them (e.g. SEM wanting SP's faster than the uber BW can test and apply them).   However, if we have to keep all systems in synch, then this is NOT a viable option.
    Mark Marty
    EBIS Architect
    Mckesson

    This is based on some work being done by another member of the Terabyte club, and we have similar sized landscapes.
    The key concerns are, with a single instance of BW, and ~ 10M rows of raw transactions migrating into the system each night (SD - BO, DD, SO's, MM, COPA, it all adds up), it is not clear to us that BW could handle all data rationalization, transformation and dissemination tasks. We have significant legacy transactions and master data that needs to be merged with a good portion of the R/3 data.
    In our current environment, 90% of this is done outside of BW, using Datastage and a Data Provisioning Area.  Even with sending only clean, merged, ready to load to target data, our load windows are increasing, and our backup window is scary.
    This new effort is an attempt to separate key data needs so that certain things that need to be more responsive can be made available earlier.  Additionally, this landscape is going to test out and prove or disprove the ability to do this volume of ETL wholly within a BW environment, rather than leveraging on other marketplace tools and techniques.  Needless to say, this is a hot topic, internally we have a slant towards best in breed, and consultatively everyone wants it all to be the SAP suite of tools.   Hence, we will build it and see.
    Splitting Staging from Integration is not necessary (likely) from a purely technical need, however it has proven useful at another company, and we are going to explore it and determine the efficacy ourselves.

  • Searching Multiple Process instances

    Guys,
    is it possible to search for multiple process instances with a singly search query.
    I need to search for all instances for process TestProcess1 & TestProcess2. Can i avoid calling the connectTo method twice.
    pName = /TestProcess1
    connectTo bp
    using url = Fuego.Server.directoryURL,
    user = user_name,
    password = password,
    process = pName

    Try this logic to hit the ProcessService component if you want to hit multiple processes. Included in this are two different techniques (see "loop 1" and "loop 2") for its use.
    Note the "finally" ("on exit") logic at the bottom to disconnect. Don't forget to do this when using ProcessService.
    do
      connectTo ProcessService
          using url = Fuego.Server.directoryURL,
          user = "test",
          password = "test"
      inboxViewId as String = "unified_inbox"
      inbox as Fuego.Papi.Instance[]
      inbox = getInstancesByView(ProcessService, viewId : inboxViewId)
      // loop #1
      for each instance in inbox do
        logMessage "Here's an instance found in the inbox: " + instance.id
      end
      instF as InstanceFilter
      create(instF, processService : ProcessService)
      addAttributeTo(instF, variable : "customerType", comparator : IS, value : "Gold")
      instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS)
      // loop #2
      for each inst in getInstancesByFilter(ProcessService, filter : instF) do
        instanceVarValue2 as Object = getVar(inst, var : "orderAmount")
        logMessage "amount is: " + Decimal(instanceVarValue2);
      end
    on exit
      disconnectFrom ProcessService
    endDan

Maybe you are looking for

  • Need help installing Virtual box Windows VM's

    I am installing virtual box on wife's mac.   I got the instructions here: http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/ I did it previously and it all worked well. Recently the windows session license expired so I reinst

  • Recently my contact card was changed to make my name into a vulgar statement.

    Recently my contact card was changed to make my name into a vulgar statement. I only noticed this when I went to go send an email, and the incorrect name popped up. There is a SLIM chance someone hacked into my contacts since everything is password p

  • How do I complain about ios8

    Ive been using my iPad, iPhone and imac really succesfully until I made the mistake of downloading ios8. It isn't fit for purpose. Both my iPad and iPhone keep crashing. I had to restore my iPhone and have lost a lot of data. My question is how do I

  • HTTP XI SOAP Scenario problem

    Hello, Via an HTTP client (wfetch) I am trying to send a payload to a WebService I generated from the XI system(using the wizard). The log from the http client is as follows: <u><u>started.... WWWConnect::Close("16.16.158.134","8000")\n closed source

  • Use of change log

    Dear Experts, Could you give some clues as to how change log is used . When do you pull data directly from it and what mechanism is used for pulling data from change log. Thanks, Suzie