While executing the Procedure Getting Error
Hi I am New to ODI.
I create one new Procedure just to delete the Target table.
delete from <%=snpRef.getTable("L","T_CUSTOMER","D")%>. T_Customer is my target table.Technology:Oracle(Both Source and Target)
I selected the correct Context ,Schema and Technology.
While executing the procedure i am getting following error
java.lang.Exception: Internal error: object ConnectConnection
ColConnectId:null
ColContextCode:DEV
ColConName:null
ColIndCommit:null
ColIsolLevel:null
ColLschemaName:null
ColPlanComp:null
ColTechIntName:null
DefConnectId:null
DefContextCode:DEV
DefConName:null
DefIndCommit:null
DefIsolLevel:null
DefLschemaName:FCS
DefPlanComp:null
DefTechIntName:ORACLE
ExeChannel:J
IndErr:1
IndLogMethod:null
IndLogNb:null
LogLevDet:3
Nno:1
OrdTrt:0
ScenTaskNo:1
SessNo:61001
TaskName1:Procedure
TaskName2:Delete
TaskName3:Delete
TaskType:S
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execSrcOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
Thanks in advance.
i Used the below syntax and checked its working fine.
delete from <%=snpRef.getObjectName("L","T_CUSTOMER","D")%>
Similar Messages
-
Getting ORA-06512/ORA-00972 ERROR WHILE EXECUTING THE PROCEDURE????
Hi ,
while executing this procedure , I am getting follwoing errors:
Create or Replace procedure ADD_CUSTOM_INDEX is
INDX_NOT_EXIST Number;
CREATE_SQL_STATMENT VARCHAR2(1500);
ALTER_SQL_STATMENT VARCHAR2(150);
CURSOR C1 IS select INDEX_NAME,CREATE_DDL FROM W_CUSTOM_TEST, WC_COMPANY_G WHERE W_CUSTOM_TEST.SYS_TENANT_ID = WC_COMPANY_G.BU_ID;
BEGIN
for V_ROW in C1 loop
SELECT COUNT(USER_INDEXES.INDEX_NAME) INTO INDX_NOT_EXIST FROM USER_INDEXES WHERE USER_INDEXES.INDEX_NAME = V_ROW.index_name;
IF INDX_NOT_EXIST = 0 THEN
CREATE_SQL_STATMENT := ''|| '"'|| V_ROW.CREATE_DDL ||'"' ||'PARALLEL NOLOGGING';
EXECUTE IMMEDIATE CREATE_SQL_STATMENT;
ALTER_SQL_STATMENT := 'ALTER INDEX ' ||'"'|| V_ROW.INDEX_NAME ||'"'|| ' NOPARALLEL LOGGING';
EXECUTE IMMEDIATE ALTER_SQL_STATMENT;
END IF;
END LOOP;
END ADD_CUSTOM_INDEX;
ERROR at line 1:
ORA-00972: identifier is too long
ORA-06512: at "LOLAP.ADD_CUSTOM_INDEX", line 13
ORA-06512: at line 1.
sturtuce of W_custom_test table is as below:
CREATE TABLE "LOLAP"."W_CUSTOM_TEST"
("INDEX_NAME" VARCHAR2(30) NOT NULL ENABLE,
"SYS_TENANT_ID" VARCHAR2(15) NOT NULL ENABLE,
"CREATE_DDL" VARCHAR2(1200),
"COMMENTS" VARCHAR2(200),
"STAT_CD" VARCHAR2(30) DEFAULT 'Active' NOT NULL ENABLE,
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
"LAST_UPD" DATE DEFAULT SYSDATE NOT NULL ENABLE
Any Pointer??????Hi
Instead of giving as below, go for the not null constraints.
"STAT_CD" VARCHAR2(30) DEFAULT 'Active' NOT NULL ENABLE,
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
"LAST_UPD" DATE DEFAULT SYSDATE NOT NULL ENABLE
That should help
Regards
Sudheer -
Gettng Error while executing the procedure(oracle 10.2.0.3.0)
Hi all,
I am getting following error While executing the package .
PLS-00103: Encountered the symbol "Truncate" when expecting one of
the following:
* & = - + ; < / > at in is mod remainder not rem return
returning <an exponent (**)> <> or != or ~= >= <= <> and or
like LIKE2_ LIKE4_ LIKEC_ between into using || multiset bulk
member SUBMULTISET_I have written follwing query in the package body.
EXECUTE IMMEDIATE 'TRUNCATE TABLE FORT ';
EXECUTE IMMEDIATE '
INSERT INTO FORT (CID,CODE,DESC,SCODE,SES,T_DT,SDN,LANG)
SELECT
SERVICES.CID CID,
PROFILE.FUCODE CODE,
TO_DATE(SUBSTR(SERVICES.STAT_CHNG,-7,6),'YYMMDD') T_DT,
PHOR.NUM SDN,
C_ALL.cLANGUAGE LANG
FROM
SERVICES .....Please give me the solution for this .
Thank y ou
Edited by: user636482 on Apr 10, 2009 1:08 AMI am getting following errors if I gave " ' " after not null.
LINE/COL ERROR
42/8 PLS-00103: Encountered the symbol "AND" when expecting one of the
following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-identifier>
<a bind variable> << close current delete fetch lock insert
open rollback savepoint set sql execute commit forall merge
pipe
42/56 PLS-00103: Encountered the symbol "A" when expecting one of the
following:
LINE/COL ERROR
) , * & | = - + < / > at in is mod remainder not rem => ..
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
The symbol ", was inserted before "A" to continue.
42/74 PLS-00103: Encountered the symbol "D" when expecting one of the
following:
* & - + ; / at mod remainder rem return returning
<an exponent (**)> and or || multiset
The symbol "* was inserted before "D" to continue.
LINE/COL ERROR
45/6 PLS-00103: Encountered the symbol "COMMIT"
52/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:
end not pragma final instantiable order overriding static
member constructor map
The symbol "static" was substituted for "PROCEDURE" to continue.
85/8 PLS-00103: Encountered the symbol "AND" when expecting one of the
following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
LINE/COL ERROR
<an identifier> <a double-quoted delimited-identifier>
<a bind variable> << close current delete fetch lock insert
open rollback savepoint set sql execute commit forall merge
pipe
85/56 PLS-00103: Encountered the symbol "A" when expecting one of the
following:
) , * & | = - + < / > at in is mod remainder not rem => ..
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
The symbol ", was inserted before "A" to continue.
LINE/COL ERROR
85/74 PLS-00103: Encountered the symbol "D" when expecting one of the
following:
* & - + ; / at mod remainder rem return returning
<an exponent (**)> and or || multiset
The symbol "* was inserted before "D" to continue.
88/8 PLS-00103: Encountered the symbol "COMMIT"
95/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:
end not pragma final instantiable order overriding static
LINE/COL ERROR
member constructor map
The symbol "static" was substituted for "PROCEDURE" to continue.
133/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:
end not pragma final instantiable order overriding static
member constructor map
The symbol "static" was substituted for "PROCEDURE" to continue.
169/3 PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
of the following:with out adding " ' " I am getting the previous error which I mentioned in Previous thread(TRUNCATE)
Thank you -
Strage behaviour while executing the Procedure
Hi All,
In Schema "Dwr_trade" we have one procedure Proc1. There is another schema
" Dwr_trade_user " this schema has execute privilege on Proc1 of "Dwr_trade" schema.
When we are executing the procedure Proc1 from "Dwr_trade" schema as follows
Dwr_trade --- (Procedure is created here)
Begin
Exec procedure Dwr_trade.Proc1
End;
It gives error ,but when we are executing the same procedure after removing the prefix "Dwr_Trade" it is executing successfully.
when we are executing the procedure from "Dwr_trade_user " then also is working fine.We are executing it as follows.
Dwr_trade_user
Begin
Exec procedure Dwr_trade.Proc1
End;
Any pointer why this is giving error in 1st case.
Many Thanks
DikshitBegin
Exec procedure Dwr_trade.Proc1 <----Isnt Syntax prob
End;
SQL> CREATE OR REPLACE PROCEDURE mypro AS
2 BEGIN
3 null;
4 END;
5 .
SQL> /
Procedure created.
SQL> EXECUTE PROCEDURE mypro;
BEGIN PROCEDURE mypro; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00103: Encountered the symbol "PROCEDURE" when expecting one of the following:
begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge
<a single-quoted SQL string> pipe
SQL> EXECUTE PROCEDURE scott.mypro;
BEGIN PROCEDURE scott.mypro; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00103: Encountered the symbol "PROCEDURE" when expecting one of the following:
begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge
<a single-quoted SQL string> pipe
The symbol "PROCEDURE" was ignored.
SQL> EXECUTE mypro;
PL/SQL procedure successfully completed.
SQL> EXECUTE scott.mypro;
PL/SQL procedure successfully completed.Khurram -
Error while executing the procedure
Hi,
I tried the following example it's compiled but while executing giving the errors
create or replace PROCEDURE createRZGSet (
rNm IN VARCHAR2,
rDsc IN VARCHAR2,
rId OUT NUMBER
) IS
cId INTEGER;
BEGIN
cId := 1;
SELECT q_id.NEXTVAL
INTO rId
FROM DUAL;
INSERT INTO t_set (rid,
r_nm,
r_dsc,
o_id,
flag) VALUES (rId,rNm,rDsc,cid,'P');
END;
/The above is compiled ... but while executing
SQL> declare
2 optval number;
3 begin
4 execute createRZGSet('myp','miyapur',optval);
5 dbms_output.put_line('val returned is:'||optval);
6 end;
7 /
execute createRZGSet('myp','miyapur',optval);
ERROR at line 4:
ORA-06550: line 4, column 10:
PLS-00103: Encountered the symbol "CREATERZGSet" when expecting one
of the following:
:= . ( @ % ; immediate
The symbol ":=" was substituted for "CREATERZGSet" to continue.could you please hint me in this error..
thanxThe above is compiled ... but while executing
SQL> declare
2 optval number;
3 begin
4 execute createRZGSet('myp','miyapur',optval);
5 dbms_output.put_line('val returned is:'||optval);
6 end;
7 /remove the execute key word. it belongs to SQL Plus. in pl/sql you can just give the procedure name thats enought.
SQL> declare
2 optval number;
3 begin
4 createRZGSet('myp','miyapur',optval);
5 dbms_output.put_line('val returned is:'||optval);
6 end;
7 / -
While executing the query getting an error u2018Page Not Foundu2019 in the bowser.
Hello,
I opened a Bex Query in Query Analyzer and clicked on the Execute button to execute the query in our portal site. But I am getting an error u2018Page Not Foundu2019 in the bowser.
As I am new to BI,Kindly guide me through the steps.
what all setting needs to be done?
Regards,
RachelHi,
The Path is C:\WINDOWS\system32\drivers\etc\hosts
You need to update "host file" in your server/in your PC. So ask Network people to do it and also you need to change your browser LANsettings.
Eg: 11.11.8.161 BWQ1 BWQ1.***.com
Like above you need to change in your host file.
Thanks
Reddy
Edited by: Surendra Reddy on Nov 27, 2008 8:12 AM -
HI I m getting error while executing the procedure
set serveroutput on;
DECLARE
P_ACCOUNT_NO PT_AGMT_PRICING_ENTITY.CHARGE_ACCOUNT_ID%TYPE ;
P_amount VARCHAR2(50);
p_CreatedBy VARCHAR2(50);
p_Mode VARCHAR2(50);
p_ret_var VARCHAR2(50);
P_ERR_CODE NUMBER;
P_ERR_MESG VARCHAR2(100);
P_ROWS_AFFECTED INTEGER;
V_PRICE VARCHAR2(10);
v_PRICINGENTITYID number;
v_agreement_id number;
BEGIN
-- V_PRICE :=550;
p_amount :=1300;
p_account_no := 1015473;
select price,PRICINGENTITYID,agreement_id into v_price,v_PRICINGENTITYID,v_agreement_id from pt_agmt_pricing_entity
where PRICINGENTITYID=(SELECT MAX(PRICINGENTITYID) FROM PT_AGMT_PRICING_ENTITY WHERE CHARGE_ACCOUNT_ID=p_account_no AND CHARGE_CODE='SC');
if P_amount>=v_price then
update pt_agmt_pricing_entity b set price=p_amount
where PRICINGENTITYID=(SELECT MAX(PRICINGENTITYID) FROM PT_AGMT_PRICING_ENTITY WHERE CHARGE_ACCOUNT_ID=p_account_no AND CHARGE_CODE='SC');
UPDATE PT_AGMT_PKG_SVC_DTLS SET PRICE=p_amount
WHERE AGREEMENT_ID=(SELECT AGREEMENT_ID FROM PT_AGMT_PRICING_ENTITY
WHERE PRICINGENTITYID=(SELECT MAX(PRICINGENTITYID) FROM PT_AGMT_PRICING_ENTITY WHERE CHARGE_ACCOUNT_ID=p_account_no AND CHARGE_CODE='SC')) AND CHARGE_TYPE='R';
commit;
insert into premium_price_change_report values(p_account_no,v_PRICINGENTITYID,sysdate,P_amount,v_price,v_agreement_id);
commit;
else
P_ERR_CODE := -1;
P_ERR_MESG:='You cannot give the amount less than package amount';
END IF;
p_ret_var :=p_account_no;
END
error:>
ORA-06550: line 58, column 0:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
; <an identifier> <a double-quoted delimited-identifier>
The symbol ";" was substituted for "end-of-file" to continue.
Please help me to sort out the issue.Is something wrong with this proc...END
If it's not a typo you missed a semicolon there
END; -
Error while executing the stored procedure through sender JDBC adapter
Hi All,
I am getting below error while executing the stored procedure through sender JDBC adapter.
Database-level error reported by JDBC driver while executing statement 'exec SapgetNextEntity 'SalesOrder''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'. For details, contact your database server vendor.
what is the problem? any idea to anyone...
regards
Rameshhi Dharamveer,
I am not getting below statement for your reply
Try to use Refrence Cursor it will return u reference of resultset.
I mention SP like this
exec SapgetNextEntity 'SalesOrder'
SapgetNextEntity -
> SP Name
SalesOrder----
> Parameter I am passing...
regards
Ramesh -
In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .
Hi Srinath,
The below blog might be useful
http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
regards,
Harish -
While executing the following pl/sql block Iam getting following error
While executing the following pl/sql block
Iam getting following error
ORA-06550: line 5, column 11:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 5, column 11:
PL/SQL: Item ignored
declare
TYPE t_customer_details IS REF CURSOR;
o_customer_details t_customer_details;
v_rec o_customer_details%ROWTYPE;
begin
o_customer_details:=pkg_search.fngetcustdetails( 2727,1000841, NULL,NULL,119105329);
LOOP
FETCH o_customer_details INTO rec ;
EXIT WHEN o_customer_details%NOTFOUND;
DBMS_OUTPUT.PUT_LINE(' print' );
END LOOP;
CLOSE o_customer_details;
end;sorry
declare
TYPE t_customer_details IS REF CURSOR;
o_customer_details t_customer_details;
begin
o_customer_details:= pkg_search.fngetcustdetails( 2727,1000841, NULL,NULL,119105329);
FOR v_rec IN o_customer_details
LOOP
DBMS_OUTPUT.PUT_LINE(' print' );
END LOOP;
END;I changed code,
Can you say , o_customer_details:= pkg_search.fngetcustdetails( 2727,1000841, NULL,NULL,119105329); is it right?
pkg_search.fngetcustdetails return ref cursor?? -
While executing the t-code OMT3R getting error
Hi,
I am a basis consultant, one of my user getting the following error.
while executing the t-code OMT3R, he is getting the error "Do not make any changes (SAP entry)" (Message no. SV117).
His system configuration is :
SAP ECC6.0
SAP_ABA 700 0011 SAPKA70011
SAP_BASIS 700 0011 SAPKB70011
ST-PI 2005_1_700 0002 SAPKITLQI2
PI_BASIS 2005_1_700 0011 SAPKIPYJ7B
SAP_BW 700 0012 SAPKW70012
SAP_AP 700 0008 SAPKNA7008
LCAPPS 2005_700 0001 SAPKIBHD01
(LCAPPS) 2005_700
SAP_APPL 600 0008 SAPKH60008
can anybody tell me the cause of the problem. please give me a solution to the issue.
Thanks
Madhuri.Dear All,
The Issue has resoloved for Referec look in to the SAP_Note- SAP Note 162991
Thanks a lot for your great support on this issue. -
Error while executing the sp ORA-21779: duration not active
Hi there,
am using Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 and facing typical type of error
please find the steps below to reproduce it
in this basically i will pass a comma seperated values and function will return the
piped table witheach seperated values as new record
ex :1,2,3,4
1
2
3
4
Types created:
1) Create Type TPOBJ_Return as Object (tnames varchar2 (2000));
2) Create Type TPObjT_ReturnColl as Table Of TPOBJ_ReturnTable;
Function created:
CREATE OR REPLACE FUNCTION WB_FN_ReturnTable
tNameString IN VARCHAR2
RETURN TPObjT_ReturnColl
PIPELINED
AS
iOptionSel INT;
tOptionSel VARCHAR2 (9);
iLen INT;
tName VARCHAR2 (50);
tTempChar CHAR (1);
ptNameString VARCHAR2(2000);
BEGIN
ptNameString:=tNameString;
iLen := LENGTH(TRIM(ptNameString));
iOptionSel := 1;
tName := '';
WHILE iOptionSel <= iLen
LOOP
tTempChar := SUBSTR(ptNameString, iOptionSel, 1);
IF tTempChar = ',' THEN
IF LENGTH(TRIM(tName)) > 0 THEN
PIPE ROW(TPOBJ_Return(tName));
END IF;
tName := '';
ELSE
tName := tName || tTempChar;
END IF;
iOptionSel := iOptionSel + 1;
END LOOP;
IF LENGTH(TRIM(tName)) > 0 THEN
PIPE ROW(TPOBJ_Return(tName));
END IF;
return;
END;
Table created:
Create Table test (id number(16))
Insert into test values (1)
Please insert from 1 to 10.
Stored procedure created:
Create or replace procedure Sptest
As
Titems Varchar2(255);
pvalue Number(16);
Begin
Titems :='5,4,3';
Select MIN(id) into pvalue from test where id not in
(select tnames from table(WB_FN_ReturnTable(Titems )));
End;
Note:
while executing the sp for the first time am not getting any error
only ,if making a repeated call for execution then am gettings the errors specified below
ORA-21779: duration not active
ORA-03113: end-of-file on communication channel
ORA-03114: not connected to ORACLE
can anyone help me on these issueWhy a pipeline table function? I would not say that a tokeniser function is something that typically should require working in the SQL engine, piping rows. It can be a very straight forward PL/SQL function that returns a collection of strings.
E.g.
SQL> CREATE OR REPLACE function tokenise( line varchar2, separator varchar2 DEFAULT ',' ) return TStrings AUTHID CURRENT_USER is
2 strList TStrings;
3 str varchar2(4000);
4 i integer;
5 l integer;
6
7 procedure AddString( s varchar2 ) is
8 begin
9 strList.Extend(1);
10 strList( strList.Count ) := s;
11 end;
12
13 begin
14 strList := new TStrings();
15
16 str := line;
17 loop
18 l := LENGTH( str );
19 i := INSTR( str, separator );
20
21 if i = 0 then
22 AddString( str );
23 else
24 AddString( SUBSTR( str, 1, i-1 ) );
25 str := SUBSTR( str, i+1 );
26 end if;
27
28 -- if the separator was on the last char of the line, there is
29 -- a trailing null column which we need to add manually
30 if i = l then
31 AddString( null );
32 end if;
33
34 exit when str is NULL;
35 exit when i = 0;
36 end loop;
37
38 return( strList );
39 end;
40 /
Function created.
SQL>
SQL> select * from TABLE(Tokenise('col1,col2,col3,,col5,and so on'));
COLUMN_VALUE
col1
col2
col3
col5
and so on
6 rows selected.
SQL>
PS. The TStrings SQL user type is declared as a table of varchar2(4000). -
Error while executing the CKMLCP (Actual Costing) Transaction
Hi Expert,
I am getting the following Error while executing the CKMLCP (Actual Costing) Transaction through my User ID in system. If we execute the same transaction with other user id then there is no Error. same role is assign to both user. Try to check SU53 screen shot but it show no error
See the below error for referance:-
Internal error in program SAPLCKML_RUN_COCKPIT_ACT
Message no. CKMLRUN004
Diagnosis
An unexpected situation has appeared in program SAPLCKML_RUN_COCKPIT_ACT.
The problem has to do with a program error - the indirect result of a program error or an inconsistency in Customizing.
System Response
Processing had to be terminated.
Procedure
Inform your system administrator
Thanks
DineshHi Shyam,
Thanks Shyam,
I check this note this is not applicable for my system, In mention note Correction delivered in Support Package 600.
but support Package in my system SAP_APPL 603 SAPKH60303,
Is there any other note or solution for 603 SP
Thanks
Dinesh -
Error while executing the report FAGLB03
Hi,
i am getting the below error while executing the report FAGLB03 and double click on the balances to view the report on line item wise.
There is no active info structure for field catalog SAP_FI_DOC_003
Message no. Q6504
Diagnosis
The system wants to access the Archive Information System. It uses the field catalog SAP_FI_DOC_003 to do this. However, there are no active archive information structures for this field catalog.
Procedure
Create an info structure for field catalog SAP_FI_DOC_003 or activate an info structure for this field catalog.
Please could some one help me on this issue.
Thanks & Regards,
VenkatHi,
Please refer the below note.
1361304.
Reg
Madhu M -
Serious system error while executing the query: java.lang.OutOfMemoryError
From ALSB, we are trying to insert records in a table, by calling the ALDSP webservice. It is working fine when the xml (ie., given as input to the ALDSP webservice) is small. But facing the following error when the input xml size is large.
<ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
{ld:ABC/Test}createTest:1
java.lang.OutOfMemoryError: Java heap space
We do not want to increase the heap size. Is there any other way we can solve this problem?In logical dataservice of ALDSP we have created a procedure called createTest, which is used to insert mulitple rows in the table. We have created a webservice for that logical DataService.
Using the ALSB, we are calling the webservice -> createTest Operation and we are passing xml as input to that createTest function.
Input xml:
<ns1:createTest>
<ns1:createTemps>
<ns0:createTemp>
<ns0:field1>1</ns0:field1>
<ns0:field10>test1</ns0:field10>
</ns0:createTemp>
<ns0:createTemp>
<ns0:field1>2</ns0:field1>
<ns0:field10>test2</ns0:field10>
</ns0:createTemp>
</ns1:createTemps>
</ns1:createTest>
each ns0:createTemp represent a row that need to be inserted in the table.
When the number of ns0:createTemp is less ( when the number of rows that need to be inserted is less) then no problem occurs, it is getting inserted properly. But when there are more number of ns0:createTemp then we are getting the following error
<ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
{ld:ABC/Test}createTest:1
java.lang.OutOfMemoryError: Java heap space
Maybe you are looking for
-
Macbook battery life, is there a problem If I keep it plugged almost all the time?
Hello. New Mac user here, so I was wondering if there's a problem if I keep my MBP plugged all the time. Most of the time I'm on my room using my MBP fully charged and I don't disconnect it. Is there a problem with my batter life if I do that? Or it'
-
Aging Report with Customer/Vendor Ref. No. should allow backdate
Aging Reports for Suppliers and Customers. The current printing of the aging reports using Sales Document tab or the Purchase Document tab does not tie with the GL balances when the dates are backdated. It is important that the detail aging report to
-
Saved output sized vs. Actual size
I'm using photoshop cs6 on windows 7. Ok so my image size is about 24x20 and when I save the output of the image is almost half the size. The project has a lot of details so it looks like a big blob shrunken down to half size. I've played around wit
-
Printer doesn't pick up the paper
HP officejet 4610/4620 Serial number [Personal Information Removed] purchased Dec 2, 2013 ,should still be under warranty. Purchased online and delivered to Staples at Walla Walla, WA I took it back to Staples and they told me the rollers weren'
-
WRT54GS - Have to be Reset every 30minutes.
I have the WORST problem with my wireless router....... Was the worst mistake Ive ever made..... Why do you guys make routers that have to be reset every thirty minutes??? So wish I could get my money back. I'm not the only one having these problems