JDBC Connection Driver Problem for Oracle in a J2EE servlet/class

Hi,
I am having a big problem with setting up a JDBC connection with my oracle database, I have been trying to fix it for about 6 hours now with no joy, I have read that many threads about JDBC, class paths etc.. that i dont know which way is up any more!!
Here is the issue:
(Please bare in mind that I am new to this when posting replies)
I have a Web Application set up as a project in the netbeans IDE. I have a servlet which creates a new object call dbaseFunc which is a public class I have wrote and within this class is a function called getAppConfigCon(). The code for this function is below:
public Connection getAppConfigCon()
Connection con = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","cavdev", "password");
catch (SQLException e)
e.printStackTrace();
catch (ClassNotFoundException e)
e.printStackTrace(System.out);
return con;
The database is Oracle XE and is installed on the same machine I am developing on, the database is up and I can connect to it via the netbeans IDE database interface after telling it where the driver is (C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.zip). Obviously this is just IDE functionality and allows you to browse the database objects from netbeans however I now need to know how to tell the jre where the drivers are, right??
Well like I said multiple forums led me down the classpath route and I have a system environment variable called CLASSPATH set up with the oracle jdbc driver specified as its value, when i run the set command from the command line ( I am running Windows XP Pro) I can see the class path entry in the output as follows:
CLASSPATH=C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.zip
When I try to run my web app it doesnt assign the connection object with a value, i.e. when i was debugging my con object was null after calling the method mentioned above. After some time debugging i found a ClassNotFoundException was being thrown when the following command was executed:
Class.forName("oracle.jdbc.driver.OracleDriver");
Which I understand is because their is a problem with the class path but what is the problem??? The IDE likes the driver so why doesnt the jre.
I am runnin jdk and jre 1.5, an Oracle XE Database using the netbeans environment.
Some one please help me, I have spent far to much time on this rather than actually working on my project!!!!
Thanks
Keith

Well After 10.5 hrs I actually sorted this myself, the two problems that were throwing me were this:
1. Netbeans does not stop the tomcat server when it finishes running the app, you either have to stop the server from the menu or exit netbeans, until the server restarts it will not pick up on any driver files you add to common/lib
2. You are very right Kiros tomcat does not do .zip files!!!!~~~###
In order to sort this I had to add the oracle driver as a package to my project using the netbeans ide Project > Libraries > New Jar file, this allowed me to access the oracle classes. Then I had to set the server up to deal with the drivers as well, this meant adding the .jar file (not the latest .zip as it wont work) to the bundled tomcat common lib directory and restart the server via the ide (using the start/stop bat files in the tomcat conf directory doesnt work for some reason when its bundled with netbeans!)
Thanks for the help guys but in the end it took 10 hrs a lot of reading and 2 bottles of lucozade to keep the brain goin.
Keith

