Ojdbc14.jar - which will use oracle's or weblogic

Hi - I have a doubt on the JDBC connection. I am seeing ojdbc14.jar in weblogic's path and as well as Oracle's path. But during creating connection pool, which ojbc jar will be used by java application.

Yes but we're talking an enterprise environment hereOk. But that doesn't change what I said.
A class is loaded from a 'class path' which is defined from the context of the the class loader.
IF that context is the VM itself then the first jar wins.
IF that context is something like the url class loader then the first jar wins.
IF that context is something like a real custom class loader then it would need to be really odd for it to find some classes in the first jar but skip that same jar to then load classes (that were in the first jar) from the second jar. But even supposing that is the case and the jar is the same jar then there is no functional difference.
IF the jars are DIFFERENT and it some how loads classes that are incompatible, then that causes problems. As an example.
1. The second jar contains class A but jar one doesn't and the App calls A.
2. A (from jar two) calls B which exists in both jars, but will be loaded from the first jar (because it is first.)
3. B is different in the two jars.
Given the above it doesn't require any unusual in a class loader to cause a problem either. Any class loader would load the wrong classes in that case.
With classpath isolation turned on ( = every application runs in its own protected classloader environment) you don't know how many times I saw resources being loaded into two different classloaders and conflicting with each other under JBossNot sure what you mean by 'resource' but of course the classes themselves do not conflict with eash other when loaded into different class loaders. Conversely if there are limited access resources on a computer (such as a dedicated server port) and you load two classes via different class loaders then there will be a problem. But that is because two class loaders are in play and not because of the order in a class path.

