Using DB Connection with DBPool

Hi,
We are about to develop some Webdynpro applications and we have a requirement of accesing R/3 and a DB in the same Webdynpro Component, I understand you can not use the DB as a model but maybe use a Java component that can be instantiated from the Webdynpro to achieve this and the Java component accesses the DB, my question is if WAS JAVA has a DB Connection Pool already that we can use to achieve our porpose?
Thanx in Advanced!
Kind Regards,
Gerardo J

Hi Gerardo,
Indeed, it has. <a href="http://help.sap.com/saphelp_nw04/helpdata/en/fe/9e362f3d954e8e8555007d8030df63/frameset.htm">This</a> should be a good starting point.
You could have a stateless session bean to access the DB and call it from the WD component. Check <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">this</a> article.
Hope that helps!
-- Vladimir

Similar Messages

  • HT4623 My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I won't erase all my music reco

    My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I don't want to erase all my music recording. (couldn't back up easily...) my dairy, my financial record made on apps...
    If I got a new Mac book pro soon, would it helps backuping everything?

    awesome121, he does not an an iCloud account. You need iOS 5 or later for iCloud and the poster said he has iOS 4.
    awesome121 wrote:
    DO you have a icloud account?

  • Receiving emails about a newly set up itunes account that does not belong to me (although has my name). The address used in connection with it seems to be in California and the person likes Justin Bieber - what's going on here?

    Hi. I am receiving emails about a newly set up itunes account that does not belong to me (although has my name). The address used in connection with it seems to be in California and the person likes Justin Bieber (as I now have a receipt for that purchase). It states that it is billed to store credit. (a) I don't want to receive this person's information and (b) I certainly don't want to somehow be charged for it (although it appears, thus far, that I have not been). What's going on?

    i didn't read a lot of your 2nd paragraph, but it seems like the password is the issue, right?
    do a true clean install
    reboot your machine and hold down command+option+r, you should see a spinning globe - if you don't see the globe or anything that reads internet recovery, shut down and try again
    at menu, chose disk utility and once there, find your HD on the left side, select the physical name and erase it as mac journaled
    exit disk utlity
    at menu, choose install OSX
    this time, when it asks for a password just hit continue, it will let you complete without a password
    you should be able to get into your laptop, now figure out what password you'll be able to use with your kb issue

  • HT5622 Can Face Time be used to connect with more than one person at a time?

    Can I connect with more than one person at a time when using Face Time?

    You mean like a conference call?  No, unfortunately.

  • Cannot use WLAN connection with my Satellite Pro A100

    Toshiba Satellite Pro A100-830
    Netgear DG834G
    Can not use wireless connection. While using "Config Free" to find wireless device the popup 'this connection is controlled by other software'. I do not know what it means and which software controls the connection. I have other laptop which is duly connected by wireless connection. I am ok with wired connection.
    I do not know much about technicalities and thus seek help if any reader can.
    Thanks
    Kris

    >Can not use wireless connection. While using "Config Free" to find wireless device the popup 'this connection is controlled by other software'
    You should not use the ConfigFree for the Wlan configuration but either the own Vista configuration options or the WLan configuration tool like Intel ProSet Utility or Atheros Clint Utility. It depends on the WLan card what utility can be used.
    Intel card -> Intel ProSet Utility; Atheros WLan card -> Atheros Clint Utility
    I assume the message +this connection is controlled by other software+ appears because one of the options mentioned above controls the WLan.

  • Using multipool Connections with Oracle 8i OPS Parallel Server

    Does anyone have any experience using multipool JDBC connections with Oracle 8i OPS? During a oracle node failure, we are seeing all of the connections fail. Any help you could give me her would be greatly appreciated!

    hal lavender wrote:
    Hi,
    I am trying to achieve Load Balancing & Failover of Database requests to two of the nodes in 8i OPS.
    Both the nodes are located in the same data center.
    Here comes the config of one of the connection pools.
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db1Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.160:1421:dbinst01" />
    <JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
    DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
    InitialCapacity="10" MaxCapacity="25" Name="db2Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
    Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
    TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.161:1421:dbinst01" />
    <JDBCMultiPool AlgorithmType="Load-Balancing" Name="pooledConnection598011"
    PoolList="db1Connection598011,db2Connection598011" Targets="ngusCluster12,ngusCluster34" />
    Please let me know , if you need further information
    HalHi Hal. All that seems fine, as it should be. Tell me how you
    enact a failure so that you'd expect one pool to still be good
    when the other is bad.
    thanks,
    Joe

  • Unable to use Internet Connect with my new wireless device

    I just received a new wireless device for my macbook pro. Normally I sign on with Internet Connect, but after setting up the new card, I can only connect using Verizon Manager, which usually doesn't give me good connection, I don't know why.
    I called the Verizon people, they mostly are clueless as to how I was able to sign on using both Internet Connect and Verizon Manager before with my old card. I remember there's a way of setting up manually if you want to use Internet Connect. Problem is, when I went to Systems Preferences and clicked on Network, a pop up prompt saying "your network setting have been changed by another application" keeps popping up even as I keep closing it. ***?!!! How can I get rid of it so I can change network setting manually?
    I just want the option of connecting with Internet Connect with my new wireless device. BTW, when I try connecting with it using my old setting National access/ Broadband access , I get a message saying "the selected communication device does not exist".

    "I just received a new wireless device"
    If not from Verizon, then who? Did it come w/a manual? If not, have you contacted the vendor/manufacturer for instructions?
    ==========
    "A Fix for "Your network preferences have been changed by another application" Error
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting"
    !http://i50.tinypic.com/izvwo1.gif!

  • Using gigabit connections with 350N

    I have been experiencing some problems with my 350N recently. I've upgraded to the latest version when it was released(1.03.2) and it's been ok.
    Recently I've had a problem getting onto the internet. I've isolated the problem to be the router when I bypassed router to the PC directly. I can get IP address but I cannot get onto the internet. The wireless clients show the same problem.
    Only thing that has changed is this. I've put one PC on the network at gig speeds. Are there a certain port(s) that I can use? It works with the gig for a while and then stops. I suspect this is the problem but I haven't done extensive troubleshooting. It's very frustrating!!!
    Any pointers would be appreciated!!!

    i have same problem as steinhouse10874. after I download lastest ver firmware and installed it. My pc cannot obtain ip from router and occur limitation connective. I havn't using wireless connect to router so limitation connective occur is let me feel strange. I reset router, then I can obtain ip form reuter and can connet to internet. But some strange things occur, I just open port 80 from router, but I discover FTP port 21 have been opened too. I check router setting , I havn't open FTP port 21. FTP server just for my VPN only, but now it stand at internet too. after it , i check other port pop3 or smtp3 for SSL , it is automatic opened to. I havn't opened it both in router. I have 3 pcs at my home , now every pcs like DMZ standing in internet. pls let me know anyone have those case, and have any slove solution. linksys it the biggest and famous in the world, pls check it and solve as soon as possible , thanks much!

  • Can we use JCo connection with non-Web Dynpro J2EE project in NW

    With Web Dynpro, we have the RFC wizard to call RFCs using JCo connection.  I am wondering, if I create a J2EE project in NW development studio, can I and how to use JCo connection to call RFCs?
    Thanks.

    yes, of course.
    Add jar sapjco.jar then
    import com.sap.mw.jco.*;
    public class Bapi1 extends Object {
       JCO.Client mConnection;
       JCO.Repository mRepository;
       public Bapi1() {
          try {
             // Change the logon information to your own system/user
             mConnection =
                JCO.createClient("001", // SAP client
                  "<userid>", // userid
                  "****", // password
                  null, // language
                  "<hostname>", // application server host name
                  "00"); // system number
            mConnection.connect();
            mRepository = new JCO.Repository("SAPJCo", mConnection);
          catch (Exception ex) {
            ex.printStackTrace();
            System.exit(1);
          JCO.Function function = null;
          JCO.Table codes = null;
          try {
             function = this.createFunction("BAPI_COMPANYCODE_GETLIST");
             if (function == null) {
               System.out.println("BAPI_COMPANYCODE_GETLIST" +
                                  " not found in SAP.");
               System.exit(1);
             mConnection.execute(function);
             JCO.Structure returnStructure =
               function.getExportParameterList().getStructure("RETURN");
             if (! (returnStructure.getString("TYPE").equals("") ||
                    returnStructure.getString("TYPE").equals("S")) ) {
               System.out.println(returnStructure.getString("MESSAGE"));
               System.exit(1);
             codes =
               function.getTableParameterList().getTable("COMPANYCODE_LIST");
             for (int i = 0; i < codes.getNumRows(); i++) {
               codes.setRow(i);
               System.out.println(codes.getString("COMP_CODE") + '\t' +
                                  codes.getString("COMP_NAME"));
          catch (Exception ex) {
            ex.printStackTrace();
            System.exit(1);
          try {
            codes.firstRow();
            for (int i = 0; i < codes.getNumRows(); i++, codes.nextRow()) {
              function = this.createFunction("BAPI_COMPANYCODE_GETDETAIL");
              if (function == null) {
                System.out.println("BAPI_COMPANYCODE_GETDETAIL" +
                                   " not found in SAP.");
                System.exit(1);
         function.getImportParameterList().
           setValue(codes.getString("COMP_CODE"), "COMPANYCODEID");
         function.getExportParameterList().
           setActive(false, "COMPANYCODE_ADDRESS");
         mConnection.execute(function);
         JCO.Structure returnStructure =
           function.getExportParameterList().getStructure("RETURN");
         if (! (returnStructure.getString("TYPE").equals("") ||
                returnStructure.getString("TYPE").equals("S") ||
                returnStructure.getString("TYPE").equals("W")) ) {
            System.out.println(returnStructure.getString("MESSAGE"));
         JCO.Structure detail =
           function.getExportParameterList().
           getStructure("COMPANYCODE_DETAIL");
         System.out.println(detail.getString("COMP_CODE") + '\t' +
                            detail.getString("COUNTRY") + '\t' +
                            detail.getString("CITY"));
      catch (Exception ex) {
        ex.printStackTrace();
        System.exit(1);
      mConnection.disconnect();
    public JCO.Function createFunction(String name) throws Exception {
       try {
         IFunctionTemplate ft =
            mRepository.getFunctionTemplate(name.toUpperCase());
         if (ft == null)
           return null;
         return ft.getFunction();
       catch (Exception ex) {
         throw new Exception("Problem retrieving JCO.Function object.");
    public static void main (String args[]) {
       Bapi1 app = new Bapi1();
    Link: [http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm]

  • Problem using HP Connect with my HP Photosmart C410

    I am trying to use HP Connect apps with my HP Photosmart C410 printer. I can add the device, but none of the apps seem to work with my printer It'a not THAT old. Any suggestions?
    This question was solved.
    View Solution.

    HI beachgrl,
    Welcome back to the HP Support forums.  I understand that you would like to learn what printables are available for your Photosmart C410 printer in HP Connected.
    Once you are signed into your HP Connected account, if you type the link listed below into the address bar on your browser it should take you to a page that shows the printables you already have on your printer. Below the "Recommended Printables" section there is a search function.  If you type in your printer model it will list the printables available for the Photosmart C410a. The results will be grouped by category.  I have included a screen shot.
    The address you need to type into your browser address bar is  https://printables.hpconnected.com
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • I want to Know how to use JDBC connection with postgress sql on Linux

    Hello friends R u Listen to me?
    Pls help me for making JDBC connectivity with postgress Sql On Linux by using Type 4 Driver .
    Is there is any envoirnment setting rqr then pls send me the same on my mail
    My mail is [email protected]
    varsha

    dcminter wrote:
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    and
    http://www.postgresql.org/docs/
    ;-)

  • Can not connect to internet using bluetooth connection with Nokia N95

    Hello!
    I'm trying to connect to internet using my Nokia N95 as a modem and connecting my Macbook Pro and Nokia using bluetooth connection. Mac says me "Can not connet to PPP server..."
    When i connect using usb cable connection between Nokia and Mac - everything is OK.
    Where is the problem?
    Thank you!

    Hello!
    I'm trying to connect to internet using my Nokia N95 as a modem and connecting my Macbook Pro and Nokia using bluetooth connection. Mac says me "Can not connet to PPP server..."
    When i connect using usb cable connection between Nokia and Mac - everything is OK.
    Where is the problem?
    Thank you!

  • Networking/connection failure using generic connectivity with paradox databases

    I tried to establish a connection from our Oracle 8i-Server
    (Rel. 8.16 ) to a remote paradox-database via a database-link
    and a data-direct 4.0 paradox-odbc-driver. For testing purposes
    I set up a agent initialization file for a agent called hsodbc
    according to the distributed-database documentation and I also
    used the same parameters as in the documentation. If I try to
    test the Net8-Connection an ORA-03113-Error occurs.
    The entries in the agent-initialization file and in the
    tnsnames/listener.ora are ...
    ...Agent-Initialization File Inithsodbc.ora
    #Agent-Initialization File Inithsodbc.ora
    # This is a sample agent init file that contains the HS
    parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = hsodbc
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = HS.Log
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    #DataDirect 4.0 ParadoxFile (*.db);
    ...listener.ora
    # LISTENER.ORA Network Configuration File: C:\Oracle\Ora_Serv_816
    \network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pdv0570)(PORT = 1521))
    CONNECT_TIMEOUT_LISTENER = 0
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = C:\Oracle\Ora_Serv_816)
    (PROGRAM = hsodbc)
    (SID_DESC =
    (GLOBAL_DBNAME = MEDAS.PDV0570.MED.UNI_DUESSELDORF.DE)
    (ORACLE_HOME = C:\Oracle\Ora_Serv_816)
    (SID_NAME = MEDAS)
    # This is a sample listener.ora that contains the NET8
    parameters that are
    # needed to connect to an ODBC Agent - but makes an ORA-03113-
    Error if i check the
    # Net8-Connection
    and in the tnsnames.ora...
    # TNSNAMES.ORA Network Configuration File: C:\Oracle\Ora_Serv_816
    \network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    # This is a sample tnsnames.ora that contains the NET8
    parameters that are
    # needed to connect to an default generic connectivty ODBC Agent
    HSODBC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pdv0570)(PORT = 1521))
    (CONNECT_DATA =
    (SID = hsodbc.pdv0570.med.uni_duesseldorf.de)
    (HS = OK)
    #...new service created after setup of new database MEDAS with
    setting db_domain
    #...ATTENTION - use full service name with domain qualifier for
    sqlplus-login
    MEDAS.PDV0570.MED.UNI_DUESSELDORF.DE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pdv0570)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = MEDAS.PDV0570.MED.UNI_DUESSELDORF.DE)
    Do you have any suggestions how to fix the problem - and meny
    thanks in advance.
    Andreas

    Please contact Oracle support for this issue.
    Ensure that you are using an ODBC driver that meets the
    requirements listed in the documentation.
    Also double check that the ODBC driver is configured correctly.

  • Using Cisco Connect with 2 different Routers

    I have the linkys n300 E1200 at my office and the Linksys E1000 at my home.  How do i configure Cisco Connect to work with both of these routers so i don't have any connectivity issues?

    You can only have one Cisco Connect software installed on your computer. What are your challenges with the Linksys routers? Are you experiencing slow connection? Or intermittent connection? Does it occur on both routers? Since the two routers are on two different locations, we need to properly isolate this matter to know what is really causing it. 
    Updating the router's firmware will help in resolving connectivity difficulties. If the wireless connection drops, you can also try adjusting the wireless channels of the router. I am using channel 9 for my EA4500 router. Make sure as well that the router is being placed on a higher location or less interference area. 
    Share more details about this matter. Community users are here to help.
    Help, learn and share

  • Using Cisco Connect with several E1000 routeres

    I have two E1000 routeres, one at home and one at the office, and I have installed the Cisco Connect (CC) software on my laptop, and used it to congifure both devices with.
    The first time I tried to connect CC to the router at the office, it removed the settings from my home router, and accessed the E1000 ok and I could configure it without any problems via CC.
    But when I now tries to use CC to configure my home router via CC, it keeps complaining about me not beeing connected to the right router, and CC won't allow me to connect to my home router eventhough I type in the correct password etc.
    Does anybody know of a trick to use the same CC for configuring multiple E1000's ? Or how to get CC to "forget" its settings and connect to a new E1000 router?
    Thanks.

    So the concern that you said is the configuration of the Router ( E1000 ) at home.. So could please inform us the name of the ISP( Internet Service Provider )... So it all depends upon the ISP( Internet Service Provider ) setup...
    If you want to configure the router with the help of the CD so for that you need to uninstall the existing Cisco Connect Software from the computer...
    Reset the Router and power cycle the network...
    Make the following connectivity Modem ----> Router -----> Computer... Then install the Cisco Connect Software... It will help you in configuring the Router...

Maybe you are looking for