Similar Messages

  • JDBC Driver Problems for Oracle 10

    Trying to setup an OCI driver in our system but keep getting this response.
    INFO 2005-12-02 08:49:40,868 [STDOUT] java.lang.UnsatisfiedLinkError: C:\_EP\coldfusion\cfusion\lib\ocijdbc10.dll: The specified procedure could not be found
    INFO 2005-12-02 09:02:35,008 [STDOUT] A non-SQL error occurred while requesting a connection from DEVX2
    INFO 2005-12-02 09:02:35,008 [STDOUT] Timed out trying to establish connection
    That file exists on that path, so I'm not sure if this message means that it can't find that dll, or a procedure within that dll.
    If I set it up to use the thin client... no problems. This is very strange. ojdbc14.jar is on the classpath as well as all the DLLs needed, and I have the client installed on my machine.
    What else could I possibly need?

    Prior to 10g, Oracle claimed to require the entire Oracle client installation for the OCI driver to work; allegedly you couldn't just pick up the dlls you needed...
    With 10g, they've supplied a stripped down "Instant Client" that has just the bare bones stuff (it's still 10MB, zipped):
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
    They still recommend that you install the client and add an entry to your classpath and path variables rather than trying to pick and choose what you need. I believe the 10g OCI driver is still dependent on an Oracle Net installation (which would be part of the Instant Client install, if required).
    BTW, last I knew (last year), Macromedia was discouraging the use of the OCI driver with Cold Fusion.
    Personally, I'm not aware of any significant benefits the OCI driver would provide a Cold Fusion installation. The only good reasons I've ever heard of for using the OCI driver are: to connect via IPC instead of TCP/IP (requires the database be running on the same server as the Java program), to use TAF, to use the OCI connection pooling for connection multiplexing, to take advantage of some slight performance gains with stored procedure calls. While not an expert in this area, I think only the first could possibly apply to use with Cold Fusion. The myth that OCI is substantially faster for standard SQL (non stored procedures) has been repeatedly debunked.

  • Oracle JDBC driver problem for Oracle 8.1.6

    i am a newbee to Java, i was trying JDBC programming thru Jbuilder 4.0. now the problem is whenever i am trying the DriverManager.getconnection(), I am getting an error "NO SUITABLE DRIVER". i have downloaded jodbc14.jar(oracle 9i JDBC driver) but so result. what can i do now? any other config issues or is it due to absence of a Oracle JDBC driver of Oracle 8.1.6.

    i have set the classpath as mentioned. but no solution.
    the error is like this::
    java.lang.NoClassDefFoundError: java/sql/Savepoint
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:521)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:325)
         at java.sql.DriverManager.getConnection(DriverManager.java:517)
         at java.sql.DriverManager.getConnection(DriverManager.java:177)
         at DbaseTest.DbaseForm.OpenConnection(DbaseForm.java:37)
         at DbaseTest.DbaseForm.jbInit(DbaseForm.java:73)
         at DbaseTest.DbaseForm.<init>(DbaseForm.java:26)
         at DbaseTest.Application1.<init>(Application1.java:11)
         at DbaseTest.Application1.main(Application1.java:40)
    i have imported
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    import oracle.jdbc.*;
    import java.lang.*;
    the driver is registered by:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());

  • JDBC Thin Driver Support for Data Encryption and Integrity

    Hello JDev Team,
    I am trying to implement JDBC Thin Driver Support for Data Encryption and Integrity.
    It works fine with java.sql.Connection and java.util.Properties like in the following code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Properties props = new Properties();
    int level = AnoServices.REQUIRED;
    props.put("oracle.net.encryption_client", Service.getLevelString(level));
    props.put("oracle.net.encryption_types_client", "( RC4_40 )");
    props.put("oracle.net.crypto_checksum_client",Service.getLevelString(level));
    props.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:main", props);
    etc...
    But I am developing an application with InfoSwing components and it has a different way to connect to Oracle database using oracle.dacf.dataset.connections.Connection, like this:
    sessionInfo1.setAppModuleInfo(new ModuleInfo("bc", "BcModule"));
    sessionInfo1.setConnectionInfo(new LocalConnection("JDBCThin"));
    sessionInfo1.publishSession();
    My question is:
    Is there any way to implement DataEncryption and Integrity into this type of connection?
    Thanks a lot in advance.
    Victor Bykov
    null

    Victor,
    No, you can't do this from DAC, but I've been discussing it with the developer, and we both think this capability would be useful to have, so I've logged it as an enhancement request.
    I do have a question for you. Once you've made the JDBC connection, do you need access to the Connection object afterwards? We're thinking of how the change could be implemented, and one way would be to allow you to pass in a Properties object when creating your own NamedConnection.
    Thanks
    Blaise

  • OIM 9.1.0.2 - Weblogic JDBC Multi Data Sources for Oracle RAC

    Does OIM OIM 9.1.0.2 BP07 support Weblogic JDBC Multi Data Sources (Services>JDBC>Multi Data Sources) for Oracle RAC instead of inserting the "Oracle RAC JDBC URL" on JDBC Data Sources for xlDS and xlXADS (Services>JDBC>Data Sources> xlDS|xlXADS > Connection Poll> URL) ?
    If yes, is there are any other modifications that need to be made on OIM, or just changing the data sources?

    Yes, it's supported. You install against one instance directly of the Rac Server. Then you update the config.xml file and the jdbc resource in your weblogic server with the full rac address. It is documented for installation against RAC. http://docs.oracle.com/cd/E14049_01/doc.9101/e14047/database.htm#insertedID2
    -Kevin

  • Oracle JDBC driver problem for Canada locale

    Hi, there:
    I have problem on Oracle JDBC thin driver with Canada locale on client side:
    I'm using Oracle9i thin jdbc driver, the nls parameters in oracle database is:
    NLS_LANGUAGE: AMERICAN
    NLS_TERRITORY: AMERICA
    NLS_NUMERIC_CHARACTERS : .,
    My java client side is running on Windows NT, which using jdbc thin driver to connect oracle database. If I set the locale in client side as "English(Canada)", it seems return me "French" number format, like ",45" (comma, instead of decimal point) for "0.45". However, If I set client side locale as "English(United States)", it returns me "0.45" as expected.
    So, my question: does Oracle JDBC driver always returns "French" number format evenif I set "English(Canada)" as locale? Because Canada have both English and French locale "French(Canada), and English(Canada)". How can I get "English" number format like "0.45" with "English(Canada)" locale setting?
    Really appreciated any reply, and thanks a lot in advance
    David

    Sounds like a question for Oracle Support to me.
    Anyway, the way to avoid the problem is to not ask Oracle to format numbers. Get the number directly (via ResultSet.getInt() or getDouble() or whatever) and ask Java to format it.

  • Sun One application server connection problem for Oracle DB

    On our project in live environments we have six Sun One application servers that have been configured to connect to RAC Oracle database using OCI drivers. ( JDBC thick driver)
    Sun one application server : Version 7.0.0
    Oracle Database : Version 9.2.0.4.0
    Following are two scenarios where Sun one server receives an error while attempting to perform any DML operations onto the database e.g. when you will try to send a insert/update msg through sun One.
    Case 1: - If the Oracle package/procedure/function is compiled using �Alter package/function/procedure....� command
    problem
    Any attempt to perform a DML operation using RMI calls though Sun one application server with already established oracle connection will fail.
    Sun One application server needs to be bounced to get an up-to-date state of the package.
    Case 2: If the Oracle package/procedure/function is compiled using �Create or Replace package/function/procedure....� command
    problem
    First attempt to perform any DML operation using RMI calls though Sun one application server with already established oracle connection will always fail. Any subsequent attempts will be successful.
    We are using JDBC OCI think drivers. I tried flushing Shared pool at the Oracle side but it didn't help. For some reason Sun One seems to Cache the session information for already establised connections with Oracle database. As its live system we don't want any outage. i.e we know bouncing oracle app server will solve the problem.
    So just wondering is there way/workaround to make aware the already estlised connection from sun one appserver to Oracle DB about changed packages/proceduress in the DB?
    Any thoughts on this would be much appreciated.
    txns
    Ravi

    Forgot one thing: when I use remote debugging , it works.

  • EJB - no suitable driver found for oracle jdbc driver

    this is the exception i got when i run the client:
    java.rmi.RemoteException: nested exception is: java.sql.SQLException: No suitable driver; nested exception is:
    java.sql.SQLException: No suitable driver
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:537)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:45)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:177)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:56)
    at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:66)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:177)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:126)
    at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:137)
    at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:74)
    at bmp.TaxEJB.ejbCreate(TaxEJB.java:34)
    at bmp.TaxEJB_RemoteHomeImpl.create(TaxEJB_RemoteHomeImpl.java:32)
    at bmp._TaxEJB_RemoteHomeImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:520)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:210)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:112)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
    this is the implementation file (TaxEJB):
    package bmp;
    import java.sql.*;
    import javax.sql.*;
    import javax.naming.*;
    import java.util.*;
    import javax.ejb.*;
    public class TaxEJB implements EntityBean {
    private String stateCode;
    private float taxRate;
    private EntityContext ctx;
    private DataSource ds;
    private String dbName = "jdbc/Oracle";
    private Connection con;
    public void setTaxRate(float taxRate) {
    this.taxRate = taxRate;
    public float getTaxRate() {
    return this.taxRate;
    public String ejbCreate(String stateCode, float taxRate)
    throws CreateException {
    if (stateCode == null) {
    throw new CreateException("The State Code is required.");
    try {
    String sqlStmt = "INSERT INTO TaxTable VALUES ( ? , ? )";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, stateCode);
    stmt.setFloat(2, taxRate);
    stmt.executeUpdate();
    stmt.close();
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    this.stateCode = stateCode;
    this.taxRate = taxRate;
    return stateCode;
    public void ejbPostCreate(String stateCode, float taxRate) {}
    public void setEntityContext(EntityContext context) {
    this.ctx = context;
    try {
    InitialContext initial = new InitialContext();
    ds = (DataSource)initial.lookup(dbName);
    } catch (NamingException ne) {
    throw new EJBException(ne);
    public void unsetEntityContext() {
    ctx = null;
    public void ejbActivate() {
    stateCode = (String)ctx.getPrimaryKey();
    public void ejbPassivate() {
    stateCode = null;
    public void ejbLoad() {
    try {
    String sqlStmt = "SELECT stateCode, taxRate FROM TaxTable " +
    "WHERE stateCode = ? ";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, stateCode);
    ResultSet rs = stmt.executeQuery();
    if (rs.next()) {
    this.taxRate = rs.getFloat("taxRate");
    stmt.close();
    } else {
    stmt.close();
    throw new NoSuchEntityException("State Code: " + stateCode);
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public void ejbStore() {
    try {
    String sqlStmt = "UPDATE TaxTable SET "
    + "taxRate = ? " + "WHERE stateCode = ?";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setFloat(1, taxRate);
    stmt.setString(2, stateCode);
    if (stmt.executeUpdate() != 1) {
    throw new EJBException("Object state could not be saved");
    stmt.close();
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public void ejbRemove() {
    try {
    String sqlStmt = "DELETE FROM TaxTable WHERE stateCode = ? ";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, stateCode);
    stmt.executeUpdate();
    stmt.close();
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public String ejbFindByPrimaryKey(String primaryKey)
    throws FinderException {
    try {
    String sqlStmt = "SELECT stateCode "
    + "FROM TaxTable WHERE stateCode = ? ";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setString(1, primaryKey);
    ResultSet rs = stmt.executeQuery();
    if (!rs.next()) {
    throw new ObjectNotFoundException();
    rs.close();
    stmt.close();
    return primaryKey;
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    public Collection ejbFindInRange(float lowerLimit, float upperLimit)
    throws FinderException {
    try {
    String sqlStmt = "SELECT stateCode from TaxTable "
    + "WHERE taxRate BETWEEN ? AND ?";
    con = ds.getConnection();
    PreparedStatement stmt = con.prepareStatement(sqlStmt);
    stmt.setFloat(1, lowerLimit);
    stmt.setFloat(2, upperLimit);
    ResultSet rs = stmt.executeQuery();
    ArrayList list = new ArrayList();
    while (rs.next()) {
    String id = rs.getString(1);
    list.add(id);
    stmt.close();
    return list;
    } catch (SQLException sqle) {
    throw new EJBException(sqle);
    } finally {
    try {
    if (con != null) {
    con.close();
    } catch (SQLException sqle) {}
    this is the setting in resource.properties:
    jdbcDataSource.5.name=jdbc/Oracle
    jdbcDataSource.5.url=jdbc\:oracle\:thin\:@nicole\:1521\:NICOLE
    jdbcDriver.1.name=oracle.jdbc.driver.OracleDriver
    this is my classpath setting:
    %J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\system\cloudutil.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%J2EE_HOME%\lib\system\classes12.jar;.
    since i already declare classpath for oracle JDBC Driver (classes12.jar), why the program still can't found the oracle.jdbc.driver.OracleDriver? please help. thanks.

    Hi,
    I m trying to connect ORACLE9i using JSP.But i encounter the error java.sql.SQlException no suitable driver found.My code is as follows.
    <html>
    <head><title>oracle</title></head>
    <body>
    <%@ page language="java"%>
    <%@ page import="java.sql.*" %>
    <%
    String eid=new String();
    String en=new String();
    try
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(ClassNotFoundException cnfe)
         out.println("Failed to load Jdbc Odbc driver");
    try{
    Connection con = DriverManager.getConnection("jdbc:oracle:thin@localhost:1521:ORACLE9I","scott","tiger");
    Statement ps = con.createStatement();
    try{
    ResultSet rs = ps.executeQuery("select * from empDetails");
    while(rs.next())
         out.println(rs.getString(1));
         out.println(rs.getString(2));
    rs.close();
    }catch(SQLException se)
    out.println(se);
    ps.close();
    con.close();
    catch(Exception e)
         out.println(e);
    catch (Exception e){
    out.println(e);
    %>
    </body></html>
    Pls anyone give me a solution.Its really urgent.

  • JDBC-BRidge driver exception(for sybase database)

    i am using the weblogic 6.1 along with sybase anyware 6.0.
    I am using the weblogic pool for database connection.
    I am making the use of jdbc bridge driver for connecting to the database.
    I am geeting the datasource look up properly.
    But i am getting the following errors sometime:
    1) too many connections to the database.
    2)authentication violation.
    can you help what can be the reason?

    "Jignesh" <[email protected]> wrote in message
    news:3bfbc796$[email protected]..
    i am using the weblogic 6.1 along with sybase anyware 6.0.
    I am using the weblogic pool for database connection.
    I am making the use of jdbc bridge driver for connecting to the database.
    I am geeting the datasource look up properly.
    But i am getting the following errors sometime:
    1) too many connections to the database.I think this problem is connected with setting of SQLAnywhere ODBC driver.
    2)authentication violation.Create a small standalone java program that
    successfuly connects to the server and use those
    settings to setup the connection pool.
    Just FYI, JDBC-ODBC driver is unsupported,
    and not thread-safe. You will likely not be able
    to use it in production. I'd try to switch to a
    fat Sybase server and corresponding JDBC driver.
    Regards,
    Slava Imeshev

  • JDriver Problem for Oracle

    Hi,
    When Weblogic is starting up, it tries to load Jdriver for oracle.
    Suddenly in my machine, while WLS 6.1 sp1, is starting up, it says,
    Starting Loading jDriver/Oracle ....
    and it sits there for ever.
    The server is not booting up then. Its stuck.
    Thanks,
    Magesh.

    Magesh wrote:
    >
    Hi,
    When Weblogic is starting up, it tries to load Jdriver for oracle.
    Suddenly in my machine, while WLS 6.1 sp1, is starting up, it says,
    Starting Loading jDriver/Oracle ....
    and it sits there for ever.
    The server is not booting up then. Its stuck.
    Thanks,
    Magesh.get us a thread dump to see what the server is doing. What OS is this
    on, and what version of the Oracle client do you have installed on the
    box, and what version of the DBMS are you connecting to?
    Try the utility utils.dbping. What does it do when trying to
    connect to Oracle using our driver?
    thanks,
    Joe

  • Jdbc connection leak problem in wls 8.1 sp1

    Fellows!
    I have problem finding a jdbc connection leak and hope to get some tips from
    a som friendly person who has some experience about this.
    The application contains some 100 classes and CMP beans.
    All connections are fetched with datasource.getConnection and are realesed
    in finally() immediately after the sql-query is done.
    Except for the entity beans of course which has the transaction required
    attribute set.
    Any ideas much appreciated!
    Best regards from the top of Europe - Luleå.
    Here the first snow has been falling and thin ice has freezed on the gulf of
    bothnia.
    Stefan

    Stefan Johansson wrote:
    Fellows!
    I have problem finding a jdbc connection leak and hope to get some tips from
    a som friendly person who has some experience about this.
    The application contains some 100 classes and CMP beans.
    All connections are fetched with datasource.getConnection and are realesed
    in finally() immediately after the sql-query is done.
    Except for the entity beans of course which has the transaction required
    attribute set.Hi. I don't understand this last 'except'. All jdbc code in bean methods
    should be defining a connection as a method variable, obtaining it from
    a TxDataSource in a try block, used completely, and closed as the only/first
    thing in the finally block. We will handle the close() correctly, it won't
    hurt the tx if there is one, and it will do the right thing if there isn't one.
    How do you know there's a leak? Usually our leak-detection shows where the connection
    was made, so you can find out why it wasn't closed...
    Joe
    >
    Any ideas much appreciated!
    Best regards from the top of Europe - Luleå.
    Here the first snow has been falling and thin ice has freezed on the gulf of
    bothnia.
    Stefan

  • Driver issue for Oracle Enterprise Linux

    Hi All,
    I have just installed Oracle Enterprise Linux. I was not able to access network. After doing lspci -- i found that my ethernet conrtoller : Atheros Communications AR8151 Gigabit Ethernet.
    Can any one tell how to install driver for this ?

    What is your output of:
    <pre>
    lsb_release -d
    uname -r
    </pre>
    What kernel driver is in use or loaded regarding your Ethernet card when you check the output of lspci -v"?
    Note that Oracle Linux just like any other Red Hat Enterprise Linux is not designed for typical consumer grade Laptops and Desktop systems.
    Does your computer vendor provide any driver software for Enterprise Linux? You might be able to find 3rd party driver support using http://elrepo.org/tiki/tiki-index.php as a temporary yum software repository. Probably kmod-atl1 or similar.

  • Jena Driver Patch for Oracle 11.1.0.6 is missing

    I can no longer find the Jena Driver server-side patch for Oracle 11.1.0.6. I downloaded this a month ago from OTN but the link seems to have been removed. The installation guide is still available on the Jena Adaptor documentation page but I cannot locate the actual patch: jenadrv_patch111rdf.zip. Any idea what's going on?

    We are working on putting Oracle Jena Adaptor software on Metalink. After that, those links will be re-enabled on OTN.

  • Cannot connect HTTP Server for oracle 9i database

    I tried starting the HTTP Sever for oracle 9i, but i keep getting this error:
    Could not start the OracleOraHome92HTTPServer service on Local Computer.
    The service did not return an error. This could be an internal Windows error or an intrenal service error.
    If the problem persists, contact your system administrator.
    Any thoughts??
    Also I get an ORA- 12535 TNS:timed- out error when I try accessing oracle 9i to create a new database...
    Help....
    Thanks in advance

    Hi Jim,
    the command is 'apachectl start'. You find the executable apachectl under $ORACLE_HOME/Apache/Apache/bin .
    Best regards
    Werner

  • VIA Chipset has Driver problems for ver. 4.42...

    VIA based MSI Mainboard has bad driver problem.
    any time computer reset..!
    this chipset has in bridges and VGAs drivers problems...  i have problem and i read in forums this eror. is this right? ?(
    please help...
    soryy for my bad english... i can't...

    I use the VIA 4.37 that came on the MB cd with my KT3 ultra with no problems at all....Uninstall the drivers and try a different set!!!
    I have never seen a performance gain from switching via drivers so when i last formatted i just stuck the 4.37 on and everything is running normal and stable so no need for me to update them!!
    also try reinstalling directX after you install your via drivers. VxD has some ties to DirectX

Maybe you are looking for

  • How can I remove noise from the paparazzi's constant camera clicks?

    You know how annoying those camera clicks could be while you're trying to hear others talk! I tried using SoundSoap (the demo version) from BIAS-Inc.com but it cuts down on the whole audio as well so some of the speech gets lost. Is there another fil

  • Droid razr date and time settings

    Latest update for my Motorala Razr has incorrect date and time settings will not correct

  • How do I stop the Adobe Reader Installer from crashing?

    I downloaded install_reader10_en_air_mssa_aih.exe and this popup appears: Microsoft Visual Studio Debugger An exception occurred. Process will be terminated. (Exception address is 00413E6C). If I leave it open for a while, it eventually says: Just-In

  • Rollover frecuency

    somebody knows where i find the parameter to modify the format of log_file.yyyymmdd that it save when I execute the rollover?? This because when I execute it save but with a day distinct to the real date

  • Problem Saving Files on Xserve

    Have a question and have been going nuts tryiing to figure this out. At our marketing company I maintain all machines we all have 10.4.7 running on all PowerMac G5's and the server version of OS X (10.4.7) running on the xserve. When my art director