Is possible to work with both Connection Pool?

Hello,
I would like to know if is it possible to work with both Connection Pools: Active Directory and DWH User? If it's yes, how can I specify to work with both simultaneously?
Thank you and regards,
Mónica.

Hello Gayathri,
The version is OBISE1 10.1.3.2.1
The scenario is the following:
I have two connection pools
- One is mapping the DWH and it is using the System's variables :USER and :PASSWORD. Then I have an Initialization Block that get these values and I have created the logins as users in the database.
- The other is mapping the DWH tables.
I want to create directly users into the repository. The problem is the users of the repository cann't do the login because the first connection pool is trying to validate then against the database.
Would be possible to validate the users against the connection pool and the repository simultaneously?
Thank you and regards,
Mónica.

Similar Messages

  • Problem with JCo Connection Pool

    Hi,
    I have a problem with using an RFC Model in my WebApplication. So sometimes the access to the function block works, and sometimes it doesn't work. Now I know, that there is a problem with the connection pool. Look at this message:
    com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool WD_X24_MODELDATA_DEST_CPIC_REKTO_DE_useDefinedUser is exhausted. The current pool size limit (max connections) is 10 connections.
    So it looks like a problem with closing the JCo Connections after using. Do know where the problem is? Because I'm using many other function blocks with no problems.

    Hello,
    You need to increase the pool size via Visual Administrator.
    Server 0 -> Services -> JCO RFC Connections.
    Change the pool size from there. I believe a restart is in order.
    Regards,
    Jan

  • Problem with creating Connection pool and JNDI, driver is not detected

    Hi,
    I have an issue with creating Connection Pool and JNDI.
    I'm using:
    - JDK 1.6
    - OS: Linux(ubuntu 8.10)
    - Netbeans IDE 6.5.1
    - Java EE 5.0
    - Apache Tomcat 6.0.18 Its lib directory contains all necessary jar files for Oracle database driver
    - Oracle 11g Enterprise
    My problem is that the Oracle database driver is not detected when I want to create a pool (it works pretty well and is detected without any problem when I create ordinary connection by DriverManager)
    Therefore after running:
    InitialContext ic = new InitialContext();
    Context context = (Context)ic.lookup("java:comp/env");
    DataSource dataSource = (DataSource)context.lookup("jdbc/oracle11g");
    Connection connection = dataSource.getConnection();and right after dataSource.getConnection() I have the following exception:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    at servlets.Servlet1.doPost(Servlet1.java:47)
    at servlets.Servlet1.doGet(Servlet1.java:29)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1130)
    ... 17 more
    My application context file (context.xml) is:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/WebApplication3">
      <Resource auth="Container"
                      driverClassName="oracle.jdbc.OracleDriver"
                      maxActive="8"
                      maxIdle="4"
                      name="jdbc/oracle11g"
                      username="scott"
                      password="tiger"
                      type="javax.sql.DataSource"
                      url="jdbc:oracle:thin:@localhost:1521:database01" />
    </Context>and my web.xml is:
        <resource-ref>
            <description>Oracle Datasource example</description>
            <res-ref-name>jdbc/oracle11g</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
        </resource-ref>
    ...I found similar threads in different forums including sun, such as
    http://forums.sun.com/thread.jspa?threadID=567630&start=0&tstart=0
    http://forums.sun.com/thread.jspa?threadID=639243&tstart=0
    http://forums.sun.com/thread.jspa?threadID=5312178&tstart=0
    , but no solution.
    As many suggest, I also tried to put context directly in the server.xml (instead of my application context) and referencing it by <ResourceLink /> inside my application context but it didn't work and instead it gave me the following message:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '   ' for connect URL 'null'
    Has anyone succeeded in creating a connection pool with JNDI by using Tomcat 6 or higher ? If yes, could kindly explain about the applied method.
    Regards,

    Hello again,
    Finally I managed to run my application also with Tomcat 6.0.18. There was only two lines that had to be modified
    in the context.xml file (the context of my application project and not server's)
    Instead of writing
    <Context antiJARLocking="true" path="/WebApplication2">
        type="javax.sql.DataSource"
        factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
    </Context>we had to write:
    <Context antiJARLocking="true" path="/WebApplication2">
        type="oracle.jdbc.pool.OracleDataSource"
        factory="oracle.jdbc.pool.OracleDataSourceFactory"
    </Context>- No modification was needed to be done at server level (niether server.xml nor server context.xml)
    - I just added the ojdbc6.jar in $CATALINA_HOME/lib (I didn't even need to add it in WEB-INF/lib of my project)
    - The servlet used to do the test was the same that I presented in my precedent post.
    For those who have encountered my problem and are interested in the format of the web.xml and context.xml
    with Tomcat 6.0, you can find them below:
    Oracle server: Oracle 11g Enterprise
    Tomcat server version: 6.0.18
    Oracle driver: ojdbc.jar
    IDE: Netbeans 6.5.1
    The context.xml file of the web application
    <?xml version="1.0" encoding="UTF-8"?>
    <Context antiJARLocking="true" path="/WebApplication2">
        <Resource name="jdbc/oracle11g"
                  type="oracle.jdbc.pool.OracleDataSource"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@localhost:1521:database01"
                  driverClassName="oracle.jdbc.OracleDriver"
                  userName="scott"
                  password="tiger"
                  auth="Container"
                  maxActive="100"
                  maxIdle="30"
                  maxWait="10000"
                  logAbandoned="true"
                  removeAbandoned="true"
                  removeAbandonedTimeout="60" />
    </Context>The web.xml of my web application
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <resource-ref>
            <description>Oracle Database 11g DataSource</description>
            <res-type>oracle.jdbc.pool.OracleDataSource</res-type>
            <res-auth>Container</res-auth>
            <res-ref-name>jdbc/oracle11g</res-ref-name>
        </resource-ref>
        <servlet>
            <servlet-name>Servlet1</servlet-name>
            <servlet-class>servlets.Servlet1</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Servlet1</servlet-name>
            <url-pattern>/Servlet1</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    </web-app>Ok, now I'm happy as the original problem is completely solved
    Regards

  • Does apple tv work with both N wireless bands

    Does apple tv work with both wireless "N" bands

    Yes, I have both the 1G and 2G ATVs working off a 5 GHz n only network. Since the 2.4 GHz band can be set up to be backwards compatible with b/g networks it will work here too.
    I use an Apple Time Capsule to create a dual band network. Running my ATVs and Airport Expresses on the 5 GHz band improved streaming and AirPlay speaker reliability substantially in my location. I suspected interference from my neighbor's networks as well as other 2.4 GHz sources. I had to create the 2.4 GHz network for my 1G touch and an older laptop to work which don't need as reliable of a network connection.

  • Limit errors while working with multiple connections

    I'm currently evaluating SQL Developer and I'm looking particularly for functionnalities that permit to distinct clearly several connections, so as to avoid DBA errors when working with several connections in parallel.
    Currently it seems that SQL Developer provide these features :
    - folders organization in the explorer --> for example we can create one folder per environnement (DEV, ...).
    - connection name --> each user can define its own name. These aliases are then shown in main window title and tabs when opening a connection.
    These features ar quite limited when comparing with a tool like Toad, which permit to associate colors to connections (good feature!) or define custom fields. Moreover database user is not shown into the SQL Developer interface, unless we add it into the connection name...
    Do you know if it is planned to improve these features in following SQL developer releases ?
    Or,if not, would it be possible to develop rapidly a plugin that can provide it? (especially concerning connections colors)
    Thanks.

    OK I found a feature request that exactly corresponds to mine : [http://htmldb.oracle.com/pls/otn/f?p=42626:39:8190796679950913::NO::P39_ID:3881]
    But this request is 2 years old and was apparently rejected. Can I submit again a similar request?
    And do you know if it would be possible to add this feature by developing a custom plug-in?
    I mean: do SQL Developer plug-in extension mechanism allow us to extend the "connection preferences" wizard, and GUI?
    Thanks

  • High quality mic on external usb-soundcard dosen't work with Adobe Connect. Why?

    Hello
    A friend of mine bought a quite good microphone and a good extrernal soundcard for recording podcasts. Everything works fine. But know she wants to use the microphone for Adobe Connect, because of the very good sound quality. Adobe Connect finds it an you can select it, but now singal comes into Adobe Connect. But it works with every other Adobe application. So why doesn't it work with Adobe Connect?
    The soundcard is the Tascam US-122 Mk2. Normaly very uncomplicated ..
    Thanks for any advice!
    Alinja

    I connect my bus-powered HDs (more than one) to the iMac all the time without any problems. I have found, though, that for me the FireWire enclosures work much better (faster and more stable) than the USB2 ones. I have had the USB2 drives freeze my computer once or twice when I connected the HD, but nothing like that has ever happened with the FireWire connections. (I switched the same disk from USB to a FireWire enclosure, so all other elements were kept constant in my experiments.)
    One of my HD is in a MacAlly 2.5" enclosure that offers both FireWire and USB2. The other one is in some generic enclosure with only USB2. Both are bus-powered and both work fine.

  • I recently bought a new macbook pro and set it up using the migration assistant and my mac mini.  I can't get the text message forwarding feature to work with both computers.

    I recently bought a new macbook pro and set it up using the migration assistant from my mac mini.  I can't get the text message forwarding feature to work with both computers.  It keeps saying that I only have 2 devices setup, my iPad and my macbook pro.  When I mess with the setting on my mac mini, it goes from saying that that is one of the devices to my macbook pro being the 2nd device.  I think that something happened as a result of my using the migration assistant and now it thinks that my macbook pro and my mac mini are one and the same computer.  Any ideas?

    Thanks, Sig.
    The old computer is a 2.6 Ghz Intel Core 2 Duo
    The new one is a 2.3 GHz intel core i7
    In going over this, thanks to "tallking it out" with you, I did discover the Text Edit problem.  Because I've still been unable to get the new computer text size (fonts or whatever) to match the old computer, I did not notice that the curser is now different--the line midway down the curser has to be placed on the line I am working upon, otherwise the edits go elsewhere on the page.  Now, with a bit of difficulty, I am able to get Text Edit to work correctly.
    If you have any ideas as to why my menu bar and Text Edit type are still so slow, I'd love to have them. 
    (I went through the process you suggested earlier, re my Trackpad preferences, and found no improvement.)

  • HT201210 hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

  • What format do I ned to make my external hard drives to enable them to work with both Mac and PC?

    I'd like to format several external hrd drives to work with both my Mac Book Pro and a PC in the house.  Disk utility says ok for esFat to wrok with both but techies say format as FAT. 
    Also, does size of external have an influence on the formatting option?
    Thanks.  Being a relative newcomer to MAC, I am trying to learn the ropes.  Thanks for any assistance you can give me.
    TJ

    hey
    i agree with matt exFat is a hybrid with good compatibility between both windows and mac, but it has this problem with huge cluster size so it'll eat your hdd up.
    if you are using it on a single windows pc you can install a HFS+ reader to that windows pc it'll enable you to read the hdd formatted HFS+ but you WON'T be able to write to it!!
    anyway it's your choice since both are okay but personally i've formatted mine to HFS+ and installed a reader on the pc

  • Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    You haven't given us much to go on here.  What exactly are you doing and what exactly happens when you try?  Which specific version of each program are you using?  (Go to Help>About...)
    On a side note, a simple, brief thread title is all that's needed.  Something like "After Effects Issue" would be fine.  You don't need the full question there.

  • Is it possible to work with different languages in different applications?

    Hi,
    is it possible to work with different languages in different applications?
    To have f.e. Photoshop in English and Indesign in Dutch??
    Thanks!

    I am not sure about it that you can use different apps in different language in the same computer, however you can check the following links:
    http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html
    Adjust the install language | CCM
    http://tv.adobe.com/watch/learn-creative-cloud/installing-multiple-languages-of-a-desktop- application/
    Regards
    Rajshree

  • Is it possible to work with PHP pages in Oracle ERP R12 and how to set up ?

    Hi,
    Is it possible to work with PHP pages in Oracle ERP R12 and how to set up ?
    Regards
    Nandhakumar P

    Hi Nandhakumar,
    To be able to access any Oracle database using PHP you require the following:
    A server with Apache 2+  (Unix, windows etc)
    PHP enabled using OCI8
    tnsnames.ora
    Oracle instant client and associated libraries
    This gives you direct access into oracle database. As for E-Business, you will compromise the security and safty of of R12 by going in through php. Oracle is not likely to support it either.
    I have got a apache/php/Oracle XE working on a test environment and Ithe performance is not a big issue. If you must I would hughly recommend Oracle Linux for quality and security.

  • Will an unlocked iPhone 4S work with both CDMA and GSM SIM cards?

    I was using the iPhone 4S with a GSM sim card all these years here in India and would like to switch to a CDMA carrier.
    Does the phone work with both SIM cards? Or is there a separate model which works with CDMA?
    Appreciate all replies.
    Thank You!

    Hey varun0809,
    It sounds like you have a question about the specifications of your specific model of iPhone 4s. Here is an article for you that should be able to help you answer these questions:
    iPhone 4S - Technical Specifications
    http://support.apple.com/kb/sp643
    Cellular and Wireless
    World phone
    UMTS/HSDPA/HSUPA (850, 900, 1900, 2100 MHz);
    GSM/EDGE (850, 900, 1800, 1900 MHz)
    CDMA EV-DO Rev. A (800, 1900 MHz)3
    802.11b/g/n Wi-Fi (802.11n 2.4GHz only)
    Bluetooth 4.0 wireless technology
    1GB = 1 billion bytes; actual formatted capacity less.
    Actual size and weight vary by configuration and manufacturing process.
    CDMA available only if iPhone 4S is sold and activated for use on a CDMA network.
    All battery claims depend on network configuration and many other factors; actual results will vary. Battery has limited recharge cycles and may eventually need to be replaced by Apple service provider. Battery life and charge cycles vary by use and settings. See www.apple.com/batteries and www.apple.com/iphone/battery for more information.
    Wireless broadband recommended; fees may apply
    Some features, applications, and services are not available in all areas. See your carrier for details. Application availability and pricing are subject to change.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • I want to get a portable power pack for recharging my iphone5 and ipad air. What works with both?

    I want to get a portable power pack for recharging my iphone5 and ipad air. What works with both?

    http://www.amazon.com/gp/product/B00D5T3QK4/ref=oh_details_o03_s00_i00?ie=UTF8&p sc=1

  • Is it possible to sync with both my win 7 computer (Outlook 2010), and with iCloud, without duplicating contacts and appointments? thanks.

    Is it possible to sync with both my win 7 computer (Outlook 2010), and with iCloud, without duplicating contacts and appointments? thanks.

    Hey keiichi-san,
    Yes, It is possible. You can merge contacts, calendars, and bookmarks between multiple computers.
    When you sync the contacts and calendars to your iPhone from the new computer you'll see the option to Merge or Replace, just choose Merge.
    These articles provide more information on syncing options:
    http://docs.info.apple.com/article.html?artnum=306071
    http://docs.info.apple.com/article.html?artnum=305741
    Jason

Maybe you are looking for

  • How do I transfer files from an old macbook to the new air?

    I just received a new macbook air...I am stumped on how to transfer files and more specifically on how to get the Microsoft office for mac onto the harddrive since there is no cd drive!

  • How do I deal with a Runtime Error on Adobe Acrobat 9.5?

    How do I deal with a Runtime Error on Adobe Acrobat 9.5? The instructions say to contact the support team but I have to pay in order to do so.

  • How to manage bom effective in and out dates

    The parent-child relationships in my BOMs have effective in and out dates. The in date is when the child part starts to participate in the BOM cascade. Then out date is when it stops participating. My questions is, how to express this in IOP speak. S

  • Is a Slideshow viewable on Windows PC ?

    I guess that a regular Slideshow burned to a CD will be viewable on a Windows PC. Are there any special points ? Thanks!

  • Pricing, Directory and what's missing...

    A rather open ended thread I fear but it might spawn others... Pricing; I'm not sure what the situation in America but here in the UK it appears that Apple is squeezing us (well, ok, ME) out. Leopard Client 98 pounds, Leopard Server cheapest option (