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++;

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

  • 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

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

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

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

  • How do I insert multiple images inline with text in Pages 5.0?

    I have over 20 images in my iPhoto library that I want to insert in a document one after the other (inline with text).
    How do I do this without having to insert them one by one and going into the image options to change the formatting? It's a pain to have to do it this way...
    I tried using the media browser in Pages, but it seems you can only add them one by one. So I exported the pictures from iPhoto into a folder, selected them all in Finder and dragged them onto my document. All the images appeared stacked on top of each other in a random spot on my page. I can't select them all for some reason. So again, I have to click on them one by one to the formatting? Why is this not simpler? Am I missing something?

    If you use the Help in your Pages 5 you will find the followings link http://help.apple.com/pages/mac/5.0/?lang=en#/tanca246d3ac

  • 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

  • Multiple entries "Open With" command after right clicking inline attachment

    In Mail, when I receive an attachment that's open inline in the email, I right click it, and choose "open with", I get a long list of programs to choose from. The problem is, most programs are listed many times. For example, I right click on a PDF, and select "open with" and Quicktime Player.app is listed seventeen times! So what ought to be a list that includes perhaps a dozen entries, is so long I have to scroll through it on a 30" monitor!
    How do I get each application to show up only once on this list?
    Thanks

    Are you using Time Machine to back up your entire boot drive, including your /Applications folder? It's possible that Spotlight is somehow putting all those entries in the Launch Services database.
    I'd recommend:
    1) Going to the Spotlight preferences and adding the Time Machine drive to the "exclude" list, and seeing whether that fixes the issue.
    2) If not, then leave the drive excluded, and try rebuilding the Launch Services database. Here's an article on Mac OS X Hints which shows how to do this on 10.5:
    http://www.macosxhints.com/article.php?story=20071102084155353
    The comment about deleting the launchservices.plist file is because this is definitely an issue with Launch Services (that's what determines what applications can open which files). But deleting the plist file may not be the right way to fix this issue.

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

  • 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

Maybe you are looking for