What JDBC drive I can use in Tomcat

Hi all. I'm trying to shift my web application(JSP and JavaBeans only) from JRUN to Tomcat 4.1. I used sun JDBC driver or JRUN's own JDBC driver to connect to Microsoft SQL Server 2000 and both worked. Now since I'm setting up the same thing in Tomcat, I have totally no idea about what JDBC driver I should use and how to do it. I'm wondering whether Tomcat itself provides any JDBC driver? Or if not, how to make it work with Sun's driver? Or some more, is there any free driver available which is workable?
Thanks a lot for any help!

As you said in production envio you have set up
up another server which will be the primary server
for the application.Though, your application works
well in Tomcat, it 's not complete solution in
production envio.That depends on what the "production" system is intended to do, how many users it serves, what are the security concerns, etc.
A low usage, internal system can easily be run with just Tomcat.

Similar Messages

  • What XA JDBC driver should I use with Oracle 8i 8.1.6

    I need to use an XA JDBC driver for Oracle 8i 8.1.6. I am using the driver in
    a ConnectionPool in a TxDataSource for use by some entity beans using EJB 2.0.
    I'm running WebLogic Server 6.0 sp2, EJB 2.0, Java 2 SDK 1.3.1 Server VM, Solaris
    2.7, and Oracle 8i 8.1.6.
    I know of three different Oracle XA drivers: WebLogic jDriver for Oracle XA, Oracle
    OCI type 2 driver XA, and Oracle Thin tyoe 2 XA. Are there any other drivers
    that I can use for Oracle 8.1.6? Which driver and which version should I use?
    For example, can I use the Oracle 8.1.7 JDBC drivers with the Oracle 8.1.6 server,
    or would the Oracle 9i drivers work with the Oracle 8i server? Which drivers
    are faster, and which support more features? I assume that I should not use the
    type 4 driver since I am not using an applet, but I don't know if there are bugs
    in the OCI C library for Solaris or in the JDBC drivers that use it that prevent
    XA from woking. Which version of the Oracle C OCI library should I use if I use
    a type 2 driver?
    Thanks,
    Ross Goldberg

    Hi,
    I think you can't use the 8.1.6 thin driver for XA, you would have to
    use the OCI driver or 2PC-enable your datasource. AFAIK this has been
    changed for 8.1.7
    Check http://e-docs.bea.com/wls/docs61/////jta/thirdpartytx.html.
    Daniel
    -----Original Message-----
    From: Gene Chuang [mailto:[email protected]]
    Posted At: Thursday, August 30, 2001 2:04 AM
    Posted To: jdbc
    Conversation: What XA JDBC driver should I use with Oracle 8i 8.1.6
    Subject: Re: What XA JDBC driver should I use with Oracle 8i 8.1.6
    I've asked this question before. This is the reply from Joe
    Weinstein:
    For reliability and JDBC 2.0 compliance, I recommend the
    Oracle thin driver.
    If not that driver, you should verify that a type-2 driver
    actually does
    deliver better performance, but then I would not have a
    strong preference
    between their type-2 and ours. Theirs may be faster, and JDBC
    2.0 compliant.
    Both are succeptible to OCI bugs, some of which only they can
    fix, but we
    listen.
    Gene
    "Ross Goldberg" <[email protected]> wrote in message
    news:[email protected]...
    >
    I need to use an XA JDBC driver for Oracle 8i 8.1.6. I am using thedriver in
    a ConnectionPool in a TxDataSource for use by some entity beans usingEJB 2.0.
    I'm running WebLogic Server 6.0 sp2, EJB 2.0, Java 2 SDK 1.3.1 ServerVM, Solaris
    2.7, and Oracle 8i 8.1.6.
    I know of three different Oracle XA drivers: WebLogic jDriver forOracle XA, Oracle
    OCI type 2 driver XA, and Oracle Thin tyoe 2 XA. Are there any otherdrivers
    that I can use for Oracle 8.1.6? Which driver and which versionshould I use?
    For example, can I use the Oracle 8.1.7 JDBC drivers with the Oracle8.1.6 server,
    or would the Oracle 9i drivers work with the Oracle 8i server? Whichdrivers
    are faster, and which support more features? I assume that I shouldnot use the
    type 4 driver since I am not using an applet, but I don't know ifthere are bugs
    in the OCI C library for Solaris or in the JDBC drivers that use itthat prevent
    XA from woking. Which version of the Oracle C OCI library should Iuse if I use
    a type 2 driver?
    Thanks,
    Ross Goldberg

  • Which jdbc driver should be used for sqlserver 2000 and where to put it.

    hi all,
    My odi is 11g. I met the error infor "Could not load JDBC driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver]" when i tried to connect to a sqlserver2000 database.
    The questions are:
    1. which jdbc driver should be used for sqlserver 2000?
    2. which folder to put it in?
    3. how to set the physical topological "Microsoft Sql Server" to use this jdbc driver?
    failed tries:
    i downloaded the driver "SQL Server 2000 Driver for JDBC Service Pack 2" and put it in the following folders:
    1. .../oracledi/drivers, and set this path to CLASSPATH.
    2. .../oracledi/userlib didn't exist, i created it and put the driver in.
    3. .../oracledi/agent/dirvers, in which a readme file exists and told me to put drivers in this folder.
    All these works were not useful. when I start odi.sh and try to connect to sqlserver2000 database, the same error infor came up.
    my environment is:
    os: Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    java: Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
    ODI: 11g, installed in /users/oracle/odi/
    please help me,thanks a lot.
    jun
    帖子经 Jun编辑过

    Hi,
    You should check which JVM version is required by that version of the driver, I think the 2.x versions require a 1.6 JVM
    What error are you getting? If it is the "com.sunopsis.sql.c: No suitable driver", it indicates it can't find the jar file (sqljdbc.jar) for the driver you specify.
    Drivers folder in ODI 11g is under
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers.
    if you are using the standolone version
    On windwos :
    C:\Documents and Settings\<userName>\Application Data\odi\oracledi\userlib
    on linux
    $HOME/.odi/oracledi/userlib
    Have a read of :- http://download.oracle.com/docs/cd/E14571_01/core.1111/e16453/install.htm#CHDBIFAJ
    Thanks,
    Sutirtha

  • Hi, I have Adobe Creative Suite 5.5 Design Standard pack on CD drive and wish to install it onto my newly purchased Mac Book Air. Problem, there is no CD drive I can use.

    Hi, I have Adobe Creative Suite 5.5 Design Standard pack on CD drive and wish to install it onto my newly purchased Mac Book Air. Problem, there is no CD drive I can use. Have you any suggestions for me?

    You may download the product from
    Download CS5.5 products

  • What operating system we can use documentations like Microsoft MS office or can is used MS office in Mac pro notebook

    What operating system we can use documentations like Microsoft MS office or can is used MS office in Mac pro notebook?

    MS Office '11 for Mac:    Mac:http://www.microsoft.com/mac/products or http://www.apple.com/iwork/pages/, or http://www.libreoffice.org/, or http://www.neooffice.org/neojava/en/index.php, among many others

  • Have installed Mountian Lion, now having trouble with my printer.. Printer is Canon LBP6000.. Does anyone have a driver I can use??

    Have installed Mountian Lion, now having trouble with my printer.. Printer is Canon LBP6000.. Does anyone have a driver I can use??

    It looks like this page from Canon's website will take care of you (provide drivers, etc.):
    http://www.usa.canon.com/cusa/consumer/products/printers_multifunction/laser_pri nters/imageclass_lbp6000#DriversAndSoftware

  • What data type I can use if the text is more then 4000 varchar?

    Dear all,
    What data type I can use if the text is more then 4000 varchar?
    Please advice,
    Amy

    You didn't specify if you are referring to tables or code.
    In tables the limit is varchar2(4000) so anything bigger will need to be stored in a CLOB (as already mentioned).
    In PL/SQL code you can defined varchar2 up to 32K so varchar2(32767).
    ;)

  • What are attributes we can use in LDAP query in server derivation rules

    Q: What are attributes we can use in LDAP query in server derivation rules
    A: Server derivation rules can be defined for an LDAP server in the same way as that for a Radius server. As opposed to a Radius server, where the list of attributes that are defined for a server are standard, for an LDAP server, the attributes depend on the type of the server.
    The following table contains the list of attributes that are available for an Active Directory implementation. The server may maintain only a subset of these attributes, depending on how the user entries have been configured.
    Attribute Name:
    ==============
    sAMAccountname
    userPrincipalName
    givenName
    sn
    initials
    description
    physicalDeliveryOfficeName
    telephoneNumber
    mail
    wwwHomePage
    url
    logonHours
    logonWorkstation
    userAccountControl
    pwdLastSet
    userAccountControl
    accountExpires
    streetAddress
    postOfficeBox
    postalCode
    memberOf
    primaryGroupID
    title
    department
    company
    manager
    directReports
    profilePath
    scriptPath
    homeDrive
    homeDirectory
    HomeDirDrive
    telephoneNumber
    otherTelephone
    pager
    pagerOther
    mobile
    otherMobile
    fascimileTelephoneNumber
    otherFascimileTelephoneNumber
    ipPhone
    otherIpPhone

    >
    praveen.tecnics wrote:
    > hi experts
    >
    > what are mapping rules in sap xi/pi  ? how we can use this rules for special charters mapping .
    to map special characters you need to use an element called CDATA in your mapping
    a special character causes an error....as XI wont be able to read it (as it is not in a proper XML format)...so to parse this character through XI without causing an eror use the CDATA....just make a search on SDN and you will find the proper use of it....
    For your info: http://www.w3schools.com/XML/xml_cdata.asp
    Regards,
    Abhishek.
    Edited by: abhishek salvi on May 20, 2009 8:52 AM

  • Does anyone know what msn messenger you can use on ipad?

    Does anyone know what MSN Messenger you can use on a iPad?

    I'm used to Windows Live Messenger - but unlike with my former Blackberry - I'm not loving how it signs me offline if I want to do anything else with the iPhone.

  • EMERGENCY: what kind of jdbc driver should I use?

    Suppose one machine with 9iAS standarv version installed, and another one with oracle8.1.6 installed. OSE is used for JSP and servlet engine. In this case, Oracle internal JDBC driver does not apply, am I right? Then what kind of JDBC should I used to access the database on the other machine?
    thanks
    null

    Your have 4 driver options :
    1) 2 from a client install
    a) jdbc thin
    b) jdbc oci with a client install
    2) 2 from inside the JVM including the ose component.
    a) server sdie internal(kprb) -- for inside the rdbms usage ONLY
    b) server side thin driver.
    Please review the following "overview" :
    Overview of the Oracle JDBC Drivers
    http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83724/overvw2.htm#1000908
    For server side jdbc connection the following information is also relevant :
    It applies to java code in IAS 9i running in the Oracle jvm (including the ose) -- but not the apache jserv component.
    JDBC in the Server: the Server-Side Internal Driver
    http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83724/advanc4.htm#1001042
    i hope this helps ....

  • JDBC Driver problem when using JDeveloper 10.1.2 with JDK 1.4

    I hope someone can help me solve this problem (which I am sure others have encountered).
    The JDK that is downloaded together with JDeveloper 10.1.2 is JDK 1.4.2. However, I believe the JDBC jar files that comes together with JDeveloper 10.1.2 are for JDK 1.2 : classes12.jar, classes12dms.jar and nls_charset12.
    What I did was I replaced the JDeveloper 10.1.2 JDBC (JDK 1.2) jar files with the JDBC jar files from JDeveloper 10.1.3 download i.e. ocrs12.jar, ojdbc14.jar, ojdbc14dms.jar and orai18n.jar and then create a new JDBC Library which references these new jar files. I was able to successfully run my applications (under my modified JDeveloper 10.1.2) using this new JDBC library (instead of the original 'Oracle JDBC' library). However, when I created a Database Connection in this modified JDeveloper 10.1.2, the connection was unsuccessful. I received the error message "Unable to find driver: oracle.jdbc.driver.OracleDriver".
    My organisation requires me to use JDK 1.4.2 and therefore I cannot use JDeveloper 10.1.3 (which I did not encounter any JDBC problem) as it is certified to run only on JDK 1.5.
    Please help. Thanks.

    JDev 10.1.2 is quite old, and was never certified for Windows 2008.
    No need to post multiple threads - same question as {thread:id=2271522}

  • Recommendations for an external hard drive I can use for both the Mac and PC

    Hello,
    I’ve used PC’s for nearly most of my life, and recently Imade the leap to using a Macbook Pro (the 15” Intel i7) as I got tired of theconstant crashes.  Long story short – Ineed to have a common external hard drive that I can use with both the PC’s andthe Mac I own.  Mostly I need theexternal drive to save my Microsoft Office documents, and family photos (aswell as Mp3’s and other programs).  I’vegone to the Mac Store in town, but I keep getting told that you cannot have acommon external hard drive between the two computers.  I’m just having a hard time excepting that,as I keep reading on Apple’s own website making the sales pitch of how PC userswho switch to a Mac wouldn’t have to purchase replacement hardware.  Are there recommended external drives thecommunity could recommend?  Also, wouldit be best to create a network drive to accomplish my goal? Any advice isgreatly appreciated. 

    Only one computer can be connected to one drive at a time without a server being involved or a NAS drive.
    I don't think your needs are along those lines it's too complex.
    Just a external drive formatted exFAT will do between Mac's and PC's.
    Swtich the cable and connect to one or the other as needed or get two drives.
    There are some hacks floating around that create a portable wireless shared storage so anyone with a wif can connect and share files with at like coffee shops.
    Is that what your looking for?

  • Help- JDBC driver installed, can't register driver

    1) I downloaded 175012_12.zip, classes12.zip, nls_charset12.zip
    2) I initially extracted zip files into C:\Program Files\ and they ended up in oracle subdirectories directories
    3) I followed patch instructions for 175012_12
    4) I couldn't find any Oracle Installation instructions(where are they?) so I found one http://home.clara.net/dwotton/dba/jdbc_test.htm. It said to put the driver in jdbc/lib. I had no lib directory so I created one. I think I did have a driver directory but I'm not sure if it really matter where it is, just that you point to it.
    5) I put the driver in:
    C:\Program Files\oracle\jdbc\lib\classes12.zip
    6) Set/Verified the CLASSPATH = "C:\Program Files\oracle\jdbc\lib\classes12.zip"
    7) I restarted Eclipse and put the following test code in:
    import java.sql.*;
    // Load Oracle driver
    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    8) I get the following error:
    oracle cannot be resolved to a type

    Hi
    I never set CLASSPATH with Eclipse. I simply define a library in the "Project Properties" under "Java Build Path". Notice that if you want to use JDBC thin, you can store the driver where do you want.
    HTH
    Chris

  • Can any body advise me what anti virus i can use?

    ey, good afternoon all. i got a message when i'm trying to download something that i need to install an anti virus so that my downloading will not get slow and also my internet connection. the message advice me to download avira. can any body who is expert here tell me of what anti virus i can download into my mac os x mavericks 10.9.5?
    thank you

    Sophos WILL slow your Mac down.
    There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac will NOT be infected by a virus, it may have other security-related problem, but more likely a technical problem unrelated to any malware threat.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful: The User Tip seeks to offer guidance on the main security threats and how to avoid them.
    https://discussions.apple.com/docs/DOC-2435
    More useful information can also be found here:
    http://www.thesafemac.com/mmg/

  • 500GB TC Hard Drive Failed: What Model Drive Do I Use To Replace Old One?

    Dear Fellow Mac'ers:
    Hopefully my title is pretty straightforward. My TC HD died. The router is fine.
    1. What drive do I get to replace old one - Seagate Baracada ES? If so, what model?
    2. How to info would be great - I'm hoping it will be easy.
    3. What kind of installation do I need to do software-wise before operating again
    Thanks!!!!
    erniesfo

    Sorry, it's been well over a year since I swapped out my drive. I believe there was an Hitachi drive in the device when I pulled it and I took it to an electronics / computer store to to get a drive that was physically the same size with more hard drive capacity. I used a Seagate drive for the replacement.
    The article implies that drives from other manufacturers will work and I think recent generation TC's use another drive manufacturer. I would first pull the drive and take some measurements of dimensions...height, width and length and get some specs on the drives you are considering to compare and make sure that the new drive will fit into the allocated space.
    As with any new purchase, I would suggest that you get a clear understanding of the store's return policy, just in case things don't work out as planned.
    There are lots of articles on swapping out drives on a Time Capsule on the internet. Google something "what drive is used in a Time Capsule" and you'll see lots of stuff.

