Fail:ORA-01003: no statement parsed
Hi
I am using Oracle 10g.
Insert statement raises exception sometimes:" ORA-01003:no statement parsed. "
I tested it several times, it works well,and chedk the log data too.
Everything is looks just OK, but sometimes it happend.
I don't know why?
Can somebody help please?
People might consider seeing your insert statement and the table structure where you want to insert.
http://ora-01003.ora-code.com/
Similar Messages
-
RE: Getting ORA-01003: no statement parsed error
Hi,
It looks familiar to some of the error which I encountered before. The
situation was a for ... select loop without explicit begin/end transaction.
The reason given by Forte consultant is that:
The dbsession used by the for ... select loop needed to be locked by a
begin/end transaction otherwise, there may be chances that the dbsession is
being acquired by some other sql that unknowingly corrupted the cursor
implicitly built for that for ... select loop.
Hopes this help.
Regards,
Peter Sham.
-----Original Message-----
From: Robinson, Richard [SMTP:[email protected]]
Sent: Friday, April 16, 1999 12:12 AM
To: '[email protected]'
Subject: Getting ORA-01003: no statement parsed error
Any clues? We're getting the following error on a server side
object that
interfaces to Oracle:
SYSTEM ERROR: Select failed for SQL statement in project xxxx, class
yyy,
method ...
error from database is: ORA-01003:no statement parsed
Class: qqdb_ResourceException
Detected at: qqdb_OracleVendorInfo::DoOexfet
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Somebody asked nearly the same question Re: EMERGENCY! pl/sql syntax error!!!
-
ORA-01003: no statement parsed
Hi,
There is a set of 9 procedure that runs for every 1 hour. Most of these procedures references remote databases via dblink. Most of the times everything runs fine without error. But occasionally one procedure fails with the error "1003 -ERROR- ORA-01003: no statement parsed". This doesnot occur always but doesnot seems to be following any pattern on its failure which puts us in hard time to find the problem.
Any suggestions at earliest are highly appreciable.
ThanksThere are 9 procedures that ran in this cron job. Almost all the procedures have got db link connection to the remote database and most of the time we get this error only specific to 3 procedures. So my guess is that the communication is fine. LDAP is been used for connection.
-
Error:ORA-01003: no statement parsed
Hi,
While clicking on details button of customized form it's give below error:
1)Error:
ORA-01003: no statement parsed
Details..:
ORA-01003: no statement parsed
FRM-407535: ON-UPDATE trigger raised unhandled exception ORA-04098
FND_FORMS_ERROR_MSG(ERRNO=4098) (REASON=ORA-01003: no statement parsed)
2)Error:
APP-FND-01388: Cannot read value for profile option
FND_LOOK_AND_FEEL in routine & ROUTINE..
Details..
Message History
APP-FND-01388: Cannot read value for profile option FND_LOOK_AND_FEEL in routine &ROUTINE.
APP-FND-01388: Cannot read value for profile option FND_COLOR_SCHEME in routine &ROUTINE.
APP-FND-01388: Cannot read value for profile option FND_INDICATOR_COLORS in routine &ROUTINE.
ORA-01003: no statement parsed
Please help me how to sort out the problem.
Thanks
Regards
GSMWas this working before? If yes, any changes have been done recently?
Did you compile the form successfully at the client side before uploading it to the server?
Did you use the TEMPLATE.fmb file to create this custom form?
Not sure what is the code you are using in that form, so posting it may help -- OERR: ORA 1003 no statement parsed [ID 18594.1]
Thanks,
Hussein -
ORA-01003: no statement parsed (APEX 3.1)
I am adding one report to already created application with SYS used as Parsing Schema, but getting error ORA-01003: no statement parsed.
However with older HTMLDB version it is working fine. Does anybody knows how to deal with this problem,
Thanks and Regards
Lalit VermaHello Scott,
Following are the steps i did, please check and advise me what i am doing wrong !
DB Version=10.2.0.1.0, APEX VERSION=Application Express 3.1.0.00.32
(1) Wokspace Monitor is created with monitor as default schema
(2) Schema SYS and SYSTEM were associated with Monitor workspace by using Workspace to Schema Assignments.
(3) Aftter logging to workspace monitor as ADMIN, i started Application Builder to create new application from scratch, using monitor schema , and added a blank page into the application. Rest i chose defaults.
(4) Then i went to Shared Components => Applicaiton => Definition.
In the "Parsing Schema" selection box i chose SYS and applied changes.
(5) Now i logged out and login to the workspace monitor as ADMIN again. I started Applicaiton Builder => Create Page => Report => SQL Report => Defaults Selected => Defaults Selected => select * from v$instance
After i put the sql query and click next , it is throwing me error "Query cannot be parsed, please check the syntax of your query. ()"
In the sql workshop if i try to run it , gave me error "ORA-01003: no statement parsed"
I am using SYS as Parsing Schema , still it is giving me this error.
However in older HTML DB version which is 10gHTMLDB 1.6.1.00.03
DB Version=11g , which is working fine if i carry out above tasks.
Sorry for not being short, but i did'nt wanted to skip any information. Thanks again for responding back !!
Lalit Verma -
ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement
Hi ,
we pass Query to ref cursor using with clause and it works fine on oracle Sql but raise an error when called from
ADO.net
for example
create or replace package body abc_details
as
proedure initial (p_refcursor out sys_refcursor)
is
begin
v_sql='with a as (select ..
, b as (select * from table(emppkg.empdetails))
open p_refcursor for v_sql;
end;
with oracle 10g it works fine on Sql prompt and fetches the results but when called from ado.net it
intermitantly fetches and error "ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement "
Please suggest
Thanks in advance.wild guess here,
but emppkg.empdetails type look's like a pl/sql type,
while it should be a sql type.
Amiel -
Exc– ORA-00604: error occurred at recursive SQL level 1 ORA-01003;No Stat P
I am getting above mentioned error when calling the below procedure. Please guide me
procedure xyz(P_ROTATION_NO ,
P_VESL_NO ,
P_VESL_NAME ,
P_CM_REGN_NO ,
P_FINAL_CLOSE_STA ,
P_FROM_REG_DATE ,
P_TO_REG_DATE ,
P_FROM_ARRIVAL_DATE,
P_TO_ARRIVAL_DATE,
P_RESULT_LIST OUT SYS_REFCURSOR,
P_TOTAL_LENGTH OUT NUMBER,
P_ERROR_MESSAGE OUT VARCHAR2) AS
lv_sql1 VARCHAR2(5000);
lv_sql2 VARCHAR2(5000);
lv_whereClause VARCHAR2(5000);
BEGIN
pv_text := NULL;
lv_whereClause := ' WHERE GVM.VESL_MASTER_NUM =GVR.VESL_MASTER_NUM '||
' AND GVR.ROTATION_NO(+) = GVCH.ROTATION_NO '||
' AND GVCH.ROTATION_NO LIKE NVL(''%''||:P_ROTATION_NO|| ''%'' '||
' ,GVCH.ROTATION_NO '||
' ) '||
' AND GVR.CM_REGN_NO LIKE NVL(''%''||:P_CM_REGN_NO|| ''%'' '||
' ,GVR.CM_REGN_NO '||
' ) '||
' AND GVM.VESL_NAME LIKE NVL(''%''||:P_VESL_NAME|| ''%'' '||
' ,GVM.VESL_NAME '||
' ) '||
' AND GVM.VESL_NO LIKE NVL(''%''||:P_VESL_NO|| ''%'' '||
' ,GVM.VESL_NO '||
' ) '||
' AND GVCH.FINAL_CLOSE_STA LIKE NVL(''%''||:P_FINAL_CLOSE_STA|| ''%'' '||
' ,GVCH.FINAL_CLOSE_STA '||
' ) '||
' AND TO_CHAR(GVCH.CREATED_DATE, ''DD/MM/YYYY'') >= '||
' NVL(TO_CHAR(:P_FROM_REG_DATE, ''DD/MM/YYYY'') '||
' ,GVCH.CREATED_DATE '||
' ) '||
' AND TO_CHAR(GVCH.CREATED_DATE, ''DD/MM/YYYY'') <= '||
' NVL(TO_CHAR(:P_TO_REG_DATE, ''DD/MM/YYYY'') '||
' ,GVCH.CREATED_DATE '||
' ) '||
' AND TO_CHAR(GVR.ARRIVAL_DATE, ''DD/MM/YYYY'') <= '||
' NVL(TO_CHAR(:P_FROM_ARRIVAL_DATE, ''DD/MM/YYYY'') '||
' ,GVR.CREATED_DATE '||
' ) '||
' AND TO_CHAR(GVR.ARRIVAL_DATE, ''DD/MM/YYYY'') <= '||
' NVL(TO_CHAR(:P_TO_ARRIVAL_DATE, ''DD/MM/YYYY'') '||
' ,GVR.CREATED_DATE '||
' ) '||
' AND GVM.IS_VALID = 1 '||
' AND GVCH.IS_VALID = 1 '||
' AND GVR.IS_VLAID = 1';
lv_sql1 := 'SELECT COUNT(gvr.rotation_no)
FROM gch_vsl_close_hdr gvch,
gch_vsl_master gvm,
gch_vsl_regn gvr '|| lv_whereClause;
lv_sql2 := ' SELECT gvch.close_hdr_id,
gvch.rotation_no
gvr.cm_regn_no,
gvm.vesl_no,
gvm.vesl_name,
gvch.final_close_sta,
gvr.arrival_date,
gvch.close_date,
gvr.created_date
FROM gch_vsl_close_hdr gvch,
gch_vsl_master gvm,
gch_vsl_regn gvr '|| lv_whereClause ||' ORDER BY gvch.rotation_no';
EXECUTE IMMEDIATE lv_sql1 INTO P_TOTAL_LENGTH
USING P_ROTATION_NO,P_CM_REGN_NO,P_VESL_NAME,P_VESL_NO,P_FINAL_CLOSE_STA,P_FROM_REG_DATE, P_TO_REG_DATE, P_FROM_ARRIVAL_DATE, P_TO_ARRIVAL_DATE;
OPEN P_RESULT_LIST FOR lv_sql2
USING P_ROTATION_NO,P_CM_REGN_NO,P_VESL_NAME,P_VESL_NO,P_FINAL_CLOSE_STA,P_FROM_REG_DATE, P_TO_REG_DATE, P_FROM_ARRIVAL_DATE, P_TO_ARRIVAL_DATE;
Edited by: YKING on Apr 10, 2012 1:20 PMYKING wrote:
Please tell me without dynamic query, how to simplify the codeHello
Something like this (note this is not tested as I don't have your tables or data)...
create or replace procedure xyz_1(P_ROTATION_NO NUMBER,
P_VESL_NO NUMBER,
P_VESL_NAME VARCHAR2,
P_CM_REGN_NO NUMBER,
P_FINAL_CLOSE_STA VARCHAR2,
P_FROM_REG_DATE DATE,
P_TO_REG_DATE DATE,
P_FROM_ARRIVAL_DATE DATE,
P_TO_ARRIVAL_DATE DATE,
P_RESULT_LIST OUT SYS_REFCURSOR,
P_TOTAL_LENGTH OUT NUMBER,
P_ERROR_MESSAGE OUT VARCHAR2) AS
BEGIN
SELECT COUNT(gvr.rotation_no)
INTO P_TOTAL_LENGTH
FROM gch_vsl_close_hdr gvch, gch_vsl_master gvm, gch_vsl_regn gvr
WHERE gvm.vesl_master_num = gvr.vesl_master_num
AND gvr.rotation_no(+) = gvch.rotation_no
AND gvch.rotation_no LIKE nvl('%' || p_rotation_no || '%', gvch.rotation_no)
AND gvr.cm_regn_no LIKE nvl('%' || p_cm_regn_no || '%', gvr.cm_regn_no)
AND gvm.vesl_name LIKE nvl('%' || p_vesl_name || '%', gvm.vesl_name)
AND gvm.vesl_no LIKE nvl('%' || p_vesl_no || '%', gvm.vesl_no)
AND gvch.final_close_sta LIKE nvl('%' || p_final_close_sta || '%', gvch.final_close_sta)
AND gvch.created_date >= nvl(p_from_reg_date, gvch.created_date)
AND gvch.created_date <= nvl(p_to_reg_date, gvch.created_date)
AND gvr.arrival_date <= nvl(p_from_arrival_date, gvr.created_date)
AND gvr.arrival_date <= nvl(p_to_arrival_date, gvr.created_date)
AND gvm.is_valid = 1
AND gvch.is_valid = 1
AND gvr.is_vlaid = 1;
OPEN P_RESULT_LIST FOR
SELECT gvch.close_hdr_id,
gvch.rotation_no gvr.cm_regn_no,
gvm.vesl_no,
gvm.vesl_name,
gvch.final_close_sta,
gvr.arrival_date,
gvch.close_date,
gvr.created_date
FROM gch_vsl_close_hdr gvch, gch_vsl_master gvm, gch_vsl_regn gvr
WHERE gvm.vesl_master_num = gvr.vesl_master_num
AND gvr.rotation_no(+) = gvch.rotation_no
AND gvch.rotation_no LIKE nvl('%' || p_rotation_no || '%', gvch.rotation_no)
AND gvr.cm_regn_no LIKE nvl('%' || p_cm_regn_no || '%', gvr.cm_regn_no)
AND gvm.vesl_name LIKE nvl('%' || p_vesl_name || '%', gvm.vesl_name)
AND gvm.vesl_no LIKE nvl('%' || p_vesl_no || '%', gvm.vesl_no)
AND gvch.final_close_sta LIKE nvl('%' || p_final_close_sta || '%', gvch.final_close_sta)
AND gvch.created_date >= nvl(p_from_reg_date, gvch.created_date)
AND gvch.created_date <= nvl(p_to_reg_date, gvch.created_date)
AND gvr.arrival_date <= nvl(p_from_arrival_date, gvr.created_date)
AND gvr.arrival_date <= nvl(p_to_arrival_date, gvr.created_date)
AND gvm.is_valid = 1
AND gvch.is_valid = 1
AND gvr.is_vlaid = 1
ORDER BY gvch.rotation_no;
END;Although it would be possibly to send p_total_length back as a column in the query...that way you wouldn't get any read consistency issues between the two statements....
create or replace procedure xyz_1(P_ROTATION_NO NUMBER,
P_VESL_NO NUMBER,
P_VESL_NAME VARCHAR2,
P_CM_REGN_NO NUMBER,
P_FINAL_CLOSE_STA VARCHAR2,
P_FROM_REG_DATE DATE,
P_TO_REG_DATE DATE,
P_FROM_ARRIVAL_DATE DATE,
P_TO_ARRIVAL_DATE DATE,
P_RESULT_LIST OUT SYS_REFCURSOR
) AS
BEGIN
OPEN P_RESULT_LIST FOR
SELECT gvch.close_hdr_id,
gvch.rotation_no gvr.cm_regn_no,
gvm.vesl_no,
gvm.vesl_name,
gvch.final_close_sta,
gvr.arrival_date,
gvch.close_date,
gvr.created_date,
COUNT(gvr.rotation_no) OVER() total_length
FROM gch_vsl_close_hdr gvch, gch_vsl_master gvm, gch_vsl_regn gvr
WHERE gvm.vesl_master_num = gvr.vesl_master_num
AND gvr.rotation_no(+) = gvch.rotation_no
AND gvch.rotation_no LIKE nvl('%' || p_rotation_no || '%', gvch.rotation_no)
AND gvr.cm_regn_no LIKE nvl('%' || p_cm_regn_no || '%', gvr.cm_regn_no)
AND gvm.vesl_name LIKE nvl('%' || p_vesl_name || '%', gvm.vesl_name)
AND gvm.vesl_no LIKE nvl('%' || p_vesl_no || '%', gvm.vesl_no)
AND gvch.final_close_sta LIKE nvl('%' || p_final_close_sta || '%', gvch.final_close_sta)
AND gvch.created_date >= nvl(p_from_reg_date, gvch.created_date)
AND gvch.created_date <= nvl(p_to_reg_date, gvch.created_date)
AND gvr.arrival_date <= nvl(p_from_arrival_date, gvr.created_date)
AND gvr.arrival_date <= nvl(p_to_arrival_date, gvr.created_date)
AND gvm.is_valid = 1
AND gvch.is_valid = 1
AND gvr.is_vlaid = 1
ORDER BY gvch.rotation_no;
END;And there's no need to pass an error message back, just use the exception system to propagate exceptions back to the caller.
HTH
David -
ORA-01003 Error from jbpm/hibernate
We are using the JBoss jbpm workflow solution which uses hibernate as the persistence API. Intermittently we are getting failures when it is trying to insert into the jbpm_log table. Looking at low level jdbc logging it appears to be constructing prepared statements correctly and binding variables. Is it possible for this error to be caused by memory issues on the database server side eg lack of free space in shared pool ?
Extract of server log below:-
DEBUG - 2007-04-02 13:46:05,003 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (closePreparedStatement:470) - closing statement
DEBUG - 2007-04-02 13:46:05,004 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (aggressiveRelease:305) - aggressively releasing JDBC connection
DEBUG - 2007-04-02 13:46:05,005 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (closeConnection:342) - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
DEBUG - 2007-04-02 13:46:05,006 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (logOpenPreparedStatement:311) - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG - 2007-04-02 13:46:05,007 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (openConnection:322) - opening JDBC connection
DEBUG - 2007-04-02 13:46:05,008 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] hibernate.SQL (log:346) - insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, TRANSITION_, SOURCENODE_, DESTINATIONNODE_, CLASS_, ID_) values (?, ?, ?, ?, ?, ?, ?, 'T', ?)
DEBUG - 2007-04-02 13:46:05,010 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (getPreparedStatement:424) - preparing statement
DEBUG - 2007-04-02 13:46:05,011 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] entity.AbstractEntityPersister (dehydrate:1821) - Dehydrating entity: [org.jbpm.graph.log.TransitionLog#1419786]
DEBUG - 2007-04-02 13:46:05,012 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (addToBatch:28) - Adding to batch
DEBUG - 2007-04-02 13:46:05,013 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] entity.AbstractEntityPersister (insert:2034) - Inserting entity: [org.jbpm.graph.log.ActionLog#1419787]
DEBUG - 2007-04-02 13:46:05,014 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (doExecuteBatch:55) - Executing batch size: 1
DEBUG - 2007-04-02 13:46:05,017 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (checkRowCount:85) - success of batch update unknown: 0
DEBUG - 2007-04-02 13:46:05,018 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (logClosePreparedStatement:319) - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG - 2007-04-02 13:46:05,020 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (closePreparedStatement:470) - closing statement
DEBUG - 2007-04-02 13:46:05,021 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (aggressiveRelease:305) - aggressively releasing JDBC connection
DEBUG - 2007-04-02 13:46:05,022 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (closeConnection:342) - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
DEBUG - 2007-04-02 13:46:05,023 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (logOpenPreparedStatement:311) - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG - 2007-04-02 13:46:05,024 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (openConnection:322) - opening JDBC connection
DEBUG - 2007-04-02 13:46:05,025 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] hibernate.SQL (log:346) - insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, EXCEPTION_, ACTION_, CLASS_, ID_) values (?, ?, ?, ?, ?, ?, 'A', ?)
DEBUG - 2007-04-02 13:46:05,026 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (getPreparedStatement:424) - preparing statement
DEBUG - 2007-04-02 13:46:05,027 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] entity.AbstractEntityPersister (dehydrate:1821) - Dehydrating entity: [org.jbpm.graph.log.ActionLog#1419787]
DEBUG - 2007-04-02 13:46:05,028 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (addToBatch:28) - Adding to batch
DEBUG - 2007-04-02 13:46:05,030 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] entity.AbstractEntityPersister (insert:2034) - Inserting entity: [org.jbpm.taskmgmt.log.TaskCreateLog#1419788]
DEBUG - 2007-04-02 13:46:05,031 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (doExecuteBatch:55) - Executing batch size: 1
DEBUG - 2007-04-02 13:46:05,126 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (logClosePreparedStatement:319) - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG - 2007-04-02 13:46:05,127 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.AbstractBatcher (closePreparedStatement:470) - closing statement
DEBUG - 2007-04-02 13:46:05,129 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (aggressiveRelease:305) - aggressively releasing JDBC connection
DEBUG - 2007-04-02 13:46:05,130 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] jdbc.ConnectionManager (closeConnection:342) - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
DEBUG - 2007-04-02 13:46:05,132 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] util.JDBCExceptionReporter (logExceptions:63) - Could not execute JDBC batch update [insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, EXCEPTION_, ACTION_, CLASS_, ID_) values (?, ?, ?, ?, ?, ?, 'A', ?)]
java.sql.BatchUpdateException: ORA-01003: no statement parsed
at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9040)
at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:157)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:91)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:86)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:171)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2048)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2427)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1007)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:354)
at org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:135)
at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161)
at org.jbpm.svc.Services.close(Services.java:211)
at org.jbpm.JbpmContext.close(JbpmContext.java:138)Hi Joe, Thanks for your quick response. I have sent you an email regarding a BEA support case we have raised for this.
Just to add some more info here :-
The failure on the insert into jbpm_log only happens intermittently, 99% are successfully inserted including the exact same insert statement (with different bind variable values).
My thoughts on investigating this are that it could be to do with statement caching as it does appear that the cursor that weblogic has cached a handle to may be invalid in terms of the shared sql is no longer in the oracle shared pool. I would have expected that Oracle would have reparsed the statement and it shouldnt fail but I am not familiar with the detail of weblogic statement caching implementation, only of the oracle jdbc driver level.
Occassionally I have also seem the following Oracle error and dont know whether there is some connection with this.
ORA-01461: can bind a LONG value only for insert into a LONG column -
ORA-01003 when using SQL*Loader
Hi people,
Can anyone shed some light on this.
We have a multitasked dataload operation that is using SQL*Loader and on occasion we're seeing some rows failing due to ORA-01003 no statement parsed. Could this be due to some shortage of a database resource (cursors, connections ??) or are there other well known reasons for this.
Any help appreciated.
Regards
AndyCheck those registers ( rows ) in the bad file or in the discard file. If the register(s) are in the discard file is because the register ( row ) does not complete the requirements of denoted in the controlfile file and if those registers are in the error file is because the database is rejecting them according to constraints and so on.
Conclusion: realize in what file those rows are being stored after to be rejected.
Joel Pérez -
Thanks in advance for your support.
Can anyone have any knowledge about how to generate "ORA-01003: no statement parsed" in PL/SQL environment?
It sounds bit crazy. But, i need to generate this environment for some R&D work. I want to create one situation (not directly raising any error like this) which will generate this error by oracle?
Any idea? Please help.
Regards.Hi,
Did you try googling for 'ORA-01003'? One of the hits was this:
Re: Connection Pool Gets Stuck on ORA-01003
Seems like it should be reproducable by following the steps listed here.
Cheers,
Colin -
Getting an ORA-01003 error importing images using Apex import options
I took an export of the images from my application (would be nice if this was included in the applicatoin export options)
When I try to import, I get the following error
Execution of the statement was unsuccessful. ORA-01003: no statement parsed
begin wwv_flow.g_import_in_progress := true; end;
ORA-01003: no statement parsed
This worked for me on apex.oracle.com.. can't do it on any of my apex instances.
I am able to import applications without a problem
Any suggestions?Anyone have any ideas?
-
ORA-00604:error occurred at recursive SQL level 1ORA-01003:no stmnt parsed
Following PL/SQL block works fine when executed as SQL statement but throws
2147217900:ORA-00604: error occurred at recursive SQL level 1ORA-01003: no statement parsed
error, when called from application (Visual Basic 6.0).
Procedure xyz(pStartDt IN VARCHAR2,pEndDt IN VARCHAR2,pErrorDesc OUT VARCHAR2, pReportData OUT SYS_REFCURSOR) IS
Begin
Open pReportData For
WITH Dataset AS
(SELECT SUBSTR(forename,1,1) FName, trim(surname) SurName, trim(NVL(address_1, address_2)) Addr,
DECODE(UPPER(hacc_num),'999999999',NULL,'N/A', NULL,'NA', NULL, 'NON GIVEN', NULL, 'NOT GIVEN', NULL, 'UNKNOWN', NULL,'NONE GIVEN', NULL,hacc_num) HaccNum,
TRUNC(receipt_date) RcptDate,
UPPER(SUBSTR(forename,1,1)||trim(surname)||trim(NVL(address_1, address_2))) NameAddr,
casenum, customer_title, forename, address_1, address_2, postcode, comp_date
FROM bprit_act_current
WHERE proc_code = 'CF2'
AND receipt_date BETWEEN ADD_MONTHS(TO_DATE(p_dtEnd,'dd/mm/yyyy'), -3)+1
AND TO_DATE(p_dtEnd,'dd/mm/yyyy')
AND ((ForeName IS NOT NULL AND SurName IS NOT NULL AND NVL(address_1, address_2) IS NOT NULL)
OR hacc_num IS NOT NULL)),
RequiredData AS (SELECT *
FROM Dataset
WHERE RcptDate BETWEEN TO_DATE(p_dtStart,'dd/mm/yyyy') AND TO_DATE(p_dtEnd,'dd/mm/yyyy')),
DuplicateData AS (SELECT a.nameaddr, NULL haccnum, COUNT(a.Addr) Cnt
FROM Dataset a, RequiredData b
WHERE (a.NameAddr = b.NameAddr)
GROUP BY a.nameaddr
HAVING COUNT(1) >1
UNION ALL
SELECT NULL nameaddr, a.haccnum, COUNT(1) Cnt
FROM Dataset a, RequiredData b
WHERE (a.haccnum = b.haccnum)
GROUP BY a.haccnum
HAVING COUNT(1) >1)
SELECT DISTINCT a.casenum "Case No.", a.customer_TITLE "Title", a.FORENAME "Forename", a.SURNAME "Surname", a.HACCNUM "Holding/Account No.",
a.ADDRESS_1 "Address Line1", a.ADDRESS_2 "Address Line 2",a.POSTCODE "Post Code", a.RcptDate "Receipt Date", a.comp_date "Complete Date"
FROM Dataset a, DuplicateData b
WHERE (a.nameaddr = b.nameaddr) OR (a.haccnum = b.haccnum)
ORDER BY a.haccnum, a.forename, a.surname, a.address_1, a.address_2;
EXCEPTION
WHEN OTHERS THEN
pErrorDesc := SUBSTR(SQLERRM, 1, 255);
END XYZ;Any help will be appreciated.
Oracle version is 9.2.0.6.0.
SQL commands works fine if executed alone but calling from vb application throw following error,
[12:53:23][ERR]getReportData::-2147217900:ORA-00604: error occurred at recursive SQL level 1ORA-01003: no statement parsed
Edited by: rav_bhu on 05-May-2009 05:30Few points
1. Use {noformat} <put your code here> {noformat} tags to format your code. Its ugly without formatting.
2. Please remove the WHEN OTHERS THEN from your code and run again. Get the full error message with line number and post it here.
3. Mention your database version. -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing
Hi,
I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we are able to generate the POAck for the updated sales order lines. But when i am rejecting one of the PO change lines by checking rejected flag, then order is getting imported successfully(I mean sales order is getting updated successfully) but during the POAck Generation i.e. 865 its raising "*ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00103: Warning: document structure does not match DTD Error at line 1*" at XML Gateway. we are using XML Gateway to process the orders, can somebody help me to get rid of this issue. Thanks in advance.
Thanks,
Sunil ChauhanHi Kishan
Thanks for the reply.
Because this is an outbound transaction so i can not provide you the XML file as we are facing issue to generate the same. Also we are using oracle seeded PO outbound Ack map.
In addition i can provide you the DTD file.
<!-- ==================================================== -->
<!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
%RESOURCES;
<!-- ==================================================== -->
<!ELEMENT ACKNOWLEDGE_PO_008 (CNTROLAREA, DATAAREA+)>
<!ATTLIST VERB
value CDATA #FIXED "ACKNOWLEDGE"
>
<!ATTLIST NOUN
value CDATA #FIXED "PO"
>
<!ATTLIST REVISION
value CDATA #FIXED "008"
>
<!ELEMENT DATAAREA (ACKNOWLEDGE_PO)
>
<!ELEMENT ACKNOWLEDGE_PO (POORDERHDR, POORDERLIN*)
>
<!ELEMENT POORDERHDR ((%DATETIME.DOCUMENT;)?, (%OPERAMT.EXTENDED.T;)?, POID, POTYPE, ACKREQUEST?, CONTRACTB?, CONTRACTS?, DESCRIPTN?, NOTES*, OPRAMTAUTH?, PORELEASE?, TAXWHEXMPT?, USERAREA?, ACKHEADER, ATTCHREF*, CHARGE*, PARTNER*, POTERM*)
>
<!ELEMENT ACKHEADER (SENDER, (%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, ACKCODE, DESCRIPTN?, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POTERM (DESCRIPTN?, TERMID?, ((DAYOFMONTH, PROXMONTH) | DAYSNUM), ((%OPERAMT.EXTENDED.T;) | (%QUANTITY.PERCENT;)), USERAREA?)
>
<!ELEMENT POORDERLIN ((%QUANTITY.ORDERED;), (%DATETIME.NEEDDELV;)?, (%OPERAMT.UNIT.T;)?, POLINENUM, DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?, NOTES*, PACKING?, POLNSTATUS?, TAXWHEXMPT?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?, ACKLINE*, ATTCHREF*, CHARGE*, DISTRIBUTN*, PARTNER*, POTERM*, POSUBLINE*, POLINESCHD*)
>
<!ELEMENT ACKLINE ((%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, (%QUANTITY.ORDERED;)?, ACKCODE, NOTES*, SALESORDID?, USERAREA?)
>
<!ELEMENT POSUBLINE ((%QUANTITY.ITEM;), DRAWING?, ITEMRV?, ITEMRVX?, PSBLINENUM?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?)>
<!ELEMENT POLINESCHD ((%DATETIME.NEEDDELV;), (%QUANTITY.ORDERED;), DESCRIPTN?, PSCLINENUM?, USERAREA?)
>
Thanks,S
--Sunil -
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L
Hi There,
I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
<?xml version="1.0"?>
<ROWSET>
<ROW>
<ID>13</ID>
<TYPE_SEQ>8</TYPE_SEQ>
<TYPE>B749</TYPE>
<TYPE_DESC>B758</_TYPE_DESC>
<EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
<EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
<CREATED_BY>958344</CREATED_BY>
<CREATED_ON>2099-01-01</CREATED_ON>
<UPDATED_BY>172283</UPDATED_BY>
<UPDATED_ON>2099-01-01</UPDATED_ON>
</ROW>
</ROWSET>
It throws the following error.
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
Can any one advice the solution please.
-Sudheer.Hi Sudheer,
This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
Check it with this code:
SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
Check it with:
SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
Rutger -
Friends,
Getting below error when i restart the server.
<Dec 31, 2014 5:33:58 AM EST> <Warning> <Management> <BEA-141274> <Production mode has specified at the command line via the weblogic.ProductionModeEnabled system property. This system property overrides the development mode setting contained in config.xml. However, the console and WLST show the attribute values and defaults that correspond to the development mode specified in config.xml.>
<Dec 31, 2014 5:34:07 AM EST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.AssertionError: java.lang.reflect.InvocationTargetException>
<Dec 31, 2014 5:34:07 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Dec 31, 2014 5:34:07 AM EST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Dec 31, 2014 5:34:07 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
I have changed the jar files path in build.properties file as its required to import new jars as part of Documentum server upgradation. But getting above errors.. Do i have to update Config.xml file or any other file.. Please suggest.You've got a problem with a corrupted config.xml file.
Since you did not make any changes you can copy the config.xml.booted file over the corrupted config.xml.
The other option is to walk though the config.xml file and look for the problem...
Maybe you are looking for
-
Using JNDI to access config file located outsite j2ee app
Hi I'm wanting to store a config file for my J2ee app, somewhere on a tomcat server possibly inside the conf/ directory so that I can update this config file without having to redeploy the j2ee app every time a change is made. I've been told I can us
-
Hi @ll, we`ve the requirement to consume exchange webservice from abap. Does anybody has some experiences with abap and EWS? Thanks in advance. Best regards, Flo
-
Can i use iPhone T-mobile contract free version outside USA with any carrier?
Hello everyone, I am planning to purchase the iPhone 6 via Apple online store, on or after september 19th. I am living in Sri Lanka and obviously we do not have AT&T or any other service providers listed, here. My only option would be to buy the T-mo
-
PDFs run fine inside safari, but when I download them to my mac, they fail to open, and I get an error message saying the files are corrupted, nealry all of the time?
-
OBJECT tag eating bandwidth?
I have an ASP.NET web page that dynamically generates a PDF file, which it then sends to the web browser. This PDF is embedded using the <OBJECT> tag. So far, so good. Page is working and users are happy for the most part. However, users at remote lo