Where is classes12.zip being accessed by OC4J?

Hi
Does anyone know where OC4J in 9.0.2 or 9.0.3 is reading the jdbc driver?. I think is $ORACLE_HOME/jdbc/lib but I'm not sure.

Yes it does read it from the path you have specified. You can check it by removing the files temporarily from this directory and starting the oc4j server. It will shout for JDBC driver classes.
Chandar

Similar Messages

  • Wher should i keep classes12.zip file

    Hi,
    I am new to java and oracle.I want to connect to database to database using thin driver, but i am un able to connect.I am using j2sdk1.4.2_10 and oracle 8i.
    I have downloaded classes12.zip but don't know where to keep .Can any one help me regarding this issue.
    If possible tell me how many ways we can connect to oracle using java.
    Ashok.

    Ashok,
    The Oracle database distribution should include the JDBC driver. It should be in directory:
    ORACLE_HOME/jdbc/lib
    Where "ORACLE_HOME" is an environment variable, so for a Windows platform it would be:
    %ORACLE_HOME%\jdbc\lib
    And for a UNIX/linux platform it would be:
    $ORACLE_HOME/jdbc/lib
    In any case, it doesn't matter where the "classes12.zip" file is located, you just need to tell java where it is located. There are several ways to do this and the best way depends on the type of application you are using. If you are using a simple, stand-alone java class, then simply use the "-classpath" option of the java command, for example (using UNIX):
    java -classpath $ORACLE_HOME/jdbc/lib/classes12.zip:. YourJavaClass(Note that I have assumed that "YourJavaClass" is in the current directory.)
    Good Luck,
    Avi.

  • Where can I find classes12.zip

    I have oracle 8.1.6 on HP-UX and try to use JDBC1.2, but I could not find classes12.zip file. Where can I download it from? Thanks

    Try to search on the Oracle Home directory on your HP_UNIX box that you installed Oracle. Usually, the drive will be in an sub folder called jdbc. Good luck!

  • No classes12.zip included with Linux Oracle 8.1.7 client install??

    I noticed on the linux client install - it includes a
    lclasses11.zip, but this is not the JDBC classes that come with
    Windows clients.
    1.) What is the lclasses11 or 12.zip files for?
    2.) Do I need to copy Windows client classes12.zip, etc to a
    linux client? What aren't these included?
    Thanks
    CHris

    Hi,
    I faced a problem that I want a Oracle8 driver for Linux, so I
    can connect my DB that installed in NT from Linux, I see that
    you face the same problem, I hope you find a solution, so could
    you please help me in this, should I install Oracle in the
    Linux, or not, from where can I install every thing.
    Thanx,
    Ahmed.

  • How to tell if a class within a jar file is being accessed?

    Hello,
    I have written a web app using NetBeans 5.5 and some external libraries.
    Rome 0.9 and a Rome module georss-rome.jar.
    Everything works fine with the integrated Netbeans tomcat 5.5...
    When I try to deploy this as a war using Tomcat 5.5 standalone It will not work properly. To make things worse, I get no error.
    In my code, I instantiate a class in the georss module by doing the following:
                    GeoRSSModule geoRssModule = GeoRSSUtils.getGeoRSS(entry);
                    if(geoRssModule != null)
    ...do something;
    }I then check for null and if not null I do stuff with methods within that jar.
    Basically I pass a rss feed or a georss feed. If its a georss feed then geoRssModule would not be null.
    As I said, this works fine within integrated tomcat but does nothing (no expected action) with standalone which leads me to believe that this is a deployment/jar/classpath issue.
    To me it seems that the class GeoRSSModule is never actually instantiated, but I never get any errors or expected output.
    I set tomcat logging.properties to FINEST for all types of logging.
    Is there a way to determine if the jar is even being accessed for that class file?
    TIA!
    BTW, I dont have the module source.
    I also verified that the jars (rome.jar and georss-rome.jar) are being deployed to webapps/myapp/WEB-INF/lib
    Message was edited by:
    gforty

    GeoRSSModule geoRssModule = GeoRSSUtils.getGeoRSS(entry);Try placing logging statements before and after this statement so that you can track execution. Make sure that your code at least gets to this particular line where you instantiate the GeoRSSModule object. Then place a logging statement afterwards to see if an object was indeed created.
    What helps me in situations like this is that I also use the NetBeans attached debugger listening on your standalone Tomcat installation. This allows you to trace your execution on the server side, one line at a time, giving you a clearer understanding of program flow.

  • Usage of java.sql.Timestamp with classes12.zip and ojdbc14.jar  ?

    Hi all,
    If i'm using java.sql.Timestamp with classes12 it is functioning perfectly,
    if i'm using ojdbc14 and java.sql.Timestamp it is functioning in different way and failing to do the action..
    Example : update set xxx=yy where time = my Timestamp object set in Prepared statement
    Hope to see the answer

    http://forum.java.sun.com/thread.jspa?threadID=460615&messageID=2116517
    Timestamp insert problem
    Using the "classes12.zip" file that comes with the distribution for Oracle versions 8.1.6.x and 8.1.7.x, Oracle's DATE datatype is mapped to the "java.sql.Timestamp" class. However, the "ojdbc14.jar" driver maps DATE to "java.sql.Date", and "java.sql.Date" only holds a date (without a time), whereas "java.sql.Timestamp" holds both a date and a time.

  • Way to find which tables are being accessed

    Hi Guys
    I have a large database and i want to find which tables are not being accessed (even select) from a specific period of time. is there any way to find out . I am using oracke 10g release 1
    Regards
    Khurana
    Edited by: Khurana on Sep 8, 2009 4:29 PM

    select sp.object_owner,sp.object_name,
    (select sql_text from v$sqlarea sa
    where sa.address = sp.address
    and sa.hash_value =sp.hash_value) sqltext,
    (select executions from v$sqlarea sa
    where sa.address = sp.address
    and sa.hash_value =sp.hash_value) no_of_full_scans,
    (select lpad(nvl(trim(to_char(num_rows)),' '),15,' ')||' | '||lpad(nvl(trim(to_char(blocks)),' '),15,' ')||' | '||buffer_pool
    from dba_tables where table_name = sp.object_name
    and owner = sp.object_owner) "rows|blocks|pool"
    from v$sql_plan sp
    where operation='TABLE ACCESS'
    and object_owner IN ('YOUR_USER_NAME')
    order by 1,2
    It will tell you that currently "OBJECT_NAME" is being accessed; but i think it is for full table scan.
    Source:http://www.oracle.com/technology/oramag/code/tips2005/032105.html
    Regards
    Girish Sharma

  • Compatibilty of classes111.zip with classes12.zip?

    We are using classes111.zip for our application .( JDBC thin client being used on Oracle 8i , Application Server is WEBLOGIC )
    We require scrollable resultset for one module , so for that we require classes12.zip.
    Can i use it ?
    If yes will it affect my programs using classes111.zip ?
    null

    In JDBC 8.1.6 almost all of the features (with the exception of support for java.sql.{Blob,Struct,Ref,Clob,SQLData}) of JDBC 2.0 are available in both, the classes111 and classes12 libraries.
    However, if you use classes111.zip you'd need to cast to oracle.jdbc.driver.OracleXxxx entities instead of using java.sql.Xxxx.

  • Regarding classes12.zip files for JDBC usage

    Hello friends,
    I need classes12.zip file for oracle 10g database, & where we need to place them....
    Regards,
    sai.

    Hello sai,
    I need classes12.zip file for oracle 10g databaseI'd recommend to download "general" JDBC drivers from the corresponding OTN page: [url http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html]. I'm not sure if you really want the "classes12.zip", as these drivers are for the outdated Java versions 1.2 and 1.3. Especially these do not (fully) support the current 11.2 XE release. If you can, choose the most recent 11.2 driver download that fits to the JDK version you actually want to use, e.g.      ojdbc6.jar for JDK 6. If you really need to old classes12.zip, you'll find the latest version of these in the [url http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html]JDBC drivers for 10.2.
    where we need to place them....You need to place them in the classpath of the application that is supposed to use them. Since you didn't tell us anything about it, that's really hard to tell.
    -Udo

  • Where clause is not being passed to the report

    I just upgraded my crystal reports from 10.0 to 11 R2. Reports were working fine in 10.0 version,
    Reports are called from vb.net (vissual studio 2005). When I was running this reports using crystal 10.0 and visual studio 2005, it was working fine, After the upgrade report runs but I am noticing that where clause is not being passed to the reports.It generates report as there is no where clause and produces multiple pages report.

    I believe you are encountering an issue documented in [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
    Ludek

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • How to read data from a zipped MS Access file?

    How to read data from a zipped MS Access file?

    RPJ,
    You do not need to use the Close Zip File.vi when you unzip a folder.  This VI is used when you are creating a zip folder.
    As for examples, I found a couple of ActiveX based MS Access examples.  These programs look to be pretty basic.  For more in depth example I would search Microsoft Developers Network
    http://zone.ni.com/devzone/cda/epd/p/id/2188
    http://zone.ni.com/devzone/cda/epd/p/id/1694
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • The latest update has resulted in a runtime error (R6034) and I keep being told Microsoft Visual C   Runtime Library is being accessed incorrectly.  Anyone know how to overcome the problem?  I am using a Dell Inspiron  9400 running Vista.

    The latest update to itunes has resulted in a whole series of runtime errors (R6034).  Microsoft Visual C++ Runtime Library states it is being accessed incorrectly.  I am also told that Apple Mobile Device Failed to Start.  Additional messages suggest the error is in itunes.exe and ituneshelper.exe.  I also get Error 7 (Windows error 1114).  Anyone got any ideas how to overcome this (these) problems?

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99527)

  • First time going to a site where I do not have access and clicking the back button I'm returned to the root site instead of the site I started from

    Greetings,
    I have SharePoint 2013 enterprise using ADFS for authentication.  I have an issue where the first time going to a site where you do not have access and clicking the back button you're returned to the root site instead of the site you
    started from.
    ie:
    1) at site http://www.sharepoint.com/sites/finance/home.aspx
    2) browse to
    http://www.sharepoint.com/sites/finance/private/home.aspx
    3) receive a message: you do not have access to this site  ((oops went to the wrong location - I'll hit the back button))
    4) click the browser back button
    5) get returned to http://www.sharepoint.com/pages/home.aspx
    This only happens the first time browsing to a site that I do not have rights to, after this I can browse to the same site and hit the browser back  button and return to the correct site, or any other site that I do not have access to.
    Any ideas as to why this happens?  Ideas of where to start looking?
    Thanks

    Hi Robert,
    From your description, when you receive access denied message and hit back button in browser, it redirects you to the root site but not previous site. However, this just happens at the first time.
    You may try to use some tool or check log which can tell us how does it handle the request when you hit the button. And compare the issue time and non-issue time.
    I'd suggest you use Netmon tool:
    http://blogs.msdn.com/b/carloshm/archive/2012/11/08/sharepoint-2013-network-monitor-parsers.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Classes12.zip problem :-((

    Hi all, I had a problem when I open a jsp page when I use JDBC connection with classes12.zip. I currently have classes12.zip under c:\Oracle\Ora81\jdbc\lib and I set my environment variable:
    1st try to set: CLASSPATH=c:\Oracle\Ora81\jdbc\lib
    2nd try to set: CLASSPATH=%CLASSPATH%;c:\Oracle\Ora81\jdbc\lib
    3rd try to set: CLASSPATH=$ORACLE_HOME\jdbc\lib
    Then I reboot my machine and start my Tomcat Server. None of these setting is working at all. Here is the error that I get when I load my jsp page:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\t_jsp.java:8: package oracle.jdbc.driver does not exist
    [javac] import oracle.jdbc.driver.*;
    [javac] ^
    [javac] C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\t_jsp.java:59: cannot resolve symbol
    [javac] symbol : class OracleDriver
    [javac] location: package driver
    [javac]           DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    [javac] ^
    [javac] 2 errors
    I read several classes12.zip problem that posted on this forum, but none of them help me at all. By the way my OS is Window 2000 and Tomcat 4.1, Oracle 8.1.7 Enterprise
    Please give me some advices how to fix this.
    Thanks

    Thanks for all your advices, I did try Weiming Zhao
    and 734 instruction, but still not working. By the way, when I do javap oracle.jdbc.driver.OracleDriver, I got the following:
    C:\Dev>javap oracle.jdbc.driver.OracleDriver
    Compiled from OracleDriver.java
    public class oracle.jdbc.driver.OracleDriver extends java.lang.Object implements
    java.sql.Driver {
    public static final char slash_character;
    public static final char at_sign_character;
    static final java.lang.String oracle_string;
    static final java.lang.String user_string;
    static final java.lang.String password_string;
    static final java.lang.String database_string;
    static final java.lang.String server_string;
    static final java.lang.String access_string;
    public static final java.lang.String protocol_string;
    public static final java.lang.String dll_string;
    public static final java.lang.String logon_as_internal_str;
    static final java.lang.String prefetch_string;
    static final java.lang.String row_prefetch_string;
    static final java.lang.String default_row_prefetch_string;
    static final java.lang.String batch_string;
    static final java.lang.String execute_batch_string;
    static final java.lang.String default_execute_batch_string;
    static final java.lang.String remarks_string;
    static final java.lang.String report_remarks_string;
    protected static java.sql.Connection m_defaultConn;
    static {};
    public oracle.jdbc.driver.OracleDriver();
    public boolean acceptsURL(java.lang.String);
    public java.sql.Connection connect(java.lang.String, java.util.Properties) t
    hrows java.sql.SQLException;
    public java.sql.Connection defaultConnection() throws java.sql.SQLException;
    public static java.lang.String getCompileTime();
    public int getMajorVersion();
    public int getMinorVersion();
    public java.sql.DriverPropertyInfo getPropertyInfo(java.lang.String, java.ut
    il.Properties)[] throws java.sql.SQLException;
    public boolean jdbcCompliant();
    There is a SQLException, is this normal? This classes12.zip stop me for the last 4 days. Please advise.
    Thanks

Maybe you are looking for