Similar Messages

  • ABAP code which will use function module during field mapping in LSMW

    Hi,
    During field mapping in LSMW, for one of the field called field, I want to use a function module 'QF05_RANDOM_INTEGER', which will generate random numbers and map that random number to that field.
    How do I write ABAP code which uses function module, during filed mapping for a particluar field in LSMW ?
    Please help...
    Regards,
    Tushar.

    Hi Tushar,
    You can write in FORM ROUTINE and LSMW.
    I hope you know how to write ABAP code at field level.
    If not ...
    Come to change mode->select the field->Rule->ABAP Code
    write a perform statement in ABAP code at field level.
    <b>PERFORM test</b> using val
                 changing valu.
    Go to Utilities(at menu)->switch layout-> extras ->select Layout->check Form routine-> it will display a FORM Routine... at bottom
    this is the place where you can write some code for
    <b> FORM test</b> using value
              changing value1
      FM call....
    .ENDFORM  
    Get the value1 returned and use for the Field population.
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • I am setting up Time Machine on 2 computers which will use the same external network drive.  Should I partition the ext drive

    Should the dirve on a networked external drive be partitioned to support the use of Time Machine on 2 Macs that are on the Network.  The disk is a 2 Gig Drive and I would like to use some of the disk for external shared storage.

    You are aware that there are problems with using NAS drive for Time Machine?
    http://trick77.com/2011/07/15/about-os-x-lion-nas-time-machine-compatibility-net atalk-gpl-violations/
    Allan

  • Using Oracle AQ in Weblogic 10

    Hi,
    i have a little problem getting this running, and maybe someone can help me?
    So maybe i tell you what i want and what i've done so far.
    What i want to do:
    1. I have a Oracle 10g (10.2.0.4) Database with 5 Queues.
    2. I have a Weblogic 10 (10 MP1) Server with 5 Message Driven Beans
    3. I want that the message driven beans get connected with the oracle queues, but it's important that they use a XA Connection and that they use a connection pool.
    What i've done so far:
    1. I created a Oracle Datasource in the Weblogic server. It uses the Oracle Thin(XA) Driver and a connection pool.
    2. I created a ApplicationLifecycleListener (this is like a startup class) which retrieves the datasource from the jndi context.
    3. The class which i get from the context is not the "normal" oracle driver class. Because i use the connection pool the oracle class is wrapped in a RMIDatasource object.
    4. This RMIDatasource is not implementing the XADatasource interface, so i created a wrapper class which implements XADatasource but uses the RMIDatasource object.
    5. After i have an XADatasource object i can call AQjmsFactory.getXAQueueConnectionFactory()
    6. Now i create an XAQueueConnection and XAQueueSession object
    7. At this point i can get the Oracle queues and so i put them in the weblogic jndi context
    8. when the message driven beans are deployed i get the following error message :
    Unable to deploy EJB: TestHandlerBean from MyProjectEJB:
    Error getting JMSServer member info
    When i search the internet i found some documents describing a similar error message with MQSeries, but this should be fixed with Weblogic 10 MP1.
    In some other threads i found the solution seems to be using code from the following project: [https://jmsbridgesxa.projects.dev2dev.bea.com/]
    But this code is only for weblogic 8.1.
    Have anyone an idea for this problem?

    I have not tried this, the route I used before was from the codeshare method/code your reference. One of the WLS product guys pointed me to this.
    On this OTN page:
    http://www.oracle.com/technology/products/ias/oems/index.html
    There is a link: How-to: Oracle Advanced Queuing Integration with WebLogic Server
    http://www.oracle.com/technology/products/ias/oems/files/aqjms_v2.0.zip
    This zip file contains a framework that registers AQ destinations in WebLogic JNDI and enables tx support.
    Have you looked at that?

  • Tutorial using Oracle database & ADFBC/JSF

    Hello
    I needed to create a web application which will use Oracle as a database and JSF and ADF BC. I wanted to know what are the steps to creating such an application? Any link, pdf, tutorial?
    Also what is the advantage of using JSF/ADF BC.. i.e., as my web application has to have AJAX implementation too, so which one is better suited?
    Please do provide the necessary guidance. Thanks in advance.

    Have a look at the JDeveloper tutorials page on OTN.
    http://www.oracle.com/technology/obe/obe1013jdev/index.htm
    Also see the ADF learning center for more in-depth tutorial and book:
    http://www.oracle.com/technology/products/adf/learnadf.html
    Using JSF with ADF Faces will get you all sorts of Ajax like capabilities. see for example:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/adffacesria/adffacesria.html

  • Ojdbc14.jar API and Oracle Database Version

    Hi
    Im using ojdbc14.jar for accessing an oracle 10G database.
    Im trying to troubleshoot an exception -
    java.sql.SQLException: Parameter Type Conflict
    that seems to get thrown by the method -
    OraclePreparedStatament.processCompletedBindRow
    I have a couple of questions:
    1. Is the documentation/source available for ojdbc14.jar in order that I can try and find out what this method is supposed to be doing?
    2. Also, can anyone confirm if the jar Im using is the correct version of drivers for accessing a 10G database?
    3. When I go to the JDBC support center at Oracle(http://www.oracle.com/technology/docs/tech/java/sqlj_jdbc/index.html) any support documentation/APIs refer only to the Oracle db version and dont mention Java versions. Im using ojdbc14.jar which I guess is for use with Java version 1.4 onwards - how does this relate to the Oracle database versions?
    Thnaks very much in advance to anyone who can give me any suggestions on the above. This issue has stumped me for days now. Ive checked and double checked my code, and the Oracle Java types I have generated from the database, and they all seem to be fine.
    Jon

    unzip it, and look at the MANIFEST.MF file in META-INF
    If you do not know the version, you can just download appropriate one from oracle site.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html

  • Which ojdbc.jar driver is used

    If I have a Java Application running on an application server an the ojdbc14.jar file is in the application server's lib directory and the Oracle 10g connection is remote from the box hosting the application (server), there is an ojdbc14.jar file on the remote oracle 10g box also
    Which ojdbc14.jar file is used by the Java Application to access the remote Oracle 10g database??
    The ojdbc14.jar file in the app server directory or the ojdbc14.jar file included with the oracle 10g installation (remote)
    Thanks
    J.

    A JDBC connection from an application server to a database server would use the JDBC driver installed on the application server (and specified in the CLASSPATH for the application server). The JAR file on the database server is irrelevant for connections to the database server-- it would only be used by a Java application running on the database server that was connecting to a database (local or remote).
    Justin

  • Which parts of iCloud will use up data if not connected to wifi?

    Just started really actively using it today and was just wondering..

    You cannot access two different Wireless points at the same time.. so you simply cannot do this without spending some money.
    You can get a wireless usb stick for the Mac.. so you have two wireless clients.. setup the secondary wireless which will use the TC with a static address.
    Or you can join the TC to the neighbours network.. so everybody can use use it.. maybe not the best idea.. also incredibly slow.
    You can buy a wireless bridge device and stick that in front of the TC.. eg you can use an Express.. as bridge with ethernet connection to the TC.. and then the TC can act as both wifi and storagae for your network.. you may have double NAT issues or again anyone can access the TC that is using the neighbours network..!!
    That is all I can think of.. you can build variations around it.. ie you can buy a different wireless bridge device and hopefully the neighbour does know you are bumming his wireless.. and would setup wds on his router.. or maybe not.
    Having two wireless clients ie a wireless usb stick in the laptop is the easiest.

  • Problem with blob column index created using Oracle Text.

    Hi,
    I'm running Oracle Database 10g 10.2.0.1.0 standard edition one, on windows server 2003 R2 x64.
    I have a table with a blob column which contains pdf document.
    Then, I create an index using the following script so that I can do fulltext search using Oracle Text.
    CREATE INDEX DMCS.T_DMCS_FILE_DF_FILE_IDX ON DMCS.T_DMCS_FILE
    (DF_FILE)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('DATASTORE CTXSYS.DEFAULT_DATASTORE');
    However, the index is not searchable and I check the following tables created by database for my index and found them to be empty as well !!
    DR$T_DMCS_FILE_DF_FILE_IDX$I
    DR$T_DMCS_FILE_DF_FILE_IDX$K
    DR$T_DMCS_FILE_DF_FILE_IDX$N
    DR$T_DMCS_FILE_DF_FILE_IDX$R
    I wonder what's wrong with it.
    My user has been granted the ctx_app role and I have other tables that store plain text which I use Oracle Text are fine. I even output the blob column and save as pdf file and they are fine.
    However the database seems like not indexing my blob column although the index can be created without error.
    Please advise.
    Really appreciate anyone who can help.
    Thank you.

    The situation is I have already loaded a few pdf document into the table's blob column.
    After I create the Oracle text index on this blob column, I find the system generated index tables listed in my earlier posting are empty, except for the 4th table.
    Normally we'll see words inside the table where those are the words indexed by oracle text on my document.
    As a result, no matter how i search for the index using select statement with contains operator, it will not give me any result.
    I feel weird why the blob is not indexed. The content of the blob are actually valid because I tested this by export the content back to pdf and I can still view and search within the pdf.
    Regards,
    Jap.

  • Oracle AQ vs Weblogic JMS

    Hello, I have option to use Oracle AQ or Weblogic JMS for message persistence.
    Appreciate any one provide information or link for usability/comparative analysis of AQ and Weblogic JMS.
    i.e. Features of AQ Vs Features of Weblogic JMS. pro's and con's of both options. and which one is suitable as I have availability of both options.
    Thanks,

    Found a forum thread link over similar discussion: Oracle 11g -  WLJMS Vs AQJMS
    My questions are still unanswered in mentioned thread as well.
    Experts please extend you help over this.
    Thanks,

  • Oracle Workshop for WebLogic is slow

    Hi
    I am using Oracle Workshop for WebLogic Version: 10.3 & Build id: 1137967 on Windows7 32-bit OS with 4GB RAM
    It is too slow when creating/updating proxy message flow.
    Is there any settings to change?
    Thnak you
    Edited by: user11310683 on 9/10/2011 21:04

    How much memory have you assigned to IDE? How many projects are present in the workspace? Which JDK are you using?
    Make sure you have assigned enough memory to IDE (at least 1 GB). Close all projects which are not in use. Try with JRockit if you are using Sun JDK
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Oct 10, 2011 11:08 AM

  • Problem integrating Oracle 9i and Weblogic 7 with MDBs

    All:
    I would really appreciate an answer to this question.
    Background:
    - We are using Oracle 9i and Weblogic 7
    - I have an MDB that receives a message, then in the onMessage(Message) method
    performs a findByPrimaryKey(String).
    Problem:
    The deployment descriptors and the MDB all work fine when I set them up to query
    against a Pointbase database and deploy to Weblogic. Everything worked fine. But
    this was only a test to see if everything would work.
    I now need to query against an Oracle database. I got the updated version of the
    Oracle Thin Driver and put it in the WL_HOME/server/lib/classes12.zip file. I
    even added it to the beginning of the classpath in the startWeblogic.cmd file.
    But am still having problems.
    To test the just the Oracle connection I double checked the user, password, URL,
    and driver settings in a java file using JDBC connections - and they worked fine.
    They just aren't working when integrated into Weblogic.
    The problem lies in the Weblogic 7 server integration with Oracle 9i. The software
    integrated fine when tables from a Pointbase database were queried. The only changes
    made have been to make the connectivity to Oracle.
    My errors are in the attached myserver.log file. If anyone knows if this is a
    known problem or what the problem is please let me know.
    Just FYI my settings are as follows:
    Driver: oracle.jdbc.driver.OracleDriver
    URL=jdbc:oracle:thin:@192.168.6.10:1521:proType1
    user=protype1
    password=protype1
    Any advice is welcomed! I've tried everything I can think of.
    Angie
    [myserver_errors.txt]

    Hi Angela
    you can try the following parameters in the FileRealm.properties to set
    acl.reserve.weblogic.jdbc.connectionPool.<connectionPool>=everyone
    Thomas
    Angela Biche schrieb:
    Thanks, I set the initial pool count to 2 and have up to 10
    connections (for this testing). Unfortunately it hasn't helped
    any.
    The error that I am getting is an SQLException:
    Exception = Access not allowed
    But when I ran the java utils.dbping it makes the connection
    with the connection and driver parameters I enter in the console.
    I'm still open to ideas on this! :)
    Thanks,
    Angie

  • Which ojdbc14.jar JDBC driver to use for Oracle 10g database

    When ODI is installed there seems to be an Oralce JDBC driver in place in the drivers folder (ojdbc14.jar).
    When we connect to an Oracle datastore and point to a table and use the 'reverse' function to populate the columns - it sort of works OK but does not bring back the datatypes properly. This is found to be when the Oracle table has UNICODE character datatypes NCHAR and NVARCHAR. If a table has CHAR and VARCHAR it is all OK but any table that has UNICODE datatyoe has a problem.
    Is this likely to be the JDBC driver ?
    We have tried replacing this ojdbc14.jar with the older classes12 and this, as expected, did not resolve the issue.
    We then tried replacing it with the latest 10.2.0.4 ojdbc14.jar but again no difference.
    Does anyone have any experience with Oracle JDBC drivers and what release level to use - and using against UNICODE datatypes in tables ?
    Regards

    Our problem is that when we use 'reverse' to populate the columns from a physicla table in an Oracle database - ODI is obviously 'seeing' the ORacle table and is correctly understanding the columns in the table and defining them in it's model - but wherever there is a column with a datatype in the ORacle database of NCHAR or NVARCHAR it fails to populate the datatype or the 'length' of these columns. If I manually try to specify the datatype these 2 unicode data types do NOT exist in the pull down list of datatypes.
    I see what you are asking - if these datatypes are actually defined as datatypes within the actual technology - I cant access my lab right now but will check as soon as I can. Thanks for the suggestion.

  • Is ojdbc14.jar the correct driver to use with Java 1.6.0 and Oracle 10?

    I have a customer using Oracle 10.2.0.3 and a JVM of 1.6.0. They are using ojdbc14.jar as their JDBC driver. I am confused because while ojdbc14.jar is listed as the driver for Oracle 10.2.0.3, it is not listed as compatible with JDK1.6.

    the 14 part means it is for Java 1.4. You should use a driver from either the ODJBC5 (Java 5) or OJDBC6 range (Java 6). All drivers are backwards compatible, so you can use the latest drivers to connect with older Oracle releases. Just don't assume that the latest one is the best one, check Google for specific problems before using a specific driver release.

  • Which network is Oracle using for RAC traffic ? where you will get info ? ?

    Hi,
    I am using two node RAC on Oracle 10g R2 (10.2.0.3.0) version on SUN Solaris 10 . I want to know "Which network is Oracle using for RAC traffic ? where you will get info "
    --Kumar                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Kumar,
    In 10g, you can query x$ksxpia. If the cluster_interconnect information is stored in OCR (default), you will get
    SQL> select INST_ID,PUB_KSXPIA,PICKED_KSXPIA, NAME_KSXPIA,IP_KSXPIA from x$ksxpia;
    If you specified the cluster_interconnects parameter in your init.ora:
    Columns to look in : INST_ID P PICK NAME_KSXPIA IP_KSXPIA
    And also you can use 'oradebug ipc' to see which interconnects the database is using:
    SQL> oradebug setmypid
    SQL> oradebug ipc
    Hope it helps...
    Thanks
    LaserSoft

Maybe you are looking for

  • ITunes 7.0.1.8 experiences - Here's what got fixed for me...

    After news of the iTunes 7.0.1.8 update broke out today, I downloaded it and have used it for a little while. I'd thought I'd share my experiences so far, but please take note that I did not do any CD burning/importing tests, nor do I own an iPod to

  • Transfer records to UNIX with different record length

    Hi all, I have the following problem. I have to transfer records to a UNIX file. The maximum length of a record is 2000. The records are TAB seperated. I also have records which have a length less then 2000. When i look at the file in Excel the last

  • How to auto scroll a table to last row when using Active Data Service?  11g

    Hi all, Has anyone got any experience with the ADF Active Data Service? I am using an af:table in combination with the ADF Active Data Service and I want the table to scroll to the latest row when new data arrives. It is basically a simple setup: The

  • Key Note valid for use in specified state : error ...

    Installing Skype failed error : code 1603 Ive tried uninstalling Windows Security update KB2918614. Ive also removed Skype and its contents from its previous location. Im really stuck  ! what do i do ? i really need skype to work Solved! Go to Soluti

  • Macbook Pro 15 Z0M1 in Apple Retail Store in NY

    Hi guys, I am going to NYC on May 7 to May 13 and would like to buy a new Macbook Pro 15 of the following configuration: 2.3GHz Intel Core i7 Quad-Core 8GB (2x4GB) RAM 512GB SSD Hard Drive SuperDrive AMD Radeon HD 6750M 1GB GPU 15.4" Antiglare High-R