Db schema for osb domain - 1 db schema per domain???

Hi,
I have recently started looking into osb10.3.
domain 1
created osb domain and assigned one schema to 'wlsbjmsrpDataSource' datasource.
started the domain and it worked fine then i shutdown the domain.
domain 2
Created another domain and assigned same schema assigned previously to domain 1.
started the domain and it worked fine.
Now when i try to start domain 1 again the domain startup failed. Wondering if we need one schema per domain or i am missing something while creating datasource for domain?
Please help as i cant really believe having one schema per osb domain?
thanks in advance!
salman

Hi Manoj,
Some more information below!
CR231843
An ALSB domain cannot boot and generates weblogic.transaction.loggingresource.LoggingResourceException if the domain is a new domain using the same database, schema, and LLR table as an existing domain.
When you move a domain template to a different machine and use the template to create the new domain, the new domain is not able to boot and weblogic.transaction.loggingresource.LoggingResourceException is thrown. The following details outline the scenario:
Create the original domain.
Start the server for the original domain. At this point, the domain is now “used”—a domain is considered used once you have started the server for a domain after you have created it.
Create the domain template. You can create it in several different ways—use the Domain Template Builder tool and the Configuration Wizard, the pack/unpack command, or the Weblogic Scripting Tool in offline mode.
Move the domain template to a different machine.
Create a new domain using the template. Again, you can create it in several different ways—use the Domain Template Builder tool and Configuration Wizard, the pack/unpack command, or the Weblogic Scripting Tool in offline mode.
Start the server for the domain. If the new domain does not have the same name as the initial domain, the new domain cannot be started. This is because the JMS Reporting Provider provided with ALSB uses the Logging Last Resources (LLR) option. The new domain is attempting to use the same database, schema, and LLR table name to store LLR transaction records. LLR does not allow this to prevent different domains from corrupting each other's tables. To learn more about the LLR feature, see Understanding the Logging Last Resource Transaction Option in Configuring and Managing WebLogic JDBC.
Note: You can access the Domain Template Builder, Configuration Wizard, and the WebLogic Scripting Tool from the BEA ProductsTools menu on your machine. The tools and the pack and unpack commands are located in the BEA_HOME/weblogic9xx/common/bin directory.
According to this i have tested :
domain 1 and domain 2 pointing at same schema ignoring Loggin Last Resource option in the reporting datasource.
Now the only question is how much do we need Logging Last Resource option and for what purpose in OSB domain??? any comments?
thanks
salman

