Jdbc-problem/Solaris/linux
I tried to start the JdbcCheckup-example from the Oracle 8i-Package for OCI8!
Although i set the LD_LIBRARY_PATH TO:
/opt/app/oracle/product/8.1.5/lib:/opt/app/oracle/product/8.1.5/jdbc/lib/
when i start the Program i get following message:
java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:148)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(DriverManager.java:83)
at java.sql.DriverManager.getConnection(DriverManager.java:126)
at JdbcCheckup.main(JdbcCheckup.java:43)
Please help me!
Please double check your connect string specifies "oci8". That is, "jdbc:oracle:oci8:@...".
Thanks.
Similar Messages
-
How come Oracle's web site only has downloads for NT and Solaris. Where do I get the latest JDBC driver for Linux?
You should be able to use clases111.zip from AIX or NT with your
Linux client, just copy the file, and add it to your CLASSPATH.
I'm using classes111.zip from AIX (8.1.5) on NT and Win95
clients.
This will work for the thin client, the oci8 needs SQL*Net
(and some more support libs.) installed to work
Hilsen Jan
Greg Patrick (guest) wrote:
: Well that's no good! I don't have the database client
: for Linux. Our 8.0.5 DB is on AIX. We have Windows NT
: 8.0.5 client CD's. I shouldn't need an entire 8.0.5
: Linux client installation just to use JDBC, should I?
: JDBC drivers are available for download for NT and Solaris,
: why not Linux?
: John Salvo (guest) wrote:
: : They are included with the 8 and 8i installations.
: : Greg Patrick (guest) wrote:
: : : I can't find any JDBC drivers for Linux on the Oracle
: Technet
: : : site... It seems very strange that Oracle would have an
: : : 8i database for Linux but not have JDBC drivers. Is this
: true?
: : : All I want is for a java program on a Linux machine to be
: : : able to use the OCI drivers to talk to the database on
: another
: : : machine. Even JDBC thin drivers would be better than
: nothing.
: : : Where are they?
: : : Thanks,
: : : Greg Patrick
: : : http://www.abe.com
null -
hi,
i have problem with file path accessing in linux. my java class is accessing a abc.cvs file and and getting all data. it is working fine in windows xp. but i run this same file in linux it does not access the abc.cvs file and does not get any data.
my project structure
Search
abc.cvs
search.SearchMain
i am sccessing this cvs file in this SearchMain class by this way file name = "abc.cvs"
It is working fine with window but problem with linux.
when i place this abc.cvs in a folder as "./data/abc.cvs" also working fine with windows but not in linux.
I am new for linux.
Please give me solution.
Thanks in advance
RaviThere shouldn't be any differences between Linux and Windows here, it's all about your environment. In order to access abc.cvs class (I presume that abc is package name) from search.SearchMain class you need to have a directory (or .jar file) containing abc/cvs.class in your CLASSPATH environment variable.
Try setting it with
export CLASSPATH=your_dir_or_jar_file:$CLASSPATH
and then running the app again. -
File problem in linux OS.
hi,
I am creating one jar file . In my program, when I click one survey menu in my GUI,it will collect information from remote device and store it in log file located LOG folder. In my case, I put one folder " Cal" and inside it I put myjar.jar file and that log (LOG) folder.
In Windows, when I click survey menu in GUI, the log information automatically stored in log foder as survey.txt file. And also, i create one show dialog box to show where the log file located.
my code is,
String ss=new String(" HIllo"+"loginfo" );
byte b[]=ss.getBytes ();
OutputStream f0=new FileOutputStream ("LOG/survey.log",true);
f0.write(b);
f0.flush();
f0.close (); the above code is file writing in txt file.
for display dialog box,
if(source==Survey)
File file = new File("LOG/Survey.log");
file = file.getAbsoluteFile();
javax.swing.JOptionPane.showMessageDialog(MainFrame, "The LOG FILE is stored at -- \t \t"+file);
}In windows, where can i install that Cal folder (inside it JAR file and LOG folder), and click that jar , all are working fine. The log file stored correctly inLOG folder and dialog box show the located path.
eg. log file stored at D:/sbk/Cal/LOG/survey.log
But my problem in linux.
when i click survey menu, it will defaultly stored in root folder and log folder. Actually i am not creating LOG folder in root folder.
I am changing file writer as , to store that JAR folder and want to store that log file in home directory.
if(no_of_ssid!=null){
String ss=new String(""HIllo"+"loginfo\n" ); May
byte b[]=ss.getBytes ();
OutputStream f0=new FileOutputStream ("/home/Cal/LOG/Survey.log",true);
f0.write(b);
f0.flush();
f0.close (); but, now also that file stored in rot directory.
what can I do.
how can I store log file in home/Cal/Log folder in Linux.
any one help this problemUse System get prop user.home?
-
Unicode filename problems in linux
I'm running into a problem in linux (Ubuntu). The following test code will throw an exception at the "FileInputStream fis... " line with the file has a unicode filename. However, Windows passes this without problems.
try {
File dir = new File("a directory that exists");
File[] files = dir.listFiles(); //get file list
for (int i = 0; i < files.length; ++i) {
System.out.println("file " + files.getAbsolutePath());
FileInputStream fis = new FileInputStream(files[i]);
} catch (Exception e) {
System.out.println("Exception: " + e.getMessage());
Does anyone know how to fix this? Thanks!But the characters are actually chinese. And since
it's on Ubuntu, it would be in UTF-8 encoding
wouldn't it?
The characters display fine in ubuntu but when I try
to read them in using FileInputStream, it fails for
some filenames with strange characters.
I just don't understand why some characters make it
fail and others are fine. It seems that it should
all work or all not work? Perhaps I'm wrong.On my Fedora Core 6,
the result of
echo $LANG
is:
ja_JP.UTF-8
And I tried your program on a directory that has 百度MP3��全.txt file in it.
import java.io.*;
public class AlsKdj{
public static void main(String[] args){
try {
File dir = new File(".");
File[] files = dir.listFiles();
for (int i = 0; i < files.length; ++i) {
System.out.println("file " + files.getAbsolutePath());
FileInputStream fis = new FileInputStream(files[i]);
System.out.println(" " + fis.toString());
catch (Exception e) {
e.printStackTrace();
The output from the program is:
file /root/test/./AlsKdj.class
java.io.FileInputStream@1a46e30
file /root/test/./百度MP3��全.txt
java.io.FileInputStream@3e25a5
file /root/test/./bbs.txt
java.io.FileInputStream@19821f
file /root/test/./WMP.txt
java.io.FileInputStream@addbf1As shown above, the result is normal if LANG is really UTF-8.
My Java version is:
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing) -
Remote JDBC Problem with Oracle BPM Studio
Hi all, i am facing the Remote JDBC Problem with Oracle BPM Studio.
When i configure a Remote JDBC Connection for SQL in BPM Studio, it prompt me an error.
The SQL Connection is configured as following :
External Resource:
Name : MyDS
Type : SQL Database
Supported Types : Remote JDBC
Details:
Database Type : BPM's Oracle Driver Version:10, 11
J2EE : WLS
Lookup Name : MyAppDS
Configuration for "WLS"
Name : WLS
Type : J2EE Application Server
Supported Types : GENERIC_J2EE
Details:
Initial Context Factory : weblogic.jndi.WLInitialContextFactory
URL : t3://localhost:7001
But, when i try to connect to the Database by using this configuration, I will get an Exception.
An exception occurred while getting a resource from a connector.
Detail:The connector [[ MyDS : SQL : REMOTE_JDBC ]] caused an exception when getting a resource.
Caused by: An exception occurred while getting a resource from a connector.
Detail:The connector [[ WLS : J2EE : J2EE ]] caused an exception when getting a resource.
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [[ Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory ]]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at fuego.jndi.FaultTolerantContext.createContext(FaultTolerantContext.java:726)
at fuego.jndi.FaultTolerantContext.<init>(FaultTolerantContext.java:79)
at fuego.connector.impl.GenericJ2EEConnector.createInitialContext(GenericJ2EEConnector.java:177)
at fuego.connector.impl.GenericJ2EEConnector.createStandaloneContext(GenericJ2EEConnector.java:98)
at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:92)
at fuego.connector.impl.BaseJ2EEConnector.getResource(BaseJ2EEConnector.java:76)
at fuego.connector.J2EEHelper.getReadOnlyContext(J2EEHelper.java:86)
... 12 more
Edited by: user2262377 on Jun 22, 2009 4:01 PMI guess the weblogic.jar is not included in the studio.
So, i added weblogic.jar (Weblogic 10.3) and wlclient.jar (Weblogic 10.3)
It is working in my simple java code. But, still not working in BPM Studio.
The error logs:
An exception occurred while getting a resource from a connector.
Detail:The connector [OFT_APP_DS:SQL:REMOTE_JDBC] caused an exception when getting a resource.
Caused by: java.lang.Object cannot be cast to java.io.Serializable
fuego.connector.ConnectorException: An exception occurred while getting a resource from a connector.
Detail:The connector [OFT_APP_DS:SQL:REMOTE_JDBC] caused an exception when getting a resource.
at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:88)
at fuego.connector.JDBCHelper.getReadOnlyConnection(JDBCHelper.java:93)
at fuego.sqlintrospector.BrowserPanel.connect(BrowserPanel.java:395)
at fuego.sqlintrospector.BrowserPanel.populateTree(BrowserPanel.java:200)
at fuego.ui.wizards.ui.CheckTreeBrowser$1.construct(CheckTreeBrowser.java:63)
at fuego.ui.SwingWorker$2.run(SwingWorker.java:39)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassCastException: java.lang.Object cannot be cast to java.io.Serializable
at weblogic.iiop.IIOPOutputStream.writeAny(IIOPOutputStream.java:1588)
at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2231)
at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:413)
at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)
at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:225)
at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1963)
at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:2001)
at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2266)
at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -
I am using Dreamweaver UltraDev to make pages that have to connect with a database. I am making the pages in jsp. Do you know how I can run a JDBC driver on linux? I am not sure, but I think I may also need an ODBC driver running as well. I am using redhat 7.1, apache 1.3.20, JServ, and GnuJSP.
I am using Dreamweaver UltraDev to make pages that
have to connect with a database. I am making the pages
in jsp. Do you know how I can run a JDBC driver on
linux? The same way you would run it on any other platform. That is the beauty of JDBC.
I am not sure, but I think I may also need an
ODBC driver running as well. For what? What database are you running?
I am using redhat 7.1,
apache 1.3.20, JServ, and GnuJSP.Joseph Schlecht -
HEAVY Problems with Linux x86_64 on K8T Neo
Hello, Community!
I experience *HEAVY* Problems with Linux on my MSI K8T Neo (FSR). Since the customer support of the german dependancy seems to ignore my call for help I'm in good hope that maybe you can help me out or give me some useful advise.
First some Hardware Specs of my system:
MSI K8T Neo FSR, Rev 1.1, BIOS 1.5
AMD Athlon 64 3000+
3x 512MB Kingston DDR400
Enermax EG365P-VE (350W) PSU (3.3V/5V 185W Combinded)
MSI GeForce FX5200 TDR 128
Adaptec ATA RAID AAR1200A (HPT370A) in PCI Slot 3
Hauppauge WinTV PCI in PCI Slot 5
Maxtor 4K040H2 (40GB) as Primary Master
JLMS XJ-HD166S DVD-ROM as Primary Slave
LiteOn LDW-411S DVD+/-RW as Secondary Master
LiteOn LTR-52327S CD-RW as Secondary Slave
2x Maxtor 6Y060L0 (60GB) on HPT370A as Primary Master/Slave
Seagate ST380020A (80GB) on HPT370A as Secondary Master
Maxtor 32049U3 on HPT370A as Secondary Slave
KeyTronic KT2001 USB Keyboard
Microsoft Optical Wheel Mouse Blue USB
I've downloaded Fedora Core 1 x86_64 as well as the lately released Fedora Core 2 test 3 x86_64 distribution. Both CD sets have been burnt ok.
If I try to install Core 1 x86_64 (Kernel 2.4.22-1.2179) the kernel crashes with a "attempted to kill idle task" panic. As far as I've learned the workaround is to give idle=poll as kernel parameter. This resolves the kernel panic, but the installer randomly crashes with segfaults at a random stage; sometimes while loading anaconda, sometimes during package install.
If I try to install Core2 test 3 x86_64 (Kernel 2.6.5) I get a, completely new, error message while the kernel does the PCI Scan:
******* Your BIOS seems to not contain a fix for K8 errata #93
******* Working around it, but it may cause SEGVs or burn power
******* Please consider a BIOS update
******* Disabling USB legacy in the BIOS may also help
I removed my USB keyboard, connected a PS/2 keyboard, disabled to USB Legacy option (I need it enabled in order to use Ghost) in the BIOS and booted again.
The error message is gone now, but as in Core 1 the installer still crashes randomly with segfaults. I'm still unable to go all the way through the installation routine.
I even tried to install Fedora Core 1 "i386": again there are segfaults during install.
Contrary to the problems I experience while trying to install Linux my Windows XP (32-Bit), as well as a test installation of Windows XP 64-Bit, run like a charm without any problems. Strange but true.
Since I already read trough several posts in this forum I already tried running my system with memory sticks from another manufacturers as well as with a more powerful PSU. I even removed my tv-card and raid-controller.
Nogo - Linux still crashes randomly and Windows still works without any flaws.
Has anyone a clue what I can/must do to successfully install Linux?
Might it be that the BIOS has some flaws that might cause the problems?
Has anyone managed to install Linux (what distribution) on this Mainboard?
I would greatly appreciate any help. If you need to know something I haven't provided here please feel free to ask. I'll answer ASAP.
Thank you in advance.
P.S.: The system is *NOT* overclocked in any way.And now even the last problem is solved ...
Since I was successful in installing a basic Gentoo system but still failed to install Fedora I reflashed BIOS 1.5. This time I cleared the CMOS by unplugging the PSU, setting the jumper and removing the backup battery.
Yesterday I only flashed it with the /a switch, which should have cleared the CMOS as well - so far for the theory. However, it once went fine as I upgraded from BIOS 1.1 to 1.4.
After setting up the BIOS options again I gave it another try and booted from Fedora (Core 2 test 3) install CD: No more complains about the CPU errata, although USB legacy is enabled, and I even went through the installation without any problems.
It seems as I will stick with Gentoo as my primary distribution since the kernel makes a more "mature" impression than the one from Fedora (i.e. the K8 PowerNOW! Driver seems to be missing in Fedora's Kernel 2.6.5).
By using an spare Athlon XP Mainboard I worked out that only one of my three Kingston memory sticks had errors - I'm going to replace the faulty stick tomorrow.
Now for the conclusio:
Thanks, especially you JLP, for helping me with my issue. Without the advise to use Gentoo, and the included MemTest86, I wouldn't have been able to track down the error to a faulty memory stick that fast since Windows always ran fine. -
I'm looking for a place to download an Oracle JDBC driver for Linux. I have installed Oracle 8.1.5 for Linux, but don't find the driver either in the installation, nor on the CD. Can anyone point me to someplace I might be able to find it?
Also, generic help in setting this up to work, JDBC API calls would also be of great help.
Thanks.Luis Claudio Rodrigues da Silveira (guest) wrote:
: How can I configure JDBC driver in a Suse environment? What
are
: the necessary steps?
: Thanks in advance.
1) You need classes111.zip usually located at
$ORACLE_HONE/jdbc/lib.
2) Add classes111.zip to CLASSPATH and export
3) If you use thin driver your code should look like:
Class.forName ("oracle.jdbc.driver.OracleDriver");
// Connect to the database
// You must put a database name after the @ sign in the
connection URL.
// You can use either the fully specified SQL*net syntax or
a short cut
// syntax as <host>:<port>:<sid>. The example uses the
short cut syntax.
Connection conn =
DriverManager.getConnection
(jdbc:oracle:thin:@hostname:port:ORACLE_SID,
USER_NAME, PASSWOED);
null -
Where can i find mysql Jdbc driver for linux
Hi all,
Can any one give urls to download mysql jdbc driver for linux.
And also for ODBC DRIVER FOR MYSQL ON LINUX.
Thankshttp://mmmysql.sourceforge.net/
(This is a type 4 driver, so "for Linux" is irrelevant.) -
New wiki: Solaris-Linux command comparison
Ever have trouble remembering command syntax in Solaris or Linux? Like the precise syntax for how to list the 10 largest files, create an ISO image, or manage printers? Can you remember the syntax in Linux but need the equivalent in Solaris? Or vice versa?
A new wiki -- "OTN Solaris-Linux Command Comparo" -- lists common sysadmin tasks for both Oracle Solaris 10 & Oracle Enterprise Linux 5. You can access the wiki at:
[https://wikis.sun.com/display/OTNTaskFinder/CommandComparo+Home|https://wikis.sun.com/display/OTNTaskFinder/CommandComparo+Home]
Note that you need to register for Oracle Wiki site access first at [http://wikis.sun.com/display/Help/Registering|http://wikis.sun.com/display/Help/Registering] . Please give us some feedback on the wiki and add the commands you most often forget...Yes, we wanted to go a little more in-depth and list actual syntax, but the idea is the same. You'll note that "A Sysadmin's Unixersal Translator (ROSETTA STONE)" is listed as a Reference in the .left-section panel of the wiki.
-
Fmx (NT) - fmx (Solaris, Linux) How ?
Hi !
I'm developing applications on NT/Win95, but I'd like to use it
in my Intranet with Application Server on Solaris/Linux. As far
as I know fmx's format for NT is different against the one on
UNIX. Is any way to crosscompile a form or I need to buy
Developer for UNIX ?
Thanks.
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Manoj ([email protected]):
Andrei Kvasyuk (guest) wrote:
: Hi !
: I'm developing applications on NT/Win95, but I'd like to use it
: in my Intranet with Application Server on Solaris/Linux. As far
: as I know fmx's format for NT is different against the one on
: UNIX. Is any way to crosscompile a form or I need to buy
: Developer for UNIX ?
: Thanks.
Hi Andrei,
The fmb file that you have made in NT can be ported to the UNIX
system.Once it is on the Unix system you can compile it on UNIX
and use the fmx file in your application.Hope this helps
Manoj<HR></BLOCKQUOTE>
Hi,
How to compile a fmb file on Linux ?
null -
Changing locale to en_US.ISO8859-1 on Solaris/Linux running SAP
My query is for SAP Web AS 7.0 J2EE system on Solaris/Linux. Default locale setting at Solaris/Linux is UTF-8. If I change the locale setting to en_US.ISO8859-1, will the SAP system and its components functionality be affected? Or will it continue to work as with UTF-8?
when the localeadm command is run for the first time, it will try to create a config file. This config file contains a list of locales and their locations in Solaris CDs/DVD.
Here is a sample of its content:
# Solaris 10, Northern America partial locales
# ( en_CA, en_CA.ISO8859-1, en_US, en_US.ISO8859-1, en_US.ISO8859-15,
# en_US.ISO8859-15, fr_CA, fr_CA.ISO8859-1 )
locname N_America nam en_CA en_US es_MX fr_CA en_US.UTF-8 es fr
SUNW5ttf nam solaris1
SUNWale nam solaris1
SUNWaled nam solaris5
SUNWcttf nam solaris1
SUNWebrg nam langcd1
SUNWedcl nam langcd1
SUNWedhcm nam langcd1
SUNWefdl nam langcd1
SUNWeladm nam langcd1
SUNWelvma nam langcd1
SUNWelvmg nam langcd1
SUNWemcon nam langcd1
...You can run localeadm -C (Uppercase C) to create the config file. Just follow the instruction. If you are installing it from CD, solaris1 means Solaris 10 CD1, solaris2 means Solaris 10 CD2, and so on.
Once the config file has been created, then you execute the command you entered previously localeadm -a en_US.UTF-8 -d /cdrom/cdrom0. en_US.UTF-8 is part of North America region and Solaris 10 installs all locales under nam (North America).
Verify your installation by locale -a. It should return en_US.UTF-8 in the list.
Hope this helps.
BTW, the config file (Locale_config_S10.txt) is located under /usr/sadm/lib/localeadm/
Edited by: luctorEtEmergo on Jun 25, 2008 8:33 PM -
Help ! ! !Oracle 8.1.7, Linux, JDBC problem
We have been troubleshooting a problem with our recently installed Linux (mandrake 8.0) Oracle DB Server. Everything seems to run fine, except JDBC connections. Whenever we connect to the server with one of our Java applications, JSP, Servlet, etc... the first time it works, then all other java apps get:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
... also, our connect strings are correct... seems to be a problem with the listener...
this only happens on the linux server and not solaris.
Here is the listener.ora file
# LISTENER.ORA Network Configuration File: /disk1/OraHome1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = warf))
(ADDRESS = (PROTOCOL = TCP)(HOST = 216.174.11.57)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /disk1/OraHome1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = warf.world)
(ORACLE_HOME = /disk1/OraHome1)
(SID_NAME = warf)
)Also,
If I stop the listener and restart it... it works, but only for the first JDBC connection... ODBC seems uneffected. -
Hi
I installed Oracle 8.1.7 on Redhat 7.0 JDK 1.22
I try to connect Oracle with thin JDBC Driver.
code are all similar to the sample code. But I find the following exception message:
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 ....)
when I try to call DriverManager.getConnection
Is there any suggestion?
And why linux don't provide class12.zip, Is this problem because of I use class111.zip with JDK 2?
Thanks
Feng
nullI tried. download classes12.zip. same exception.
Feng
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Lito ([email protected]):
Hi,
Yes, I think it is. classes111.zip is compatible with JDK v.1.x.x (I think). You should download the classes12.zip.
It is located in the download section. Look for jdbc driver. Download the solaris version. (It is 100% pure java, so it runs on Linux).
PS. I am not sure if oracle also needs the compatible nlscharset file to run under JDK2.<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Is there a way to silently upload files?
Ok, so I've taken the plunge. I've started working on an AIR app using Flash CS3. I'm putting together a little app that will keep my online store updated with all the product updates from our wholesaler. This includes parsing a csv file, downloading
-
Mac mini keeps freezing - what should I do?:-(
All My 3 months old mini started behaving very bad last several weeks... It freezes, not responding to anything but the power button, sometimes it just reboots itself in the middle of work, and this all happens quite frequently since ~3-4 weeks ago (
-
Default Warehouse on a Sales Order
Hi, Is it possible to default a warehouse depending on the BP selected on a Sales Order? I know you can default warehoue depending on the User. Thank you....Naomi
-
Error When Deleting a Method Inside a Class
I developed a custom class that contained a private method. I removed this method because it was no longer needed. When moving the changes from the development to test client, it failed on import. For some reason, there was still some dependency on t
-
I have tried to download Yosemite, I've checked my software, memory and available space, and I keep getting the message that it won't download on my computer.