Maybe you are looking for

  • File FTP to Mainframe

    Hi, I am trying to transfer a *.txt file to a Mainframe server. I am using "sun.net.ftp.* package" for FTP and I am able to send the file by using "put" method in "sun.net.ftp.FtpClient". But I need to ftp some other attributes (Generation dataset na

  • Use of DECODE function in Discoverer 3.1

    Hi all, Is there any better way of using DECODE in Discoverer 3.1, i dont want to use that function in my Discoverer User edition or Admin ed. Many of my queries use the DECODE function. Your help is greatly appreciated.

  • I restored my ipod 1 week ago but it says it needs to be restored again

    i have an 5th gen ipod touch and last week it wanted to be restored for some reason i dont know. I restored it but now a week later it wants to be restored again but i almost installed nothing i just installed: youtube createrra elohell twitch and sk

  • Multimapping(File to RFC) using BPM...issue!!!

    Hi Am working on following scenario: #Two request files merged to map to RFC request ( 2:1mapping ) RFC response is split into two response messages( 1:2 ). I have done the whole thing in BPM that looks somewhat like this : Fork(Rec1 , Rec2)-> Transf

  • Manufacturing issues

    Hi team , I have one scenario regarding manufacturing issue Item evaluation -moving average Date :02/28/2009 Item A Item Qty - 2000 Date :12/31/2008 Item A Item Qty : 3000 Item needs to be revaluated for price Item revaluation was done for price via