Weblogic 5.1 (NT) and DB2 (S/390)

I'm running Weblogic 5.1 under my NT-Workstation.
I'm connected to a DB2-System via DB2-Connect and an ODBC-Ressource on my Workstation.
With a Java-Application i can initialize the IBM-JDBC-Driver and perform the Stored
Procedure at the DB2-System.
If initialize the driver the same way in an bean under Weblogic it throws an Exception
"No suitable Driver". ('net' & 'app' - driver)
<i>
Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");
cConnection = DriverManager.getConnection("jdbc:db2:" + strDBName,strDBUser,strDBPass);
</i>
I also can't create a connection pool. ('net' - driver)
There it throws a "NullPointerException".
<i>
weblogic.jdbc.connectionPool.webinfoPool=\
url=jdbc:db2:DBEBD0,\
driver=COM.ibm.db2.jdbc.net.DB2Driver,\
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=ex10502;password=ex10502
</i>
How can I use the IBM DB2 JDBC - Drivers under Weblogic 5.1 ???
Steve

I'm running Weblogic 5.1 under my NT-Workstation.
I'm connected to a DB2-System via DB2-Connect and an ODBC-Ressource on my Workstation.
With a Java-Application i can initialize the IBM-JDBC-Driver and perform the Stored
Procedure at the DB2-System.
If initialize the driver the same way in an bean under Weblogic it throws an Exception
"No suitable Driver". ('net' & 'app' - driver)
<i>
Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");
cConnection = DriverManager.getConnection("jdbc:db2:" + strDBName,strDBUser,strDBPass);
</i>
I also can't create a connection pool. ('net' - driver)
There it throws a "NullPointerException".
<i>
weblogic.jdbc.connectionPool.webinfoPool=\
url=jdbc:db2:DBEBD0,\
driver=COM.ibm.db2.jdbc.net.DB2Driver,\
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=ex10502;password=ex10502
</i>
How can I use the IBM DB2 JDBC - Drivers under Weblogic 5.1 ???
Steve

