Any ideas on a MS Jet Access Error on Oracle Thin Driver?

I am getting the following error when attempting to connect to an Oracle 8i database on a UNIX server from a servlet on an NT server using Jrun:
Error
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'EMPLOYEE'. Make sure it exists and that its name is spelled correctly.
Where could this come from since I am importing the Oracle classes and have the JRun and system classpath set to where classes12.jar is located. There are no ODBC DSN settings for this DB on the server.
I am using this syntax to get the connection:
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection(
"jdbc:oracle:thin:@10.20.10.112:1521:databasename",
"username",
"password");

it seems like the connection is being made successfully, otherwise you would get a different error.
Maybe your SQL has to be case sensitive in relation to the tablename??

Similar Messages

  • Why an MS Jet Access error with Oracle Thin Driver?

    I am getting the following error when attempting to connect to an Oracle 8i database on a UNIX server from a servlet on an NT server using Jrun:
    Error
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'EMPLOYEE'. Make sure it exists and that its name is spelled correctly.
    Where could this come from since I am importing the Oracle classes and have the JRun and system classpath set to where classes12.jar is located.
    I am using this syntax to get the connection:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@10.20.10.112:1521:databasename",
    "username",
    "password");

    it seems like the connection is being made successfully, otherwise you would get a different error.
    Maybe your SQL has to be case sensitive in relation to the tablename??

  • Petstore throws populateServlet error with Oracle thin driver

    When i point connection pool to Oracle database, i get the following error. The
    data is populated in the database, looks like when petstore is enumerating db
    tables and make sure all tables exist, this error is happening. Some how, database
    metadata coming as NULL. Has anybody tried petstore with Oracle JDBC driver?
    thanks,
    PopulateServlet Error:
    java.lang.NullPointerException java.lang.NullPointerException at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.checkTables(PopulateServlet.java:276)
    at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.doGet(PopulateServlet.java:127)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    I believe that you do not have weblogicaux.jar in your classpath.
    -Selvan
    Laurie Cohen wrote:
    Im using Solaris 2.7 with WLS 5.1.0 and Commerce Server 2.0.1 with
    current service packs on both. JDK 1.2.1_04 and the Oracle thin driver
    (classes111.zip which I am told is the only one supported in this
    configuration). Has anyone seen this problem? Is it that the driver is
    using 1.1 and I only have 1.2 installed?
    devapp01% java -classpath
    /usr/local/weblogic/classes:/usr/local/weblogic/license utils.t3dbping
    t3://localhost:7601 username password "" oracle.jdbc.driver.OracleDriver
    jdbc:oracle:thin:@10.200.201.110:1521:q01c
    Connecting to WebLogic with the WebLogic JDBC Driver
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com/sun/java/util/collections/ArrayList
    at weblogic.kernel.Kernel.declareProperties(Kernel.java:253)
    at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:107)
    at weblogic.common.T3Client.<init>(T3Client.java:218)
    at weblogic.common.T3Client.<init>(T3Client.java:269)
    at weblogic.common.T3Client.<init>(T3Client.java:323)
    at weblogic.jdbcbase.t3.Driver.connect(Driver.java:121)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:106)
    at utils.t3dbping.main(t3dbping.java:115)
    Thanks,
    Laurie

  • Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Apple ID FAQs  >  http://support.apple.com/kb/HT5622

  • Do you have any idea, what makes to fix this error in creating PO.

    The error is u201CDocument 101600 does not existu201D
    Do you have any idea, what makes to fix this error in creating PO.The error is u201CDocument 101600 does not existu201D  Here the 101600 is PO no.

    Hi
    Please check in t.code: RZ20 .
    You can find out the nature of this error
    Regards
    G.Ganesh Kumar

  • HT204408 I keep getting this error message trying to get into facetime, any ideas? "The server encountered an error processing your registration, please try again later"

    I keep getting this error message trying to get into facetime, any ideas? "The server encountered an error processing your registration, please try again later"

    Hello Mikeytsmith
    Check out the article below for troubleshooting the issue of activating FaceTime for Mac.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • ITunes recognizes my device but the device does not show up for me to work with.  Any idea where I go to access to device in iTunes.  Going to File/Device is greyed out.

    iTunes recognizes my device but the device does not show up for me to work with.  Any idea where I go to access to device in iTunes.  Going to File/Device is greyed out.

    I think this article will help you.

  • Error when changing Oracle thin driver to Bea's Oracle driver

    Hi All !
         I was using this code with WL9.2 and Oracle 10 until recently with an Oracle thin driver
         URL: jdbc:oracle:thin:@[x.x.x.x]:1521:[SID]
         Driver Class: oracle.jdbc.xa.client.OracleXADataSource
         Now this was changed to
         URL: jdbc:bea:oracle://[x.x.x.x]:1521
         Class Driver Name: weblogic.jdbcx.oracle.OracleDataSource
         (Bea's oracle driver)
         but the code is not ok.
         The error is Caused by: java.lang.ClassCastException: weblogic.jdbc.wrapper.CallableStatement_weblogic_jdbcx_base_BaseCallableStatementWrapper
         at      com.esi.packages.dataaccess.pagination.ResolvePackageCriteriaPageProvider.getRPCSQLOfPackage(ResolvePackageCriteriaPageProvider.java:1208
         (this is the line where the cast of the result connection.prepareCall() is happenning).
         I tried different CallableStatement objects, from Bea but no success. Any idea/working example about this?
         The code follows:
         org.hibernate.Session session = this.getSession();
         String sqlCode = null;
         OracleThinClob sqlClobCode = null;
         StringBuffer sb = new StringBuffer();
         java.sql.Connection connection = null;
    try {
    connection = session.connection();
    connection.setAutoCommit(false);
    try {
         OracleCallableStatement proc = (OracleCallableStatement) connection.prepareCall("{ ? = call packages_pkg.clob_get_sql_psd_and_package (?,?,?,?,?) }");
         proc.registerOutParameter(1, Types.CLOB);
         proc.setString(2, pkgStatus);
         proc.setLong(3, packageSk); // pkg sk
         proc.setDate(4, new java.sql.Date(date.getTime())); //date
         proc.setString(5, null);
         if(null == provinceSk){
              proc.setNull(6, java.sql.Types.NUMERIC); //province sk
         }else{
              proc.setLong(6, provinceSk); //province sk
    ResultSet rs = null;
    try {
    proc.execute();
    sqlClobCode = (OracleThinClob)proc.getClob(1);
    Writer clobWriter = ((OracleThinClob)sqlClobCode).getCharacterOutputStream();
    if(null != clobWriter){
    try {
         char[] buf = new char[32000];
         buf[0] = '\0';
         sqlClobCode.getChars(1, sqlClobCode.getChunkSize(), buf);
         sb.append(buf);
    } catch(Exception exception) {                           
    logger.debug("Cannot read the SQL from CLOB that resolves the package");
    throw exception;
    sqlCode = sb.toString();
    }catch(Exception e){
         logger.error("Cannot retrieve the benefits types from the database.");
         throw new RuntimeException("Cannot retrieve the benefits types from the database.");
    }finally {               
    if(null != rs){
    rs.close();
    if(null != proc){
         proc.close();
    }

    Horatiu Stanciu wrote:
    Hi All !
         I was using this code with WL9.2 and Oracle 10 until recently with an Oracle thin driver
         URL: jdbc:oracle:thin:@[x.x.x.x]:1521:[SID]
         Driver Class: oracle.jdbc.xa.client.OracleXADataSource
         Now this was changed to
         URL: jdbc:bea:oracle://[x.x.x.x]:1521
         Class Driver Name: weblogic.jdbcx.oracle.OracleDataSource
         (Bea's oracle driver)
         but the code is not ok.
         The error is Caused by: java.lang.ClassCastException: weblogic.jdbc.wrapper.CallableStatement_weblogic_jdbcx_base_BaseCallableStatementWrapper
         at      com.esi.packages.dataaccess.pagination.ResolvePackageCriteriaPageProvider.getRPCSQLOfPackage(ResolvePackageCriteriaPageProvider.java:1208
         (this is the line where the cast of the result connection.prepareCall() is happenning).The weblogic.jdbc.vendor.oracle.OracleCallableStatement
    is for obtaining access to some Oracle's non-standard
    methods:
    void registerIndexTableOutParameter(int i, int j, int k, int l) throws java.sql.SQLException;
    void registerOutParameter(int i, int j, int k, int l) throws java.sql.SQLException;
    java.sql.ResultSet getCursor(int i) throws java.sql.SQLException;
    java.io.InputStream getAsciiStream(int i) throws java.sql.SQLException;
    java.io.InputStream getBinaryStream(int i) throws java.sql.SQLException;
    java.io.InputStream getUnicodeStream(int i) throws java.sql.SQLException;
    You're not calling any of those. Good. Just remove the cast. Stick to standard
    JDBC if you can. Also, note the comments I added about your setAutoCommit() call.
    Joe
         I tried different CallableStatement objects, from Bea but no success. Any idea/working example about this?
         The code follows:
         org.hibernate.Session session = this.getSession();
         String sqlCode = null;
         OracleThinClob sqlClobCode = null;
         StringBuffer sb = new StringBuffer();
         java.sql.Connection connection = null;
    try {
    connection = session.connection();
    connection.setAutoCommit(false); // DON'T DO THIS!! I SEE NO COMMIT. LET WEBLOGIC HANDLE ANY TX.
    try {
         OracleCallableStatement proc = connection.prepareCall("{ ? = call packages_pkg.clob_get_sql_psd_and_package (?,?,?,?,?) }");
         proc.registerOutParameter(1, Types.CLOB);
         proc.setString(2, pkgStatus);
         proc.setLong(3, packageSk); // pkg sk
         proc.setDate(4, new java.sql.Date(date.getTime())); //date
         proc.setString(5, null);
         if(null == provinceSk){
              proc.setNull(6, java.sql.Types.NUMERIC); //province sk
         }else{
              proc.setLong(6, provinceSk); //province sk
    ResultSet rs = null; // WHY IS THIS HERE?
    try {
    proc.execute();
    sqlClobCode = (OracleThinClob)proc.getClob(1);
    Writer clobWriter = ((OracleThinClob)sqlClobCode).getCharacterOutputStream();
    if(null != clobWriter){
    try {
         char[] buf = new char[32000];
         buf[0] = '\0';
         sqlClobCode.getChars(1, sqlClobCode.getChunkSize(), buf);
         sb.append(buf);
    } catch(Exception exception) {                           
    logger.debug("Cannot read the SQL from CLOB that resolves the package");
    throw exception;
    sqlCode = sb.toString();
    }catch(Exception e){
         logger.error("Cannot retrieve the benefits types from the database.");
         throw new RuntimeException("Cannot retrieve the benefits types from the database.");
    }finally {               
    if(null != rs){
    rs.close();
    if(null != proc){
         proc.close();

  • Dbping errors with Oracle8.1.5 and Oracle thin driver

    I am trying to connect to Oracle 8.1.5.0.0 with Oracle thin driver 8.1.5. However I keep getting error ORA-24327. Any suggestions on how to fix this error?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jayanta Ghosh ([email protected]):
    Hi,
    Does XML parser for PL/SQL work with Oracle 8.1.5? Did any one install the
    same and if so what are steps to follow? I ran initjvm.sql to install
    JServer and then tried to load jar files using loadjava, but it's giving
    error. It's working fine with Oracle8.1.6.
    Any idea?
    Thanks,
    Jayanta<HR></BLOCKQUOTE>
    Oracle XML Parser has differents distributions for 8.1.5 and 8.1.6 databases, try the correct version, then runs the oraclexmlsqlload.csh from the lib directory of XSU distribution.
    Best regards, Marcelo.
    null

  • How to set SunOne IDE to work with Oracle thin driver

    I am new to the SunOne IDE. I am trying to use the JDBC wizard to generate a form to work with an Oracle table. I want to use the ORacle thin driver but I am not sure how I can tell the IDE where its located. Can someone help? Thanks.

    In the explorer window select "RUNTIME".(Bottom of window tabbed pane)
    Expand "DATABASES"
    Expand "DRIVERS"
    Scrolldown and you'll see Oracle thin - click on that and set properties.
    Then right click "Oracle thin" click "connect using..."
    From here/there you should be able to view all tables you have access to view..etc.

  • Error in creating Connection Pool using Oracle Thin Driver

    Hi,
    I am trying to create a connection pool in WS 5.1 with sp #6 using Oracle Thin Driver (oracle.jdbc.driver.OracleDriver) on a Sun box. But I am able to create the pool using weblogic.jdbc.oci.Driver. I get an DBMS Driver exception when I use thin driver. I have LD library path and weblogic class path set correctly. WL shows the following exception :
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    Any help on this is greatly appreciated.
    Thanks,
    Ramu

    Hi Ramu,
    Please post your connection pool setting here. You might have missed some
    port/server info. The driver is unable to connect to the db server here.
    sree
    "Ramu" <[email protected]> wrote in message
    news:3d5bbc3a$[email protected]..
    >
    Yes. I am trying to create a connection pool in weblogic and I have theweblogic
    class path setup correctly. It points to classes111.zip andnls_charset11.zip.
    >
    -Ramu
    "Neo Gigs" <[email protected]> wrote:
    Did you setup the JDBC library classpath correctly?
    For me, e.g. Oracle 7.3.4, the classpath should be:
    export CLASSPATH = /oracle7.3.4/jdbc/lib/classes.zip:%CLASSPATH%
    Noted that the JDBC classpath must be the first classpath element in
    the export
    statement.
    Neo

  • ORA-24816 error with oracle 10 driver

    Friends,
    I am getting the following error with Oracle 10 driver while trying to insert data > 4k into a LONG column. The table also contains another column of type varchar2(4000). The code works perfectly fine with Oracle 9i driver.
    ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
    Kindly let me know if this is a programming error or a driver problem.
    Thanks,
    Vinay

    this driver you mentioned, is it the jdbc driver?
    ORA-24816:     Expanded non LONG bind data supplied after actual LONG or LOB column
    Cause:     A Bind value of length potentially > 4000 bytes follows binding for LOB or LONG.
    Action:     Re-order the binds so that the LONG bind or LOB binds are all at the end of the bind list.
    using this forum may be more efficient -> http://forums.oracle.com/forums/forum.jspa?forumID=99&start=0

  • Any WIBIC command leads to memory access error

    Input any command in WIBIC leads to violation memory access error in USER.EXE. Compatibility realise DLL's for win32 are installed.

    Hi,
    Do you have the newest version of NI-488 installed? Check http://www.ni.com/support/gpib/versions.htm for the newest version of the driver that supports your hardware.
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • Any idea why Filemaker 9 server create errors in Apache character encoding

    Hi,
    I'm installing FM Advanced server 9 on my Mac OSX Server 10.4.
    The server is running Apache with PHP 4 and is serving a few other php based sites.
    After installing FM9 the aDnsih characters æøå among others gets cluttered.
    As you can see here: http://hms.dk/after.png
    And this is what it should look like: http://hms.dk/before.png
    I've tried to alter the headers in the php to UTF and ISO but it doesn't help.
    The problem persists even if I turn off all FM9 related services.
    The only way I've found to avoid the problem is to do an uninstall.
    As soon as I uninstall FM9 the problem goes away.
    Actually it goes away in the beginning of the install process.
    Any idea what can cause this?
    Kind regards
    Carsten Warnich
    WARNICH IT

    The JVM has as just-in-time (JIT) compiler, which translates bytecodes into machine instructions for frequently used methods. The Current Compile Task is the method being compiled by the HotSpot JIT when the crash occurred.
    The crash is most likely bug 6346871, which was fixed in 1.5.0_07. Your problem should go away if you migrate to that version.

  • Any idea about the pricing of the hardwares for Oracle 10g RAC?

    Hi,
    If I go for 2 nodes RAC using Dell servers and Disk array, any ideas about the prices? (just for the hardwares.)
    Thanks.
    Regards,
    Jason

    It's all about the shared disk(s).
    If you are only ever going to use two (2) nodes a SCSI JBOD solution is cheap. (practical too with ASM as the cluster filesystem / volume manager)
    More than 2 nodes, you step up to certified NFS, iSCSI or FC/AL connected storage. More expensive, faster, more flexible.
    The computers are the cheapest portion of the cost especially with multiple core multiple cpu 64bit linux based servers being so inexpensive.

Maybe you are looking for