Oracle 8.1.6 Driver Misbehavior
i have installed oracle 8.1.6 Client(with Driver) on a Fresh Win NT PC.WHen i test database connection through ODBC 32-bit Test,it is failing.
Also,WHen i test database connection from java thro' JDbcOdbc Driver,Dr.Watson error(Access violation) occurs.
When i install oracle 8.0.5 client on a PC,then uninstall it and after that,install Oracle 8.1.6 client,the ODBC test connection succeeds.
Do please give some ideas,suggestions .Solutions are most welcome.
Thanx in advance.
Justin.
What exactly is failing on ODBCTest? There should be a particular Oracle error message coming back.
Justin
Similar Messages
-
Insert data 32K into a column of type LONG using the oracle server side jdbc driver
Hi,
I need to insert data of more than 32k into a
column of type LONG.
I use the following code:
String s = "larger then 32K";
PreparedStatement pstmt = dbcon.prepareStatement(
"INSERT INTO TEST (LO) VALUES (?)");
pstmt.setCharacterStream(1, new StringReader(s), s.length());
pstmt.executeUpdate();
dbcon.commit();
If I use the "standard" oracle thin client driver from classes_12.zip ("jdbc:oracle:thin:@kn7:1521:kn7a") every thing is working fine. But if I use the oracle server side jdbc driver ("jdbc:default:connection:") I get the exception java.sql.SQLException:
Datasize larger then max. datasize for this type: oracle.jdbc.kprb.KprbDBStatement@50f4f46c
even if the string s exceeds a length of 32767 bytes.
I'm afraid it has something to do with the 32K limitation in PL/SQL but in fact we do not use any PL/SQL code in this case.
What can we do? Using LOB's is not an option because we have client software written in 3rd party 4gl language that is unable to handle LOB's.
Any idea would be appreciated.
Thomas Stiegler
nullIn rdbms 8.1.7 "relnotes" folder, there is a "Readme_JDBC.txt" file (on win nt) stating
Known Problems/Limitations In This Release
<entries 1 through 3 omiited for brevity >
4. The Server-side Internal Driver has the following limitation:
- Data access for LONG and LONG RAW types is limited to 32K of
data. -
I am using oracle gateway (11.1) for sqlserver on Linux platform with Oracle Server 10g.
I am getting following error when i run any select query:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][libssclient22]General network error. Check your network documentation.[Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen (connect()).[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
ORA-02063: preceding 2 lines from SQLSERVER
Another thing is, i have created a ODBC DSN named as "sqlserver" as well. This configuration works fine when "program" parameter is set to dg4odbc in Listener.ora. But with dg4msql, it gives error.
Followings are the configuration files:
initsqlserver.ora
# HS init parameters
HS_FDS_CONNECT_INFO=database_machine:1433//test_master
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
listener.ora
SID_LIST_sqlserver =
(SID_LIST =
(SID_DESC =
(SID_NAME = sqlserver)
(ORACLE_HOME = /u01/app/oracle/product/11.1.0.6.0/gateway)
(PROGRAM = dg4msql)
sqlserver =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Server_Machine )(PORT = 1522))
(ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
tnsnames.ora
SQLSERVER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Server_Machine)(PORT = 1522))
(CONNECT_DATA =
(SID = sqlserver)
(HS = OK)
)Hi,
The error you get is because your HS_FDS_CONNECT_STRING is not correct:
Be sure you can ping the SQL SERVER name from the Oracle Server,or use TCP/IP address
Check the port, it is not necessary 1433.
You can use the instance name insted of port:
HS_FDS_CONNECT_STRING=server_ip_address/instance_name/database_name
Be careful, in the LISTENER.ORA, you must specify the Gateway machine and not the SQL SERVER machine:
sqlserver =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Gateway_Machine )(PORT = 1522)) <====you must specify Oracle Gateway machine
(ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
Idem for TNSNAMES.ORA:
SQLSERVER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Gateway_Machine)(PORT = 1522))
(CONNECT_DATA =
(SID = sqlserver)
(HS = OK)
Regards
Mireille -
Oracle configuration problem or driver bug?
Hi guys,
I'm using 5.1 sp 6 on Windows 2000 with default Oracle drivers. I basically
copied the "oraclePool" definition in weblogic.properties. I also tried
adding :machineName:portNumber:SID to the URL, and it made absolutely no
difference. Have you ever seen anything like this?
---------- LOGIN ERROR CODE: 24327
Wed Oct 18 20:08:16 PDT 2000:<E> <JDBC Pool>
Failed to create connection pool "oraclePool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-24327:
need explicit attach before authenticating a user -
(weblogic/*****@visitor1)
It occurs as a result of the following entry in weblogic.properties:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle:visitor1:1521:weblogic,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=16,\
capacityIncrement=4,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=5,\
testTable=test,\
props=user=weblogic;password=weblogic;server=visitor1
I've tried using "url=jdbc:weblogic:oracle" as in the default Oracle pool,
but it fails the same way as the fully qualified path.Can you post the relevant portion of visitor1 (TNS alias name) from
tnsnames.ora?
Kumar
Dan Zivkovic wrote:
Hi guys,
I'm using 5.1 sp 6 on Windows 2000 with default Oracle drivers. I basically
copied the "oraclePool" definition in weblogic.properties. I also tried
adding :machineName:portNumber:SID to the URL, and it made absolutely no
difference. Have you ever seen anything like this?
---------- LOGIN ERROR CODE: 24327
Wed Oct 18 20:08:16 PDT 2000:<E> <JDBC Pool>
Failed to create connection pool "oraclePool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-24327:
need explicit attach before authenticating a user -
(weblogic/*****@visitor1)
It occurs as a result of the following entry in weblogic.properties:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle:visitor1:1521:weblogic,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=16,\
capacityIncrement=4,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=5,\
testTable=test,\
props=user=weblogic;password=weblogic;server=visitor1
I've tried using "url=jdbc:weblogic:oracle" as in the default Oracle pool,
but it fails the same way as the fully qualified path. -
While importing data from SQL Server 2005 to Oracle gateway 11g Release2, i am getting following error:
insert into CSDescr select * from CSDescr@sqlserver
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
+[Oracle][ODBC SQL Server Driver]String data, right truncation {01004}+
ORA-02063: preceding 2 lines from SQLSERVER
Oracle database characterset is AL32UTF8
SQLServer database characterset is SQL_Latin1_General_CP1_CI_AS
Following is the configuration in the parameter file for gateway:
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
I think setting the HS_LANGUAGE parameter shall fix the error but I want to know what should be the value of this parameter?HS_LANGUAGE needs to be set to a character set that is used by the foreign database
So try: HS_LANGUAGE=american_america.WE8MSWIN1252
Also specify HS_NLS_NCHAR=UCS2 as the nvarchars of a SQl Server are stored in UCS2 character set -
SetString/executeBatch fails in Oracle 10g OCI JDBC driver
Hi,
I am using Oracle 10g OCI jdbc driver for batch updates.
Following is the the code that I am using
import java.sql.*;
import oracle.jdbc.*;
import oracle.jdbc.pool.OracleDataSource;
public class BatchUpdates
public static void main(String[] args)
Connection conn = null;
Statement stmt = null;
PreparedStatement pstmt = null;
ResultSet rset = null;
int i = 0;
try
String url = "jdbc:oracle:oci:@kctutf8";
try {
String url1 = System.getProperty("JDBC_URL");
if (url1 != null)
url = url1;
} catch (Exception e) {
OracleDataSource ods = new OracleDataSource();
ods.setUser("kctuser");
ods.setPassword("kana");
ods.setURL(url);
conn = ods.getConnection ();
stmt = conn.createStatement();
try { stmt.execute(
"create table mytest_table (col1 number, col2 varchar2(20))");
} catch (Exception e1) {}
pstmt = conn.prepareStatement("insert into mytest_table values (?, ?)");
pstmt.setInt(1, 1);
pstmt.setString(2, "row 1");
pstmt.addBatch();
pstmt.setInt(1, 2);
pstmt.setString(2, "row 2");
pstmt.addBatch();
pstmt.setInt(1, 3);
pstmt.setString(2, "row 3");
pstmt.addBatch();
pstmt.setInt(1, 4);
pstmt.setString(2, "row 4");
pstmt.addBatch();
pstmt.setInt(1, 5);
pstmt.setString(2, "row 5");
pstmt.addBatch();
pstmt.executeBatch();
rset = stmt.executeQuery("select * from mytest_table");
while (rset.next())
System.out.println(rset.getInt(1) + ", " + rset.getString(2));
catch (Exception e)
e.printStackTrace();
finally
if (stmt != null)
try { stmt.execute("drop table mytest_table"); } catch (Exception e) {}
try { stmt.close(); } catch (Exception e) {}
if (pstmt != null)
try { pstmt.close(); } catch (Exception e) {}
if (conn != null)
try { conn.close(); } catch (Exception e) {}
When I run this class I get the following output
1, row 1
2, row 3
3, row 5
4, null
5,
But It should have been
1, row 1
2, row 2
3, row 3
4, row 4
5, row 5
The same class runs fine if I use Thin driver.
Can anyone please help me solve this issue.
Note: This happens only in case we use setString with Varchar2 in the DB. This works fine if I have two number columns
Thanks,
Raja.SPlease post this question to the Java forum. It is located under "Technologies".
-
Oracle JDBC thick (OCI) driver
Hi!
Can someone point me where I can download oracle JDBC thick (OCI) driver. Thick JDBC is not installed by default in 10g. In the OTN download site I can find JDBC thin drivers to download.
Thanks
Rad.Rad,
Allow me to elaborate on Mark's answer. Let's say you download the "ojdbc14.jar" file from the OTN Web site. Both the "thick" and "thin" drivers are in that one file. You indicate which driver you wish to use in your java code -- via the database connection URL, for example:
jdbc:oracle:thin:@//myhost:1521/orclThe above indicates you wish to use the "thin" driver, whereas
jdbc:oracle:oci:@myhost:1521:orclindicates you wish to use the "thick" driver.
[Notice the difference?]
You can find more details from the JDBC FAQ.
Good Luck,
Avi. -
Oracle 9i Lite ODBC driver issues
Does the 9i Lite driver support a concept of username and password when getting a connection?
With the Oracle 8i Personal ODBC driver, we are doing this, and then if we give a query like 'SELECT CASE_ID FROM CASE_AX', it works; but with the Lite driver, it expects the query to be 'SELECT CASE_ID FROM AXAPG2USER.CASE_AX'. Can we somehow avoid giving the schema name when referring to tables? (This is actually not a big problem, but we would still like to know if there is a way.)Are you logging in as AXAPG2USER? Generally, Oracle assumes that non-qualified table names are in the current user's schema. If you want to expose tables in one user's schema to another user without having to qualify the table name, you'll want to create a synonym in the second user's schema that resolves to the table in the first user's schema.
Justin -
Incorrect version of oracle server or odbc driver
Hi friends,
I am using oracle database 11g ,i like to connect oracle database with my sage ERP accpac 5.6 , i connect with sage it show me the error "incorrect version of oracle server or odbc driver or odbc driver manager"
please anyone help me
ThanksIt appears the problem was that I had J2EE 1.4.2 and actually required J2SDK 1.4.2 i.e. the Standard edition rather than the Enterprise edition. Even though there are exactly the same files in the 'bin' directory in both versions. The installation now works.
Mark -
Unsatisfied Link Error when using Oracle OCI (Type II) driver
Using Oracle OCI (Type II) driver on HPUX with Oracle 9.2.0.4.
If when creating a connection pool via the console, using the Oracle OCI (Type
II) driver, you get the error "Unsatisfied link error with library libocijdbc9.sl
or format error" then check that the library included in the SHLIB_PATH is pointing
at the $ORACLE_HOME/lib32 directory and not just the $ORACL_HOME/libWe do not offer a JDBC driver for Linux in version 5.1. In version 6.0,we
do offer a type 4 driver for Linux.
In version 5.1, I suggest trying the platform independent type 4 JDBC driver
available for free from Oracle. It is supported (as is any JDBC driver)
with WebLogic Server. To download it:
Go to http://www.oracle.com and select the "Download" option.
From the resulting page, use the "Select Utility or Driver" dropdown to
select Oracle JDBC drivers
From the resulting page, scroll down a little (since SQLJ stuff appears at
the top).
Or, to go directly there:
http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm
Thanks,
Michael
Michael Girdley, BEA Systems Inc
Learning WebLogic? Buy the book.
http://www.learnweblogic.com/
"Michael W. Warren, Sr." <[email protected]> wrote in message
news:[email protected]..
I have installed WebLogic 6.0 on Solaris platform and verified that the
server comes up
and that I can connect to it via Netscape. Next step was to verify
installation of WebLogic
jDriver for Oracle. When I run the following:
java utils.dbping ORACLE scott tiger
I get the following error:
Starting Loading jDriver/Oracle .....
Error encountered:
java.sql.SQLException: System.loadLibrary threw
java.lang.UnsatisfiedLinkError
with the message
'/ldatae/bea/wlserver6.0/lib/solaris/oci816_8/libweblogicoci37.so:
ld.so.1: /ldatae/bea/jdk130/jre/bin/../bin/sparc/native_threads/java:
fatal: libgen.so.1: open failed: No such file or directory'.
at
weblogic.jdbcbase.oci.Driver.loadLibraryIfNeeded(Driver.java:202)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:57)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:182)
Anyone seen this? Help!!!
Thanks in advance
Mike Warren, Sr.
[email protected] -
Oracle in instantclient_11_2 ODBC driver error 14001
Hi there,
I've tried to set up an Oracle ODBC Instant Client driver and I get this error:
"The setup routines for the Oracle in instantclient_11_2 ODBC driver could not be loaded to system error code 14001
"Errors found
"Could not load the setup or translator library
My Configuration is :
- ESX 5.0
- Virtual machine Windows 2008 64 bits (created originally under ESX 4.1)
- VMTools activated
- Oracle 11gR2 64 bits (11.2.0.1.0)
- Instant Client: instantclient-basic-nt-11.2.0.2.0.zip + instantclient-odbc-nt-11.2.0.2.0.zip
Path is :
C:\Oracle\instantclient\instantclient_11_2;C:\Oracle\product\11.2.0\dbhome_1;C:\Oracle\product\11.2.0\dbhome_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%systemroot%\system32\inetsrv;%systemroot%\system32\inetsrv
What can be done to rectify this?Hi,
I had exactly the same problem with a comparable system configuration, but with the x86-64 packages (you tried to use the 32bit instant client due to the file names you mentioned).
Somewhere in the depths of the WWW I got the hint that the solution is to use the instant client V 11.2.0.1.0.
So I downloaded the older version and everything worked fine...
Also rememeber to set the TNS_ADMIN environment variable to the path of your "instantclient_11_2" directory and edit a tnsnames.ora file in that directory or else you won't be able to open a connection...
Good luck and best regards
Sebastian -
How to use the Oracle 10g JDBC OCI driver in JBoss ?
Greetings,
I deployed ojdbc14.jar in JBoss and I created an Oracle datasource. I have the following questions:
1. In the datasource descriptor file I have:
<connection-url>jdbc:oracle:oci:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=xe)))</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
Is it enough in order to use the Oracle 10g JDBC OCI driver ?
2. After having looked-up the datasource and created a connection, the classe of these objects are org.jboss.resource.adapter.jdbc.WrapperDataSource and, respectivelly, org.jboss.resource.adapter.jdbc.WrappedConnection. How can I have access to oracle.jdbc.oci and oracle.jdbc.pool packages ?
Many thanks in advance,
NicolasHello
We were banging our heads on a similar thing, maybe this will help
We needed to convert the wrapped connection to an OracleConnection so that we could do a proxy switch, but maybe you could apply it to your situation anyway
1-you have to convert the Connection object to an OracleConnection in order to use the method that does the proxy switch
The method to do this is getInnermostDelegate()
Once you call this method, you get a new Connection object that can be cast to an OracleConnection object
See below for the snippet of code
// now switch the user and reselect
if (conn instanceof DelegatingConnection) {
properties.put("PROXY_USER_NAME","peter/peter");
oraConn =((DelegatingConnection)conn).getInnermostDelegate();
if (oraConn == null)
out.println("oraConn is null\n");
((OracleConnection)oraConn).openProxySession(OracleConnection.PROXYTYPE_USER_NAME,properties);
2-you have to put a setting in the xml file in conf/Catalina/localhost that allows you to call the getInnermostDelegate() method
By default, Tomcat does not allow you to call this method, it will always return null
You have to change the xml to allow it to return an object
It seems that WebSphere and Tomcat both frown on vendor-specific methods that do not comply with the JDBC standards, but do allow it
Here is the setting:
<parameter>
<!-- NOTE: This is necessary to enable access to the Oracle connection object -->
<name>accessToUnderlyingConnectionAllowed</name>
<value>true</value>
</parameter>
Note, this setting was also put in the conf/server.xml file
Thanks
Peter -
Exception with WLS 6.1.3 & Oracle 9.2 thin driver
I'm testing out an upgrade from the Oracle thin driver that ships with WLS
6.1
to the Oracle 9.2 thin driver. My database server is running Oracle 8.1.7.
The only configuration change I made was to put the 9.2 classes12.zip at the
beginning of ths classpath. The line of my code where the exception is
being
throw is the first attempt at performing a resultSet.getLong() call. Has
anyone
gotten this combination to work yet? Any ideas on the error? I'd really
like to test out the native LOB support in the new drivers.
TIA - Gordon
<Oct 14, 2002 2:59:02 PM EDT> <Error> <Audit> <- Login failed because
loginName:
buyerOrgAdmin1034621942027 was not found.
com.eoriginal.engine.core.session.bas
icAccess.OrgUserDataAccessSessionBean_rngrwj_Impl::findUserAccountInfo,
java.lan
g.ArrayIndexOutOfBoundsException
at oracle.sql.NUMBER._fromLnxFmt(NUMBER.java:3181)
at oracle.sql.LnxLibThin.lnxsni(LnxLibThin.java:6571)
at oracle.sql.NUMBER.toLong(NUMBER.java:373)
at
oracle.jdbc.dbaccess.DBConversion.NumberBytesToLong(DBConversion.java
:2915)
at
oracle.jdbc.driver.OracleStatement.getLongValue(OracleStatement.java:
4373)
at
oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.ja
va:529)
at
oracle.jdbc.driver.OracleResultSet.getLong(OracleResultSet.java:1540)
at weblogic.jdbc.jts.ResultSet.getLong(ResultSet.java:518)
at
weblogic.jdbc.rmi.internal.ResultSetImpl.getLong(ResultSetImpl.java:4
77)
at
weblogic.jdbc.rmi.internal.ResultSetStraightReader.getLong(ResultSetS
traightReader.java:142)
at
weblogic.jdbc.rmi.SerialResultSet.getLong(SerialResultSet.java:450)
at
com.eoriginal.engine.core.session.basicAccess.OrgUserDataAccessSessio
nBean.findUserAccountInfo(OrgUserDataAccessSessionBean.java:1272)
at
com.eoriginal.engine.core.session.basicAccess.OrgUserDataAccessSessio
nBean_rngrwj_EOImpl.findUserAccountInfo(OrgUserDataAccessSessionBean_rngrwj_
EOIm
pl.java:475)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean.valida
teLogin(LoginSessionBean.java:135)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean.valida
teLogin(LoginSessionBean.java:94)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean_moz7fh
EOImpl.validateLogin(LoginSessionBeanmoz7fh_EOImpl.java:37)
at
com.eoriginal.engine.core.session.basicAccess.LoginSessionBean_moz7fh
EOImplWLSkel.invoke(Unknown Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:274)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
(com.eoriginal.engine.core.session.basicAccess.LoginSessionBean_moz7fh_Impl:
:va
lidateLogin)>Have you tried the thick (oci) driver?
We're looking to upgrade too.
"Richard" <[email protected]> wrote:
>
I try to connect to an Oracle 9.2.0 on Windows XP with the jdbc thin
driver. I
use weblogic server 7.0 SP1 (same problem with weblogic server 7.0.0).
I try direct connection (without pool) or with the weblogic pool, and
I get the
same error :
java.lang.ArrayIndexOutOfBoundsException
at oracle.security.o3logon.C0.r(C0)
at oracle.security.o3logon.C0.l(C0)
at oracle.security.o3logon.C1.c(C1)
at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientH
elper)
at oracle.jdbc.ttc7.O3log.<init>(O3log.java:289)
at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:201)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:140)
at weblogic.jdbc.common.internal.ResourceAllocator.makeResources(Resourc
eAllocator.java:931)
at weblogic.jdbc.common.internal.ResourceAllocator.finishInit(ResourceAl
locator.java:457)
at weblogic.jdbc.common.internal.ResourceAllocator.<init>(ResourceAlloca
tor.java:316)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:292)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.
java:282)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.j
ava:270)
The same test works well with an Oracle 9.0 !
I have already try with this differents drivers :
8.1.7, 9.0 and 9.2 and I always have the same problem. -
RAC with Oracle Linux (Using firewire drive)
Guys
Did anyone install RAC (10g or 11g) using Oracle Linux using firewire drive? Does Oracle linux support firewire technology?
Please share your experience.
Regards
PJStart here
Installing Oracle Database 11g Release 1 on Enterprise Linux 5 (32- and 64-bit)
http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html#kernel
My installation:
[root@linux3 OCFS2]# uname -a
Linux linux3 2.6.18-8.el5 #1 SMP Tue Jun 5 23:11:13 EDT 2007 i686 i686 i386 GNU/Linux
OCFS2
-rw-r--r-- 1 root root 274826 May 2 17:22 ocfs2-2.6.18-8.el5-1.2.8-2.el5.i686.rpm
-rw-r--r-- 1 root root 9123303 May 2 17:23 ocfs2-2.6.18-8.el5-debuginfo-1.2.8-2.el5.i686.rpm
-rw-r--r-- 1 root root 1144294 May 2 17:27 ocfs2-tools-1.2.7-1.el5.i386.rpm
Others rpms needed in my case after installation
-rw-r--r-- 1 root root 39297 Jun 7 2007 rsh-server-0.17-37.el5.i386.rpm
-rw-r--r-- 1 root root 126577 Jun 7 2007 xinetd-2.3.14-10.el5.i386.rpm
lsmod
parport 37513 2 lp,parport_pc
snd_page_alloc 13641 2 snd_intel8x0,snd_pcm
serio_raw 10693 0
ohci1394 32964 1
ieee1394 83252 2 sbp2,ohci1394 <-
ohci is part of kernel modules !
./modules/2.6.18-8.el5/updates/drivers/ieee1394/sbp2.ko
ext3 123081 1
jbd 56553 2 ocfs2,ext3
ehci_hcd 32845 0
When the driver was loaded succesful looks similar to this, please verify other configuration like serialize_io
[root@linux3 sysconfig]# dmesg | grep 1394
ieee1394: no version for "struct_module" found: kernel tainted.
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[201] MMIO=[ea125000-ea1257ff] Max Packet=[2048] IR/IT contexts=[4/8]
ieee1394: The root node is not cycle master capable; selecting a new root node and resetting...
ieee1394: Node added: ID:BUS[0-00:1023] GUID[0030e002e04546d5]
ieee1394: Host added: ID:BUS[0-01:1023] GUID[001106664001995a]
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
scsi0 : SBP-2 IEEE-1394
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
and here we are!
[root@linux3 etc]# fdisk -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 1824 14651248+ 83 Linux
/dev/hda2 * 1959 4699 22017082+ 83 Linux
/dev/hda3 4700 4865 1333395 82 Linux swap / Solaris
/dev/hda4 1825 1958 1076355 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/sda: 82.3 GB, 82348277760 bytes <= Firewire Disk
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 5000 40162468+ 83 Linux
/dev/sda2 5001 6217 9775552+ 83 Linux
/dev/sda3 6218 7434 9775552+ 83 Linux
/dev/sda4 7435 10011 20699752+ 83 Linux
Please let me know if you need more information.
J -
ASP connection to Oracle using MS ODBC Driver fails
I have a Win2000 server with ORCL9.2 client and MDAC2.7 and the following code fails (last line gives the error):
set dbConn = Server.CreateObject("ADODB.Connection")
set rsSeq = server.CreateObject("ADODB.Recordset")
sSql = "Select count(*) From bs_table"
dbConn.Open "DSN=tp10;UID=aaa;PWD=aaa;"
The error text is :
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC driver for Oracle][Oracle]Error while trying to retrieve text for error ORA-01019
This code works fine with Oracle 8i client on the server, I really appreciate if any one can help me out here.
ThanksCan you try with the Oracle ODBC driver, rather than the Microsoft ODBC driver for Oracle? Microsoft's driver still uses the old Oracle 7 OCI calls, which are no longer supported on an Oracle 9.2 client.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Maybe you are looking for
-
Cannot install windows 8.1
Hi , I tried to install windows 8.1 on my HP Pavilion 15-e078ea Notebook PC but I couldnt. Prior to installation I went through everything on hp support assistant as to what needs to be done before installation. but i only got to the point when it do
-
Usage / License Agreement required for login
Hi, Has anyone implemented a required usage agreement in 5.x? I am moving from 4.5 where I would show the usage agreement inside the portal. I have no problem with creating a login PEI, but am not sure what is the best way to show the agreement page
-
Syncing Issues with 9630 and Outlook
I recently got a new blackberry 9630 and am having trouble syncing email between my outlook and the device. In the email settings I have gone to the synchronization options and selected what was available (deleted items was the only available option
-
Need steps to capture a particular explain plan using the store outlines
Hi, I have got the needed explain plan using hints in my query. I need to capture it using stored outlines. I am using Oracle 10.2.0.3. Can someone provide me the steps to capture this plan using an Stored Outline?I dont want to use any other method.
-
[Model Nodes] What prevents Server Parts to be assignedthere ?!:?
Hi, I want to have a separate node to provide a dedicated service, and therefore when I start my environment server and declared that node as ModelNode, with 'client' disabled, i still can't assign to it my server partition. And if I declare it as re