Third party JDBC Driver and Domain Extension
Hi everyone, I'm using a third party driver to acess some of the legacy databases in my company. I'm adding them to Weblogic's (v. 10.3.3.0) Classpath by setting the EXT_PRE_CLASSPATH in the setWLEnv.sh file. Everything worked fine so far, until I had to extend my domain to acomodate new settings. The Configuration Wizard crashes in the middle by saying "A fatal error Has Occurred. This Application will terminate". By inspecting the logs I saw that the Wizard tried to search my Data Source which used the third party driver and couldn't find the Driver Class. I would like to know if there is a better way to add the library to the Weblogic's Classpath or someway to workaround this issue during the extension. In my current situation I'm having to erase the data source, extend the domain and reconfigure the data source, which is big trouble !
Any help will be appretiated ! Thanks
PS: I've also tried to add the third party driver's JAR in the CLASSPATH inside config.sh file but unfortunately the error was the same !
You can place your jar files in the domain lib directory.
WebLogic uses a separate classloader to load classes from the domain lib directory. This classloader
is a child of the system classloader, and a parent of the application classloaders. The classes and
resources in any .jar file placed in the directory is automatically available to all applications.
Note, however, that the domain lib classloader does not support redeployment, dynamic reloading, or FastSwap, and cannot
refer directly to code in the application classloaders. But i think that this is not a problem, you just want your
thrid party JDBC driver to be availlable for your applications.
Similar Messages
-
Where to add Third Party JDBC Driver in SQL Developer 4.1 EA2
In SQL Developer 4.0.3 under Tools - Preferences - Database there was an option to add a Third Party JDBC Driver so we could use the same tool for a PostgresSQL database. I cannot find in in SQL Developer 4.1.0.18
I think it happened because I imported settings and connections from a previous installation.
I removed the C:\Users\username\appdata\SQL Developer\system4.1.0.18.37\ folder.
I've run it now without that and the option is back.
Thanks! -
I am trying to connect to a TRIP database (a product from Tietoenator). They offer a JDBC driver which I have already used in java applications. So I can confirm that it works. What makes that driver perhaps a bit special is that it needs 3 other jars to operate.
So I need these jar files
<li> tripjdbc.jar (this is the actual jdbc driver)
<li> tripjtk.jar
<li> triputil.jar
<li> xercesImpl.jar
I have tried to place all of those jars into the Tools > Preferences > Database > Third Party Drivers dialogue [as suggested here|http://www.oracle.com/technology/products/database/sql_developer/files/thirdparty.htm]. But that does not help.
Following the docs of Tietoenator I need those 3 libraries in the path of the java app the JDBC driver shall be used from. This is where I currently fail. How can I add those to the classpath of the SQL Developer? I assume it is a *.conf file somewhere in the SQL Developer home directory ... ?
Thank you for any suggestion.
EDIT: I am using SQL Developer on a windows box. May be of interest.
Edited by: user7368833 on 17.05.2010 05:05I'm using java web to create website,the database use trip , have some problem, could you give me some answer, thankyou very much.
the question: how to use java connect trip to add some record by webpage,and other mothod,such as modify\search\delete record,could you give some sample code about these,such as book entity.thankyou very much.
email:[email protected] or [email protected] -
Using third party JDBC driver gives error
In our project , we have to make a call to ingres database. For that we are using JDBC driver from Caribou lake Software. The application works fine when we execute in a stand alone JVM. But we get the following error if we load and try to run within JServer
Unable to instantiate packet driver java.sql.SQLException: socket connection: io error - Unsupported VC socket option
Is it possible to use other JDBC drivers inside JServer ?
ThanksThanks Jim, yes a custom url - that's what i want to do - like in jdev. Did you mean the "Custom URL" on the "Oracle" tab in sqldev - this is for the oracle database jdbc driver only - to let you do stuff other than just host and port and sid/service - so I can not use that. But i do want to set up a generic jdbc url - i want to say "use this driver class" with "this url" - I can do it in jdev - since a lot of the code base is shared/similar i expect to be able to set it up in sqldev also - also i think oracle products should at least support other oracle products. I guess this is an enhancement request for the sqldev development team then. Ta Nathan.
-
Viewlink with third party jdbc driver
Hello, I try to create a viewlink with a Firebird SQL JDBC driver, but the SQL statment JDeveloper generate to test the view is not generic SQL compliant with Interbase, it's rather ORACLE specific :
SELECT * from (select * from V_INDIVIDU_CODE_ADH) QRSLT where 1=2
So it's impossbile to access the attributes or anything in the viewlink without having an error message from the jdc driver.
Is it sure that JDeveloper wants to support other DB than ORACLE ?Hello, I try to create a viewlink with a Firebird SQL JDBC driver, but the SQL statment JDeveloper generate to test the view is not generic SQL compliant with Interbase, it's rather ORACLE specific :
SELECT * from (select * from V_INDIVIDU_CODE_ADH) QRSLT where 1=2
So it's impossbile to access the attributes or anything in the viewlink without having an error message from the jdc driver.
Is it sure that JDeveloper wants to support other DB than ORACLE ? -
ADF Bc third party JDBC Driver java.sql.SQLException: No suitable driver
Hello all
I am using JT400.jar file to connect to AS/400 data base in my JSF/ADF Application.
We are using shared library for all non oracle jar files . and my application fails with error message
## Detail 0 ##
java.sql.SQLException: No suitable driver
During runtime. even though i am importing the required jar files from shared library settings in server.xml / application.xml
When i don't have the entry in shared library for this jar file it will fail during deployment time it self, but with shared library link it works during deployment but fails during runtime
it will work during runtime if i add my jar file to BC4J/lib folder. but team responsible for mintaining application server don't accept adding non oracle jar files to oracle installation folders
i have also posted this in jdev forum
Please Advise
ThanksThanks for reply
i am using Sqlserver 2000 as back end
import java.sql.*;
import java.net.*;
public class MysqlConnect{
public static void main(String[] args) {
System.out.println("MySQL Connect Example.");
Connection conn = null;
// String url = "jdbc:mysql:/localhost:3306/";
String url = "jdbc:microsoft:sqlserver/GTEXC/";
String dbName = "java";
// String driver = "Sun.Jdbc.Odbc.JdbcOdbcdriver";
String userName = "root";
String password = "root";
try {
Driver d=(Driver)Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
conn = DriverManager.getConnection(url+dbName,userName,password);
System.out.println("Connected to the database");
conn.close();
System.out.println("Disconnected from database");
} catch (Exception e) {
e.printStackTrace();
} -
Third Party Optical Drives and Mac OSX . . . .
My Optical drive on my MacBook does not work and I am trying to upgrade to Snow Leopard. I had brought the MacBook in to the Apple store and the tech could not get it to fail, yet I tested it before I went into the store (no go) and when I got home from the Apple store. Still no go. The tech did tell me it would cost a little over $500 to replace the drive.
I had purchased a Toshiba SuperMulti DVD Drive* a few months back (another story) and figured I could just use the Toshiba drive to install the new OSX version. It whirls and spins but the Mac never see the drive. Do I have the wrong external DVD to work with my Mac?
* Toshiba Portable USB 2.0 DVD SuperMulti Drive Model No. PA3761U-1DV2.
Any one have any suggestions? Other than pay the $500+ to replace the Mac's Optical Drive or buy a new Mac?Thanks. I am just so proud of my Macs. I had an external HD plugged into the Mac when I first tried the DVD drive, hence the single plug plugged in. One weakness of the little MacBook is the 2 USB ports. When I removed the HD I decided to try with both USB's plugged in.
I had to buy this Toshiba PC because I was using my Mac with Parallels and Windows XP to run my AutoCAD program. We were working on a wireless network, using an A-B printer switch and the old version of Parallels I had on the MAC was giving me some stability problems. I needed to update and when I decided to "go for it" was informed by some Parallel VM geeks that I might have to reinstall my Windows after the upgraded VM.
I could not find my XP disk and ordered another copy of the Win OS. Meanwhile I needed to work so I bought the Satellite Pro. Asd far as Win boxes go, it is pretty good.
When I get the MAC updated, I will install the latest update for Parallels, reinstall the Win XP and my AutoCAD. If it is stable I will go back to using it for work and put this Toshiba on the shelf. -
How to set classpath for third party jdbc-driver
my application contains bc4j jsp. when i try to run this jsp application which connect to postgresql, i get a error message
"Application Error
Return
Error Message: JBO-30003: The application pool (App_ModLocal) failed to checkout an application module due to the following
exception:
Error Message: JBO-26061: Error while opening JDBC connection."
how to solve this.The JDBC for your database should be added to your client project.
In JDeveloper created a new 'named' library item and specify the JDBC jar files for your database.
See also related article
http://otn.oracle.com/products/jdev/howtos/bc4j/bc_pdb2walkthrough.html#edit
- Sathish -
Hi,
I set up a third-party JDBC driver on iPlanet App Server 6.0 SP3 Test Drive
on WinNT 4.0. I then ran HelloDB against a data source pointing to this JDBC
driver. I got the following exception while trying to make a connection. Any
hint as to what's wrong would be greatly appreciated.
Yongtao You
[email protected]
PS. The "Driver Classpath" is set to "k:\iPlanet\ias6\neon\scjd12ts.jar"
which contains the class "com.neon.jdbc.Driver".
java.sql.SQLException: A. Couldn't load or create 3rd party class:
com.neon.jdbc.Driver
at com.netscape.server.jdbc.Driver.connect(Unknown Source)
at com.netscape.server.jdbc.ConnectionPool.createNewConnection(Unknown
Source)
at com.netscape.server.jdbc.ProxyEvaluation.createObject(Unknown Source)
at com.kivasoft.rlop.ObjectPool.reserveObjectnative(Native Method)
at com.kivasoft.rlop.ObjectPool.reserveObject(Unknown Source)
at com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
at com.netscape.server.jdbc.ConnectionPool.getConnection(Unknown Source)
at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
at
samples.hellodb.servlet.GreeterDBServlet.doGet(GreeterDBServlet.java:91)
at
samples.hellodb.servlet.GreeterDBServlet.doPost(GreeterDBServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)Hi,
I fixed the problem by manually editing the Windows Registry.
Thanks.
Yongtao
Yongtao You <[email protected]> wrote in message
news:9q52qh$[email protected]..
Hi,
I set up a third-party JDBC driver on iPlanet App Server 6.0 SP3 TestDrive
on WinNT 4.0. I then ran HelloDB against a data source pointing to thisJDBC
driver. I got the following exception while trying to make a connection.Any
hint as to what's wrong would be greatly appreciated.
Yongtao You
[email protected]
PS. The "Driver Classpath" is set to "k:\iPlanet\ias6\neon\scjd12ts.jar"
which contains the class "com.neon.jdbc.Driver".
java.sql.SQLException: A. Couldn't load or create 3rd party class:
com.neon.jdbc.Driver
at com.netscape.server.jdbc.Driver.connect(Unknown Source)
at com.netscape.server.jdbc.ConnectionPool.createNewConnection(Unknown
Source)
at com.netscape.server.jdbc.ProxyEvaluation.createObject(UnknownSource)
at com.kivasoft.rlop.ObjectPool.reserveObjectnative(Native Method)
at com.kivasoft.rlop.ObjectPool.reserveObject(Unknown Source)
at com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
at com.netscape.server.jdbc.ConnectionPool.getConnection(UnknownSource)
at com.netscape.server.jdbc.DataSourceImpl.getConnection(UnknownSource)
at com.netscape.server.jdbc.DataSourceImpl.getConnection(UnknownSource)
at
samples.hellodb.servlet.GreeterDBServlet.doGet(GreeterDBServlet.java:91)
at
samples.hellodb.servlet.GreeterDBServlet.doPost(GreeterDBServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
atcom.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479) -
NI UMI-7772 and third party Stepper Drives
Dear all
Now we want to control a stepper motor with voltage ratings up to 110 V and 0.5 A at 110 V
we have the 2 Axis PCI-7342 motion controller and the NI UMI-7772 Terminal block for third party motor drives
please advice , what is the suitable third-party stepper drive that can fullfill the above ratings and compatible with the UMI-7772 ??
i have found only one link for a company called ParkerMotion (check this link : http://www.parkermotion.com/literature/pdf/aries.pdf ) but I'm not sure if it is compatible with the UMI-7772 or not
waiting your replies and thanks in advance
Eng. Mohammed Ashraf
Certified LabVIEW Associated Developer
InnoVision Systems Founder, RF Test Development Engineer
www.ivsystems-eg.comAlmost any standard stepper or servo drive would be compatable with a UMI. The Parker Aries you have a link to is a servo drive, not a stepper drive. You motor ratings are unusual for a stepper motor. What is the brand and model? I have had good luck with Applied Motion stepper products. www.applied-motion.com
-
How to use third party jdbc drivers ?
Hi,
Im new to sun one app server.i have some existing CMP
bean (currently testing under J2EE RI).database used is
SQL server 2000 and using a 3 rd party JDBC Driver.
my question is. if i switch to sun one app server, do i need
anyother third party stuff to support CMP using SQL
Server? (other than the exisiting jdbc driver andSQL Server).
I read somewhere that in sun one we need to get a
persistance manger from the 3 rd part. is it necessary?
can i use my plain jdbc driver with the builtin persistance
manager of sun one app server?. how can i do that ?
thanks in advance
-mr exHi,
Persistence manager from 3rd party is not required.You
can use the built in persistence manager of Sun one application server.
You can refer the following link for creating new persistence manager
http://docs.sun.com/source/816-7156-10/agj2eres.html#47595
Get back in case of issues -
How can I install OSX on a new third-party hard drive in my Macbook Pro?
I'll start off by saying that I bought my MBP (Mid 2009, 13 inch) used two years ago, and the seller never thought to mention that he had installed a third party hard drive not long before selling it to me... First problem.
Anyway, the hard drive crashed. I'm installing a new hard drive, but I'm worried about getting back to having Mountain Lion. I'm confused by the process - Some say I can start by ordering a retail copy of Snow Leopard on Amazon, some say I need the OS disc that originally came with the computer (which obviously I don't have), and some make it seem as if there's a special version of Snow Leopard I need to order from the Apple store?
Help.There is no special version of Snow Leopard (other than what ships with a Mac of that vintage). There is a regular retail version. It is a good idea to have a copy.
http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
After you install the new hard drive boot the computer from the OS disk, and install OS 10.6.
If you want a more recent OS, sign in to the App Store - use the same ID and password you have used here.
There you can download Yosemite, it's free.
I assume your MBP meets the requirements for Yosemite. If it does not, or if you want an earlier OS than 10.10, you should be able to find it at the App store. -
Third Party JDBC Config Issue in JDeveloper 9.0.2
I am running JDeveloper 9.0.2.822 on Windows 2000 Pro.
I am attempting to setup a 3rd party JDBC driver in the Connection folder of the system navigator.
The 3rd party driver is provided by Progress software for the Progress RDBMS.
Outside of the JDeveloper environment, I am able to run a simple Java connect/query source . The requirements to use the driver include ensuring the Progress jar file with the driver is in the CLASSPATH and the Progress DLL (under bin) is in the PATH statement. If the DLL is not in the PATH, then attempting to connect throws the following exception: "no suitable driver".
Inside JDeveloper, I am able to take the same source and, after I setup the CLASSPATH for the specific project under Project/Settings PATHS, the code executes here as well. It is able to connect to and query the Progress database.
After setting-up the non-default drivers in jdev/bin/jdev.conf file, I attempted to setup the connection under Connection folder of the system navigator. When I test the connection, I get the same error described earlier when the PATH was not setup properly: "no suitable driver".
(The Progress driver accesses the Progress database via JNI to the C++ DLL located in the another directory. This directory is visible to the driver by navigating PATH.)
This is strange. When I run the java source in JDeveloper, it can connect and query the DB. Yet, when I try to connect to the same database via the same IDE using the Connection folder, it does not see/use the PATH to find that DLL.
Anyone have any suggestions?That worked like a charm!! Thanks, Robert!
Now that the connection works, when I try to drill-down beyond "table" in the System-Navigator, it shows no tables. Is that a limitation of 3rd party drivers? Will I still be able to use this connection to query the database when building the java source? Is there a link that discusses the limitations of 3rd party DB connections in JDeveloper?
By the way, this is a SWEET product. Hands-down the best IDE I have ever used! Keep up the superior work! -
Third Party DVD Drive to Install Tiger
Can a third party DVD drive be used to install Tiger? I have an iBook G3 with a CD ROM drive I would like to install Tiger on.
I can't tell you, as my D2 DVD burnt out quicker than a candle burning at both ends, but of these...
http://www.lacie.com/products/range.htm?id=10014
It'd have to be the one with Firewire at least... just don't know what's happened to LaCie in the last couple of years.
I'd ask OWC about these...
http://eshop.macsales.com/item/Other%20World%20Computing/MRBFWU2D115/
http://eshop.macsales.com/item/Other%20World%20Computing/MRFWU2D115/
http://eshop.macsales.com/item/EZ%20Quest/K18560/ -
Upload Third Party Software Component and assignment to Track
Hi,
I created a Track where I have to add a Third-Party Software Component (HMVCGLXBRIDGE.sca).
How can I upload Third-Party Software Components and make it selectable for adding it to the Track under SAP NetWeaver Development Infrastructure > Change Management Service > Landscape Configurator > [Track] > Add SCu2026
THX for any comment
RegardsHi Pascal,
my structure in detail
Track: BOM
Product: SalesBOM
Software Component: SC_SALESBOM
Dependencies (Context: BuildTime): BPEM Buildt 7.12, ..., HMVCGLXBRIDGE, ..., VC FREESTYLE KIT 7.12
--> I added the SC "HMVCGLXBRIDGE" afterwards in the SLD und after an update and synchronisation in CMS it is also not shown
I checked the HMVCGLXBRIDGE.sca and there are two files in the BUILDARCHIVES folder:
- test.sap.comhm-vc-glx-bridge.dcia
- test.sap.comtcvcglxbridgecomp~.dcia
Furthermore there are this folders:
DEPLOYARCHIVES
- test.sap.comhm-vc-glx-bridgetest.sap.com~hm-vc-glx-bridge.sda
- test.sap.comtcvcglxbridgecomptest.sap.comtcvcglx~bridgecomp.ear
META-INF
- MANIFEST.MF
- SAP_MANIFEST.MF
You can also download the file at SDN [right here|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/5011e388-9417-2c10-14a5-b79912aad1ea].
At "LocalDevelopment" in NWDS everything works fine but I need this SC in a track!!!
I have the feeling that it stuck at a little little point
Regards
Maybe you are looking for
-
If I hover over it, I can see a small view of the last screen I was working on. It won't open up full screen, what should I do. I've closed it and restarted my computer numerous times with no luck.
-
Limiting Inventory Display of Storage Types within LX02
Hello All, We are using SAP WM and have a situation where we are contracting with a 3rd party warehouse to hold some raw materials for us. We will have a captive user account that will only permit the employee at the 3rd party warehouse to perform c
-
Different languages for movies?
Hi to everybody. I have ripped some movies with 2 audio tracks in different languages. There is any way in front row to choose which language you want to hear? Or do I have to encode the movie 2 times in different languages? Thanks for help
-
My time capsule is flashing yellow. what does that mean
my time capsule is flashing yellow. what does that mean?
-
What Video camera to buy?
I am working with a not for profit group who is interested in putting some videos about members of the group as part of telling it's history. I am considering buying a consumer camera, probably HD, and am wondering which camera's work well in this si