Similar Messages

  • Time Zone issue with 7.0 and DB2

    Hi,
    We are having a time zone issue with weblogic server 7.0 and DB2 database. I would really appreciate if somebody provides a solution for this issue.
    Our db2 DB is located in PST time zone and weblogic server is located in EST time zone.
    When we access current timestamp from db2, we are getting PST time converted to EST and EST time zone attached with timestamp value.
    I tried to use resultset.getTimeStamp (1,<calendar>), unfortunately this method is not supported in the DB2 driver version I am using.
    We want to get same value as returned by db2 with db2 time zone not weblogic server time zone.
    And also when we add new record with timestamp column through web service, regardless the time zone value sent by web service client ".Net" ,
    Weblogic server converts the java.util.Date value to weblogic time zone and stores in the db.
    For example, client sent 17:00 hours CST, but when it gets stored in db through weblogic ws, weblogic converts 17:00 to 18:00 EST and stores in database as 18:00 hours without any time zone. When we read this value back, we are getting it 18:00 EST only not 17:00 CST.
    This is fine as long as writing and reading by same weblogic server. If another weblogic server instance in PST time zone read this value, it takes as 18:00 PST.
    Due to this our application always shows timestamp hours differently.
    Could some body help me to fix this problem, we are getting this problem in production after we moved our DB2 location to different time zone.
    Thanks
    Balaji

    Hi,
    Check whether document in the link below is of any use for you..
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFTIM/CAGTFTIM.pdf
    Regards
    K.M.Arun

  • How to connect Weblogic 6.1 and DB2 under OS/390

    Hello,
    which JDBC Driver do I need in order to connect Weblogic 6.1 to DB2 OS/390.
    And where can I get this Driver?
    With best regards
    Stefan Stössel

    In order to use IBM's JDBC driver to connect to DB/2 on the mainframe, you will need to
    use DB2Connect. You can also get third-party drivers from companies such as Neon
    Systems that support this without DB2Connect...
    Joseph Weinstein wrote:
    Stefan Stoessel wrote:
    Hello,
    which JDBC Driver do I need in order to connect Weblogic 6.1 to DB2 OS/390.
    And where can I get this Driver?
    With best regards
    Stefan StösselHi. As far as I know, IBM is the only source of JDBC drivers for DB2, so you should
    get the appropriate driver from them, for the platform on which you want to run
    WebLogic. Once you have this driver, and can connect to your DBMS using the driver's
    own simple example programs, show me the few lines of code that make the connection,
    and I'll show you how to define a pool so WebLogic can do the same.
    Joe

  • Weblogic and Db2 UDB V8 64 bit

    We are planning to migrate our db2 udb instance to V8.2 64 bit on SunOS. Currently we are on DB2 V81 32 bit using weblogic. We'd like to know what are the Weblogic Versions that are certified by BEA to support on db2 udb V8.2 32 and 64 bit instances on SunOS. And how to get weblogic to talk to Db2 UDB V8.2 64 bit instances?
    Any feedback would be greatly appreciated.
    Thanks a lot.
    Li

    LI Cui wrote:
    We are planning to migrate our db2 udb instance to V8.2 64 bit on SunOS. Currently we are on DB2 V81 32 bit using weblogic. We'd like to know what are the Weblogic Versions that are certified by BEA to support on db2 udb V8.2 32 and 64 bit instances on SunOS. And how to get weblogic to talk to Db2 UDB V8.2 64 bit instances?
    Any feedback would be greatly appreciated.
    Thanks a lot.
    LiThe BEA WebLogic Type 4 JDBC driver for DB2 (the "DB2 driver") supports:
    DB2 Universal Database (UDB) 7.1, 7.2, and 8.1 on Windows NT, Windows 2000,
    Windows 2003, Windows XP, UNIX, Linux, and Linux/s390 via DRDA
    DB2 6.1 and DB2 UDB 7.1 running on OS/390 and z/OS via DRDA
    DB2 UDB V4R5, V5R1, and V5R2 running on iSeries and AS/400
    Note: This documentation uses the following terms to describe the different DB2 versions:
    "DB2 UDB" refers to all versions of DB2 running on Windows, UNIX, and Linux/s390 platforms
    "DB2 OS/390" refers to all versions of DB2 on OS/390 and z/OS platforms
    "DB2 iSeries" refers to all versions of DB2 on iSeries and AS/400
    Joe

  • WebLogic 6.1 and DB2 setup on Solaris 8

    Hi,
    I was wondering if anyone knows how? and if it is possible to setup WebLogic 6.1
    and DB2 to work on Solaris 8? and if they know any helpfull links for me to read
    up on how to set everything up.
    Thanks

    Ok.
    http://search.beasys.com/weblogic/gonews/
    S.
    "S Tomb" <[email protected]> wrote in message
    news:3b9d3f97$[email protected]..
    >
    The link you included does not work, is there another URL
    that does work? Thanks
    S Tomb
    "Slava Imeshev" <[email protected]> wrote:
    You could go to our newsgroup search engine,
    (http://search.beasys.com/weblogic/gonews/)
    select jdbc newsgroup, enter "DB2" keyword
    and press "Search" button.
    Regards,
    Slava Imeshev
    "S Tomb" <[email protected]> wrote in message
    news:3b996903$[email protected]..
    Hi,
    I was wondering if anyone knows how? and if it is possible to setupWebLogic 6.1
    and DB2 to work on Solaris 8? and if they know any helpfull links forme
    to read
    up on how to set everything up.
    Thanks

  • Weblogic 5.1 and DB2 UDB 7.1 beta

    Does anyone know how I can use install the necessary drivers to make
    Weblogic and DB2 UDB on NT work together?
    Thanks,
    Amit.

    Check with the folks that make DB2.
    mbg
    In article <8ie3so$7js$[email protected]>, [email protected]
    says...
    Does anyone know how I can use install the necessary drivers to make
    Weblogic and DB2 UDB on NT work together?
    Thanks,
    Amit.
    ==================================================
    NewsGroup Rant
    ==================================================
    Rant 1.
    The less info you provide about your problem means
    the less we can help you. Try to look at the
    problem from an external perspective and provide
    all the data necessary to put your problem in
    perspective.

  • Configuration problem in Weblogic 8.1.1 and 8.1.3

    We have a problem when we hitting instrumented axis services in weblogic 8.1.1 and 8.1.3.
    1.First we create a domain its use for only axis services.
    2.We set the class path according to my project.
    3.I start the server and deploy my axis services.its deploying nicely.
    4.After that used my project and configure the services to getting log file purpose.
    5.After instrument/configuration the service,I restart the server that time the service is redeploy and create the temporary file in .wlnotdelete directory our jar file put inside in this folder extract/myserver_calc1_calc1.This is my deploying service place.
    6.But its not happening in this version of weblogic in that we redeploy the same services its works fine and getting log files.
    7.when i redploy the same service that time only its working fine.
    8.But i don't want to redploy the service. I want only restart time its happen that's only correct.
    9.This problem is only happening in weblogic 8.1.1 and 8.1.3 its not happening in weblogic 7.5 and 8.1.4 is working fine and getting log files.
    10.can any one give me a solution to rectify this problem in Weblogic 8.1.1 and 8.1.3.

    I don't know about that, but I am using MyFaces and tomahawk with WLS8.1 sp5 jdk1.4.2_05 and it works fine.
    I do remember getting such an error when I moved from Sun RI to MyFaces and all I can recall is that it was a commons library mismatch problem or some classpath problem...

  • Best Practice to Setup an application to work with both oracle and db2 db

    Hi,
    We have an application that currently supports both oracle and db2 databases . It is currently using JPA with eclipselink as backend mechanism and we want to move to ADFBc as our backend . So what is best practice to do this?
    I came across an old post in https://groups.google.com/forum/#!topic/adf-methodology/UlJZSTu14Io that states to create two different model projects to support oracle and db2 .
    Is this still the standard ? Is there a way that we could work around rather than creating multiple projects?
    How do i get the view controller to work with multiple model projects if this is the case?
    Thank you.

    Thanks for the response .
    The problem is i would have the same schema on both the databases (both in oracle and db2) .
    I don't see a scenario where i want both the application model projects at the same time . What i meant is , Application will either be deployed with Oracle DB or DB2 but not with both on a production environment .
    So is there a way where i just change the connection parameters alone rather having two different models ?
    If i have to use two model projects ,  would it be possible say i built the view controller for Oracle , and use it for DB2 if i make sure the BC objects names are similar between model projects and switch just the model jar based on the deployment environment ?
    -Sam

  • Weblogic Integration Interview Questions and Answers

    Can some one send me WebLogic Integration interview questions and answers to [email protected] and [email protected]
    Thank you.

    hi all,
    can any one help us how to get or retrieve DataSource Names in weblogic using java code.
    it is very urgent. please copy the java code here.
    Somu :)

  • Installation on AIX and Db2 9

    Hi,
    I am due to start an upgrade project for 4.7 on AIX and DB2, the originating release of DB2 is 8.2.
    But to save myself time I want to use the export of the SAP system to install it on a DB2 version 9 system, using SAPInst.
    I know this is a valid operation on a Windows Oracle platform, but was wondering if there any limitations on the DB2 side of things.
    TIA
    Chris

    That does not accomplish anything of what I wanted.
    To reduce the complexity of the upgrade, I want to use the import process to facilitate a database upgrade.
    What you are proposing is a system copy, and means I will have to do a database upgrade later.
    If my idea is not workable then fine, I will do it that way but you have not addressed any of the requirements I have stated in my post.
    Thanks
    Chris

  • HA Installation of ERP EHP4 on AIX and DB2

    Dear All,
    I have to do a HA installation of ERP EHP4 system on AIX and DB2. I have followed the standard inst.guide from SAP but I want more information. Can anyone help me in understanding how to go about installing HA in detail. I would be very grateful if anyone can provide me a guide/document of what and how they have done. Can you pls explain me the steps.
    I also have few questions
    1. Shall i do a Central installation or distributed installation ( meaning CI, ASCS and DB in one server failover to other; CI,ASCS on one server and DB running on different server which in case of failure will move to other server)
    2. I know that OS team will do the cluster configuration but is there any other software to be bought for an automatic switchover in case of failures?
    3. Mainly, as a BASIS consultant what is our role in HA configuration?  What file systems should be defined and nfs mounted?
    Request you to take time and answer. Thanks in Advance.
    Lastly, i hope this is the right forum. If not , please let me know.

    Hi,
    >
    > 1. Shall i do a Central installation or distributed installation ( meaning CI, ASCS and DB in one server failover to other; CI,ASCS on one server and DB running on different server which in case of failure will move to other server)
    >
    I think you did not get basic of HA installation. Its neither central nor distributed installation. You need to install CI and Dialog Instance locally on 2 nodes. DB and ASCS instance on the disk that will move across 2 nodes.
    > 2. I know that OS team will do the cluster configuration but is there any other software to be bought for an automatic switchover in case of failures?
    >
    OS team will do file system config so that file system having ASCS and DB should move across 2 nodes. And rest of the file system should be local.
    After installation making cluster movement automatic both OS and SAP Basis guy have to work together.
    > 3. Mainly, as a BASIS consultant what is our role in HA configuration?  What file systems should be defined and nfs mounted?
    >
    I would say primary role in HA installation is of Basis guy. Because he is the person who will decide what approach will you take to install HA either active-active or active-passive. Its you on whom requirement OS guy will work.
    Thanks
    Sunny

  • How to get weblogic logged in username and password in an MBEAN

    Hi,
    I have an MBEAN deployed under AdminServer. Want to establish a remote connection to credential Store MBean in base_domain using t3 protocol from this MBean, Which requires weblogic username password, port and host.
    What is the best way to get username and password,in an MBEans deployed in AdminServer at runtime.
    Thanks for your help in advance
    -Matz

    I don't think there is any way to get the password. What type of credential store is this and is it in the same domain?

  • Jsp and db2 problem

    Hi guys:
    I installed tomcat4, db2 run time client on one red hat 7.2. Everything works fine. My jsp can access db2 database.
    Now I am installing the same thing into another box, red hat 7.2, tomcat4 and db2 run time client.
    I can write a java code to access the db2 database, and I can access db2 table in the command line. Jsp file is running fine. But when I use the jsp code which is working in another red hat box to access the db2 database, it can not go through and it stops in "Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");" statement.
    Does any body have any idea what could be the problem?
    Regards,
    David

    hi,
    could you please send me the jsp-db2 connection code.i am really distressed.i can't find it anywhere..must i install db2 run client. i have only db2 personal edition and the rest( tomcat,jre,jsdk,etc..)
    Thx
    (while tipping my e-mail in registration,i wrote it false)
    My treu e-mail is [email protected]
    please please send me this code....

  • OWB and DB2

    I have connected Oracle 9i and DB2 v7 and query DB2 in SQL Plus is fine. However, it doesn't for the connection between OWB and DB2.
    Anyone can help?
    Thanks!

    Try the following and use the database link as the source.
    1. Copy inithsodbc.ora to initQA_DB2.ora in $ORACLE_HOME\hs\admin
    HS_FDS_CONNECT_INFO=DNS_NAME_OF_YOUR_CONNECTION
    HS_FDS_TRACE_LEVEL=0
    2. Add the following lines to listener.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    (SID_DESC =
    (SID_NAME = QA_DB2)
    (ORACLE_HOME = $ORACLE_HOME)
    (PROGRAM = hsodbc)
    3. Add the following lines to tnsnames.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    DB= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=localhost)
    (PORT=1521)
    (CONNECT_DATA = (SERVICE_NAME=QA_DB2)
    (HS = OK)
    4. Execute CATalog script for Heterogeneous Services in Oracle server ($ORACLE_HOME\RDBMS\ADMIN\caths.sql)
    5. Create database link
    drop public DATABASE LINK dwh_qa_db2;
    CREATE public DATABASE LINK dwh_qa_db2 CONNECT TO "carlosmo" IDENTIFIED BY "E1Qual" USING 'DB2';
    6. Test the connection
    SELECT *
    FROM SomeTable@dwh_qa_db2

  • OWB and DB2 connection

    I have connected Oracle 9i and DB2 v7 and query DB2 in SQL Plus is fine. However, it doesn't for the connection between OWB and DB2.
    Anyone can help?
    Thanks!

    Try the following and use the database link as the source.
    1. Copy inithsodbc.ora to initQA_DB2.ora in $ORACLE_HOME\hs\admin
    HS_FDS_CONNECT_INFO=DNS_NAME_OF_YOUR_CONNECTION
    HS_FDS_TRACE_LEVEL=0
    2. Add the following lines to listener.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    (SID_DESC =
    (SID_NAME = QA_DB2)
    (ORACLE_HOME = $ORACLE_HOME)
    (PROGRAM = hsodbc)
    3. Add the following lines to tnsnames.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    DB= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=localhost)
    (PORT=1521)
    (CONNECT_DATA = (SERVICE_NAME=QA_DB2)
    (HS = OK)
    4. Execute CATalog script for Heterogeneous Services in Oracle server ($ORACLE_HOME\RDBMS\ADMIN\caths.sql)
    5. Create database link
    drop public DATABASE LINK dwh_qa_db2;
    CREATE public DATABASE LINK dwh_qa_db2 CONNECT TO "carlosmo" IDENTIFIED BY "E1Qual" USING 'DB2';
    6. Test the connection
    SELECT *
    FROM SomeTable@dwh_qa_db2

Maybe you are looking for

  • Best Practice for Payments

    Hi , I have a question regarding payments. Could anyone tell me what is the best practice? My client usually pays to the customers through AR that is payments to customer goes thru AR. Now they want payments thru AP. That is the files will be generat

  • Can you use same earphones for iPhone and iPad air

    Can you use the earphones from an iPhone on an iPad air

  • Don't want a numeric field to round

    Hi I am having a rounding problem. It is a simple numeric field of 20 "combed" boxes. The patterns are all set to num{zzzzzzzzzzzzzzzzzzz9} (I have tried all 9's also). There are no events or equations set on the field and I have it listed as a float

  • Can not install latest ATI mobility Radeon x1600 display driver for my Satellite A100

    Hello, my Satellite A100-704 PSAA9E is equipped with the ATI Mobility Radeon X1600 display graphic card, for which ATI provides a new driver, named Catalyst 8.3. My issue is that when I run the verification software I get a message telling me that dr

  • Do not get any data from 0CA_IS_TS_1 and 0CA_IS_TS_2 data source

    Hi all, We are trying to populate cubes(0CATS_C01) and (0CATS_C02) for which data sources are 0CA_IS_TS_1 and 0CA_IS_TS_2 respectively. We activated business content for these data sources. When we run these data sources in RSA3 we do not get any dat