Does wls8.1 install with oracle jdbc drivers in the classpath by default?

I just went through the 8.1 install tonight and it looks to me like the
oracle jars are in the default weblogic classpath.
set
WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblogic_s
p.jar;%WL_HOME%\server\lib\weblogic.jar;%WL_HOME%\server\lib\ojdbc14.jar
Why is that? I don't have oracle, and with just learning how to use wls, it
took me a bit of time to finally figure this piece out (trying to get MySQL
drivers loaded). Not everyone has Oracle installed, so why put it on the
classpath for all servers/domains when they startup?
Thanks.

I'm not sure what the best practice is.
The Oracle driver is set in
bea/weblogic81/common/commEnv.cmd or commEnv.sh.
There is a WEBLOGIC_CLASSPATH that has the jars in it and I always
put my stuff at the beginning.
I suspect that the preferred way of doing this is to update
/bea/weblogic81/samples/domains/examples/startExamplesServer.cmd
or whatever script is used to start the server.
"Flip" <[remove][email protected]> wrote in message news:[email protected]...
Hey Stephen, thanks for the reply.
You got it to work without probs? COOL! :> Where did you stick the driver
and where did you put the jar reference (in which cmd/sh file and where
abouts in the file)? Inquiring minds want to know! :>>>> I tried looking
on the web, but I was referenced to some PRE_CLASSPATH params, as well, as
putting it into my own directories... I'm just looking to find out what dir
is the best practise to dump the jar file into and where to put the
reference in a classpath.
One small note, I do dev in WIN and run production on linux (that might
change soon, but that's another question, and another server :>).
Thanks.
PS BEA, nice domain config wizard with 8.1! Very sweet, I like the
integrated connection pool and datasource creation!
"Stephen Felts" <[email protected]> wrote in message
news:[email protected]...
The Oracle driver (client jar) is shipped in the box. Having it in theCLASSPATH makes it easier
for customers that use it.
If you don't use it and you want to use another driver, it won't get inthe way
since your alternate driver will have a different classname.
I installed and ran MySQL with no problems.
"Flip" <[email protected]> wrote in message
news:[email protected]...
I just went through the 8.1 install tonight and it looks to me like the
oracle jars are in the default weblogic classpath.
set
WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblogic_s
p.jar;%WL_HOME%\server\lib\weblogic.jar;%WL_HOME%\server\lib\ojdbc14.jar
Why is that? I don't have oracle, and with just learning how to usewls, it
took me a bit of time to finally figure this piece out (trying to getMySQL
drivers loaded). Not everyone has Oracle installed, so why put it onthe
classpath for all servers/domains when they startup?
Thanks.

Similar Messages

  • Oracle JDBC Drivers with Tomcat

    I try to connect to Oracle DB with the JDBC Drivers throught Tomcat JNDI access.
    I've tried with the oracle.jdbc.driver.OracleDriver and I have an UnsupportedOperationException when calling the getConnection() method on ma dataSource ref.
    So I've tried with the oracle.jdbc.pool.OracleConnectionPoolDataSource and I have an java.sql.SQLException:
    Cannot create JDBC driver of class
    'oracle.jdbc.pool.OracleConnectionPoolDataSource' for connect URL
    'jdbc:oracle:thin:@(description=(address=(host=meditws322)(protocol=tcp)(port=1521)
    )(connect_data=(sid=HABILLE)))'
    Please help I'm about to break down

    Thanks for your reply. I use Oracle JDBC driver. The XSQLConfig.xml was changed to have the following setting:
    <connection-manager>
    <factory>oracle.xml.xsql.XSQLOracleDatasourceConnectionManager</factory>
    </connection-manager>
    I'm using Tomcat 4.1.x and Apache Commons DBCP Datasources with org.apache.commons.dbcp.BasicDataSourceFactory. The configuration file does set driverClassName to oracle.jdbc.driver.OracleDriver. All other queries embedded in .xsql files work great, I only have issues with queries containing CURSOR() statements. If I switch back to built-in database connectivity, by changing XSQLConfig.xml and connection parameters in .xsql files everything is working again. When I attempt to use DataSources, I get things like this "oracle.jdbc.driver.OracleResultSetImpl@15780d9" instead of nested XML. The non-nested portion of XML looks fine also, so it is retrieving the data from the database properly. Please let me know if I can provide any additional information that could help in resolving this. Thanks in advance!
    -M-

  • Oracle JDBC Drivers

    We are extracting blobs from an 8.05 database. The following statement works only with an older driver for a version I'm not sure whar it is(size is 1419KB, date is 11/3/00 at 9:25AM).
    Nothing special in the sql just extracting the column.
    pBlob = (oracle.sql.BLOB)rset.getObject(1);
    This works fine with the above mentioned driver. All other drivers I have tested 8.15 for 8i, 8.05, 7.34, 8.04, etc. all give the network datatype unsupported error at this statement. I tried the various examples but they were for the oci8 drivers and did not work with thin.
    We use the thin(type 4) driver.
    Do the new drivers not support the BLOB type for thin?
    Does anyone know which driver version and database that the one I described is from?
    Thanks.

    user452131,
    Yes, there are differences between the Oracle 8i JDBC drivers and the Oracle 9i JDBC drivers.
    If you haven't already done so, I suggest perusing the following Web page:
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
    Good Luck,
    Avi.

  • Oracle JDBC Drivers 8.1.6.0.1

    In the readme file of Oracle JDBC drivers 8.1.6.0.1 (http://technet.oracle.com/software/tech/java/sqlj_jdbc/files/Readme_01.txt)
    it mentioned that it supports "connection pooling" and "distributed transactions".
    Later on in the same file under "Oracle JDBC Connection Caching", it says it "facilitates" users in their own connection pooling. Does this mean there is not complete implementation of connection pooling in the driver and users has to do the work themselves?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDBC_TX ():
    In the readme file of Oracle JDBC drivers 8.1.6.0.1 (http://technet.oracle.com/software/tech/java/sqlj_jdbc/files/Readme_01.txt)
    it mentioned that it supports "distributed transactions".
    As I understand, JDBC transaction is connection based and uses Oracle internal transaction manager. In order to do "distributed transactions", I must have at least two connections open at the same time each to its own database instance. How does the two connections coordinate the transactions? I thought in order to support "distributed transactions", one has to build a higher layer to encapsulate the two connections and therefore coordinate the distributed transactions. Any examples will be welcome.<HR></BLOCKQUOTE>
    The two branches of the transaction are coordinated using 2-phase commit.
    For samples look under
    $ORACLE_HOME/jdbc/demo/samples/oci8/jdbc20-samples/
    null

  • How To Install and Configure External Drivers for the JDBC & JMS Adapters

    Hello colleagues,
    Please I need a How To Install and Configure External Drivers for the JDBC & JMS Adapters version 7.10.
    VERSION 7.10.
    BBDD ORACLE - ojdbc14.jar
    Regards.

    Hi ,
    Uisng  Java Support Package Manager (JSPM) to deploy com.sap.aii.adapter.lib.sda file,
    refer this two links,the procedure available how to deploy using JSPM.
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/33/e6fb40f17af66fe10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/1f/c45b4211aac353e10000000a1550b0/frameset.htm
    Regards,
    Raj

  • Installing ODBC and JDBC drivers

    I have recently downloaded JDBC drivers from the Oracle driver download page.
    How do I install them?

    JDBC drivers aren't generally "installed" in the standard sense. They're just JAR files-- you put them in your CLASSPATH and you're done.
    For ODBC drivers, you need to install the Oracle client, then you can use the Oracle Universal Installer that's part of the client install to install the latest ODBC driver patchset.
    Justin

  • How can I connect the remote server which is installed with oracle

    Now my computer is in my home,in my computer there is installed with the oracle 9i client,the server is also installed with oracle 9i,which is in my company.Now I want to use sql*plus to connect the database of the server through the internet work.I have created one listener service name in my home computer,but can't test successfully and the sql*plus can't connect the database.Who can tell me how to do it?Thank you!

    Technical questions need to be addressed to one of the technical forums-- Products | Database | Database - General in this case.
    Unless you are VPN-ing in or the DBA's at your company have configured Oracle Connection Manager to allow you to connect through the firewall to the database, however, I doubt this will work. If they have configured Connection Manager, you'll have to ask them to provide you with connection information. 99.9% of the time, you do not want people to access a database via the internet.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Deploying .jar with Oracle JDBC thin driver

    I was just experimenting with a Java application that uses an Oracle JDBC driver. It runs fine in JDeveloper. However, when I deploy it to a .jar and run it from a Windows XP Command Prompt I get:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\xxx\deploy>java -jar testme.jar
    Exception in thread "main" java.lang.NullPointerException
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    Is there anything special I need to do to the Deploy file? I tried including the the classes111 manifest to no avail.

    Hi,
    Ensure that the JVM being used is the same or at least same spec level that you built your project. JDeveloper 9.0.3 uses VM's compatible with 1.3.1 by default. It is possible that your OS path has another VM that the cmd line defaults to. Use a java -version to check this.
    Also ensure that you include Oracle JDBC as a project library and when you go to create a JAR file (either simple archiver or a Client Jar) that you include the Oracle JDBC libraries from the Dependency Analyzer. I assume this is probably the missing step since your are deploying to a Jar and not an app server where you would put the driver libraries in the app server classpath.

  • Is in ORACLE JDBC drivers connection pooling support

    Hi All!
    Can anybody give me information about subj?
    Any information appreciated

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mike:
    Hi All!
    Can anybody give me information about subj?
    Any information appreciated<HR></BLOCKQUOTE>
    Yes, Oracle JDBC drivers do support connection pooling. Download the latest drivers to get samples and refer doc for more details.

  • Connection issues with Oracle-JDBC

    Using the Universe Design Tool in BOE 4.4 to create an Oracle-JDBC connection.
    Issue:  Test Connection fails for JDBC connection to production Oracle database.
    Getting error:
    “DBD: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    IBM AIX RISC System/6000 Error: 2: No such file or directory”
    Things to note:
    There are three entries in the tnsnames.ora file (a prod entry, a dev entry and a test entry).  I can successfully create the JDBC connections for the test and dev entries, but not prod.
    I can go to Designer in another server (our BOE 3.5 server in a different environment) and create all three Oracle-JDBC connections.
    The Oracle middleware is the same between the two servers (11g) and the tnsnames.ora files are identical.
    The prod database is up (it would definitely be known if it were down).
    Very confused on this one.  Any help would be appreciated.

    It appears that the SAP tool “Universe Design Tool” wants to have a fully qualified (host.parent domain.org) Net Service name for this particular connection as I was able to successfully JDBC connect to our production Oracle database.  The other two databases didn't need it and the Oracle SQL Developer (which uses JDBC for connections) didn’t need a fully qualified name for our production server either.  In any case, it appears to be working now.

  • Hi, i tried to update my iphone 5s and now the only that shows me in screen is to plugged in with itunes. I am opening itunes but it does not installed with it or regognized it ... what i must to do ?

    hi, i tried to update my iphone 5s and now the only that shows me in screen is to plugged in with itunes. I am opening itunes but it does not installed with it or regognized it ... what i must to do ?

    Read this
    http://support.apple.com/kb/HT1808?viewlocale=en_US

  • Oracle JDBC driver and the object types cache

    Hi there,
    Oracle JDBC Developer's Guide and Reference says (version 11gR1):
    Oracle JDBC drivers cache array and structure descriptors. This provides enormous performance benefits. However, it means that if you change the underlying type definition of a structure type in the database, the cached descriptor for that structure type will become stale and your application will receive a SQLException exception.http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/oraoot.htm#g1104293
    That is the problem we are having here... We have web services deployed to WebLogic server that use custom object types. Every time we have to change an object type definition the web services stop working (the error ORA-00902: invalid datatype is raised) and the only solution is to restart the JDBC data source which is quite disruptive to the development process.
    Is there a workaround to disable that "feature"?
    Thanks
    Luis

    Luis Cabral wrote:
    jschell wrote:
    Although if you are changing the object structure then the code to deal with it must change as well. So, especially in developement, why is restarting a problem?It is not that restarting per se is a problem. Here us developers do not have the required privileges to restart the JDBC pool and we have to ask the DBA to do it, and sometimes he is not immediately available. It is not a big thing but this can impact the development process.Your development process is hideously flawed then.
    The pool exists in the JEE server. And from your first post it seems that you have permission to restart that but not to access the management console. It is ridiculous to have access the the former and not the later.
    Not to mention that you should have your own JEE instance to develop on. Actually it is weird to me that a DBA would even be touching a JEE server. The competent ones I know don't even know how to do that. They know the database not the application servers.
    >
    In addition, having to restart a whole JDBC pool just because you changed a database object definition does not seem very flexible to me. Such issue does not exist in other connection types, for instance in OCI connections, that is why I thought there should be an option to turn it off if required.
    Well specifically you have to restart the pool because you were USING the object that changed.
    And I am rather certain that you can turn off the pool entirely.
    Even in production, I reckon that this may have a negative impact. For instance, say that you need to deploy a hot fix for a bug in one application that involves the re-creation of one single object type. This means that the whole JDBC pool, which may be used by other applications, may have to be shut down just because of that single object.Good point.
    I suggest you stop using complex objects in Oracle. I suspect that would eliminate the problem completely.

  • "Does Bridge come with Photoshop if I buy the CC single app?"

    Question from a Customer…"Does Bridge come with Photoshop if I buy the CC single app?"

    Actually whether you consider the Suite a unified concept or not, if you are using a variety of Adobe products Bridge does the job well. Here's a great testimonial of what it does according to one user:
    Bridge is the coordinating hub of the Creative Suite. Synchronizing color management settings for all suite programs is done from Bridge, and can only be done from Bridge, to take one important use.
    Bridge displays actual thumbnails of many more file types than Finder or Explorer. It also allows instant play of sound or video files more readily than the native OS file managers.
    Bridge allows direct access to file metadata, to embed copyright information and keywords where appropriate (e.g., for corporate logo vector and raster files). It also displays the fonts used in an InDesign file, the swatches in an INDD or AI and the output plates (including spot color plates) they use.
    When managing the assets for a design project, Bridge allows quick and simple sorting, rating and custom labeling (with color flash indications) of assets. I can rate images according to whether they are rejects, possibles, for review by client, or approved. The filters built into Bridge allow instant isolation of only the approved images or designs in a folder, only the rejects (for deletion) or only files with certain ratings, no matter how many files it contains. It recognizes aspect ratios, so if I only need a landscape or a 16:9 image in a folder of hundreds of images, I turn off the aspect ratios I don't need.
    Once filtered, the remaining visible files can be selected and copied, moved, or deleted without affecting the rest of the contents of a folder.
    Collections are a massively useful feature. One of my clients is a performing arts center, and in a season we turn out dozens of ads, flyers, brochures, web banners, playbills, billboards and other collateral using the same assets over and over. These assets are organized by artist and/or show on disk, but I set up each season's repeating assets as a Collection in Bridge, so that I just have to open the collection and drag and drop these assets into new INDD, AI, PSD, HTML (in Dreamweaver), FLA or AE projects without having to navigate from folder to folder picking up individual files.
    Bridge's Favorites is another place I stack frequently-accessed folders, such as stock photography, backgrounds, and top-level folders for active projects.
    Assets can be divided into subfolders, but a quick toggle of "Show items from subfolders" exposes all of the assets in a single view while maintaining their organization. I will typically keep AIs, PSDs, EPSs, stock photography and client images in separate subfolders within a project. When I'm ready to start pulling assets into an InDesign layout, I toggle this on and simply drag what I need into the layout.
    Bridge comes with Adobe Camera Raw built in, which is many times faster than using Photoshop to adjust jpegs or tiffs for things like tonal range, white balance, cropping, spotting and sharpening, and is non-destructive.
    One tremendously useful Bridge function for InDesign CS5+ users is the "Show linked files" feature, which opens all the linked files in a layout into a single view, regardless of where they are physically located. I often use this when doing alternative layouts from a client-approved mockup for a campaign, to be certain the same assets are used in each piece, or when creating a motion graphic or interactive piece for the campaign in After Effects or Flash.
    The batch and image processing scripts built into Bridge automate things like creating web-ready small jpegs from multiple images, renaming large numbers of files in place or by copying to an alternative location, creating sets of PSD, png, jpeg or other file types from an assortment of image files, and so on.
    Bridge is so much a part of my daily workflow that on my main workstation I have one monitor dedicated to it almost 100%. Bridge just sits open 24/7, ready for use. I would run at half speed without it, no question.
    Not bad for an old file browser.

  • While doing fi integration with mm & sd what is the role as a fi consultant

    Dear Friends Good Morning,
    While doing FI Integration with MM & SD what is the role as a FI Consultant?
    Plese let me  know what is the configuration need?  plese reply me as early as possible
    its veryhelpful for me.
    Thanks in advance,
            babu

    Hi
    As a FI Consultant should know the FI-MM & FI-SD Integration process.   The following Q&A will be useful and FI Consultant has to configure both MM & SD related process based on the requirement.
    FI-MM-SD Integration
    FI MM account determination:
    FI MM settings are maintained in transaction code OBYC. Within these
    there are various transaction keys to be maintained like BSX, WRX,
    GBB, PRD etc. In each of these transaction keys you specify the GL
    accounts which gets automatically passed at the time of entry.
    Few examples could be: BSX- Stands for Inventory Posting Debit
    GBB-Standsfor Goods Issue/Scrapping/delivery
    of goods etc
    PRD- Stands for Price Differences.
    Q: what level is the FI-MM, FI-SD account determination settings?
    A: They are at the chart of accounts level.
    Q: What are the additional settings required while maintaining or
    creating the GL codes for Inventory accounts?
    A:  In the Inventory GL accounts (Balance sheet) you should switch on the
    u2018Post automatically onlyu2019 tick. It is also advisable to maintain the
    aforesaid setting for all FI-MM accounts and FI-SD accounts. This helps
    in preserving the sanctity of those accounts and prevents from having
    any difference between FI and MM, FI and SD.
    Q: What is Valuation and Account assignment in SAP?
    A: This is actually the link between Materials Management and Finance.
    The valuation in SAP can be at the plant level or the company code level.
    If you define valuation at the plant level then you can have different
    prices for the same material in the various plants. If you keep it at the
    company code level you can have only price across all plants.
    Valuation also involves the Price Control .Each material is assigned to a
    material type in Materials Management and every material is valuated
    either in Moving Average Price or Standard Price in SAP. These are the
    two types of price control available.
    What is Valuation Class?
    The Valuation Class in the Accounting 1 View in Material Master is the
    main link between Material Master and Finance. This Valuation Class
    along with the combination of the transaction keys (BSX,WRX,GBB,PRD )
    defined above determine the GL account during posting.
    We can group together different materials with similar properties by
    valuation class. Eg Raw material,Finsihed Goods, Semi Finished
    We can define the following assignments in customizing :
    All materials with same material type are assigned to just one valuation
    class.
    Different materials with the same material type can be assigned to
    different valuation classes.
    Materials with different material types
    Q:  What is the accounting entry in the Financial books of accounts
    when the goods are received in unrestricted use stock? Also
    mention the settings to be done in the u2018Automatic postingsu2019 in SAP
    for the specific G/L accounts.
    A:  On receipt of the goods in unrestricted-use stock, the Inventory account
    is debited and the GR/IR account gets credited. In customization, in the
    automatic postings, the Inventory G/L account is assigned to the
    Transaction event key BSX and the GR/IR account is assigned to the
    Transaction event key WRX.
    Q:  How do you configure FI-SD account determination?
    The FI-SD account determination happens through an access sequence.
    The system goes about finding accounts from more specific criteria to
    less specific criteria.
    This is the sequence it would follow:
    1) It will first access and look for the combination of Customer
    accounts assignment grp/ Material account assignment grp/
    Account key.
    2) If it does not find the accounts for the first combination it will look
    for Customer account assignment grp and account key
    combination.
    3) Furthermore, if it does not find accounts for the first 2 criteriau2019s
    then it will look for Material account assignment grp/Account key.
    4) If it does not find accounts for the all earlier criteriau2019s then finally it
    will look for Account key and assign the GL code.
    Thus posting of Sales Invoices into FI are effected on the basis of a
    combination of Sales organization, Account type, or Customer and
    Material Account assignment groups and following are the options
    available.
    a. Customer AAG/Material AAG/Account type
    b. Material AAG/Account type
    c. Customer AAG/Account type
    For each of this option you can define a Gl account. Thus the system
    uses this gl account to automatically pass the entries.
    All the best.
    Regards
    GB

  • HELP - hi with apple Configurator why does it show with a yellow triangle on the right side of the screen what am i doing wrong for the ipads not syncing or whatever and how do i fix that?

    HELP -- hi with apple Configurator why does it show with a yellow triangle on the right side of the screen what am i doing wrong for the ipads not syncing or whatever and how do i fix that? although i have looked online to try and figure it out and here is the website i found is this the stuff i need to do to fix this? is this site what i need to do to fix this? http://edtechstandish.wordpress.com/what-ive-learned-about-apple-configurator-so -far/  Thanks

    Sorry but I don't know anything about this.  But you might have better luck posting this question over ing the iPad in Business and Education forum here: https://discussions.apple.com/community/ipad/ipad_in_business_and_education?view =discussions.

Maybe you are looking for