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

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

  • Can I install a second instance of i-Calender on the server where right now is running the first instance? How?

    The first instance is running on a Sun R420 Enterprise
    server. The second instance will run in the same server.

    When you say "Authorized"  you mean in the sense of Itunes Store Authorized? if so the system in Question is authorized it is my primary Workstation and was waiting until iCloud came out to update to Lion. My MBP , and 2006 MP are all running Lion and are part of the 5 systems "authorized". I did not run into this issue with either the MBP or the MP when i installed and I bought two copies at the same time on my the first day Lion was available.
    Do you know the mechanism with which the App Store tracks purchases on different computers prior to iCloud coming out?
    once again thanks for your response
    chris meredith

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

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

  • Sequential Instantiation of BPEL instances for a BPEL process

    Hi,
    We are using Oracle SOA 10.1.3.4 & AIA2.5. We have a situation where the instances of a particular bpel process have to be executed in sequence. Also, the new instance should NOT be instantiated unless the previous instance is completed.
    For example.. Lets say a SyncBPELReqABCS is invoking SyncBPELProvABCS via ESB. SyncBPELReqABCS is looping and spawning multiple instances of SyncBPELProvABCS in a certain sequential order in Asynchronous Fire-and-Forget model. Lets say bpel-instance#1, bpel-instance#2 and bpel-instance#3 are instances of SyncBPELProvABCS process. Even though SyncBPELReqABCS invokes (spawns) SyncBPELProvABCS in a fire and forget model, the bpel-instance#2 should not begin unless bpel-instance#1 is completed and bpel-instance#3 shuld not begin unless bpel-instance#2 is completed. This is because there is a dependancy between instacnes of SyncBPELProvABCS process.
    Can this be achieved in Oracle SOA?? Can we restrict the instacnes of SyncBPELProvABCS to be created in this manner?
    This is similar to "incompatability" of concurrent programs in ORACLE EBusiness Suite where one concurrent program waits till another concurrent program completes.
    Please let me know if I am not clear. Appreciate an immediate help!
    Thanks,

    Hello,
    Now that I look back at this tread, I can see that the questions I was asking and those of the original poster were somewhat different.
    But they both fall under the heading of "Sequential Instantiation of BPEL instances for a BPEL process", and so I thought I would post some findings we've come across regarding that topic here.
    There were a couple steps that helped us achieve the behavior we were looking for, and the were...
    1) Change the BPEL oneWayDeliveryPolicy from "async.persist" to "sync"
    This can be done in a couple locations. The first is within the EM application that comes bundled with SOA 11g, and the place to go is:EM > [farm name] > SOA > soa-infra (right click) > SOA Administration > BPEL Properties > More BPEL Configuration Properties > OneWayDeliveryPolicyOnce that value has been changed to "sync" (without the quotes), you'll need to stop and start the managed servers that run your SOA instance(s).
    As you might expect, making a change at the "server level" like this impacts the default behavior of all composites deployed within your SOA instance. The second place to make this change - within the deployment descriptors for your BPEL process - impacts only the BPEL process that is being modified. To make the change at this level, you would edit your project's composite.xml file and, for each BPEL component, specify:  <component name="BPELProcess1" version="2.0">
        <implementation.bpel src="BPELProcess1.bpel"/>
        <property name="bpel.config.oneWayDeliveryPolicy">sync</property>
        <property name="bpel.config.transaction">required</property>
      </component>What does this change do? Well, I don't claim to have a complete understanding, but in theory it prevents a thread handoff from taking place between the service that is initiates your BPEL process (like a receive) and the actual BPEL engine thread that processes the request.
    In our case, where calls between (and within) composites were all of the synchronous "fire and forget" variety, this change also caused the entire processing of a message (across three different composites) to happen in a single thread (each message handoff was one-way, and with the oneWayDeliveryPolicy set to "sync", each was handled in a synchronous manner).
    This also seemed to have the effect of serializing our message processing. For example, in a test case where a BPEL process reads from a JMS queue and 250 messages are enqueued, with the oneWayDeliveryPolicy set to "async.persist", I'd typically go in to EM and, on each refresh, find 5-8 instances of the composite that processes those messages to be in a "Running" state. Once the change to "sync" was made, I'd only see at most only 2 (where one had actually already finished; the audit system just hadn't yet caught up to that fact yet).
    This also means that, with a "sync" delivery policy, messages (at least in our environment) are processed more slowly, but that was ok with us as we were more concerned with the behavior than the speed.
    For details on this and other BPEL deployment descriptor properties, see:
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_app_deploydesc.htm
    Also, it's important to note that making the above change will alter the boundaries of your transactions as well as how faults are propagated. For more details, see:
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/soa_transactions.htm
    2) Front BPEL process with a Mediator object and enable message resequencing
    While we're using the above change as a standard practice in our environment, this second change has only been nominally tested - but it could be of interest and so I'll mention it here.
    Once you've updated your composite to include a mediator object in front of your BPEL process (if there isn't one there already), edit the .mplan for your mediator and change the "Resequence Level" from the default value of "operations" to "component". Then change the "Resequence Mode" from "off" to "FIFO" and specify an X-Path expression by which the mediator will be able to group your messages. This will help ensure that the messages are being processed in the order you expect.
    More information about resequencing within the mediator component can be found:
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/med_resequencer.htm
    Hopefully the above information is useful - if not for the original poster, then for someone who comes along later with similar questions.
    - Nathan

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

  • 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

  • Creating objects in a second instance

    I have created a second instance through the console of a directory server, which has been configured with the same rootdn as the original.
    When I open up the console why in the new instance does it show the rootdn on the config tab but the original doesnt ......
    also ....
    why when i go into the second instance i try creating data objects for root suffixes ive created to mirror the original instance, does it create them under cn=config ......
    Thanks
    G

    Hi
    I have read that creating objects in a loop degrades
    performance. Can someone explain why this should be
    so?Every object creation takes time, so if you create
    lot of unnecessary temporary items in loop it degrades
    performance (so it is nothing loop specific).

  • Set different authentication mode for OWA (without 2 ip address)

    hi
    http://social.technet.microsoft.com/Forums/office/en-US/fda18a29-a484-4ed5-903b-aa06e8f7a032/set-different-authentication-mode-for-owa?forum=exchangesvrclients
    Step 1: IP Address
    Obtain a second IP address and add it to the NIC of your server.
    Step 2: DNS
    Add a DNS entry for That secondary IP address for the name we will want to use in the new FBA OWA Web site. I have chosen "testwebmail." Be sure there is a valid SSL certificate (recommended to have UC or SAN SSL certs) on the server Which has the
    new name "testwebmail" that will be used in the certificate.
    Step 3: New Web Site
    Create a new web site in IIS on the Client Access Server and bind it to the new IP address used in step 1.
    Step 4: Adding Exchange Virtual Directories
    The web site has been created and bound to the secondary IP address of our server. Also the DNS record That will be used to access the OWA FBA new page was added to DNS. The next step is to go into EMS and begin adding our virtual directories for OWA and ECP.
    Login to the Exchange server and open the Exchange Management Shell. Then run Get-Get-OWAVirtualDirectory and ECPVirtualDirectory to see the default OWA and ECP directories.
    New-OWAVirtualDirectory -WebSiteName FBA -InternalUrl https://url/owa
    New-ECPVirtualDirectory -WebSiteName FBA -InternalUrl https://url/ecp
    Step 5: Configure the Virtual Directories
    To configure the virtual directories we will disable FBA on the Default Web Site OWA and ECP virtual directories
    New-OWAVirtualDirectory -WebSiteName "FBA"
    Enable the Basic authentication via running the following command:
    Set-OWAVirtualDirectory -Identity "yourservername\owa (FBA)" -BasicAuthentication $true
    Set-OWAVirtualDirectory -Identity "OWA (Default Web Site)" -WindowsAuthentication $true -BasicAuthentication $false  -FormsBasedAuthentication $true
    Step 6: iisreset
    I want to set this settings; but I don't have 2 ip address and I want to set whit one ip address.
    can please tell me how can set this settings with one ip address?
    and please tell me about publishing whit tmg.
    thanks

    Hi,
    Based on my research on Host Header, it seems using Host Header can achive your goal.
    More details on Host Headers:
    1. Host headers let you assign more than one site to a
    single IP address on a Web server.
    2. To host more than one Web site on a Web server, you can assign a unique IP address to each Web site, designate a non-standard TCP port number for a Web site,
    or use host headers. Of the three methods, it is more common to use host headers than to assign unique IP addresses to Web sites or to use non-standard TCP port numbers.
    Configure a Host Header for a Web Site (IIS 7)
    http://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx
    Please correct me if there is anything misunderstand.
    However, Microsoft recommends creating the second OWA/ECP virtual directories in a new IIS web site with a different IP address, and using it for internal client access.
    Thanks
    Mavis Huang
    TechNet Community Support

