Use a second instance of Python

Hi.. I hope that what i'll write won't be silly.. I need to run  a program that require a python interpreter with support for unicode UCS4. The python interpreter that is release with archlinux has support for UCS2 instead. I noticed a bug ticket where a user asked to release python recompiled with this support, but a guru aswered him that is not possible.
So, i've got this idea. I compile from source another python interpreter, install it in another path and tell to the app to use this interpreter and not the default..
Is it possible? Anyone could give me any tip?
Thanks

Malo wrote:Ok.. it's exactly what i'vo done. But how to start the app with this different version of python?
I think the best way would be using the shebang at the start of the script:
#! /somedir/python-ucs4
Change it to reflect the desired python's directory. This way bash will try to execute the script using the pointed python installation. Hopefully.
Last edited by BoppreH (2009-02-10 15:49:50)

Similar Messages

  • Problem with second instance of access manager

    Well, after sorting out things with the first install of access manager, I went on to install a second instance on a different host (it's required for delegated admin..)
    Here are the options I used on install:
    Access Manager: Administration (1 of 6)
    Administrator User ID: amAdmin
    Administrator Password [] {"<" goes back, "!" exits}:
    Retype Password [] {"<" goes back, "!" exits}:
    LDAP User ID: amldapuser
    LDAP Password [] {"<" goes back, "!" exits}:
    Retype Password [] {"<" goes back, "!" exits}:
    Password Encryption Key [gFoe4t8UlUW3wEApngAY3S8bCQFVMlGk] {"<" goes back,
    "!" exits}: weW5jtopMLQsODiBZDp+hlEp1/CtbiXX
    Install type (Realm/Legacy) Mode [Legacy] {"<" goes back, "!" exits}:
    Access Manager: Web Container (2 of 6)
    1. Sun Java System Application Server
    2. Sun Java System Web Server
    Select the container to deploy the component and hit enter key [2] {"<" goes
    back, "!" exits}
    Access Manager: Sun Java System Web Server (3 of 6)
    Host Name [zone2.corenode.com] {"<" goes back, "!" exits}:
    Web Server Instance Directory [opt/SUNWwbsvr/https-zone2.corenode.com] {"<"
    goes back, "!" exits}:
    Web Server Port [80] {"<" goes back, "!" exits}:
    Document Root Directory [opt/SUNWwbsvr/docs] {"<" goes back, "!" exits}:
    Secure Server Instance Port [No] {"<" goes back, "!" exits}:
    Access Manager: Web Container for running Access Manager Services(4 of 6)
    Host Name [zone2.corenode.com] {"<" goes back, "!" exits}:
    Services Deployment URI [amserver] {"<" goes back, "!" exits}:
    Common Domain Deployment URI [amcommon] {"<" goes back, "!" exits}:
    Cookie Domain(Assure it is not a top level domain) [.corenode.com] {"<" goes
    back, "!" exits}:
    Administration Console [Yes] {"<" goes back, "!" exits}:
    Console Deployment URI [amconsole] {"<" goes back, "!" exits}:
    Password Deployment URI [ampassword] {"<" goes back, "!" exits}:
    Access Manager: Directory Server Information (5 of 6)
    Directory Server Host [] {"<" goes back, "!" exits}: zone1.corenode.com
    Directory Server Port [] {"<" goes back, "!" exits}: 389
    Directory Root Suffix [dc=corenode,dc=com] {"<" goes back, "!" exits}:
    Directory Manager DN [cn=Directory Manager] {"<" goes back, "!" exits}:
    Directory Manager Password [] {"<" goes back, "!" exits}:
    Access Manager: Directory Server Information (6 of 6)
    Is Directory Server provisioned with user data [No] {"<" goes back, "!"
    exits}? Yes
    Organization Marker Object Class [sunISManagedOrganization] {"<" goes back,
    "!" exits}:
    Organization Naming Attribute [o] {"<" goes back, "!" exits}:
    User Marker Object Class [inetorgperson] {"<" goes back, "!" exits}:
    User Naming Attribute [uid] {"<" goes back, "!" exits}:
    Yes, I am using the same key as was used on host1 for access manager. Yes, access manager on host 1 is quite functional right now. Yes, that directory server works. Now I'm really stumped on what to do! Everything in JES seems to work great except access manager, the exceptions it throws really don't help any at all in troubleshooting.
    Any ideas?

    More info from error logs:
    # pwd
    /var/opt/SUNWam/debug
    # tail -200 amAuth
    04/12/2006 09:56:47:127 AM HST: Thread[main,5,main]
    ERROR: AuthD failed to get auth session
    04/12/2006 09:56:47:165 AM HST: Thread[main,5,main]
    ERROR: AuthD init()
    com.iplanet.dpro.session.SessionException: AuthD failed to get auth session
    at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:709)
    at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
    at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:494)
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    # tail -200 amSession
    04/12/2006 09:56:47:098 AM HST: Thread[main,5,main]
    ERROR: SessionService.SessionService(): Initialization Failed
    com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:350)
    at com.iplanet.dpro.session.service.SessionService.<init>(SessionService.java:1540)
    at com.iplanet.dpro.session.service.SessionService.getSessionService(SessionService.java:382)
    at com.sun.identity.authentication.service.AuthD.getSS(AuthD.java:685)
    at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:706)
    at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
    at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:494)
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    04/12/2006 09:56:47:126 AM HST: Thread[main,5,main]
    ERROR: Error creating service session
    java.lang.NullPointerException
    at com.iplanet.dpro.session.service.SessionService.generateEncryptedID(SessionService.java:588)
    at com.iplanet.dpro.session.service.SessionService.generateSessionId(SessionService.java:612)
    at com.iplanet.dpro.session.service.SessionService.newInternalSession(SessionService.java:557)
    at com.iplanet.dpro.session.service.SessionService.getServiceSession(SessionService.java:501)
    at com.iplanet.dpro.session.service.SessionService.getAuthenticationSession(SessionService.java:408)
    at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:706)
    at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
    at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:494)
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    #

  • Closing the Second instance of the browser.

    Hello,
    I am working on a project written in Java. When applet is running in Browser, we can open the new instance of the browser using File->window->new (or pressing CTR-N). Since the second window runns in the context of first window, It is causing some problem.
    Is there any way for me to close the second instance of the browser from my Java applet?? If not is there any way for me to disable both the File->new->Window and CTR-N options.
    I am new to java and java script. If it is not possible in Java Applet, is it possible in java Script. Please Provide me with full information.
    Thanks and Regards,
    Ratna.

    Hi,
    There is no way you can close the browser window that the user opens. Even if there is a way through some hack, it will not completely give u a solution, independant of browsers and all. And moreover it is not advisable to restrict the user like that.
    A more elegant way would be to handle it in the server side. I can give u one ligical way. U can make the page expire as soon as it gets loaded. U can do that by using the code below. And you have to have a server side function to check for a request from the same client machine for the same page.
    <%
        if (request.getProtocol().compareTo("HTTP/1.0") == 0)
            response.setHeader("Pragma", "no-cache");
        else if (request.getProtocol().compareTo("HTTP/1.1") == 0)
            response.setHeader("Cache-Control", "no-cache");
        response.setHeader("Expires", "-1");
    %>So when the user opens a new browser window, he will be shown page expired message, or the page will be requested again from the server. U can have a map storing the remote address and the session of the user.

  • 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

  • How do I create a second instance of oc4j in a standalone enviroment

    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Phil

    jphilb wrote:
    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Philgday Phil -- Melli Annamalai from the Oracle Server PM team pointed me to your question. I was an OC4J Product Manager before we bought out BEA and I swapped over to WLS -- so I have some information below that hopefully is of assistance to you.
    Since you are using OC4J standalone, the simplest way to get a second instance, is to just clone the existing, whole directory structure of your working OC4J instance into another directory, and configure/run it from that directory. To map the OracleSemDS to another target (QAR) you change the data-sources.xml file in the second instance. If you want to run them concurrently on the same server, you'll need to change the ports in the second instance so they have unique values: default-web-site.xml, rmi.xml, internal-settings.xml, jms.xml. These additional ports can be specified on the command line as a Java property string, albeit this is not a documented nor supported feature. See http://buttso.blogspot.com/2007/02/specifying-oc4j-standalone-ports-from.html for more information.
    Now as an example, assuming you have your OC4J you want to clone in the dev directory, and now want to create a second instance of OC4J in qar, I'd do this:
    cp -rp dev/* qar
    cd qar/j2ee/home/config
    vi data-sources.xml
    (edit any other files if needed to alter ports) ...
    cd ..
    java -jar oc4j.jar That should work, and should create the second instance using the current configuration (ie dev) as its basis (including deployed apps). Of course, you'll need to manage them independently from here as they really are just two separate OC4J standalone instances.
    Now what else you could potentially do is to create a secondary configuration file subset only which only changes the necessary files to support running the second instance. In this case, you'd make a copy of the j2ee/home/config/server.xml, j2ee/home/config/application.xml and j2ee/home/config/data-sources.xml files, renaming them to qar-server.xml, qar-application.xml and qar-data-sources.xml.
    Then do the following:
    1. In qar-server.xml file, you'd change the global-application application to point at qar-application.xml instead of application.xml:
    <global-application name="default" path="qar-application.xml" parent="system" start="true" />
    2. Change qar-application.xml so that it used the qar-data-sources.xml file:
    <data-sources path="qar-data-sources.xml" />
    3. Change qar-data-sources.xml file so it points to the qar database target.
    4. Start OC4J, telling it to use qar-server.xml instead of the default server.xml
    D:\java\oc4j-10135-prod\j2ee\home>java -jar oc4j.jar -config config/qar-server.xmlI think you could run into some concurrency problems if you try and run the two instances simulataneously, but in general it should be OK I think if you run them separately.
    Another solution here is look at how the application specifies/uses datasources. The hard coding of the data-source name into the applicaiton via a direct JNDI lookup works, but restricts the flexibility you as a deployer/administrator has.
    If the application used the Java EE resource-ref approach to look up and use the datasource, then the actual JNDI name of the datasource the application uses it totally abstracted from the actual physical name of the datasource that is created on the container -- so you'd have DEVDS and QARDS as physical datasources configured and running on OC4J -- and what happens is that as you deploy the application, you essentially map its lookup and use of OracleSemDS (which would need to change to a java:env/ namespace) to the physical datasource you want it to use (DEVDS or QARDS for example). You can easily alter this post deployment by changing the generated orion-application.xml file to point at the alternate physical datasource. Following that, you can also create separate deployment plans which map the app to the different datasources, then feed this in with the deployment operation so that the correct mapping to either DEVDS or QARDS is done during the deployment process.
    I don't know what scope you have to change the application so the above may not be possible -- you'd need to change the lookup code so that it uses the Java EE reference model and change the meta-inf/application.xml to add the corresponding resource-ref entry which declares the logical datasource name that needs to be mapped on deployment.
    Another approach here may be to use an application embedded datasource, where you put a data-sources.xml file into the application archive itself (along with an orion-application.xml file which references it) whereupon at deployment time, a datasource specific to the application will be created. In this manner, you'd have say two copies of the same application to deploy (DEV, QAR) which contain different data-sources.xml file. From memory, each application will have its own JNDI namespace so their datasources can co-exist with the same names, with application level data-sources overriding server level ones. Since you'll most likely want to keep the same context-root for the web modules (which has to be unique per server) you'll generally need to run just one of the applications at a time. I'd do this like this: deploy one, stop it, deploy the other, stop it, then start only the one you need to test. In that way, you'll have one copy of the application running (either DEV or QAR) and one datasource definition running within it.
    Here's some documentation links to get you going:
    Managing Application Lifecycle (start, stop): http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13978/adminclient.htm#BABHJAFE <-- describes admin_client.jar but general principles apply to ascontrol management of application.
    Packaging and Testing Applications: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13979/packag.htm#BHCFBEEC
    Application Level DataSources: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/datasrc.htm#CHDIBFHG
    Using Deployment Plans: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13980/deployplan.htm#CHDFEFAE
    cheers
    -steve-

  • Applet overwritten when second instance initialized ?

    Hi
    When I try to initialize a second instance of an applet using IE(one instance is already running), I find that the first applet is overwritten by the second. This should not have been a problem, but my applet launches a password verification dialog box in the start method, and this is not destroyed when the second applet comes up, resulting in 2 of these dialog boxes. Result is, that if you close the second applet dialog box(ie, destroy the applet), and then enter the right password in the first dialog box, it causes the backend program to crash.
    The Java Console shows that IE calls the 1st applet's stop/destroy/quit etc. methods, but they are not executed before being overwritten by second applet, hence destroying the dialog box in destroy() doesn't work. So, is there any way I can destroy the 1st applet before the second is loaded, or prevent second from being loaded?
    Thanks
    Santosh

    Hello Santosh,
    I have had many difficulties with this kind of problem in the past. The only way to gurantee that this will work is by making the Server more resilient.
    Calin's suggestion is good. However, unfortunately, IE manages Applets in a very funny way. The fully qualified name of the Applet class depends on the window you opened the original Applet with (much like having loaded the same class with different ClassLoaders). This means that using static instance variables works in a very ad-hoc manner. Sometimes you get the result you expected, sometimes you don't.
    IE also breaks the expected functioning of init/start/stop/destroy. If you keep on openning your applet HTML page, you will get the same number of concurrent applets all running on top of each other, until you close all browser windows.
    If you have control over the Server process, make the start() method request a unique ID from the Server. After this, all subsequent calls from the Applet should be preceeded by this unique ID. The server should then listen for communication for each ID it has dispatched, up until a given timeout period, when it renders the ID invalid.
    HTH,
    Manuel Amago.

  • Create a second instance by DBCA

    I have a simple RHEL3 box with 1 G memory, I had used the DBCA to install a database, 10g r2, on it. How can I use the DBCA to create a second instance on the same DB? Someone´s thread said it can, But when I run the dbca, there is no place I can pick to create second instance, all I have is to create another database and next. My oracle was 10g r2 (10.2.0.1) SE1 version downloaded from Oracle. Is a problem with my original download copy or setup of the dbca? Thx.
    Chi

    Thanks Kuljeet. I think I missed that part of fundamentals. So how about the second schema vs second instance? Some users said that the second instance will need more overhead for oracle structure. and many experienced users said that second schema on the same instance is bad idea. The reason I want is to separate the test part of the database operation to a second environment (not sure it is a good word). So the management of Oracle will be simpler. My 10g r2 is part of BAAN erp application, BAAN uses Oracle as a data/index storage only, Most of the processes is around running SELECT, UPDATE and INSERT sql (developed from BAAN´s 4G script). No procedure, no function, no trigger or any other involved. However, during the set-up of the BAAN, contractor created a test set of database, then repeated the data/index tables to a prod set. So that our BAAN users can test some processes and move that processes to prod.

  • Creating second instance 10g (non rac)

    We are 10G 64bit on a Windows/VM box - or will be:)
    Is it possible to create multiple instances of oracle on a single server?
    Generally speaking - would I create the second instance just like the first instance but with a different db name?
    Any reasons why I wouldn't want to create multiple database instances on the same server?
    Currently we have our client (enterprise manager) installed on a separate box and use the same client to connect to several databases. If I had multiple instances on one server how would enterprise manager connect to multiple instances with the same ip?
    Thanks for taking my question!.
    Kathie

    When running the second DBCA the global database name and sid would be unique as well?Yea, the global database name must be unique.
    I could also use the same flashback directory as this area has the sid in the directory path? Yea, you can use the same flashback directory for any database on the same server.
    Forum question: Is there a way to close a question and give credit for an answer? I dont, know, but the interesting about the participation on this forum is HELP
    Luck.
    Have a good day.
    Regards.

  • Installing second instance of directory in common root.

    Is it possible to install a second instance of a directory server in a
    common base directory?
    For example:
    /user/netscape/server4/slapd-first-server
    /user/netscape/server4/slapd-second-server
    I'm using the iAS 6.0 installer. I've installed the first instance with all
    components. When I try to install a 2nd instance providing a base directory
    of /user/netscape/server4 it doesn't let me install the 2nd instance.
    Thanks in advance,
    Rodger...

    Rodger,
    I am sorry for being dense, but would a second instance be a configuration
    where you are running 2 servers on the same machine on different ports for
    instance (389 and 400 for example) but they access the same base database? I am
    looking at how to do that and would like to know.
    thanks,
    Gary
    [email protected]
    Rodger Ball wrote:
    Is it possible to install a second instance of a directory server in a
    common base directory?
    For example:
    /user/netscape/server4/slapd-first-server
    /user/netscape/server4/slapd-second-server
    I'm using the iAS 6.0 installer. I've installed the first instance with all
    components. When I try to install a 2nd instance providing a base directory
    of /user/netscape/server4 it doesn't let me install the 2nd instance.
    Thanks in advance,
    Rodger...

  • Second Instance for OWA

    Greetings!
    Here, users use forms because lots of them have access to more than one mailbox and that mailboxes are not set full access and we don´t have it mapped to do configure the full access yet. 
    So, we would like to setup a second instance of OWA, bind it a new URL and set this second instance to integrated authentication, taking advantage of SSO. 
    Is it possible? To create a second site with OWA or a new OWA on the same site in the same server? If yes, some step by step? or article?
    Thanks in advance.
    Fabio Martins MCDST/MCSA Brasil!!!

    Hi Martins,
    Based on my knowledge, we cannot create a new OWA VD in the same site.
    I find a related blog for your reference to create a second instance of OWA, hope it is helpful:
    How to create multiple instances of OWA
    http://searchexchange.techtarget.com/tutorial/How-to-create-multiple-instances-of-OWA
    Disclaimer:
    Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure
    that you completely understand the risk before retrieving any suggestions from the above link.
    Detailed steps:
    1. Assign an additional IP address to your client access server
    2. Create a new website
    3. Create a new virtual directory
    4. New-OWAVirtualDirectory –Name "owa" –Website "Contoso.com"
    5. Assign users to specific websites
    6. Use segmentation to disable OWA features
    Thanks
    Mavis Huang
    TechNet Community Support

  • Application lags, until second Instance is started - AND no lagging on another machine...

    Hey, it's me again:
    The last days I started to get along with LabWindows quite well, and my program grew very fast, but today I found a probleme, I do not really know how to handle.
    When I compile my program (both in "debug" and "release"-mode), and start it, it lags quite a lot, but the another version, I still had from friday and did NOT lag that day, started to lag too. So there must be any problem with maybe the configuration or whatever.
    But the weirdest thing:
    When I first start one Version (does not matter which one), and than afterwards start another Instance of it, or a complete other Version (maybe one Version of Friday, and on I just compiled), the second Application (which lags when being started alone), does NOT lag at all.
    In addition to that, all Versions do NOT lag, when I start them on a little netbook, where they're supposed to be used anyway.
    Sumarizing:
    1 Instance --> lagging
    2 Instances --> first lags, second doesn't
    This whole thing is very frustrating
    I hope, some of you may know what to do!
    Greetings from Lübeck
    Mathias

    MacMatze:
    Glad you found the problem.  You don't need to be embarrassed by it, but you should learn from it.  It sounds like you need to do some error handling, and should probably do some status reporting.  Here are a couple of suggestions.
    1. To troubleshoot a "lagging" problem, you could single-step through your code to see which statement takes longer than you expect.
    2. If the problem was that a power supply was unplugged, it was still unplugged when you started your second instance of the program.  I'd guess you didn't see the lag on the second instance because one or more errors were generated because some resource (maybe like a COM port) was already tied up by the first instance.  Since you didn't mention getting error when you started your second instance, I'd guess that you are ignoring errors that you should be handling.  Many functions indicate errors in their return variables.  Review your code for functions whose return variables you are ignoring.  Handle them as needed, even if it's just with a dialog box.
    3. "Of course" your supply will always be plugged in?  Have you heard of Murphy's Law?  If it was unplugged for you, it might be unplugged for another user.  Or the fuse may blow or the power supply may die.  You should find a way to detect and report conditions like that, so your user isn't wondering why the program isn't starting.
    4. If you have multiple steps in your program or hardware initialization, you could put up a status bar with messages indicating the current operation, so if the program appears to hang, at least the user has some idea on what the program is trying to do.

  • Can't forward request from Apache to Tomcat on second instance

    Hi,
    I am trying to create 2 separate environments (dev and test) on one powerful
    Unix server which has 2 network cards, 2 IP addresses, 2 server names...
    Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43
    on Solaris 9, Intranet environment.
    Everything is fine on the first instance,
    but on the second instance when I do http://server2,
    Apache still can't redirect to second Tomcat/JBoss:
    "Forbidden
    You don't have permission to access / on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.0.48 (Unix) mod_jk2/2.0.2 Server at mopppgctxat1.pfizer.com Port 80"
    If I do http://server2:8080, getting it all right.
    I made all internal ports on the second instance different from the first:
    e.g. 8080->8180, 8009->8109, etc.
    Even tried to change "Listen <ip2>:80" to 81, same error.
    Curiously, jk2.properties is totally commented out.
    I haven't compiled mod_jk, just copied the binary from the 1st instance.
    Can that be a problem ?
    Any help is very appreciated.
    Thank you,
    Oleg.

    By trying and trying I got it to work .... long hours
    I removed the queue to queue option and the subscriber name from the subscriptions definition. And then I removed the destination-queue on the propagation schedule. Then it worked.
    Mette

  • Add second instance to Enterprise Manager 10g database control

    Hi,
    I have a server with one Oracle 10g database instance, and I
    configured the local Enterprise Manager database control for it.
    Now I added a second instance on the server, using the same Oracle
    home. Can I manage this new instance using the existing database
    control or do I have to configure a second database control using
    another port? The documentation isn't too clear on this.
    Thanks,
    Matthias

    You can't manage the two database using database control. you have to go for Grid control only if you need to configure two or more instance.

  • EPM 11.1.2.2 Financial Reports Second Instance

    Hi to alll,
    On a clean install wintel 2008 R2 box, very often (onde a day) the FR services freezes (service stays on but dos not accept requests).
    We have increased the heap size and configured the tlas keys on the registry ( java.lang.OutOfMemoryError: getNewTla error), but still no luck (plenty of RAM & CPU´s on the server - Planning /Framewok/Registry all installed)
    I´m thinking of installing FR on another wintel box joining the same domain (EPMSystem):
    1) Should I use a different instance name ?
    2) Do I need to configure HTPP? Don´t want to really.
    Regards
    yannis

    What are your heap sizes set to?
    You can add to the FR cluster by installing another instance of FR on a different box, yes.
    On 11.1.2.2, you do not need a different instance name - Assuming you are referring to the "epmsystem1" name.
    Yes, you would need to do the "Configure Web Server" task after adding to the cluster so that OHS or whatever your HTTP server is knows how to forward connections to the second FR instance.

  • OBIEE 10g: Presentation Cache in Second Instance of Presentation Server

    Hi everyone,
    I've been having an issue with my presentation cache disappearing every couple of minutes.
    I'm working with OBIEE 10.1.3.4, on Oracle Application Server on a Linux RHEL 5.4 32bit. I've spun up a second instance of the presentation service using the commands from RNM1978's blog here (http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/). The reason why I have a second instance of the presentation service is for mobile reporting purposes. We have lots of executives using iPhones and the Oracle Business Intelligence Indicators application. The second instance defaults all charts to be PNGs, it also uses a separate, clean catalog, so that the executives don't get lost in all of the out of the box BI Applications content that is in our main catalog.
    Everything is setup and working properly, both presentation services are accessible and use the same RPD but different catalogs. The only thing that isn't working is the presentation service cache. A lot of these reports are QTD or YTD so it takes a few minutes to run some. We were hoping to use iBots to create BI Server cache at the beginning of the day. That seemed to help a bit but it seems to clear after a few minutes.
    Additionally, before we went to do demos to end users, we would run all the reports from a demo iPhone. Go to do the demo and within five minutes, the presentation cache would have already cleared. I confirmed the same by looking in the Session Manager of the second presentation service.
    Does anyone know why this would be happening? I have cache turned on in the bi server and I also have the following settings in my instanceconfigMobile.XML:
    <Cache>
    <Query>
    <CacheMaxEntries>1000</CacheMaxEntries>
    <CacheMaxExpireMinutes>720</CacheMaxExpireMinutes>
    <CacheMinExpireMinutes>720</CacheMinExpireMinutes>
    <CacheMinUserExpireMinutes>720</CacheMinUserExpireMinutes>
    </Query>
    </Cache>
    Are there other settings I need to investigate?
    Is this just additional commands I need to run when launching the additional presentation service? Here's the command I'm using:
    . ./common.sh
    . ./sa-init.sh
    sawserver -c /home/oracle/OracleBIData/web/config/instanceconfigMobile.xml >> /home/oracle/OracleBIData/web/log/sawserverMobile.out.log 2>&1 &
    Thanks!
    -=Joe

    Hi Joe
    I can't say I've tried Robin's technique to run two presentation servers but from my basic understanding of it, both versions will share the same cache as defined in a single nqsconfig.ini file. Maybe these 2 are conflicting somehow?
    I see that a separate instanceconfig.xml is used for each presentation server. I know there are a bunch of advanced, largely undocumented, cache properties you can set in there. I can send you a document listing the various properties if you want to play with it - contact me via my website.
    Paul
    http://total-bi.com

Maybe you are looking for

  • Adding iMac Bondi Rev B to AirPort network

    Ok, I have an AirPort network set up at my house that uses an AirPort Extreme (g) Base Station (AEBS) to connect to the internet. I can use that connection by using wifi connections from my iMac G4 (10.3.9), iMac G5 (10.4.10), PowerBook (10.4.10), an

  • Avoid distinct clause in the query

    hi i have a query from a single table using distinct clause and has columns (a,b,c,d,e,f,g,h,i) eg: select distinct a,b ,c,d from table where a<>0 and b<>0 and c<>0 and d<>0 and e=o and f=0 and g=0 and h=0 and i=0 ; when i see the execution plan with

  • Is there any retro effect for this changes we made in 2001 Infotype for

    HI Experts... Please advice me on the follwing absence issue. In my clients company.... .... one of Personnel areas employees Earned leave records are not updating in 2001 Infotype from the begining. Now they wish to have to update in 2001 Infotype.

  • Counter field in database table

    Am just thinking about how to solve a little problem which is new to me in PHP, but I'm hoping not to complex. Basically, I have a database of holiday resorts, and my client would like to keep track of how many people click through to the resorts own

  • NAT type question.

    Why am I unable to get a NAT type higher then 3 with my Playstation 3, even after putting in the Playstation's IP address into the DMZ. I have also tryed just opening to correct ports to the port range forward to know avail.