Oracle XA OCI driver
Hi All
I need to use XA compliant driver, does oracle OCI driver have an XA version.
I know weblogic has one and there is also one for oracle thin client.
If i have to use oracle XA driver then i should always use thin driver ???
Siju
I use OCI Driver and the same driver in "XA version"
It's the same, only you mjust change the configuration parameters..
J.Carlos
"Siju" <[email protected]> escribió en el mensaje
news:3e2f6aa9$[email protected]..
>
Hi All
I need to use XA compliant driver, does oracle OCI driver have an XAversion.
I know weblogic has one and there is also one for oracle thin client.
If i have to use oracle XA driver then i should always use thin driver ???
Siju
Similar Messages
-
IF YOU USE ORACLE'S OCI DRIVER...
Hi. Pardon the shouting. BEA wants to know how to support you as well as possible.
Right now, we want to know of customers who are using Oracle's JDBC driver (not
ours), and using it in the type-2 OCI mode, not as the thin driver.
If you are such, please respond to this post and/or email me. I have no questions
at this time, I just want to get a sense of who/how many of you there are. This may
influence how much driver-specific QA we do.
thanks,
Joe Weinstein
We do, to connect to an OPS
Philippe
Joseph Weinstein <[email protected]> wrote:
>
>Hi. Pardon the shouting. BEA wants to know how to support you as well
>as possible.
>Right now, we want to know of customers who are using Oracle's JDBC driver
>(not
>ours), and using it in the type-2 OCI mode, not as the thin driver.
> If you are such, please respond to this post and/or email me. I have
>no questions
>at this time, I just want to get a sense of who/how many of you there
>are. This may
>influence how much driver-specific QA we do.
>thanks,
>Joe Weinstein
>
-
Failed to call Oracle JDBC OCI driver
Hi - there,
I have just loaded JDBC classes for Oracle 8.0.5, which is running on Sun Solaris.
The Path setup for this driver is
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes111.zip
LIBRARY_PATH=$ORACLE_HOME/jdbc/lib:$ORACLE_HOME/lib.
But I am not able to run any test programs and keep getting the error of
"java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
Someone can help me to jump-start this driver?
Thank a lot
CharlieTry to use Backslashes in the classpath.
It is a problem of your Classpath, because it don't find the class.
Regards,
Geri -
ORA-01401 error on char column with oracle oci driver
Hello,
We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
shipped as source with Kodo:
In newer Kodo versions (at least in 3.3.4), the method
public void setString (PreparedStatement stmnt, int idx, String
val, Column col)
has the following code block:
// call setFixedCHAR for fixed width character columns to get padding
// semantics
if (col != null && col.getType () == Types.CHAR
&& val != null && val.length () != col.getSize ())
((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
This block seems to be intended for select statements but is called on
inserts/updates also. The latter causes a known problem with the Oracle
oci driver when settings CHAR columns as FixedCHAR, which reports an
ORA-01401 error (inserted value too large for column) when definitely no
column is too long. This does not happen with the thin driver.
We reproduced this with 8.1.7 and 9.2.0 drivers.
For us we solved the problem by subclassing OracleDictionary and removing
the new code block.
Regards,
Rainer Meyer
ELAXY Financial Software & Solutions GmbH & Co. KGRainer-
I read at
re:'ORA-01401 inserted value too large for column' - 9i that:
"This is fixed in Oracle9i Release 2"
Can you try that version of the driver? Also, does it fail in the Oracle
10 OCI driver?
Rainer Meyer wrote:
Hello,
We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
shipped as source with Kodo:
In newer Kodo versions (at least in 3.3.4), the method
public void setString (PreparedStatement stmnt, int idx, String
val, Column col)
has the following code block:
// call setFixedCHAR for fixed width character columns to get padding
// semantics
if (col != null && col.getType () == Types.CHAR
&& val != null && val.length () != col.getSize ())
((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
This block seems to be intended for select statements but is called on
inserts/updates also. The latter causes a known problem with the Oracle
oci driver when settings CHAR columns as FixedCHAR, which reports an
ORA-01401 error (inserted value too large for column) when definitely no
column is too long. This does not happen with the thin driver.
We reproduced this with 8.1.7 and 9.2.0 drivers.
For us we solved the problem by subclassing OracleDictionary and removing
the new code block.
Regards,
Rainer Meyer
ELAXY Financial Software & Solutions GmbH & Co. KG
Marc Prud'hommeaux
SolarMetric Inc. -
WL5.1 with Oracle OCI driver 8.1.6 and 8.1.7
We have seen different behaviors when using WL5.1 with Oracle's OCI driver
version 8.1.6 and 8.1.7
Our application calls the same set of stored procedures, which creates in
total of 10 reference cursors
in the database (8.1.7). We close the reference cursor everytime the SP is
called.
After running the application for a while, we have the following situation:
1) Using the 8.1.6. driver, we always have (at any given time) one
reference cursor opened in the database
for each connection in the connection pool.
2) Using the 8.1.7 driver, we always have one reference cursor for each
stored procedure for each connection in the connection pool(i.e. 10 open
ref-cursor per connection).
It seems that between 8.1.6 and 8.1.7, the driver caches ref-cursor
differently. The 8.1.7 drive doesn't seem to be scalable. Has anyone
notice the change?
Is this behavior correct or configurable?
Thanks.
-ChuanWe have seen different behaviors when using WL5.1 with Oracle's OCI driver
version 8.1.6 and 8.1.7
Our application calls the same set of stored procedures, which creates in
total of 10 reference cursors
in the database (8.1.7). We close the reference cursor everytime the SP is
called.
After running the application for a while, we have the following situation:
1) Using the 8.1.6. driver, we always have (at any given time) one
reference cursor opened in the database
for each connection in the connection pool.
2) Using the 8.1.7 driver, we always have one reference cursor for each
stored procedure for each connection in the connection pool(i.e. 10 open
ref-cursor per connection).
It seems that between 8.1.6 and 8.1.7, the driver caches ref-cursor
differently. The 8.1.7 drive doesn't seem to be scalable. Has anyone
notice the change?
Is this behavior correct or configurable?
Thanks.
-Chuan -
Oracle Jdbc Thin driver and nls suppot
Hello,
I have a hungarian database with nls_lang variable set to hungarian. I'm trying to do a jdbc connection using classes12.zip
but I'm getting the hungarian characters converted to question marks or other characters.
I read suggestions that I must include the nls_charset12.zip in my classpath too. So I did that but I'm still having the same problem.
What is missed??
How do I get the right hungarian charachters without any conversion.
This is becoming frustrating and I'm not able to solve it yet.
Thanks for your helpOne more question -
Can we use Oracle JDBC OCI driver? We do not have any appletes...
Does it have firewall issues too? Is there any other driver that
we can use?
Thanks,
Vijaya. -
Oracle JDBC Thin Driver and Firewall Problem
Hi!
We have Oracle 8.1.5 and Websphere App Server. There is a
firewall between the two. A servlet creates a connection pool
(not that of Wesphere's). The frontend is JSP/HTML (no applets).
The servlet uses the Oracle JDBC Thin Driver for DB Connections.
The problem is - Once the connection is freed, the connection
pool is not being able to retrieve it and hence it created
another one, thus reaching the max. # of connections and the
system hangs. Restarting the DB service flushes the connection
and the application starts running again...
There was a similar problem discussed in this forums long ago. I
have not yet tried mentioning the firwall port and IP in the
connection string. But apart from that, is there any other
setting I need to do (on firewall or for the connectionstring)
to deal with this problem?
Someone had suggested to punch a hole in the firewall for the DB
port - but we can not really do that in the current scenario...
I would appreciate if anyone could share their experience
regarding how they resolved this issue.
Thanks in advance,
Vijaya.One more question -
Can we use Oracle JDBC OCI driver? We do not have any appletes...
Does it have firewall issues too? Is there any other driver that
we can use?
Thanks,
Vijaya. -
Hi all,
We have a setup accessing an Oracle-database (9.0.1 and 9i) from a
java program using an Oracle thin driver like this:
jdbc:oracle:thin:@host:port:sid
This works fine. Now we wanted to try the OCI-driver for speed
comparision (mainly bypassing socket communication).
jdbc:oracle:oci8:@host:port:sid
This didn't work. We use the classes12.zip for Oracle 9.0.1. downloaded
from OTN. The error is:
java.lang.NoSuchFieldError: OCIEnvHandle
at oracle.jdbc.oci8.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:287)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:116)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:98)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:77)
at de.otto.noa.standard.database.backend.ConnectionOracle.connect(ConnectionOracle.java:64)
The last line given is the first line in our own code.
The SHLIB_PATH points to the lib32 directories. If we set them to the lib directories
the error changes to :
java.lang.UnsatisfiedLinkError: /opt/oracle/app/oracle/product/9i/lib/libocijdbc9.sl: Exec format error
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:294)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:287)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:116)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:98)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:77)
at de.otto.noa.standard.database.backend.ConnectionOracle.connect(ConnectionOracle.java:64)
Any suggestions on what to check up on?
Also I'd like to know whether it is correct that the Oracle 9 driver uses oci8?
regards,
Frieder SchenkeHi Elango,
One cannot connect to the database using host:port:sid when using OCI driver. Strange.
It has to be a TNSname or a url .
jdbc:oracle:oci8:@(description=(address=(host=myhost)(protocol=tcp)(port=1521))(connect_data=(sid=orcl)))I tried this (adapted to our database of course) and also (because we have tnsnames.ora setup too):
jdbc:oracle:oci8:@tns_name
With the same effects. ('tnsping tns_name' works)
I think the problem lies somewhere else. The system doesn't even try to actually connect
before it throws that exception. Some driver incompatibility, I guess. But I don't know,
what I did wrong or where to look. Especially that 'Exec format error' is suspicious,
because we'd like to use 64bit if possible.
Also, for when this starts to work, I'd like to know how to make sure there is no socket
connection being used. I vaguely remember something like
jdbc:oracle:oci8:@beqlocal:tns_name
but I don't know the exact syntax. There are several database on that machine, so just
beqlocal wouldn't be enough, unless it also uses the environment-variable
ORACLE_SID
regards,
Frieder Schenke
PS : Peter is my team chef, I'm using his OTN account -
Oracle OCI driver stops working after a while of disuse
I am using wl server 8.1, oracle oci driver (oracle 9i client), on solaris.
When i create a connection pool using the oci driver, it connects, and i
test it, and the tests run fine.
The Application works for a few days. Then eventually after disuse, say over
the weekend, I get exceptions in the log (the message is at end of email).
This is because it gives me a sql exception saying it cannot resolve the
service name. The database is up and running, confirmed.
I tried testing the connection pool manually through the console, and it
failed with the service name exception. But it would connect fine when i
used sqlplus to connect to the databse, using the same service name.
Why does this deteriorate over time? Is there a specific test that would
prevent this from happening?
Once i restart the weblogic server, the connection pool connects fine. But
this is not a solution, since I can't be restarting the server all the time.
Any one got any ideas?
-Ayan
------------WEBLOGIC MANAGED SERVER LOG----------
####<Mar 27, 2004 4:20:57 AM EST> <Error> <JDBC><<WLS Kernel>> <>
<BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "CRCPool2" failed
with exception: "java.sql.SQLException: ORA-03113: end-of-file on
communication channel
".>
####<Mar 27, 2004 4:20:57 AM EST> <Info> <JDBC> <<WLS Kernel>> <>
<BEA-001128> <Connection for pool "CRCPool2" closed.>
---------- and then eventually this----------
####<Mar 28, 2004 4:33:11 AM EST> <Warning> <JDBC> <<WLS Kernel>> <>
<BEA-001129> <Received exception while creating connection for pool
"CRCPool2": ORA-12154: TNS:could not resolve service name
>Ayan wrote:
I am using wl server 8.1, oracle oci driver (oracle 9i client), on solaris.
When i create a connection pool using the oci driver, it connects, and i
test it, and the tests run fine.
The Application works for a few days. Then eventually after disuse, say over
the weekend, I get exceptions in the log (the message is at end of email).
This is because it gives me a sql exception saying it cannot resolve the
service name. The database is up and running, confirmed.
I tried testing the connection pool manually through the console, and it
failed with the service name exception. But it would connect fine when i
used sqlplus to connect to the databse, using the same service name.
Why does this deteriorate over time? Is there a specific test that would
prevent this from happening?
Once i restart the weblogic server, the connection pool connects fine. But
this is not a solution, since I can't be restarting the server all the time.
Any one got any ideas?
-AyanHi. Is there a firewall between the weblogic server and DBMS? There is
a problem with OCI losing connectivity to the DBMS. OCI may be keeping
a socket open as long as the process (weblogic) is running.
Joe
------------WEBLOGIC MANAGED SERVER LOG----------
####<Mar 27, 2004 4:20:57 AM EST> <Error> <JDBC><<WLS Kernel>> <>
<BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "CRCPool2" failed
with exception: "java.sql.SQLException: ORA-03113: end-of-file on
communication channel
".>
####<Mar 27, 2004 4:20:57 AM EST> <Info> <JDBC> <<WLS Kernel>> <>
<BEA-001128> <Connection for pool "CRCPool2" closed.>
---------- and then eventually this----------
####<Mar 28, 2004 4:33:11 AM EST> <Warning> <JDBC> <<WLS Kernel>> <>
<BEA-001129> <Received exception while creating connection for pool
"CRCPool2": ORA-12154: TNS:could not resolve service name -
Oracle database Connectivity using OCI driver
I am getting the error only when ever I am using oci driver
oracle.url=jdbc:oracle:oci:@(description=(address=(host=url.name.com)(protocol=tcp)(port=1521))(connect_data=(sid=user)))
04:52:55,093 ERROR [STDERR] java.sql.SQLException: ???S???Y??x??
04:52:55,094 ERROR [STDERR] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
04:52:55,094 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:650)
04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338)
04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
04:52:55,095 ERROR [STDERR] at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
04:52:55,096 ERROR [STDERR] at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
04:52:55,096 ERROR [STDERR] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
04:52:55,096 ERROR [STDERR] at java.sql.DriverManager.getConnection(DriverManager.java:582)
04:52:55,096 ERROR [STDERR] at java.sql.DriverManager.getConnection(DriverManager.java:185)
04:52:55,097 ERROR [STDERR] at org.apache.jsp.index_jsp._jspService(index_jsp.java:68)
04:52:55,097 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
04:52:55,097 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
04:52:55,097 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
04:52:55,097 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
04:52:55,098 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
04:52:55,098 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
04:52:55,098 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
04:52:55,098 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
04:52:55,099 ERROR [STDERR] at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
04:52:55,099 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
04:52:55,100 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
04:52:55,100 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
04:52:55,100 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
04:52:55,100 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
04:52:55,101 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
04:52:55,101 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
04:52:55,101 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
04:52:55,101 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
04:52:55,101 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
04:52:55,102 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
04:52:55,102 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
04:52:55,102 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
04:52:55,102 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
04:52:55,102 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
04:52:55,103 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
04:52:55,105 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[Test].[jsp]] Servlet.service() for servlet jsp threw exception: java.sql.SQLException: ???S???Y??x??
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:650) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:338) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510) [ojdbc5.jar:Oracle JDBC Driver version - "11.1.0.7.0-Production"]
at java.sql.DriverManager.getConnection(DriverManager.java:582) [:1.6.0_13]
at java.sql.DriverManager.getConnection(DriverManager.java:185) [:1.6.0_13]
at org.apache.jsp.index_jsp._jspService(index_jsp.java:68)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [:6.0.0.20100911-M5]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Beta2]
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [:6.0.0.20100911-M5]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.0.0.20100911-M5]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.0.0.20100911-M5]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Beta2]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100911-M5]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100911-M5]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100911-M5]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100911-M5]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.20100911-M5]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100911-M5]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100911-M5]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_13]
When I am using thin driver, I am successful in connecting to the database
oracle.url=jdbc:oracle:thin:@(description=(address=(host=url.name.com)(protocol=tcp)(port=1521))(connect_data=(sid=user)))
I am using JBOSS 1.6 with oracle 11.1.0 and jdk 1.6
Please help me resolve the problem
Thanks,
KumarYou should confirm that you can connect to the DB with a simple Java class using the url that the code you posted is using.
This will show that the OCI client is installed and executing properly. If you can't connect externally you will need to fix that first.
Is the Oracle client installed on the same machine the JDBC code is running on? -
OCI Driver for oracle 8.1.5 under Linux OS?
Hello *,
Can somebody help me with a JDBC (level 2/OCI) Driver for Linux
(Suse7.1) running a 1.3 JavaVM from Sun?
Many thanx in advanceThe Oracle ODBC driver is a Windows-only product. It won't install on a UNIX machine.
Justin -
Using Oracle OCI Driver 8.1.6 in Compaq Tru64 fastVM
Hi!
I try to using Oracle OCI Driver in Compaq Tru64.
I used fast VM (with -fast option weblogic startup) then the result
during populating Connection Pool, weblogic server down with core dump
I attached core file.
is there anyone in this situation?
[weblogicOCITest.txt]Try using the 8.1.7 Thin Driver (the 8.1.6 Thin driver is buggy).
"jungil, kim" wrote:
Hi!
I try to using Oracle OCI Driver in Compaq Tru64.
I used fast VM (with -fast option weblogic startup) then the result
during populating Connection Pool, weblogic server down with core dump
I attached core file.
is there anyone in this situation?
^A^G^A^E}v^A^C^A^R^_!®.E^?^A@˜B^K!@”K!^W
!°o!ðµ.Ei^A@°R!Ø.E^AX^M^G!@”K!È´.E9i!Iweblogic/common/internal/ResourceAllocato
r_Descriptor.serX^M^G!@”K!.E"i!2/fsweblogic/weblogic/classes/boot/°R!.E[X^M^G!@-
”K!¶.E[^Ai!2/fsweblogic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/b
oot/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!¶.E[i![/fsweblo
gic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descriptor.
ser^T^O!x$^R!p.E^A^A ¸.Eø¸.E`K^R!¸¸.Eظ.E@X^A!^D@X^A!^D^P^M!ðµ.E^Dp.Ei!^Dread—^
M!ø¸.E0
!ðµ.E^A˜…^H!^A.Eh@¹.E¹.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descri
ptor.ser'^A!^Br'^A![/fsweblogic/weblogic/classes/boot/weblogic/common/internal/R
esourceAllocator_Descriptor.ser'^A![/fsweblogic/weblogic/classes/boot/weblogic/c
ommon/internal/ResourceAllocator_Descriptor.ser°R!ø».E[H(^G!^AÀ».Eؤ@л.Eл.Ei!^
A@X^A!^F0f^G!xB^G!`N^G!^P/^G!HZ^G!:^G!i![/fsweblogic/weblogic/classes/boot/weblo
gic/common/internal/ResourceAllocator_Descriptor.ser^C!^A^G^B@0
!H.E^AX^M^G!@”K!p.E[^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/weblog
ic/classes/boot/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!p.E[
˜…^H!^A¾.Eh@ ¾.E ¾.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/common/internal/ResourceAllocator_Descri
ptor.ser'^A!^Br'^A![/fsweblogic/weblogic/classes/boot/weblogic/common/internal/R
esourceAllocator_Descriptor.ser°R!p.E; T^M!À.E9^A!]^B^M^C^F^H^N^K^\^A^A^Ll^C
^M^V"^^^V&^OE^A^B^AE^A^C^Z^C'^V\^D^AYY^D^PV^D^D^_V^D^B^R(^D^A'^B
^A^G^A^E}v^A^C^AX^M^G!@”K!^H.EZ^Ai!^]getResource( i!FgetResource( weblogic/commo
n/internal/ResourceAllocator_Descriptor.seri!getResource( weblogic/common/intern
al/ResourceAllocator_Descriptor.ser ) found result null°R!^H.EZX^M^G!@”K!ÈÄ.EX^A
i!-ServerClassFinder.getSource( i!\ServerClassFinder.getSource( weblogic/common/
internal/ResourceAllocator_Descriptor.ser )°R!ÈÄ.EXè³^T!(.EV^Ai!,/fsweblogic/web
logic/license/i!Z/fsweblogic/weblogic/license/weblogic/common/internal/ResourceA
llocator_Descriptor.ser0
!øÆ.E^A°R!^P.EVi!V/fsweblogic/weblogic/license/weblogic/common/internal/Resource
Allocator_Descriptor.ser˜…^H!^AøÇ.Eh@^H.E^H.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/common/internal/ResourceAllocator_Descriptor.
ser'^A!^Br'^A!V/fsweblogic/weblogic/license/weblogic/common/internal/ResourceAll
ocator_Descriptor.ser°R!^P.E6 0
!ØÊ.E^AX^M^G!@”K!^X.EV^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblogic/
classes/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!^X.EV˜…^H!^A
[email protected]'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/common/internal/ResourceAllocator_Descriptor.
ser'^A!^Br'^A!V/fsweblogic/weblogic/classes/weblogic/common/internal/ResourceAll
ocator_Descriptor.ser°R!^X.E6 0
! .E^AX^M^G!@”K!H.E\^Ai!2/fsdev/ver/bc/webapp/serverclasses/i!f/fsdev/ver/bc/web
app/serverclasses/weblogic/common/internal/ResourceAllocator_Descriptor.ser°R!H.
E\˜…^H!^[email protected]'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
dev/ver/bc/webapp/serverclasses/weblogic/common/internal/ResourceAllocator_Descr
iptor.ser'^A!^Br'^A!\/fsdev/ver/bc/webapp/serverclasses/weblogic/common/internal
/ResourceAllocator_Descriptor.ser°R!H.E< X^M^G!@”K! .E5^Ai!A[ServerClassFinder]f
ound local classpath source: null°R! .E5i!9weblogic/common/internal/resourceallo
cator_descriptor.ser°R!`.E9i!9weblogic/common/internal/resourceallocator_descrip
tor.serX^M^G!@”K!ØÒ.EZ^Ai!^]getResource( i!FgetResource( weblogic/common/interna
l/ResourceAllocator_Descriptor.seri!getResource( weblogic/common/internal/Resour
ceAllocator_Descriptor.ser ) found source null°R!ØÒ.EZ ^_!H.E0.EX^M^G!@”K!Ô.EI
^Ai!^_Failed to find i!IFailed to find /weblogic/common/internal/ResourceAllocat
or_Descriptor.ser°R!Ô.EI9^A!9\^D^AxY^D^PV^D^D^_V^D^B^R(^D^A'^B
@^B ?6^D^HT8^D^B^Q6^D^Y^G^D^HN^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AF*!Áå¼ ^PO.E/^\E!!/^\Eh.E°R!.E*i!*weblogic.common.internal.Resou
rceAllocator¸î!!/^\EøÖ.E°R!^P.E*i!*weblogic.common.internal.ResourceAllocator°R!
ˆ×.E i! weblogic.time.common.ScheduleDef°R!ˆ×.E^T°R!^H.E i! weblogic/time/common
/ScheduleDefp^B!p.Eð×.E9^A!?^V^P^V^Q^F^V, ^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AxA^M!pb^[email protected]! weblogic/time/common/ScheduleDef°R!ˆÙ.E i!&weblo
gic/time/common/ScheduleDef.class°R!ðÙ.E&T^M!p.E9^A!N^B^M^C^F^H^N^K^\^A^Zl^E
^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^
D:^D^A'
^A^G^A^E}v^A^C^Ap^B!ÐÛ.Ep.E9^A!B^AEl^E ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^
E ^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
!°o!(.Ei^A@°R!`.EX^M^G!@”K!(.E&i!6weblogic/time/common/ScheduleDef.classX^M^G!@-
”K!¸Þ.E"i!2/fsweblogic/weblogic/classes/boot/°R!ðà.EHX^M^G!@”K!.EH^Ai!2/fsweblog
ic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/boot/weblogic/time/comm
on/ScheduleDef.class°R!.EHi!H/fsweblogic/weblogic/classes/boot/weblogic/time/com
mon/ScheduleDef.class^T^O!0
!^H.E^AX^M^G!@”K!0.EH^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/weblo
gic/classes/boot/weblogic/time/common/ScheduleDef.class°R!0.EH˜…^H!^AP.Eh@`.E`.E
'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!
H/fsweblogic/weblogic/classes/boot/weblogic/time/common/ScheduleDef.class°R!0.E7
^QT^M!Èä.E9^A!K^B^M^C^F^H^N^K^\^A^Zl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^Ap^B!^X.Ep.E9^A!?^AEl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^E
^A"^B^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AX^M^G!@”K!x.E+^Ai!^XLoading i!2Loading weblogic.time.common.Sche
duleDef...°R!x.E+i! weblogic/time/common/ScheduleDef°R!.E X^M^G!@”K!.E&^Ai!0webl
ogic/time/common/ScheduleDef.class°R!.E&X^M^G!@”K!ˆé.EE^Ai!-ServerClassFinder.ge
tSource( i!\ServerClassFinder.getSource( weblogic/time/common/ScheduleDef.class
)°R!ˆé.EEè³^T!èê.EC^Ai!,/fsweblogic/weblogic/license/i!Z/fsweblogic/weblogic/lic
ense/weblogic/time/common/ScheduleDef.class0
!¸ë.E^A°R!Ðë.ECi!C/fsweblogic/weblogic/license/weblogic/time/common/ScheduleDef.
class˜…^H!^A˜ì.Eh@¨ì.E¨ì.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/license/weblogic/time/common/ScheduleDef.class°R!Ðë.E2^Q0
[email protected]^AX^M^G!@”K!.EC^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblogic/cla
sses/weblogic/time/common/ScheduleDef.class°R!.EC˜…^H!^Aˆï.Eh@˜ï.E˜ï.E'^A!^A?@X^
A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class°R!.E2^Q˜í^S!ðí.E
X^M^G!@”K!˜ñ.Et^Ai!A[ServerClassFinder]found local classpath source: i![ServerCl
assFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/ti
me/common/ScheduleDef.class°R!˜ñ.EtX^M^G!@”K!0.E2^Ai!"Found local class i!FFound
local class weblogic.time.common.ScheduleDef°R!0.E2˜…^H!^A^P.Eh@ .E .E'^A!^A?@X
^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^AÊþº¾^C-^T^G
^S^G^O^G^M^G^N^A^MConstantValue^A"(Lweblogic/common/T3ServicesDef;)V^A
Exceptions^A^LscheduleInit^A^OLineNumberTable^A
SourceFile^A^NLocalVariables^A^DCode^A weblogic/time/common/ScheduleDef^A weblog
ic/time/common/Schedulable^A^Pjava/lang/Object^A^](Lweblogic/common/ParamSet;)V^
A^PScheduleDef.java^A^KsetServices^A!weblogic/common/ParamSetException^B^A^C^B^A
^D^B^D^A^R^F^D^A^H^P^A^G^D^A^A^A
^B^Q(!^D!øÜ^CA@^^.E^Y/Eèß^G!˜…^H!^AP.Eh@`.E`.E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class'^A!^Bs'^A!C/fsw
eblogic/weblogic/classes/weblogic/time/common/ScheduleDef.class°R!ˆ×.E^TE^A!X^M^
G!@”K!.Ep^Ai!^WLoaded i!0Loaded weblogic.time.common.ScheduleDef from i!pLoaded
weblogic.time.common.ScheduleDef from /fsweblogic/weblogic/classes/weblogic/time
/common/ScheduleDef.class°R!.Ep°R! ú.E^_i!^_weblogic.time.common.TriggerDef°R! ú
.E^T°R! .E^_i!^_weblogic/time/common/TriggerDefp^B!ˆû.E^H.E9^A!?^V^P^V^Q^F^V, ^V
,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AxA^M!pb^A@ˆú.Ei!^_weblogic/time/common/TriggerDef°R! ü.E^_i!%web
logic/time/common/TriggerDef.class°R!^H.E%T^M!ˆý.E9^A!N^B^M^C^F^H^N^K^\^A^Zl^E
^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^
D:^D^A'
^A^G^A^E}v^A^C^Ap^B!èþ.Eˆú.E9^A!B^AEl^E ^M^V,*^V,^W^D$^V+^CE^A^M^NE^A^AP^V+^C^A^
F^D^A"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AxA^M!^?^A@ˆú.Ei!^_weblogic/time/common/TriggerDef°R!^P/E^_i!%web
logic/time/common/TriggerDef.class°R!x/E%˜B^K!@”K!^W
!°o!@^B/Ei^A@°R!x/EX^M^G!@”K!@^A/E%i!5weblogic/time/common/TriggerDef.classX^M^G
!@”K!^A/E"i!2/fsweblogic/weblogic/classes/boot/°R!^C/EGX^M^G!@”K!^B/EG^Ai!2/fswe
blogic/weblogic/classes/boot/i!f/fsweblogic/weblogic/classes/boot/weblogic/time/
common/TriggerDef.class°R!^B/EGi!G/fsweblogic/weblogic/classes/boot/weblogic/tim
e/common/TriggerDef.class^T^O!0
!^E/E^AX^M^G!@”K!^P^E/EG^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/we
blogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/EG˜…^H!^A0^F/Eh
@@^F/E@^F/E'^A!^A?@X^A!
!^E/E^AX^M^G!@”K!^P^E/EG^Ai!1/fsweblogic/weblogic/classes/boot/i!d/fsweblogic/we
blogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/EG˜…^H!^A0^F/Eh
@@^F/E@^F/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/boot/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!G
/fsweblogic/weblogic/classes/boot/weblogic/time/common/TriggerDef.class°R!^P^E/E
7^PT^M!^G/E9^A!K^B^M^C^F^H^N^K^\^A^Zl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A
"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^Ap^B!^H/Eˆú.E9^A!?^AEl^E ^M^V,*^D$^V+^CE^A^M^NE^A^AP^V+^C^A^F^D^A
"'^D ^D^H^B^D^Mu^B^B^A~^A^B^D:^D^A'
^A^G^A^E}v^A^C^AX^M^G!@”K!X
/E*^Ai!^XLoadingi!2Loading weblogic.time.common.TriggerDef...°R!X
/E*i!^_weblogic/time/common/TriggerDef°R!
/E^_X^M^G!@”K!`^K/E%^Ai!/weblogic/time/common/TriggerDef.class°R!`^K/E%X^M^G!@”K
!h^L/ED^Ai!-ServerClassFinder.getSource( i!\ServerClassFinder.getSource( weblogi
c/time/common/TriggerDef.class )°R!h^L/EDè³^T!^M/EB^Ai!,/fsweblogic/weblogic/lic
ense/i!Z/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.class0
!^N/E^A°R!^N/EBi!B/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.c
lass˜…^H!^Ap^O/Eh@^O/E^O/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/license/weblogic/time/common/TriggerDef.class°R!^N/E2^P0
!^N/E^A°R!^N/EBi!B/fsweblogic/weblogic/license/weblogic/time/common/TriggerDef.c
lass˜…^H!^Ap^O/Eh@^O/E^O/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/license/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/license/weblogic/time/common/TriggerDef.class°R!^N/E2^P0
!^P^R/E^AX^M^G!@”K!P^Q/EB^Ai!,/fsweblogic/weblogic/classes/i!Z/fsweblogic/weblog
ic/classes/weblogic/time/common/TriggerDef.class°R!P^Q/EB˜…^H!^AX^R/Eh@h^R/Eh^R/
E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class°R!P^Q/E2^P˜í^S!^P/
EX^M^G!@”K!`^T/Es^Ai!A[ServerClassFinder]found local classpath source: i![Server
ClassFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/
time/common/TriggerDef.class°R!`^T/EsX^M^G!@”K!^U/E1^Ai!"Found local class i!FFo
und local class weblogic.time.common.TriggerDef°R!^U/E1˜…^H!^A^V/Eh@^V/E^V/E'^A!
^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^AÊþº¾^C-^T^G^S
^G^O^G^F^G^P^A^MConstantValue^A^_weblogic/time/common/TriggerDef^A^KtriggerInit^
A"(Lweblogic/common/T3ServicesDef;)V^A
Exceptions^A^OLineNumberTable^A
ClassFinder]found local classpath source: /fsweblogic/weblogic/classes/weblogic/
time/common/TriggerDef.class°R!`^T/EsX^M^G!@”K!^U/E1^Ai!"Found local class i!FFo
und local class weblogic.time.common.TriggerDef°R!^U/E1˜…^H!^A^V/Eh@^V/E^V/E'^A!
^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^AÊþº¾^C-^T^G^S
^G^O^G^F^G^P^A^MConstantValue^A^_weblogic/time/common/TriggerDef^A^KtriggerInit^
A"(Lweblogic/common/T3ServicesDef;)V^A
Exceptions^A^OLineNumberTable^A
SourceFile^A^NLocalVariables^A^DCode^A^OTriggerDef.java^A^Pjava/lang/Object^A we
blogic/time/common/Triggerable^A^](Lweblogic/common/ParamSet;)V^A^KsetServices^A
!weblogic/common/ParamSetException^B^A^C^B^A^D^B^D^A^R^H^D^A^G^Q^A ^D^A^A^A
^K^B^N(!^D!^H^CA@ðö.Eèß^G!˜…^H!^A^H^Z/Eh@^X^Z/E^X^Z/E'^A!^A?@X^A!
H^H!p^H!L !^L !ˆÍ !8 !, !^Pm !` !°í !'^A!/fs
weblogic/weblogic/classes/weblogic/time/common/TriggerDef.class'^A!^Bs'^A!B/fswe
blogic/weblogic/classes/weblogic/time/common/TriggerDef.class°R! ú.E^TE^A!X^M^G!
@”K!0^\/En^Ai!^WLoaded i!0Loaded weblogic.time.common.TriggerDef from i!nLoaded
weblogic.time.common.TriggerDef from /fsweblogic/weblogic/classes/weblogic/time/
common/TriggerDef.class°R!0^\/En(B!CDh(/^\EhüëD/^\E^D^H˜âDX^M^G!@”K!^]/E
^Ai!^A+°R!^]/E^Ai!^Q+HncbPool°R!^]/E ^P#!^P^YE^]/E/^\E8R^E!;ˆØ^]/E^]/EX^M^G!@
”K!^^/E,^Ai!^XHncbPool created with 1i!^L01°R!^^/E^Ai!^A1i!2HncbPool created wit
h 1 initial connections.°R!^^/E,^H4^E!@”K! /EK@?^^E!eøÑ6!^_/E /E^H4^E!@”K!!/EK@?
^^E!eøÑ6!!/E!/E -
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. -
Error to connect to oracle 10.2.0.4 using oci driver in solaris
Urgent Please help me.
This is the error i am getting when connecting to oracle10.2.0.4 version using oracle oci driver.
09/10/05 13:52:47 java.lang.UnsatisfiedLinkError: t2cGetCharSet
09/10/05 13:52:47 at oracle.jdbc.driver.T2CConnection.t2cGetCharSet(Native Method)
09/10/05 13:52:47 at oracle.jdbc.driver.T2CConnection.getCharSetIds(T2CConnection.java:2954)
09/10/05 13:52:47 at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:318)
09/10/05 13:52:47 at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
09/10/05 13:52:47 at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:141)
09/10/05 13:52:47 at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:78)
09/10/05 13:52:47 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
09/10/05 13:52:47 at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:217)
09/10/05 13:52:47 at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:108)
09/10/05 13:52:47 at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:76)
09/10/05 13:52:47 at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:58)
09/10/05 13:52:47 at com.evermind.sql.OrionPooledDataSource.getPooledConnection(OrionPooledDataSource.java:542)
09/10/05 13:52:47 at com.evermind.sql.PooledConnectionUsage.getPooledConnection(PooledConnectionUsage.java:39)
09/10/05 13:52:47 at com.evermind.sql.OrionPooledDataSource.checkAndGetMinConnections(OrionPooledDataSource.java:376)
09/10/05 13:52:47 at com.evermind.sql.OrionPooledDataSource.getTheConnection(OrionPooledDataSource.java:251)
09/10/05 13:52:47 at com.evermind.sql.OrionPooledDataSource.getTheConnection(OrionPooledDataSource.java:345)
09/10/05 13:52:47 at com.evermind.sql.OrionPooledDataSource.getConnection(OrionPooledDataSource.java:339)
09/10/05 13:52:47 at uk.gov.fsa.elms.persistence.base.BaseDataAccess.getValidConnection(BaseDataAccess.java:67)
09/10/05 13:52:47 at uk.gov.fsa.elms.persistence.base.BaseDataAccess.getConnection(BaseDataAccess.java:125)
09/10/05 13:52:47 at uk.gov.fsa.elms.persistence.base.dao.BaseDAOImpl.getConnection(BaseDAOImpl.java:76)
09/10/05 13:52:47 at uk.gov.fsa.elms.processes.batch.ProcessHandler.getProcessId(ProcessHandler.java:48)
09/10/05 13:52:47 at uk.gov.fsa.elms.processes.batch.ProcessHandler.startProcess(ProcessHandler.java:87)
09/10/05 13:52:47 at uk.gov.fsa.elms.processes.batch.ProcessManager.startProcess(ProcessManager.java:43)
09/10/05 13:52:47 at uk.gov.fsa.elms.processes.batch.EventDispatcherServlet$JMSRunner.handleMessage(EventDispatcherServlet.java:306)
09/10/05 13:52:47 at uk.gov.fsa.elms.processes.batch.EventDispatcherServlet$JMSRunner.run(EventDispatcherServlet.java:355)
09/10/05 13:52:47 at java.lang.Thread.run(Thread.java:534)# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
#SQLNET.AUTHENTICATION_SERVICES = (NTS)I have configured the listener by using NETCA.
However the TNS connection failed with SQLNET.AUTHENTICATION_SERVICES = (NTS)
, so I had to disable this parameter
Maybe you are looking for
-
Crystal report XI bug(Supposed)
I use Crystal Report XI developer italian (version 11.0.0.1282) and I develop an application using VB6 (sp6) and an access2000 mdb. in the viewer,I have a stretched logo on the top of the report, and beetween the first and the second page there are i
-
Communication from Adobe around recent issues
John Metzger asked me to post the following message: >>>>>>>>>> An open communication around recent issues reported with the latest deployment of Adobe Digital Publishing. I’d like to open a direct dialog between the Adobe Digital Publishing team and
-
PL/SQL with GOTOXY function
Hi all new to PL/SQL wonder got anyway to create gotoxy function like C thkx in adv
-
Pdf does not display in Nightly
In Mozilla Nightly I only have one add-on - Flash. Whenever I try to view a pdf it does not display the content. I cannot find an add-on.
-
How do I wirelessly conect to the internet with my imac 5.2
cannot activate airport on imac any ideas. i need to pick up a wireless internet, is it hardware problem or download remedy or ???? cheers, AFC