HELP!! ORA-03113, etc...
I installed all the client software on a RedHat 5.2 box
Client Software
Net8
PL/SQL
JDBC
Precomp
Pro*C/C++
SQL*Plus
TCP/IP Protocol Adapter
(a bunch of other stuff got installed in the process, but that's
what I selected).
After installing my tnsnames file - the listener wouldn't start.
So I edited the listener.ora file and removed all
"SID_LIST_LISTENER" entries. That's the only way the listener
would start.
Tried connecting to an Oracle server with sql/plus - works.
selects works the first few times, after a while selects just
hang and eventually return error:
"ORA-03113: end-of-file on communication channel"
Any ideas? I ran out of them....
Alex Van De Putte
null
Post your tnsnames.ora and listener.ora files here. It's
impossible to say anything about it. Also, take a look at the end
of alert log file.
Alex Van De Putte (guest) wrote:
: I installed all the client software on a RedHat 5.2 box
: Client Software
: Net8
: PL/SQL
: JDBC
: Precomp
: Pro*C/C++
: SQL*Plus
: TCP/IP Protocol Adapter
: (a bunch of other stuff got installed in the process, but
that's
: what I selected).
: After installing my tnsnames file - the listener wouldn't
start.
: So I edited the listener.ora file and removed all
: "SID_LIST_LISTENER" entries. That's the only way the listener
: would start.
: Tried connecting to an Oracle server with sql/plus - works.
: selects works the first few times, after a while selects just
: hang and eventually return error:
: "ORA-03113: end-of-file on communication channel"
: Any ideas? I ran out of them....
: Alex Van De Putte
null
Similar Messages
-
Help! ORA-03113 while compiling certain packages!
Hello everyone
Recently we migrated our PLSQL code from Oracle 8.1.7.0 to 9.2.0.4.
While compiling our packages in 9i, we are getting the ORA-03113: end-of-file on communication channel error.
This happens only when we compile two particular packages.
And then when we connect again immediately, and recompile the same package, it gets compiled.
This is only happening for two packages, frequently. All other packages are not giving this error.
Why could this be happening? Any pointers to this would really help.
Thanks
BobORA-3113 often throws a .TRC file in the USER_DUMP_DEST directory. That might give you a clue.
Cheers, APC -
Ora-03113 and ORA-00474 - database does not startup . Help !
- Its a Oracle 10.2.0.1.0 standard edition database.
- we get the ora-03113 end of file communication error during startup.
- when we followed step by step it happens between MOUNT => OPEN stage.
- database does mount but gives ora-03113 end of file communication error during OPEN.
- when I checked the alert log file and it has the following errors.
ORA-00447: fatal error in background process
ORA-00474: SMON process terminated with error
- i did run "recover database" command it says media recovery complete, but when I try to open it fails with ora-03113 error. Even a reset logs did not help
Question:
1) I wanted to somehow open the database even if there is a data loss ? how can I do that ?
2) Can I create a new instance and attach these datafiles/controlfiles/redo logs and be able to start the database ?
3) We have only 6 months old backup , so wanted to know if somehow we can open this database.
Thanks in advancejohnpau2013 wrote:
- Its a Oracle 10.2.0.1.0 standard edition database.
- we get the ora-03113 end of file communication error during startup.
- when we followed step by step it happens between MOUNT => OPEN stage.
- database does mount but gives ora-03113 end of file communication error during OPEN.
- when I checked the alert log file and it has the following errors.
ORA-00447: fatal error in background process
ORA-00474: SMON process terminated with error
- i did run "recover database" command it says media recovery complete, but when I try to open it fails with ora-03113 error. Even a reset logs did not help
Question:
1) I wanted to somehow open the database even if there is a data loss ? how can I do that ?
2) Can I create a new instance and attach these datafiles/controlfiles/redo logs and be able to start the database ?
3) We have only 6 months old backup , so wanted to know if somehow we can open this database.
Thanks in advancewhat clues exist within alert_SID.log file?
When was last time it started without error?
What exactly transpired since then?
what OS name & version?
Edited by: sb92075 on Mar 24, 2012 4:23 PM -
ORA-03113: end-of-file on communication channel, Please help
hello Seniors,
i have strange situation, facing it for the first time.
i m/s detail form and i am entering data. i successfully saved few records.
i completed entering one more record and for a reason i left it unsaved.
after lets say may be a minute or so, i got back to work and then tried to save the unsaved record
displayed on screen. when i pressed save button i got error;
ORA-03113: end-of-file on communication channel
leaving the form as is with this error displayed, i notice that i can very well use the db at server level
by running other sqls, meaning other resources are functioning. even i tried to open the same application again
leaving the erroneous form as is, and tried to enter in another form , it communicated well and saved without any errors.
also there is one more errro along with this, when i query; says "Unable to perform query"
ORA-01041: internal error. hostdef extension doesn't exist
and when exit the current form it quits the entire application and kills that particular session,
but the db is still up and running with no errors.
The Tnsping <hostname> is responding.
i want to know while entring on a form, is there any time-out limit between the entry and saving point?
or any other solution please help. vm thankful.
my db
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jul 25 09:31:46 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Release 10.2.0.1.0 - Production
form;
Forms [32 Bit] Version 6.0.8.25.2 (Production)
Oracle Database 10g Release 10.2.0.1.0 - Production
Oracle Toolkit Version 6.0.8.25.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #1459 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Tools GUI Utilities Version 6.0.8.25.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle Tools Integration Version 6.0.8.18.0 (Production)
Oracle Tools Common Area Version 6.0.8.18.0
Oracle CORE Version 4.0.6.0.0 - Production
Edited by: user10967485 on Jul 25, 2009 12:47 AM
Edited by: user10967485 on Jul 25, 2009 12:52 AMi was testing entering into different forms of my application.
what i notice that this problem persist with just one form i.e. my purchase order header-details form.
whats happening is, it allows just the first or rather 1 record (incase if are in a query mode and select create record),
saving the next or IInd record returns this error. God knows why..?
can you please suggest any debugging technique to catch the theif?
i have WNFI, POSt-FORM-COMMIT, KEY-COMMIT, PRE-COMMIT, PRE-FORM at form level
at heade block i have ;
PRE-INSERT,UPDATE,DELETE, PRE-RECORD,POST-QUERY, KEY-ENTQRY, ON-POPULTE-DET
at detail blcok i have;
PRE-INSERT,UPDATE,PRE-RECORD,POST-QUERY,WHEN-REMOVE-RECORD.
sqlnet.ora, i have at 4 different dir;
C:\orant\NET80\ADMIN & C:\orant\NET80\ADMIN\SAMPLE AND
C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN & C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\SAMPLE
I am not so good with Dba interface, so please suggest me which particular file should refer and
where & what exactly should i look for..? as the file contains a comrehensive entries.
thankyou once again.
on displaying error from Help i get this;
INSERT INTO PURCHASE_ORDER_DETAIL) VALUES ) RETURNING ROWID,POD_COMP_CODE,POD_DATE,POD_POH_CODE,POD_POH_NO,POD_REMARKS,POD_CR_UID,POD_CR_DT,POD_UPD_UID,POD_UPD_DT,POD_PROD_CODE,POD_UOM,POD_QTY,POD_RATE,POD_CURR_CODE,POD_FX_RATE,POD_fc_AMOUNT,POD_LC_AMOUNT INTO :1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18
ORA-03113: end of on communication channel. -
HELP! ORA-03113 End of file on comm channel
Hi
I'm new to Oracle but old-timer in Linux.
I have just installed Oracle 8.1.7 on RedHat 7.0 successfully.
Unfortunately, I could not create a new database.
It's always prompt "ORA-03113 End of file on comm channel"
whenever i run sqlplus or svrmgrl command.
I have followed the instructions closely. Except that I did not
create the 4 mounting points. ie. /u0 /u1 /u2 /u3 Because I do
not know how to use it.
Someone pls enlighten me. Is it the reason that it's failed?
Pls help me to solve this ORA-03113 problem. Thanks!
SamuelHi
I'm new to Oracle but old-timer in Linux.
I have just installed Oracle 8.1.7 on RedHat 7.0 successfully.
Unfortunately, I could not create a new database.
It's always prompt "ORA-03113 End of file on comm channel"
whenever i run sqlplus or svrmgrl command.
I have followed the instructions closely. Except that I did not
create the 4 mounting points. ie. /u0 /u1 /u2 /u3 Because I do
not know how to use it.
Someone pls enlighten me. Is it the reason that it's failed?
Pls help me to solve this ORA-03113 problem. Thanks!
Samuel -
Help need for "ORA-03113: end-of-file on communication channel" on startup
Hi everyone,
After install the oracle 8.1.7 on Solaris 2.7, I can not start the oracle server, below is the problem I got,
$ ./svrmgrl
: Oracle Server Manager Release 3.1.7.0.0 - Production
: Copyright (c) 1997, 1999, Oracle Corporation. All Rights
: Reserved.
: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
: With the Partitioning option
: JServer Release 8.1.7.0.0 - Production
: SVRMGR> connect internal
: Password: oracle
: Connected.
: SVRMGR> startup
: ORA-03113: end-of-file on communication channel
Can someone tell me what is wrong with my
oracle server? Thanks a lot.
nullHi,
the answer is simple. check first if TWO_TASK parameter is set to value from Ur tnsnames.ora. usually this environment variable must not be set for servers, only for client side. that means try 'unset TWO_TASK' and then should work.
best regards,
nicky -
Oracle 10.2.0.4 to 11.2.0.2 fails with ORA-03113
This is Oracle upgrade from 10.2.0.2 to Oracle 11.2 (on Windows platform)
Since 10202 to 11 is not SAP supported, we upgrade from 10.2.0.4 first before upgrade to 11
10202 to 10204 upgrade finished fine. All post upgrade sql files are run without any issues.
During 10204 to 11202 upgrade, at 42% complete the Database Upgrade Assistant gives
ORA-03113: end-of-file on communication channel
Upgrade failed due to running the step "Upgrading Oracle Server"
The upgrade was repeated and it always gets the same error at the same spot.
Once the error occurs, if I try to rerun the upgrade script, it complains that objects already exist.
Looking at the \oracle\cfgtoollogs\dbua\<SID>\upgrade1 directory, I see the log file which shows at the end of the file:
GRANT INSERT ON sys.impdp_stats TO PUBLIC
2 /
Grant succeeded.
GRANT DELETE ON sys.impdp_stats TO PUBLIC
2 /
Grant succeeded.
Rem ===================================
Rem End User stats table format change
Rem ===================================
Rem==========================================================================
Rem Call script to upgrade type dictionary tables from 8.0 image to
Rem 8.1 image format. If they are already in 8.1 image format, the
Rem script will do nothing.
Rem==========================================================================
set serveroutput on
EXECUTE dbms_objects_utils.upgrade_dict_image;
BEGIN dbms_objects_utils.upgrade_dict_image; END;
ERROR at line 1:
ORA-03113: end-of-file on communication channel
ERROR:
So the problem is at running dbms_objects_utils.upgrade_dict_image procedure
"This procedure upgrades the type dictionary images from 8.0 to 8.1. The dictionary tables that could be in 8.0 are kottd$, kottb$, kottbx$, kotad$ and kotmd$, which existed in 8.0 or 8.1, when 8.0 compatibility was possible, kotadx$ was created in 9iR2 when we required 8.1 minimum compatibility. The source code is fully exposed for both package header and body."
/rdbms/admin/dbmsobj.sql
If I try to run that same procedure within SQLPlus (after the upgrade failed), I get the error message ORA-00955: name is already used by an existing object. This tells me that the upgrade script actually created the newer version of the dictionary images, but for some reason failed to complete. And so when I re-run the upgrade script, it complains.
We've searched google, SAP Notes, sdn, etc. but havent gotten anywhere. Help or hints would be greatly appreciated.
ThanksHI,
Check below details from oracle Metalink.
Curtesy of Oracle Metalink
A1) Errors connecting as SYSDBA / Internal OR on startup nomount
There is something fundamental wrong with the software / environment
if you cannot connect to Server Manager as a DBA user.
The steps here cover errors such as ORA-3113, ORA-12547: TNS:lost contact
or similar errors connecting to Oracle or starting the instance NOMOUNT.
Check the following items:
A1.1) If possible reboot the server disabling any automatic
startup of Oracle before you do so. This may seem drastic
but helps make sure you are working from a consistent
starting point.
A1.2) Check your environment points at the expected ORACLE_HOME
and ORACLE_SID and that TWO_TASK is not set (Unix) or
LOCAL is not set (NT registry).
Check the USER_DUMP_DEST and BACKGROUND_DUMP_DEST and default
trace directories under this environment for any user trace
files or alert log entries generated. These may help indicate
the cause of the problem.
Eg: ORA-600[SKGMINVALID] may indicate a problem with the
shared memory Unix parameters on Unix systems.
Try to show that any trace file / alert log entry you
find is truely related to the "CONNECT" command by re-issuing
the "connect" and checking for a new trace file / alert entry
at the time of the error.
A1.3) Unix only:
Some Unix platforms need LD_LIBRARY_PATH to be set
correctly to resolve any dynamically linked libraries.
As the user with the problem:
% script /tmp/ldd.out
% id
% cd $ORACLE_HOME/bin
% ldd oracle
% exit
If the 'ldd' command does not exist go to the next step below.
Check that all lines listed show a full library file. If there
are any 'not found' lines reported contact Oracle support
with the output of /tmp/ldd.out .
A1.4) Unix only:
Your 'oracle' executable may be corrupt. Relink it thus:
Log in as the 'oracle' user.
% script /tmp/relink.out
% cd $ORACLE_HOME/rdbms/lib
% mv $ORACLE_HOME/bin/oracle $ORACLE_HOME/bin/oracle.dd.mon.yy
% rm -f ./oracle
% make -f ins_rdbms.mk ioracle
% exit
Prior to Oracle7.3 the relink command was:
make -f oracle.mk ioracle
If this reports any errors Oracle support will need to see
the contents of the file /tmp/relink.out .
A1.5) Have you installed the Parallel Server Option ?
ORA-3113 can occur if you have installed the Parallel
Server Option but do NOT have a Distributed Lock Manager
installed or running correctly.
Unix:
If the Parallel Server Option was installed by accident
then it can be de-installed by relinking.
Eg:
Shut down any Oracle instances
% script /tmp/relink.out
% cd $ORACLE_HOME/rdbms/lib
'oracle' should not exist so delete it if it present
% rm -f oracle
% make -f ins_rdbms.mk no_parropt ioracle
% exit
NB: Do NOT deinstall the Parallel Server Option if the
database is using Parallel Server unless both nodes
are shut down otherwise database corruption could occur.
A1.6) If the error is on STARTUP NOMOUNT:
Check the init.ora file used to start the database.
This provides the configuration details used
configure the instance. To help isolate the problem
it may be useful use a very basic init.ora file
when starting the instance. If this works then
parameters can be increased / introduced one at a
time to see if there is a problem with a particular
setting.
A1.7) Check for server side trace files which may give more
indication what the underlying problem is.
See section C for details on how to check
for server trace files.
A1.8) Ensure there is free disk space in:
a. Your USER_DUMP_DEST and BACKGROUND_DUMP_DEST locations
b. Your AUDIT destination (Unix)
The default is $ORACLE_HOME/rdbms/audit
c. Your Oracle Trace directory if Oracle Trace is enabled
See <Note:45482.1>
A2) Errors Mounting the database
Check all the items in A1 first.
If an error occurs when mounting the database there may be problems
with the control-files or data files, or with resources required to
open these files.
A2.1) The location of the control files are specified in the
init.ora file. Try mounting using each controlfile in
turn.
eg: "Shutdown abort",
edit the init.ora to refer to ONE of the controlfiles only,
"startup nomount",
"alter database mount"
Repeat for each controlfile to see if any controlfile works.
A2.2) It is possible to re-create the controlfiles if you know the
location of all datafiles and online logs, or to restore an old
backup controlfile. Always back up the current controlfiles before
restoring any backup copies or issuing a CREATE CONTROLFILE
command.
The steps for this are not documented here.
A2.3) Unix:
Some unix platforms have a 'truss' command (or 'tusc').
If available this can be used to help trace how far Oracle
gets before the error occurs.
Eg:
% truss -o /tmp/truss.out -f svrmgrl
Keep the file /tmp/truss.out safe - Oracle Support MAY need to see it.
Regards,
Venkata S Pagolu
Edited by: Venkata Pagolu on Mar 10, 2012 12:10 PM -
My installation running on Windows 2000 Oracle9i. When issue desc table_name i get ORA-03113: end-of-file on communication channel. I have set processes = 300 in parameter file.
The ORA-03113: end-of-file on communication channel error is a generic error. The ORA-03113 error when connecting suggests that the connection was established, but lost later, like a timeout.
There are many possible causes for the ORA-03113 error. See MetaLink Note:17613.1 "ORA-03113":
For example, ORA-3113 could be signaled for any of these scenarios:
- Server machine crashed
- Your server process was killed at O/S level
- Network problems
- Oracle internal errors / aborts on the server
- Client incorrectly handling multiple connections
- etc.. etc.. etc.. - a lot of possible causes !!
It goes on to note that the ORA-03113 End-Of-File error often has additional messages:
It is common for this error to be accompanied by other errors such as:
- ORA-1041 internal error. hostdef extension doesn't exist
- ORA-3114 not connected to ORACLE
- ORA-1012 not logged on
To find more details, check for a trace file in your USER_DUMP_DEST and BACKGROUND_DMP_DEST directory.
Hope this helps . . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference"
http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm -
ORA-03113 - How to Debug This?
Hi All,
I am seeing this error ORA-03113.
How do I debug this?
How can I find what is causing this to happen?
Thanks a lot.
~JayantI too received the same "ORA-03113: end-of-file on communication channel" error and here is the scenario:-
I have a database link that connects another database, a package brings in data from remote database, a job is scheduled via dbms_job to run the package. I received this below error when the listener or database at the remote location (where the database link connects) becomes unavailable:-
Errors in file d:\oracle\admin\<sid>\udump\<sid>j0002536.trc:
ORA-12012: error on auto execute of job 1
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-02068: following severe error from <db_link>
ORA-03113: end-of-file on communication channel
ORA-06512: at "pkg.proc", line 4
ORA-06512: at line 1You might get this error at different scenarios, like database startup or due to network failure or firewall etc.,
Did you get it during startup or while running or in the alert.log? There should be more ORA- errors associated with it, which will help in identifying the cause of ORA-03113 error. -
ORA-03113 with pool and stored proc
We are experiencing a strange error when calling a stored procedure using a
connection pool (WLS 5.1 SP10, Oracle 8). Everything works fine until the
stored procedure raises a user-defined exception. When the connection is
used again, we get the 03113 error. It appears that the connection is OK
due to the testConnsOnReserve not returning an error, but on the next stored
procedure call, the error happens. The database guys have no answers. Does
anyone have a clue?
Here is an ouput log showing what happens (this was done with a pool with
only one connection):
Got the exception for no BPI Record
getConnection returning
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Executing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4, :5, :6,
:7, :8); end;
SQLException: SQLState() vendor code(20003)
java.sql.SQLException: ORA-20003: Error at step- Select..,procedure
p_getBPITrckIdForDataTblPk No BPI Record Found...
ORA-01403: no data found
ORA-06512: at "CIFPROC.PKG_UTIL", line 381
ORA-06512: at "CIFPROC.PKG_BPI", line 901
ORA-06512: at line 1
at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
at weblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java,
Compiled Code)
at weblogic.jdbcbase.oci.Statement.execute(Statement.java, Compiled
Code)
at
weblogic.jdbc.pool.PreparedStatement.execute(PreparedStatement.java,
Compiled Code)
at com.juniper.core.comm.JDBCProcHelper.execute(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProcess
.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Release test worked!
Parsing: select count(*) from dual
Executing: select count(*) from dual
Obtain the connection again
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Reserve test worked!
Parsing: select count(*) from dual
Executing: select count(*) from dual
getConnection returning
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Calling stored proc and get comm error
Executing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4, :5, :6,
:7, :8); end;
SQLException: SQLState() vendor code(3113)
java.sql.SQLException: ORA-03113: end-of-file on communication channel
at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
at weblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java,
Compiled Code)
at weblogic.jdbcbase.oci.Statement.execute(Statement.java, Compiled
Code)
at
weblogic.jdbc.pool.PreparedStatement.execute(PreparedStatement.java,
Compiled Code)
at com.juniper.core.comm.JDBCProcHelper.execute(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProcess
.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Release test fails!
Parsing: select count(*) from dual
SQLException: SQLState() vendor code(3114)
java.sql.SQLException: ORA-03114: not connected to ORACLE
at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
at weblogic.jdbcbase.oci.Statement.execute(Statement.java, Compiled
Code)
at
weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java,
Compiled Code)
at
weblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
at
weblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
at
weblogic.jdbc.common.internal.ConnectionPool.release(ConnectionPool.java,
Compiled Code)
at weblogic.jdbcbase.pool.Connection.close(Connection.java, Compiled
Code)
at
com.juniper.core.comm.JDBCProcHelper.closeConnection(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.closeConnection(BusinessProcess.ja
va, Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProcess
.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Regenerating connection
DriverManager.getDriver("jdbc20:weblogic:oracle:DCIF")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
trying
driver[className=weblogic.jdbc20.oci.Driver,weblogic.jdbc20.oci.Driver@d63d1
fcf]
getDriver returning
driver[className=weblogic.jdbc20.oci.Driver,weblogic.jdbc20.oci.Driver@d63d1
fcf]
weblogic.jdbcbase.oci.Driver checking: jdbc20:weblogic:oracle:DCIF
Connecting to database using: bmgr/********@DCIF at 0
SQLException: SQLState() vendor code(1012)
java.sql.SQLException: ORA-01012: not logged on - (bmgr/********@DCIF)
at
weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connection
EnvFactory.java:153)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.refreshResource(Connectio
nEnvFactory.java:207)
at
weblogic.jdbc.common.internal.ConnectionEnv.refresh(ConnectionEnv.java:677)
at
weblogic.common.internal.ResourceAllocator.resetThisOne(ResourceAllocator.ja
va, Compiled Code)
at
weblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
at
weblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
at
weblogic.jdbc.common.internal.ConnectionPool.release(ConnectionPool.java,
Compiled Code)
at weblogic.jdbcbase.pool.Connection.close(Connection.java, Compiled
Code)
at
com.juniper.core.comm.JDBCProcHelper.closeConnection(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.closeConnection(BusinessProcess.ja
va, Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProcess
.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
weblogic.jdbcbase.oci.Driver checking: jdbc20:weblogic:oracle:DCIF
Connecting to database using: bmgr/********@DCIF at 0
Connected to database at: 160
Parsing: select length(SYSDATE) from dual
Executing: select length(SYSDATE) from dual
Parsing: select VALUE from V$NLS_PARAMETERS where
PARAMETER='NLS_NUMERIC_CHARACTERS'
Executing: select VALUE from V$NLS_PARAMETERS where
PARAMETER='NLS_NUMERIC_CHARACTERS'
Done logging in at: 170
Connection: using OCI API: OCI8
Done with connection regen
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Parsing: select count(*) from dual
Executing: select count(*) from dual
getConnection returning
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Parsing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4, :5, :6,
:7, :8); end;
Executing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4, :5, :6,
:7, :8); end;
Parsing: select count(*) from dual
Executing: select count(*) from dual
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Parsing: select count(*) from dual
Executing: select count(*) from dual
getConnection returning
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Parsing: begin pkg_BPI.p_getBPIStates(:1, :2); end;
Executing: begin pkg_BPI.p_getBPIStates(:1, :2); end;
Parsing: select count(*) from dual
Executing: select count(*) from dual
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11fc
7]
Parsing: select count(*) from dualWell, this seems to do the trick. We'll keep testing, but the errors have
now disappeared for all instances of this problem.
Thanks for the help!
JDB
"John Bauer" <[email protected]> wrote in message
news:[email protected]...
We'll try this, but it seems to be connection-oriented. If we have a pool
of 5 connections, and an exception happens, only that connection seems tobe
affected. The other connections in the pool work fine, and the proc works
for those connections.
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
Hi.
The issue is likely related to our caching of PreparedStatements
for performance. If some DBMS failure occurs which could invalidate
a PreparedStatement/cursor such that it could never be re-used,
even after clearParameters) are called etc, then this case might
occur. Please take the attached jar file, and add it to the
weblogic.classpath ahead of the standard weblogic stuff, by
editing your startWebLogic script. This will turn off caching, and
should make the problem go away. Let me know...
Joe
John Bauer wrote:
Here is our configuration.
weblogic.jdbc.connectionPool.CifPool=\
url=jdbc20:weblogic:oracle:QCIF,\
driver=weblogic.jdbc20.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=5,\
maxCapacity=20,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=30,\
testTable=dual,\
testConnsOnRelease=true,\
props=user=BMGR;password=djr0t$
We are using OCI 8.1.6
"Maria Salzberger" <[email protected]> wrote in message
news:[email protected]...
Hi John,
I have researched about this - but could not find a known issue
which
may
be
related to this.
Which JDBC driver are you using?
Kind Regards
Maria Salzberger
Developer Relations Engineer
BEA Customer Support
John Bauer schrieb in Nachricht <[email protected]>...
We are experiencing a strange error when calling a stored procedure
using
a
connection pool (WLS 5.1 SP10, Oracle 8). Everything works fine
until
the
stored procedure raises a user-defined exception. When the
connection is
used again, we get the 03113 error. It appears that the connectionis OK
due to the testConnsOnReserve not returning an error, but on the
next
stored
procedure call, the error happens. The database guys have no
answers.
Does
anyone have a clue?
Here is an ouput log showing what happens (this was done with a
pool
with
only one connection):
Got the exception for no BPI Record
getConnection returningdriver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Executing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4,
:5,
:6,
:7, :8); end;
SQLException: SQLState() vendor code(20003)
java.sql.SQLException: ORA-20003: Error at step- Select..,procedure
p_getBPITrckIdForDataTblPk No BPI Record Found...
ORA-01403: no data found
ORA-06512: at "CIFPROC.PKG_UTIL", line 381
ORA-06512: at "CIFPROC.PKG_BPI", line 901
ORA-06512: at line 1
at
weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
atweblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java,
Compiled Code)
at weblogic.jdbcbase.oci.Statement.execute(Statement.java,Compiled
Code)
at
weblogic.jdbc.pool.PreparedStatement.execute(PreparedStatement.java,
Compiled Code)
atcom.juniper.core.comm.JDBCProcHelper.execute(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.
j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProces
s
.java, Compiled Code)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:865)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.jav
a
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContex
t
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
atweblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
Release test worked!
Parsing: select count(*) from dual
Executing: select count(*) from dual
Obtain the connection again
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
tryingdriver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Reserve test worked!
Parsing: select count(*) from dual
Executing: select count(*) from dual
getConnection returning
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Calling stored proc and get comm error
Executing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4,
:5,
:6,
:7, :8); end;
SQLException: SQLState() vendor code(3113)
java.sql.SQLException: ORA-03113: end-of-file on communication
channel
atweblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
atweblogic.jdbcbase.oci.Statement.executeUpdate(Statement.java,
Compiled Code)
at weblogic.jdbcbase.oci.Statement.execute(Statement.java,Compiled
Code)
at
weblogic.jdbc.pool.PreparedStatement.execute(PreparedStatement.java,
Compiled Code)
atcom.juniper.core.comm.JDBCProcHelper.execute(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.
j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProces
s
.java, Compiled Code)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:865)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.jav
a
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContex
t
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
atweblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
Release test fails!
Parsing: select count(*) from dual
SQLException: SQLState() vendor code(3114)
java.sql.SQLException: ORA-03114: not connected to ORACLE
atweblogic.db.oci.OciCursor.getCDAException(OciCursor.java:230)
at weblogic.jdbcbase.oci.Statement.execute(Statement.java,Compiled
Code)
at
weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java,
Compiled Code)
atweblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
atweblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
atweblogic.jdbc.common.internal.ConnectionPool.release(ConnectionPool.java,
Compiled Code)
at weblogic.jdbcbase.pool.Connection.close(Connection.java,Compiled
Code)
at
com.juniper.core.comm.JDBCProcHelper.closeConnection(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.closeConnection(BusinessProcess.j
a
va, Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.
j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProces
s
.java, Compiled Code)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:865)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.jav
a
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContex
t
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
atweblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
Regenerating connection
DriverManager.getDriver("jdbc20:weblogic:oracle:DCIF")
tryingdriver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
trying
driver[className=weblogic.jdbc20.oci.Driver,weblogic.jdbc20.oci.Driver@d63d
1
fcf]
getDriver returning
driver[className=weblogic.jdbc20.oci.Driver,weblogic.jdbc20.oci.Driver@d63d
1
fcf]
weblogic.jdbcbase.oci.Driver checking: jdbc20:weblogic:oracle:DCIF
Connecting to database using: bmgr/********@DCIF at 0
SQLException: SQLState() vendor code(1012)
java.sql.SQLException: ORA-01012: not logged on -
(bmgr/********@DCIF)
atweblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connectio
n
EnvFactory.java:153)
at
weblogic.jdbc.common.internal.ConnectionEnvFactory.refreshResource(Connecti
o
nEnvFactory.java:207)
at
weblogic.jdbc.common.internal.ConnectionEnv.refresh(ConnectionEnv.java:677)
atweblogic.common.internal.ResourceAllocator.resetThisOne(ResourceAllocator.j
a
va, Compiled Code)
at
weblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
atweblogic.common.internal.ResourceAllocator.release(ResourceAllocator.java,
Compiled Code)
atweblogic.jdbc.common.internal.ConnectionPool.release(ConnectionPool.java,
Compiled Code)
at weblogic.jdbcbase.pool.Connection.close(Connection.java,Compiled
Code)
at
com.juniper.core.comm.JDBCProcHelper.closeConnection(JDBCProcHelper.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.closeConnection(BusinessProcess.j
a
va, Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.loadByKey(BusinessProcess.java,
Compiled Code)
at
com.juniper.core.tracking.BusinessProcess.findProcessByKey(BusinessProcess.
j
ava, Compiled Code)
at
com.juniper.core.tracking.test.TestBusinessProcess.doGet(TestBusinessProces
s
.java, Compiled Code)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:865)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.jav
a
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextIm
p
l.java:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContex
t
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
atweblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
weblogic.jdbcbase.oci.Driver checking: jdbc20:weblogic:oracle:DCIF
Connecting to database using: bmgr/********@DCIF at 0
Connected to database at: 160
Parsing: select length(SYSDATE) from dual
Executing: select length(SYSDATE) from dual
Parsing: select VALUE from V$NLS_PARAMETERS where
PARAMETER='NLS_NUMERIC_CHARACTERS'
Executing: select VALUE from V$NLS_PARAMETERS where
PARAMETER='NLS_NUMERIC_CHARACTERS'
Done logging in at: 170
Connection: using OCI API: OCI8
Done with connection regen
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
tryingdriver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Parsing: select count(*) from dual
Executing: select count(*) from dual
getConnection returning
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Parsing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4,
:5,
:6,
:7, :8); end;
Executing: begin pkg_BPI.p_getBPITrckIdForDataTblPk(:1, :2, :3, :4,:5,
:6,
:7, :8); end;
Parsing: select count(*) from dual
Executing: select count(*) from dual
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Parsing: select count(*) from dual
Executing: select count(*) from dual
getConnection returning
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Parsing: begin pkg_BPI.p_getBPIStates(:1, :2); end;
Executing: begin pkg_BPI.p_getBPIStates(:1, :2); end;
Parsing: select count(*) from dual
Executing: select count(*) from dual
DriverManager.getConnection("jdbc:weblogic:pool:CifPool")
trying
driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@d6b11f
c
7]
Parsing: select count(*) from dual
B.E.A. is now hiring! (12/14/01) If interested send a resume to
[email protected]
DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco,
CA
E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
SOFTWARE ENGINEER (DBA) Liberty Corner,NJ
SENIOR WEB DEVELOPER San Jose, CA
SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTHCAROLINA San Jose, CA
SR. PRODUCT MANAGER Bellevue, WA
SR. WEB DESIGNER San Jose, CA
Channel Marketing Manager - EMEA Region London, GBR
DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
QUALITY ASSURANCE ENGINEER Redmond, WA
Services Development Manager (Business Development Manager - Services)Paris, FRA; Munich, DEU
SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
E-Marketing Programs Specialist EMEA London, GBR
BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
MANAGER, E-SALES Plano, TX -
Dirty connections from pool? via ORA-03113
hi,
i've a fairly standard 3 tier setup with CMP beans and an Oracle server.
Its WL6.1 SP4 talking to Oracle 9.0.1 using jdriver. As part of a
failover test scenario I do the following;
startup DB & weblogic
run test to create some data via CMP - the test also uses some non bean
code to do direct SQL based on a connection retrieved form the WL pool
(new InitialContext, JNDI lookup etc)
test passes and all is good
shutdown and restart db leaving WL in place
run the test again and code that only uses EJB and CMP sucessfully
writes to the DB, but the app level SQL code that retrieves the
connection form the pool manages to create a conn and a statement but
the executeQuery throws the following;
java.sql.SQLException: ORA-03113: end-of-file on communication channel
at weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:240)
at weblogic.jdbc.oci.Statement.private_parse(Statement.java:826)
at
weblogic.jdbc.oci.Connection.prepareStatement(Connection.java:733)
at
weblogic.jdbc.pool.Connection.prepareStatement(Connection.java:305)
at
weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
at
weblogic.jdbc.rmi.internal.ConnectionImpl_WLSkel.invoke(Unknown Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:306)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:275)
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)
I'm guessing that the socket in the pooled connection is bad due to the
DB restart. The only reason I can see the EJB code working is if the CMP
code traps the error and retries somehow. This feels really bad as that
means the responsibility to manage the connections state is above the
pool level rendering it useless to me.
To recap I dont understand why the EJB/CMP code works and the raw SQL
over a connection retrieved from the pool fails.
Any help much appreicated.
-sManish Vazirani wrote:
Joe,
Thats what i have observed too. However, i had written a test standalone
java client which created global DS & Conn objects in its
init/constructor... and then in an infinite while loop, i was using a
PreparedStatement to execute a "select * from dual" dummy query every 60
seconds using the "cached" global connection object. In between i : a)
Recycled/Bounced the DBMS and b) Invoked the weblogic.Admin CLI command
to explicitly reset the conn pool. And this DID work ! even though the
conn was held by app all along and NOT released back to the pool during the
recycling. I had the test table, test on reserve, and prepared statement
cache settings enabled on the pool. Does this mean that the PS cache was
sorta .. fooling me and it wasnt a fresh DB lookup each time after we
recycled ?I believe the refresh doesn't change the reserved-unreserved status of the
pooled connections, but it should reset the statement cache of the connection.
This is interesting. If the prepared statement you're using was not cached, it
would have been closed, but I'm wondering if your long-running (holds
connections across client-WLS calls) may cause a reference to a defunct
statement to be retained...
Joe
>
>
thanks,
manish
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
Stephen Mc Namara wrote:
hi,
i've a fairly standard 3 tier setup with CMP beans and an Oracle server.
Its WL6.1 SP4 talking to Oracle 9.0.1 using jdriver. As part of a
failover test scenario I do the following;Hi. Is your pool set up to test connections at reserve time? Are theconnections/
statements that failed held by the application during the cycling of theDBMS?
The pool should replace bad connections and their cached preparedstatements
when the connection is tested at reserve time, but the pool will neverintercede
in the condition of a connection while it is in application hands.
Joe
startup DB & weblogic
run test to create some data via CMP - the test also uses some non bean
code to do direct SQL based on a connection retrieved form the WL pool
(new InitialContext, JNDI lookup etc)
test passes and all is good
shutdown and restart db leaving WL in place
run the test again and code that only uses EJB and CMP sucessfully
writes to the DB, but the app level SQL code that retrieves the
connection form the pool manages to create a conn and a statement but
the executeQuery throws the following;
java.sql.SQLException: ORA-03113: end-of-file on communication channel
at
weblogic.db.oci.OciCursor.getCDAException(OciCursor.java:240)
atweblogic.jdbc.oci.Statement.private_parse(Statement.java:826)
at
weblogic.jdbc.oci.Connection.prepareStatement(Connection.java:733)
at
weblogic.jdbc.pool.Connection.prepareStatement(Connection.java:305)
at
weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
va:135)
at
weblogic.jdbc.rmi.internal.ConnectionImpl_WLSkel.invoke(Unknown Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:306)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:275)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
2)
atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
I'm guessing that the socket in the pooled connection is bad due to the
DB restart. The only reason I can see the EJB code working is if the CMP
code traps the error and retries somehow. This feels really bad as that
means the responsibility to manage the connections state is above the
pool level rendering it useless to me.
To recap I dont understand why the EJB/CMP code works and the raw SQL
over a connection retrieved from the pool fails.
Any help much appreicated.
-s -
ORA-03113 end-of-communication channel (Oracle8.1.6, Powerbuilder)
I have an Oracle server 8.1.6 sitting in California.
There's a group in Cleveland accessing our Oracle server (directly to the IP address) through several different applications (Crystal Reports v.8, Powerbuilder application v.7).
Regardless of what they use, they are constantly getting the ORA-03113 error after about 5 minutes of inactivity.
They do not have any problems connecting to Oracle, it's only after some minutes of inactivity.
In california however we never get this ORA-03113 problem (using same Oracle database, same Powerbuilder application etc).
I don't know if this is useful but here's what the database profile in Powerbuilder looks like:
[Database]
DBMS=O84 ORACLE 8.0.4
ServerName=DB_ORACLE
Database=DB_ORACLE
UserID=
DatabasePassword=
LogId=login
LogPassword=passwd
DbParm=
Thanks for any help.
TinaThe ORA-03113 indicates that either the client or the server has taken some action to close an active connection. This most commonly occurs when a query exceeds a time threshold and is cancelled by the ODBC driver. By default, ODBC doesn't impose a statement timeout, but many applications which use ODBC do. From your post, however, I'm not sure this is a plausible explanation for your problem... When you say "5 minutes of inactivity", are you referring to the application being completely idle for 5 minutes or are you referring to the application chugging on a query for 5 minutes and then generating the error?
Depending on how the network is configured, it may be that the Oracle server is erroneously determining that the Cleveland connections have been abandoned. I have no idea what the mechanics of this would be-- I'm just assuming that such a capability must exist, and guessing that it might have problems with connections where there's a high latency or network wierdness. You might try disabling connection pooling for the Oracle ODBC driver (in the ODBC Data Source Administrator). That will force ODBC to create new connections to the database, rather than holding on to old connections for reuse. If it works, there will likely be a performance hit because of this.
Justin -
FULL JOIN Error - (ORA-03113: end-of-file on communication channel)
Hello,
well my following query is running fine, no errors but not showing join records from table B and E.
Query is as following:
SELECT D.EMPLOYEE_ID, F.EMP_NAME,
F.COMPANY_ID, F.COMP_NAME, F.BRANCH_ID, F.BR_NAME,
TO_CHAR(F.BIRTH_DATE,'DD/MM/YYYY') DOB,
((NVL(A.PF_OWN,0) + NVL(A.PF_COMP,0) + NVL(A.PROF_OWN,0) + NVL(A.PROF_COMP,0) + NVL(B.PROF_OWN,0) +
NVL(B.PROF_COMP,0) + NVL(B.TOT_PF_OWN,0) + NVL(B.TOT_PF_COMP,0) +
NVL(D.SAL_PF_OWN,0) + NVL(D.SAL_PF_COMP,0) -
(NVL(E.REV_PF_OWN,0) + NVL(E.REV_PF_COMP,0) + NVL(C.WD_PF_OWN,0) + NVL(C.WD_PF_COMP,0) +
NVL(C.WD_PROF_OWN,0) + NVL(C.WD_PROF_COMP,0)))) PF_BALANCE
FROM
(SELECT EMPLOYEE_ID, SUM(PF_OWN) SAL_PF_OWN, SUM(PF_COMP) SAL_PF_COMP
FROM EMPLOYEE.EMP_SAL_DETAILS
WHERE SAL_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')
AND SAL_DATE <= '01-DEC-06'
GROUP BY EMPLOYEE_ID) D
LEFT JOIN
(SELECT EMPLOYEE_ID, PF_OWN, PF_COMP, PROF_OWN, PROF_COMP
FROM EMPLOYEE.EMP_PF_OPBALS
WHERE AS_ON_DATE IN (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')) A
ON (D.EMPLOYEE_ID = A.EMPLOYEE_ID)
LEFT JOIN
(SELECT EMPLOYEE_ID, SUM(TOT_PF_OWN) TOT_PF_OWN, SUM(TOT_PF_COMP) TOT_PF_COMP, SUM(PROF_OWN) PROF_OWN, SUM(PROF_COMP) PROF_COMP
FROM EMPLOYEE.EMP_PF_PROF_DETAILS WHERE END_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')
GROUP BY EMPLOYEE_ID) B
ON (D.EMPLOYEE_ID = B.EMPLOYEE_ID)
LEFT JOIN
(SELECT EMPLOYEE_ID, SUM(PF_OWN) WD_PF_OWN, SUM(PF_COMP) WD_PF_COMP, SUM(PROF_OWN) WD_PROF_OWN, SUM(PROF_COMP) WD_PROF_COMP
FROM EMPLOYEE.EMP_PF_WITHDRAWALS WHERE PF_WDRAW_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE <= '01-DEC-06')
GROUP BY EMPLOYEE_ID) C
ON (D.EMPLOYEE_ID = C.EMPLOYEE_ID)
LEFT JOIN
(SELECT EMPLOYEE_ID, SUM(PF_OWN) REV_PF_OWN, SUM(PF_COMP) REV_PF_COMP
FROM EMPLOYEE.EMP_SAL_REVERSALS
WHERE SAL_DATE >= (SELECT MAX(AS_ON_DATE) FROM EMPLOYEE.EMP_PF_OPBALS WHERE AS_ON_DATE >= '01-DEC-06')
AND SAL_DATE <= '01-DEC-06'
GROUP BY EMPLOYEE_ID) E
ON (D.EMPLOYEE_ID = E.EMPLOYEE_ID)
LEFT JOIN
(SELECT EMPLOYEE_ID, COMPANY_ID, COMP_NAME, BRANCH_ID, BR_NAME, EMP_NAME, BIRTH_DATE, CONF_DATE FROM V_SEL_SYS_EMP) F
ON (D.EMPLOYEE_ID = F.EMPLOYEE_ID)
ORDER BY D.EMPLOYEE_ID
And when i try to full join my tables and replace LEFT JOIN with FULL OUTER JOIN following errors accurs:
(ORA-03113: end-of-file on communication channel) and oracle gets disconnect.
Query will only show records its tables are FULL JOINED.
Please help what is the solution. Its very urgent also.
I am thankful to you.
Regards,
Imran> And when i try to full join my tables and replace LEFT JOIN with FULL OUTER
JOIN following errors accurs:
(ORA-03113: end-of-file on communication channel) and oracle gets disconnect.
This is not an error, but a symptom of an error. An ORA-03113 results when the Oracle Server Process that services your client, terminates abnormally. When that server process terminates, the connection (TCP socket) to your client is torn down - without your client knowing about it.
The ORA-03113 is generated by your client's Oracle driver when your client suddenly discovers that the connection to the Oracle Server Process is no longer there.
So why does the Server Process terminate abnormally? Usually due to an internal error (an ORA-600 and/or an ORA-7445).
These errors results in:
- error messages to be generated in the Oracle instance's alert log
- a trace file generated by the server process that includes stack and memory dumps
You need to determine what these errors are, and the use the ORA-600/ORA-7445 Troubleshooter (Metalink Note 153788.1) on [url http://metalink.oracle.com]Metalink to troubleshoot the error, determine whether it is a bug, if there is a patch or a workaround available, etc.
> Please help what is the solution. Its very urgent also.
I do not mind helping out where I can. But I do have a problem with people claiming there problem is urgent, and deserves quicker/better attention that other peoples' problems around here,
If your problem is urgent then you are in the wrong place. I do not get paid to solve urgent problems quickly. I and others, spend our free time providing assistance. You cannot demand any kind of urgent attention from any of us.
If you like urgent and special attention, use Oracle Support. -
Error ORA-03113: end-of-file on communication channel in droppping a table
Good evening,
I am very new on Oracle and I have a problem with some tables. Without any reason, apparently, I can't drop some of my table. Oracle gives me this error:
ORA-03113: end-of-file on communication channel
and then close the connection of the user.
What I should have to do?
It is very important.
Thanks a lot
best regards
Anna ZanettiGood morning, I still have the same problem, I can't drop a table from my database.
The message is again:
Re: Error ORA-03113: end-of-file on communication channel
The alert log file says:
Fri Nov 17 12:27:31 2006
Errors in file /usr/oracle/admin/oracledb/udump/oracledb_ora_4369.trc:
ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
and in file oracledb_ora_4369.trc there is:
Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0x955c61f, 0955C61F]
Registers:
%eax: 0x00000000 %ebx: 0x00012d95 %ecx: 0x58301930
%edx: 0x00000000 %edi: 0x5830d9e8 %esi: 0x00000000
%esp: 0xbfffae1c %ebp: 0xbfffb060 %eip: 0x0955c61f
%efl: 0x00210282
(0x955c61f) movzw 0xc(%eax),%eax(0x955c623) cmp $30,%eax
(0x955c626) jle 0x955c63e
(0x955c628) xor %edx,%edx
(0x955c62a) push %edx
*** 2006-11-17 12:27:31.658
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
Current SQL statement for this session:
drop table fiumiforjoin
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
08856247 call 0885776A 1 ? 0 ? 1 ? 1 ? 0 ? 0 ?
08290320 call 0885605A 3 ? 0 ? 0 ? 0 ? 0 ? 0 ?
0955C61F signal 08290320 B ? BFFFAAB0 ? BFFFAB30 ?
0955D6BE call 0955C61F 5830F01C ? 0 ? FFFFFFFF ? 0 ?
1 ? 5830F01C ?
08DD1EEB call 0955CC22 BFFFB394 ? 0 ? 0 ? BFFFB348 ?
58EAB2B0 ? C ?
09434EF3 call 08DD1A28 BF2A8C4 ? BFFFC0C0 ?
BFFFC0C0 ? 4 ? B6AB0300 ?
B6ABC2E0 ?
094106E0 call 094326D4 4 ? 0 ? BFFFC0C0 ?
093D7BB5 call 0940FEF8 3 ? E ? BFFFC1F8 ? A4 ?
093D630C call 093D7AC4 BFFFCDF0 ? BFFFCD08 ? 17 ?
1 ? 0 ? A4 ?
08293DE6 call 0850FFFF 5E ? 14 ? BFFFCDEC ?
0A1ED44D call 08293DE6 5E ? 14 ? BFFFCDEC ? 0 ?
08292122 call 0A1ECAE4 BF2A8C0 ? 5E ? BFFFCDEC ? 0 ?
BFFFD6E8 ? BFFFD6E4 ?
0941F190 call 0829193C 0 ? 0 ? BF2A8C0 ? BF83090 ?
F1 ? 0 ?
08293DE6 call 0850FFFF 3C ? 4 ? BFFFEB08 ?
08291238 call 082937A8 3C ? 4 ? BFFFEB08 ? 0 ?
0828F403 call 08291012 3C ? 4 ? BFFFEB08 ?
08274A3D call 0828F39C BFFFEAEC ? 3C ? 4 ?
BFFFEB08 ? B6CC017C ?
B6C1A17C ?
__libc_start_main() call 08274A3D 2 ? BFFFEBA4 ? BFFFEBB0 ? 0 ?
+218 B6C1C898 ? B7600020 ?
Any idea of what I have to do?
Thanks for your help..
Best Regards
Anna Zanetti -
Asking help Urgently..
We need to create a DB link from 7.3 to 10g. After initial problems, the DB link is finally established and we can query and do DML on the 10g DB from 7.3. using SQLPLUS.
Now the problem: We want to create triggers on tables in 7.3 DB to insert the same rows in 10g DB using the DB Link. The moment we create the trigger the connection is dropped with the error: ORA-03113: end-of-file on communication channel. We tried to write the insert statement inside a procedure/function but still the same problem.
Please help as we are desperate to find a solution for the said problem. The objective is to be able to insert a row in 10g (DB Linked) Database based on a trigger fired in 7.3 Database (Reference DB). Any help will be appreciated.
Thanks and regards.
Rajeev.I know that 7.x to 10g is not supported officially and should not be used in production environment.
But in our case, we need it for a short duration (duration of Parallel run) and my query is that, if I am able to do inserts from the SQLPLUS using the said DB Link, then why this cannot be done thru a procedure or a trigger.
if anyone has an explanation or workaround, it will be great.
Rajeev.
Maybe you are looking for
-
Illustrator CS5.1 won't open on iMac running Lion
Hello, I have an iMac I bought this year running Lion, and just installed Adobe CS5.5 Production Premium. All the applications will open except for Illustrator, which gives me the error message: "You can't open the application Adobe Illustrator CS
-
Hi , I am using JSTL to connect to MYSQL DB , but it fails , any one could help , according to documentation I wrote the following tag (I am not sure about the value of the attribute "url" ): <ui:panelGroup binding="#{Main.groupPanel1}" id="groupPane
-
Pc issues files need to be back up
i have a pavillion g6 1d80nr cp notebook product no. B4U19UA#ABA WINDOW 7 64-bit low disk space say need to back up disk but unable to do so because of the disk size in disk e
-
Can we reprocess the already completed work flow
Hi Work flow experts, I am having an issue with custom work flow which is for Employee Issue Tracker. Work Flow in brief When an employee raises an issue through portal, in back end a Ztable record with some Request Number will be created and will st
-
Upgraded libx*** and now i cant start firefox [Solved]
Well i did a pacman -Syu , noticed lots of x libs upgrading and then rebooted , now i cant start firefox , this is the terminal output The program 'firefox-bin' received an X Window System error. This probably reflects a bug in the program. The error