Similar Messages

  • Minimum and maximum memory for starting OSB domain.

    Hi,
       How much minimum/maximum default of memory do we need to run welogic domain for OSB ? I know we can use java comand with Xmx and Xms to set amount of memory to run domain. I want to know minimum and maximum default when we start domain.
    Many thanks.

    Dear All,
    I have attach a VI. Bascially, i want to control the maximum and minimum points using the control by keying in the timestamp date and time. How do i do that/
    Thanks!
    Attachments:
    test5.txt ‏1 KB
    timestamp.vi ‏14 KB

  • How to bypass from OAM authentication for certain domain

    Hi All,
    We are trying to unprotect certain domain from OAM domain but coudn't. Please help us fix this issue.
    Environement details:
    We have two nodes, one node for OAM_OSSO and another one for OSSO_Portal application.
    OAM server details:
    In this server, oracle application server single sign on(services are HTTP, OC4J, and OID) and OAM. Integrated OAM_OSSO using [ID 979827.1]
    Portal server details:
    In this server, oracle application server single sign on(services are HTTP, OC4J, and OID) and portal weblogic server(portal application) is running. portal weblogic is registered with thier own portal OSSO.
    In OAM, We protected following portal url's
    /sso/auth      
    /pls/orasso/orasso.wwsso_app_admin.ls_login
    portal _OAM integration is working fine.
    Now portal team come with new requirement for customer, application also running in their same portal weblogic server and that portal application domain is alreday registered with Portal OSSO and Portal OSSO page is protected by OAM. the requirement is bypass OAM authentication, and need to authentication against their own portal OSSO+OID.
    Please tell me how to bypass OAM authentication from this scenerio.
    -Sarath

    Hi MD,
    Thanks for your update.
    We are using oracle 10g. Please tell me how Anonymous scheme will help us to get out from this issue.
    Portal Weblogic server registered with portal IDM server and portal IDM server OSSO protected by IDM OAM. So if i tried any of the application which deployed under portal weblogic server will get protected by OAM right. Please correct me if iam wrong.
    In this scenerio we have two OSSO, one in OAM node and another one in portal server. Now portal team come up with new webserver domain for customer, in customer scenerio we want authenticate againt portal OSSO with their own OID rather than using OAM authentication. Here my concern is, customer or employee the portal weblogic server and portal OSSO are common for both user but only difference in webserver domain.
    So if i tried to access customer application, then customer webserver redirect to portal weblogic for open the requested page(note if webgate not in picture). portal weblogic server is register with portal OSSO and its redirect to portal OSSO for authentication but Portal OSSO server integrated with OAM using webgate.
    1. When tried to access customer application ,Portal OSSO server tried to show own sso login page for authentication but Portal OSSO server already integrated with OAM. so portal OSSO server requested to OAM to access portal sso login page not the request of customer page login.
    2. here,portal OSSO login page protected and OAM serve login page for OAM authentication against OAM OID. If i specify anonymous scheme for customer domain then how will work here, portal OSSO requested to OAM to access portal OSSO login page not the customer page or employee page...
    Here OAM authentication will come into picture for all scenario but need bypass for customer login.
    Requirement is when customer trying to access then authentication need to happen in portal OSSO not in OAM. Hope you understand the architecture.Please suggest how.
    -Sarath
    Edited by: 898990 on May 11, 2012 8:22 PM
    Edited by: 898990 on May 11, 2012 8:25 PM

  • ORA-00001: unique constraint during "Configure Database Security Store for OIM Domain"

    Hi Guru's,
    I am following the below steps for OIM 11.1.2.1 with SOA 11.1.1.7 Installation and facing below error during step "Configure Database Security Store for OIM Domain".
    Installed Database 11.2.0.3
    Installed RCU (Here I used two versions.
         RCU 11.1.2   - Used IDAM prefix for (Metadata Services, OPSS, OIM)
         RCU 11.1.1.7 - Used SOA prefix for(Metadata Services,SOA Infrastructure, User Messaging service)
    Installed JDK 7 (Java 1.7)
    Installed WL 10.3.6 (MW_HOME-/u01/Middleware/fmw, WL_HOME=/u01/Middleware/fmw/wlserver_10.3)
    Installed FMW 11.1.2.1 for OIM. (ORACLE_HOME=Oracle_IDM1)
    Installed FMW 11.1.1.7 for SOA (ORACLE_HOME=Oracle_SOA1)
    WL Domain creation.  (Domain Name – idam_domain1)
    Configure Database Security Store for OIM Domain.
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (IDAM_OPSS.IDX_JPS_RDN_PDN) violated
    Also followed the below bug solution, but issue still occurs.
    Bug 16690836 : CONFIGURE DATABASE SECURITY STORE (CONFIGURESECURITYSTORE.PY) SCRIPT IS FAILING
    @ 1. Delete the Schemas using RCU.
    @ 2. Recreate the OAM schemas.
    @ 3. Reinstall the WLS and OAM software.
    @ 4. Run config.sh to create a new domain.
    @ 5. Run setDomainEnv.sh from user_projects/domains/<Domain_name>/bin
    @ 6. Run the configureSecurityStore.py from same window.
    Not sure if anyone tried with different steps that fixed the issue? Could you please help.
    Thanks
    VG

    Hi Gurus, I got the solution from Oracle. SOA 11.1.1.7.0 shouldn't be used with Identity Management 11.1.2.1.0(11GR1-PS1) version. Identity Management 11.1.2.1.0(11GR1-PS1) is bundled with SOA 11.1.1.6.0. When used this SOA version, Installation went smooth. Thanks VG

  • Dehydration table for OSB 11g

    Could some one guide,under which schema i can find the tables for OSB.

    if you mean the tables like WLI_QS_REPORT_ATTRIBUTE
    by default it will get installed in the _SOAINFRA schemas (depends on the prefix you used)                                                                                                                                                                                                                                                                                                   

  • Setting up second domain at work. It tries to take over DHCP for both domains.

    So I have an existing older domain (Server 03 r2) and it's working normally. 
    I'm setting up a second domain, server 08 r2. Each time I activate DHCP on it it begins handling IPs for both domains causing other issues related to DNS.
    They are different IP Schemas. The existing functional is a 192.168._._. The new is internaly 169.254._._, and has a static IP for the other NIC and ultimately the internet connection. The internal networks exist on the same subnet mask for a level of crossover
    for future data transitions. 
    On the 08 server I'm also having DNS issues. It works fine if I have both NICs plugged in, but not with just the external IP plugged in. It would appear it was giving out it's own domain IPs and getting it's DNS from the existing domain, which puzzles me
    as all these items are set to static on the cards. 
    I would love any available help.
    Thank you!

    Do the same DHCP zones exist within the same switch or VLAN?  If so, they're both going to offer DHCP to any device that requests it regardless of what domain that machine may already belong to.  The first DHCP request that the device sees will
    win.  You can really only have one per switching segment. 
    For the DNS issue, when you say the existing domain, do you mean the 2003R2 domain?  From a command prompt if you run ipconfig /all do you see the 2003 R2 server in there as a DNS Server?  Do you see the 2008 R2 server listed?  If you don't
    see the 2003 R2 server, it may just be that you're getting results from a broadcast. 
    You may just need to split these two domains onto separate VLANs if they're not already.
    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

  • Best practice for OSB, OER and OSR

    Hi,
    I would like to know what are the best practices for using OSB, OER and OSR together in a run-time environment for a simple WSDL service.
    From how I see it:
    1) Create service-definition in OER
    2) Create proxy and business service in OSB
    3) Use harvester to harvest the proxy and business services in OER
    4) Use Exchange Utility to publish the proxy service to OSR
    Then the client and discover the proxy service and use OSB for invoking the operations from service.
    Kindly correct me where I am wrong.
    Some questions:
    1) Do we ever publish business service to OSR? Or is it only meant for proxy services?
    2) Is synching of OSB and OSR only meant when we are not using OER?
    Looking forward...

    Hi Anuj,
    Thanks for the links, they have been helpful.
    I understand now that OSR is only meant to contain only Proxy services. The synch facility is between OSR and OSB so that in case when you are not using OER, you can publish Proxy services to OSR from OSB. What I didn't understand was why there was a option to publish a Proxy service back to OSB and why it ended up as a Business service. From the link you provided, it mentioned that this case is for multi-domain OSBs, where one OSB wants to use the other OSB's service. It is clear now.
    Some more questions:
    1) In the design-time, in OER no Endpoints are generated for Proxy services. Then how do we publish our design-time services to OSR for testing purposes? What is the correct way of doing this?
    Thanks,
    Umar

  • Create a new OSB domain and data source problems

    Hello,
    I noticed a problem while create a new OSB domain with Oracle Service Bus 10gR3 on Solaris 10 (intel-based).
    This domain is composed of two managed servers deployed on a cluster.
    I have configured the JMS reporting data sources to use an Oracle 10g (XE) database (driver Oracle Thin (non XA)) installed on a remote server.
    While trying to start my managed servers, the startup process of these managed servers failed due to a data source problem on "wlsbjmsrpDataSource" or "cgDataSource-nonXA".
    The workaround I found is to delete and recreate (through the WLS console) the data sources "wlsbjmsrpDataSource", "cgDataSource-nonXA" and "cgDataSource".
    In this situation, my managed servers can be started properly.
    Is it a known problem located on the configuration wizard?
    Thanks for your help.

    Hi
    For the answer.
    I fully understand that those datasources are default ones and are mainly related to JMS reporting.
    But my question was probably not well expressed.
    The problem I had is when the domain is created, the managed servers won't start due to problems related to theses datasources.
    The workaround I found is to delete and to create those datasources from the WLS console.
    In this situation, the managed servers are able to be started.
    I want to know if this is a known problem/limitation of OSB 10gR3 with Solaris 10 and Oracle 10g?
    Thanks for your help.

  • How to reset OSB domain from EM point of view?

    Hi folks,
    Since I set up a OSB domain in EM on a client host for the very first time, the administrative server changed (actually moved inside firewall and hence changed its name, consequently I re-installed OSB on it from scratch). Now EM on the client host cannot locate the administrative server, and thus thinks the domain id down. When I try to edit hosts list using EM on the client host (Setup>Hosts), the link directs to the client host itself (like https://client001.example.com/?tab=2&mode=3). As the client host obviously runs no administrative part, the page does not exist.
    On the other hand, when asked about OSB devices (Setup>Devices), EM correctly connects to the new administrative server name, and shows the correct answer. Same, obtool running on the client host can connect to the new administrative server and fetch settings from it (e.g. lshosts correctly displays the hosts in the domain).
    Seems that the old administrative server name exists only within EM settings. I believe the best thing to do is to re-create OSB domain (from the EM point of view) with the new administrative server in it. How can I do that?
    Thanks already for your answers.
    Dmitry.

    " emca -config dbcontrol db -repos recreate " does the job. Of course, as the repository is reset -- all other history records are lost.

  • Multi tenancy with schema per tenant

    Hello,
    I am tryign to run multi tenancy with schema per tenant. It seems to work good when tenant ID is set in XML as a property for persistance unit.
    But I need to set tenant in code. Is that possible? How?
    I found this article:
    codecrafters.blogspot.it/2013/03/multi-tenant-cloud-applications-with.html
    So I tried to set it in doBegin method in custom transaction manager. But that doesn't work. I guess relation descriptors aren't updated right.
    I could provide more info with exception stack also but first... have I pick the right approach?
    Thanks!
    Martin

    UPDATE 26.6.2015: This isn't completelly right solution. Read also comments below or go to my article at http://www.mafospace.com/articles/multi-tenancy-with-eclipselink-and-inherited-entities
    I've solved it finally. Maybe it will be helpful for someone. I've done that in similar way as described in article I linked in first post. Through custom transaction manager.
    import org.eclipse.persistence.config.PersistenceUnitProperties;
    import org.eclipse.persistence.internal.jpa.EntityManagerImpl;
    import org.eclipse.persistence.sessions.coordination.MetadataRefreshListener;
    import org.eclipse.persistence.sessions.server.ServerSession;
    import org.springframework.orm.jpa.JpaTransactionManager;
    import sk.bantip.hotel.server.security.SecurityHelper;
    import javax.persistence.EntityManager;
    import java.util.HashMap;
    import java.util.Map;
    public class MultiTenantJpaTransactionManager extends JpaTransactionManager {
    * NOTE:
    * Maybe it would be also possible to replace existing entityManager in transaction with new but it
    * isn't a good idea because of rollback and other problems.
    * So when new tenant is required always start new transaction for it.
    @Override
    protected javax.persistence.EntityManager createEntityManagerForTransaction() {
    EntityManager em = super.createEntityManagerForTransaction();
    boolean refreshed = false;
    String actualTenant = null;
    ServerSession ss = ((EntityManagerImpl) em.getDelegate()).getServerSession();
    Map sessionProp = ss.getProperties();
    actualTenant = (String) sessionProp.get(PersistenceUnitProperties.MULTITENANT_PROPERTY_DEFAULT);
    // don't run it if tenant didn't change
    // it should be quite faster then
    if ((actualTenant == null && SecurityHelper.getActiveTenantSchema() != null) ||
    (actualTenant != null && !actualTenant.equals(SecurityHelper.getActiveTenantSchema()))) {
    // set new tenant as property for actual session
    // while refreshing metadata it will be used from actual session for new session
    sessionProp.put(PersistenceUnitProperties.MULTITENANT_PROPERTY_DEFAULT, SecurityHelper.getActiveTenantSchema());
    MetadataRefreshListener mrl = ((EntityManagerImpl) em.getDelegate()).getServerSession().getRefreshMetadataListener();
    // metadata refresh listener is empty if it was already run for actual transaction (same entity manager)
    // because it is placed in createEntityManagerForTransaction now this shouldn't happen but to be sure...
    if (mrl != null) {
    Map<String, Object> prop = new HashMap<String, Object>();
    // metadata will be refreshed for next created entity manager
    mrl.triggerMetadataRefresh(prop);
    refreshed = true;
    // if metadata for "old" entity manager wasn't refreshed we don't need to create a new one
    return refreshed ? super.createEntityManagerForTransaction() : em;
    Everything seems to work except inheritance with strategy type JOINED now. To fix that use customizer.
    import org.eclipse.persistence.annotations.TenantTableDiscriminatorType;
    import org.eclipse.persistence.config.DescriptorCustomizer;
    import org.eclipse.persistence.descriptors.ClassDescriptor;
    import org.eclipse.persistence.descriptors.TablePerMultitenantPolicy;
    * For some reason when using table per tenant with schema discriminator isn't set good for child
    * entities with inheritance JOINED strategy. It stay as SUFFIX and therefore it doesn't work.
    public class InheritanceJoinedMTFixCustomizer implements DescriptorCustomizer {
    @Override
    public void customize(ClassDescriptor descriptor) throws Exception {
    // set discriminator to SCHEMA
    ((TablePerMultitenantPolicy) descriptor.getMultitenantPolicy())
    .setTenantTableDiscriminatorType(TenantTableDiscriminatorType.SCHEMA);
    And in child entities use it like this:
    @Customizer(InheritanceJoinedMTFixCustomizer.class)
    public class Person extends Contact {

  • How to configure SMTP server for osb 10.3.1

    Hi All,
    Can anyone share information on how to configure SMTP server for osb 10.3.1
    and then how to send an email from osb 10.3.1
    Thanks in Advance!!

    Thanks a lot!!
    I configured the same way. When I am sending email to an account on the same domain as my SMTP server is the sending of email is successful. But its giving error when I am trying to send an emain to an account which is on different domain. It giving error as "Operation has been cancelled"
    Please suggest something.

  • How can I set up SSL login authentication on one domain for multiple domains

    Our site currently runs in 22 countries with 22 different
    country domains:
    www.mysite.com
    www.mysite.co.uk
    www.mysite.fr
    etc
    We want to use SSL on our login pages but realise that the
    cost of certification for every domain is expensive. One solution
    would be to channel all login activity to a single domain, eg:
    www.mysite.com/login.cfm?site=fr which would then redirect to
    www.mysite.fr – this is how Google do it
    But, currently we are using encrypted cookies for login
    authentication so we would have the problem of having to transfer
    the cookie info across domains securely. Is there any way of going
    about this?
    Any other suggestions would be great, too. We do plan to move
    to session management for logins but this is a longer term project
    so we are hoping to sort out the SSL prior to that.

    Can you not pass the values you need as URL parameters?
    Encrypt them befor you send them and then decrypt them on the new
    domain. Then add them to whatever place you need (cookie, session,
    etc.)?

  • How to configure mail for multiple domains

    Hi There:
    I am the only Admin for a Mac Mini Lion Server, I have 3 Domains that I host, the DNS is done separate along with all records.
    I was able to get the Web Sites up and running.
    I need help to set up Separate E-Mail Accounts for each Domain, so each Domain receives it's own mail.
    Will you please give a hand, I am a beginner
    Thank YOU!!! in advance!!!!

    There is no default for those entries. you need to set it up manually by using the custom label.

  • Multiple hostnames for multiple domains

    I am currently running 3.0SP4 in Open mode without a gateway. I have one server instance with two domains (call them domain1 and domain2). Instead of having users have to go to append the domain name to the server URL, I would like to create two separate hostnames for each domain (call them domain1.test.com and domain2.test.com, both are in the same subdomain). I added both hostnames to the system and to the DNS and can reach the server fine. I followed the procedures in the iPS Admin Guide (Chapter 8 Configuring the Gateway, Using Virtual IP and DNS Names), adding the following:
    domain1->Authentication->Domain URLs
    /domain1
    domain1.test.com
    domain1.test.com/domain1
    domain2->Authentication->Domain URLs
    /domain2
    domain2.test.com
    domain2.test.com/domain2
    I also editted the platform.conf file to include:
    ips.virtualhost=domain1.test.com domain2.test.com 111.111.111.111
    Domain1 is set to be the default domain.
    I don't want to permit access to domain1 from domain2.test.com, or vice-versa.
    When I go to domain1.test.com, it brings up the login screen fine and I can log in. When I try to go to domain2.test.com, I get a No Such Domain error.
    I think this might be because it might be trying to redirect domain2.test.com to the default domain (domain2.test.com/domain1) and so I get this error, since it is not in the Domain URLs for domain2.
    Or is it a separate problem? How can I fix this?

    I found my problem... had to do with the default domain Domain URLs.

  • Multiple Certs for multiple domains on one server

    Is it possible with WLS6 and WLCS3.5 to serve up multiple domains with their own certificates?
    i.e. https://www.foo.com and https://www.bar.com on the same box.

    Hi,
    for one WebLogic Server you can only specify one certificate. So to achieve
    this you will have
    to use different WLS instances for your domains - which is possible on the
    same box.
    Kind Regards
    Maria Salzberger
    Developer Relations Engineer
    BEA Support
    Mike Berger schrieb in Nachricht <3c21f5c3$[email protected]>...
    Is it possible with WLS6 and WLCS3.5 to serve up multiple domains withtheir own certificates?
    i.e. https://www.foo.com and https://www.bar.com on the same box.

Maybe you are looking for