Maybe you are looking for

  • HP Deskjet 3510 Series (3512) only printing in black and yellow.

    Hello. My HP Deskjet 3510 recently ran out of ink (or so I thought.)  I purchased new 61xl color and black cartridges and replaced them.  However, the printer is only printing in black or yellow.  I am unable to get any red, blue, or grayscale.  I ha

  • How can I change the settings such that the phone does not vibrate when I receive a message in silent mode, but vibrates for calls?

    I'd like the phone to vibrate when I receive a call when it is in silent mode (as it already does) but I'd like it to not vibrate when I receive a text in silent mode. I know how to set both (calls and texts) to not vibrate in silent mode, or choose

  • Mysql's auto_increment in berkeley db

    Hi, I am coming to BDB from MySQL. I am using C API to create my first example. Q: What would be the equivalent of MySQL's auto_increment field type in BDB ? I read the docs, and it says QUEUE access type will use immutable record numbers, does it me

  • A select list from query question

    Hello all - I've looked in detail at a great deal of posts on this subject and believe what I am trying to achieve is not unusual or out of scope. Therefore it's likely me mis-interpreting something and I'd be grateful for anybody's input. I have the

  • Credit Balance Won't Update

    I can't pre-order Madonna's Confessions on a Dance Floor and get the new single because each time it say that my credit balance is out of date and to say "ok" to refresh but it still allows me to buy other music so I am confused! and frustrated! Anyo