How to use one Datasource name with different pools

Hi,
I am using WLS 814 with 4 managed servers.
Our application uses (Entity) EJBs with a defined datasource name.
Each managed server should have its own connection pool pointing to a separate database.
Now I want to deploy the same EAR on all servers.
But how can I use the same datasource name across all servers?

Frank Bareuther wrote:
The DBMS is the same, we are only using a different database user to log on.
There is a separate db user for each server.
The EAR with a given datasource name in the entity EJBs should be deployed
on all 4 servers without changing descriptors.Interesting. And what is the value of using a different schema/user in the
different servers? I do believe that this configuration issue can be
achieved but I have not done it myself. I believe there is a way to
have some portions of a managed server's configuration by in a per-server
config file. That would be where you would define the pool. The DataSource
could also be there (with the same name for every server), or it could
be in the common one in the admin server.
I would file a support case to get this documented to show you how to
do what you want.
Joe

Similar Messages

  • Shall I use one datasource for multiple connection pool?

    Hi,
    I need to clarrify that, Shall I use one Datasource for multiple connection pool in distributed transaction?
    Thanks with regards
    Suresh

    No. If its transactions across multiple databases you should use different datasources.

  • How to Use Same Asset Number with Different Sub-number

    Hi
    We want to sell some assets and buy them back on lease. We want to use same Asset number with different sub-number under the same company code. This new asset will be under different Depreciation Area (Statistical).
    We use external numbes for assets . And same asset number range is used by all compnay codes.
    Please suggest whether this is possible & how.
    With Regards,
    Nitin

    Hi,
    Go to field status for asset master data section and change the field status to optional for field Deactivation date, then follow the below steps.
    You can create an sub asset number to an asset, which is already deactivated by retirement as like normal sub asset creation with AS11.(While creating sub number, you need to remove cap date and deactivate dcate field manually from asset master)
    With this you can get new asset number as same as your old retired asset main number and but sub number will be different.
    To post to diff dep area, other than 01, then you first create an acq transaction type, which will post only to specific areas and then use the new asset number in ABSO to post acq with your custom TTY.
    I have tested and found working well in my system............Try now in your test client
    Thanks,
    Srinu

  • How to stream one table twice (with different names) in another schema ?

    hello guys,
    i have to replicate one table (TAB_1) from one schema (SCH_1) on source database (DB_1) twice to schema (SCH_2) on target database (DB_2) with two different names (TAB_1 and TAB_1_SHORT). TAB_1_SHORT on target db should be a subset (eg. WHERE STATUS = 1) of TAB_1 !
    how to do ? can anyone help me ?
    i tried to realize that this way:
    1) creating 1 capture process with 1 table rule on source db (without any subset rules to capture all changes) for table TAB_1
    2) creating a propagation process without any rules
    3) creating 1 apply process with a table rule for table TAB_1 without any subset_rule but with schema transformation from SCH_1 to SCH_2 (DBMS_STREAMS_ADM.RENAME_SCHEMA) => this works correct !
    4) creating a subset_rule (WHERE STATUS = 1), a schema transformation from SCH_1 to SCH_2 (DBMS_STREAMS_ADM.RENAME_SCHEMA) and a tablename transformation from TAB_1 to TAB_1_SHORT (DBMS_STREAMS_ADM.RENAME_SCHEMA) for table TAB_1_SHORT => doesn`t work, no errors posted in dba_apply_error !
    in another try, i tried to transform the table- and the schemaname in the capture process, with the effect, that my first table TAB_1 wouldn`t be streamed again.
    i`m not sure, what is wrong. i think it must be possible to stream a table to two different targettables in the same schema on another db, isn`t it ?
    hopefully greetings
    Flo

    Hello
    Adding a normal table rule and also a subset rule would not work since the rule would be evaluated only once in the positive rule set. If the normal rule is evaluated first then the subset rule and rest of the rules would not be evaluated at all hence this would not work.
    This can be done using either of the following methods:
    Method 1:
         1. Use the declarative transformation on the capture/apply and rename the schema from SCH_1 to SCH_2.
         2. Now, on the apply site, set a DML Handler for SCH_2.TAB_1
         3. In DML Handler perform the following:
              a. get the column value for STATUS
              b. check if the value for STATUS=1, if yes then modify the object name to TAB_1_SHORT and execute the LCR.
              c. else do not modify the object name (leave it as it is, TAB_1) and execute the LCR.
    Method 2:
         1. Add a DML Handler for SCH_1.TAB_1
         2. In the DML Handler perform:
              a. use set_object_owner method of LCR$_ROW_RECORD to rename the owner to SCH_2
              b. get the column value for STATUS
              c. check if the value for STATUS=1, if yes then modify the object name to TAB_1_SHORT and execute the LCR.
              d. else do not modify the object name (leave it as it is, TAB_1) and execute the LCR.
    Please let me know if you need sample code.          
    Thanks,
    Rijesh

  • How to use one itunes library with 2 different ipods.

    I have had a 30gig for a year, with over 2000 songs in the library, I just bought my wife a nano for christmas, how do i get songs from my library onto her nano????

    You may find my answer to candlefind on the following thread useful to keep both you & your wife happy.
    http://discussions.apple.com/message.jspa?messageID=3799255#3799255

  • How to use one app on two different devices so the info is the same...not having to start from level 1 again on new device

    Hi there,
    I have an app which I have recently achieved level 16 on (stored on ipod 4)...I have just purchased an iphone4s and would like to download the app to my iphone to play on there so I can play it anytime and not just at home when connected to wifi. When I downloaded it to my iphone it started me from level 1 again so I deleted it off and have tried several different ways to install the info syned from ipod without success...if this is not possible please advise...however I have been successfull with other games in having them show on both. I am afraid to delete it off itunes as it says it will delete it off the ipod when next synced.
    Kind regards
    Extremely frustrated individual
    Amy

    You're looking for something that's called a reverse web proxy.  That'll require some manual configuration within Apache, as it's not supported natively by Server.app tool.
    The other option is to have your "primary" host just fetch and display the web data from the other host — nothing requires the contents of a web page all be from the local host, after all.
    Another potential option is to configurre for and VPN into the network, and you can then access the network locally — this assumes you're the primary consumer of the reverse proxy, and not "the world".
    Related here and here and probably a few others; remember that the configuration files in Mavericks are located under /Library/Server/Web now.

  • How to use three part name with using dynamic query.

    Dear all, (sqlserver 2008 express r2)
    q1)following is showing error, is it possible to accomplish the task with out using dynamic query.
    DECLARE @A VARCHAR(100)
    DECLARE @A1 VARCHAR(100)
    SET @A='DB1'
    SET @A1='DBO'
    SELECT * FROM @[email protected]
    q2) table value function is not accepting dynamic query , is there any way to do this task.
    yours sincerley

    Certain parts in an SQL query like FROM tablename cannot be local variables. In such a case, dynamic SQL can be applied:
    http://www.sqlusa.com/bestpractices/dynamicsql/
    As noted above, more information needed to decide if dynamic SQL the correct solution in this instance.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • HT2905 I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?

    I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?

    In iTunes(on a Mac or PC) just tap on 'Albums' rather than 'Artists' and you'll see them all together.
    You may find that there are songs mislabelled. In which case right tap on the Album or Artist and tap 'Get Info', then change to the correct name and the songs will join the rest of the songs for that Artist or Album.
    Then resync with your iPhone and all will be well.

  • How to sync two IPhone with one PC , but with different applications

    How to sync two IPhone with one PC , but with different applications ?
    We have two IPhones , but one PC , we want to sync separately , is that possible ?

    Absolutely, connect each phone, select what content you want on each phone, then hit the sync button. iTunes will keep everything straight, by device, upon subsequent syncs, including separate backups.

  • How to use Outline Load Utility with local encoding names of dimensions?

    Hi,
    I'd like to load metadata (dimensions members) to Planning classic application via Outline Load Utility.
    Target dimension name has been set in local encoding (cyrillic).
    After execution my batch file I get error that unable to find specified load dimension "????" in target application.
    Batch file has been created to start OutlineLoad in ANSI encoding:
    cd C:\Hyperion\products\Planning\bin
    OutlineLoad /A:testapp /U:admin /M /N /I:C:\Hyperion\TempOtlLoad\otl_tmc_alterna.csv /D:{dimNameInCiryllicEncoding} /L:C:/Hyperion/TempOtlLoad/outlineLoad.log /X:C:/Hyperion/TempOtlLoad/outlineLoad.exc
    TIMEOUT 10
    How to use Outline Load Utility with local encoding names of dimensions?

    Has somebody any idea about my question below ?
    Regards,
    Ed

  • How to do consolidation using two chart accounts with different currencies

    Hi
    How to do consolidation using two chart accounts with different currencies and do we need to use same fiscal year variant ?
    What would be the impossible factors when we use two company codes with two chart of accounts ...
    Regards
    Kesharika

    Good Afternoon
    You need to use translationa and/or valuation
    translation takes account in foreign currency and translates to group currency
    valuation takes account in currency 1 and restates into currency 2 for a company with currency 2
    so depends on which company you are consolidating for, a company in a foreign currency in that currency or consolidating a compnay in foreign currency to parent company in another currency

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • How to use one commandButton  to execute two task in JSF

    I have a form in JSF page which contains different faces components. These faces bind to ADF BC to insert one row in the database when the user press commandButton. Also I need to bind the value of one inputText in that form to managed bean to execute another task in the application when the user press the same commandButton.
    The code of the inputText:
    <h:inputText value="#{bindings.ProjectNumber.inputValue}"
    id="pn"
    size="10"
    required="#{bindings.ProjectNumber.mandatory}">
    The code of commandButton:
    <h:commandButton actionListener="#{bindings.Commit.execute}"
    value="Save"
    disabled="#{bindings.Commit.actionEnabled}"/>
    The managed bean is “findInspector”. I tried to insert inputHidden inside commandButton tag and assign the value of the inputText to the inputHidden as follows:
    <h:commandButton actionListener="#{bindings.Commit.execute}"
    value="Save"
    disabled="#{bindings.Commit.actionEnabled}">
    <h:inputHidden value="#{bindings.ProjectNumber.inputValue}" binding="#{findInspector.project}"/>
    </h:commandButton>
    But it was not work
    Please how can I write the code to use the value of the inputText more than one time in the JSF(one to insert one row by using ADF BC and another to use the same value to bind to a managed bean) and how to use one commandButton to execute two task in JSF.
    Thank you
    Waheed

    Yes I did
    <managed-bean>
    <description>The bean for get project No</description>
    <managed-bean-name>projectBean</managed-bean-name>
    <managed-bean-class>
    mcscm.model.ProjectBean
    </managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>bindings</property-name>
    <value>#{bindings}</value>
    </managed-property>
    </managed-bean>
    Also I changed the method in the managed bean as follows:
    public String commandButton_action() {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ValueBinding vb = fctx.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer dcb = (DCBindingContainer) vb.getValue(fctx);
    OperationBinding operation = (OperationBinding) dcb.get("projectNumber");
    operation.execute();
    return null;
    where projectNumber is my method in the java class of the application module "TaskInformationImpl". I made this method to be accessed from outside of ADF BC.
    I just create a sample code for projectNumber method for testing only as:
    public void projectNumber (String data){
    System.out.print(data);
    In the page Pagedef file I added this :
    <methodAction id="projectNumber"
    InstanceName="TaskInformationDataControl.dataProvider"
    DataControl="TaskInformationDataControl"
    MethodName="projectNumber" RequiresUpdateModel="true"
    Action="999" IsViewObjectMethod="false">
    <NamedData NDName="data" NDValue = "#{bindings.ProjectNumber.inputValue}" NDType="java.lang.String"/>
    After I did all of this I get a new error like:
    javax.faces.FacesException: #{projectBean.commandButton_action}: javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding cannot be cast to oracle.adf.model.OperationBinding
    Is it very difficult to do this in JDeveloper?. yes ADF BC provide me a lot of facilities, but when I want to do a specific task I face a lot of troubles

  • How to get mobile model name for different types mobile devices

    Hi,
    I have checked few thread in this forum about getting mobile model name at server. So far, i noticed the mobile name is set manually in the midlet as user-agent .
    HttpConnection connection = null;           connection = (HttpConnection)Connector.open(url);          connection.setRequestMethod(HttpConnection.POST);          connection.setRequestProperty("User-Agent","Nokia7110 Profile/MIDP-1.0 Configuration/CLDC-1.0");
    i retrieve the header information from servlet like below :-
    String userAgent = request.getHeader("User-Agent");
    How to get mobile model name for different model devices , not by manually adding the model name in midlet?
    Thanks in advance :-)

    Hi,
    In J2ME there is no method to get the model number from the device. how ever you can use the APIs provided by the device manufacturer if available. But still the APIs will not work with devices from other manufacturer or sometimes it will not work with the devices of the same manufacturer if the API is not supported. so it is better to send the device model name through the header.

  • How to use one pageflow to cater for multiple display?

    Hi, I trying to use one pageflow to display different kind of contents because the logic behind the retrieval is similar except that different parameter(string) us passed in for different content retrieval.
    How do i achieve the above? thanks in advance :D
    Cheers

    What do you mean by "display different kind of contents"? do you mean you want to display PDF/HTML/Image based on certain parameters or You are using different media like PC/PDA etc.
    In both cases you can redirect to different success page based on your query parameters.
    if(param.equals(image))
    forward image.jsp
    if(param.equals(pdf))
    forward pdf.jsp
    else
    forward html.jsp
    Hope it helps

Maybe you are looking for

  • Problem with hdradeon driver

    i have a problem with the opensource hdradeon driver. Here is the output of lspci | grep VGA 01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350] Here's my /etc/X11/xorg.conf.d/10-monitor.conf file: Section "Monitor" Identif

  • Issue the send attach Pdf file in Email. (Urgent).

    Hello folks, i have issue with attach pdf in e-mail using two lib´s: activation.jar and mail.jar. Currently using a platform SOA and am creating the serviceType, then a file don´t is local and yes by message, so far so good. Already tried in several

  • How do i get an activation code for a second hand iphone to unlock it

    I need an activation code for my second hand iphone i just bought online

  • Problem with User-defined function

    Does anyone know how to make the user-efined functionto return a object. We know how to run a java class within cal script and pass the result to that java class. However, what we need is to be able to return the result in the form of a java class wi

  • Cannot compile Lightspark, problem with llvm

    Hello, Lightspark is a new flash player for Flash 9 and more I would like to try. All is done for Ubuntu users, but for the others you have to compile the sources, that's what I am trying. During the compilation, here is what I got : [ 94%] Built tar