ORA-55567: The _first_spare_parameter value should be at least 43200 based
hi,
i get the following message when i want to start the db.
lmtaix017:orasml 8> sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Apr 18 10:12:20 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL> startup
ORA-55567: The firstspare_parameter value should be at least 43200 based on the current undo retention settings.
SQL> exit
can anyone advise me to sole this problem
thanks
For example, see Oracle Support Articles :
Contention Under Auto-Tuned Undo Retention [ID 742035.1]
Bug 7291739 - Contention with auto-tuned undo retention or high TUNED_UNDORETENTION [ID 7291739.8]
Important Information about "SPARE" Database Parameters [ID 1083413.1]
and there are a few others as well.
So, there must have been an earlier SR logged by that site, Oracle Support would have provided the patch and recommendations for a reason.
Hemant K Chitale
Edited by: Hemant K Chitale on Apr 18, 2011 6:11 PM
Similar Messages
-
How to restrict the duplicate values in lov column of VO based Adv Table
Hi Gurus,
I want to restrict the duplicate values at lov which is a colunm in an Adv Table.
If user enters duplicate values then first it should show an error msg that Duplicate values have been entered.
After the duplicate values have been removed, then the user can save all the values in the table.
My Adv Table is based on a VO.
The link how to restrict the duplicate values at form level
talks about Adv Table based on a EoVO, which doesnot work in my case.
My Approach,
I am iterating through RowSetIterator and committing through PROCEDURE.
I am able to avoid duplicate entry through a function checkRespId. (given below)
Below code is for iterating and committing.
public void saveline(String reqid,String userid)
System.out.println("RequestId/saveline"+reqid);
System.out.println("UserId/saveline"+userid);
OAViewObject vo = (OAViewObject)getRespLineVO1();
RespLineVORowImpl row = null;
int fetchedRowCount = vo.getFetchedRowCount();
RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
if (fetchedRowCount > 0)
deleteIter.setRangeStart(0);
deleteIter.setRangeSize(fetchedRowCount);
for (int i = 0; i < fetchedRowCount; i++)
System.out.println("Inside the for LOOP");
row = (RespLineVORowImpl)deleteIter.getRowAtRangeIndex(i);
String respoidid = row.getAttribute("ResponsibilityId")+"";
String respname = row.getAttribute("ResponsibilityName")+"";
String stdate = row.getAttribute("StartDate")+"";
String enddate = row.getAttribute("EndDate")+"";
String linestatus ="A";
if(userid!=null)
if(!(respoidid.equals("null")) && respoidid!=null)
String checkingrespid=null;
checkingrespid = checkRespId(userid,respoidid);+contains no if not duplicate and yes if its duplicate+
System.out.println("checkingrespid for Resp with ID :"+respoidid+"exists or not "+checkingrespid);
if(checkingrespid.equals("No"))
String message, result = null;
Connection txn = getOADBTransaction().getJdbcConnection();
try
calling PROC ...
catch(Exception e)
message = "Error in Inserting into line" + e;
throw new OAException(message, OAException.ERROR);
else
throw new OAException("You have entered duplicate no. of values", OAException.ERROR);
else
System.out.println("respoidid is null");
break;
deleteIter.closeRowSetIterator();
public String checkRespId(String userid,String respoidid)
String createRow="No";
OAViewObject vo = (OAViewObject)findViewObject("CheckRespVO1");
if (vo != null)
vo.setWhereClauseParams(null);
vo.setWhereClauseParam(0, userid);
vo.setWhereClauseParam(1, respoidid);
vo.executeQuery();
System.out.println("ROW COUNT IS "+vo.getRowCount());
if(vo.getRowCount()>0)
createRow="Yes";
else
createRow="No";
return createRow;
Problem:
I remove the duplicate entries and click on save and get this error.
Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user.
\nAction: Cancel the transaction and re-query the record to get the new data.
Thanks,
SombitHi Anil,
I am trying out your code but stuck in inserting the rows
using your code in URL: http://oracleanil.blogspot.com/2010/09/oaf-passing-table-type-object-to-oracle.html
I am always getting the same exception i.e COde blast in when I run.
My modified code is:
String[] as = null;
Number[] vNumber = null;
Number[] vNumberrespid = null;
Number reqidnumber = null;
reqidnumber = new Number(Integer.parseInt(reqid));
Connection txn = getOADBTransaction().getJdbcConnection();
String mCreateSearchRequestStatement = null;
OAViewObject vo = (OAViewObject)findViewObject("RespLineVO1");
int j = vo.getFetchedRowCount();
try
System.out.println("abouce try");
vo.reset();
if (vo.getFetchedRowCount() > 0)
System.out.println(String.valueOf("Fetched row count ").concat(String.valueOf(vo.getFetchedRowCount())));
int i = 0;
as = new String[j];
vNumber = new Number[j];
vNumberrespid = new Number[j];
while (vo.hasNext())
vo.next();
System.out.println(String.valueOf("Inisde the do while loop").concat(String.valueOf(i)));
vNumber[i] = (reqidnumber);
vNumberrespid = ((Number)vo.getCurrentRow().getAttribute("ResponsibilityId"));
as[i] = String.valueOf(vo.getCurrentRow().getAttribute("ResponsibilityName")).concat(String.valueOf(""));
System.out.println("Request ID "+reqidnumber[i]);//getting null even there is some value selected
System.out.println("ResponsibilityId "+vNumberrespid[i]);//getting null even there is some value selected
System.out.println("Resp Name "+as[i] );//getting null even there is some value selected
i++;
CallableStatement cs = txn.prepareCall("{call XX_PassTableType.XX_PassTableType_prc(:1, :2,:3)}");
ARRAY array = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumber);
ARRAY arraynew = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumberrespid);
ARRAY array1 = new ARRAY(new ArrayDescriptor("APPS.JTF_VARCHAR2_TABLE_100", txn), txn, as);
cs.setArray(1, array);
cs.setArray(2, arraynew);
cs.setArray(3, array1);
cs.registerOutParameter(3, 2003, "JTF_VARCHAR2_TABLE_100");
cs.execute();
ARRAY error = null;
error = (ARRAY)cs.getArray(2);
if ((error != null) && (error.length() > 0))
System.out.println(String.valueOf("Error is ").concat(String.valueOf(error.getArray())));
String[] retError = new String[j];
retError = (String[])error.getArray();
System.out.println(String.valueOf("Error in saving data").concat(String.valueOf(retError[0])));
cs.close();
catch (Exception exception)
throw new OAException("code blast", OAException.ERROR);
Thanks,
Sombit -
Display only first value of the repeated values in ALV report
Hi,
Test Data
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
1000 2000.00 567850.00
1000 2000.00 567850.00
2000 6000.00 767850.00
In this type of ALV Report in which only the First field value of the repeated value should be displayed.
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
2000 6000.00 767850.00
I can display document value as like expected result in SORT ORDER in LAYOUT but the Quantity value,Net value which cannot be done in SORT ORDER in LAYOUT.
Please tell me the suitable solution.For a Sales Order there are two Invoice.
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
234774.00 456.00000 25 456
234774.00 456.00000 35 898
234774.00 456.00000 20 496
901 634774.00 256.00000 50 746
634774.00 256.00000 10 456
634774.00 256.00000 20 545
634774.00 256.00000 30 869
I need to print this billed Qty and Net value only once in first line and it should not be deleted.
I need the result like this
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
25 456
35 898
20 496
5001 901 634774.00 256.00000 50 746
10 456
20 545
30 869
The same value should not be repeated for Billed Qty and Net Value.
I can do that for Sales doc in sort order in layout but i couldn't do for Billed qty and Net Value.
Please help. -
How to check the source value is in between a string range in mapping
Hi Consultants,
I am working on IDOC to File scenario. I need to implement a specific requirement of our client. i.e. something like below;
Vendor number can be any thing like 1AA000000 / 1AA000001/1AB000000/... ect till 1ZZ999999.
if the vendor number is in between 1AA000000 -1ZZ999999 then the target value should assign as 'Internal' else should assing as 'External'.
How to compare that the value of vendor is in between IAA000000 to 1ZZ999999 in mapping?
Appreciate your help.
Thanks in advance.
Regards,
NausheenYou can try creating an UDF and using the varName.substring(); method. Then you can compare in separated pieces the string. For example
String var = "1AA000000";
if (var.substring(3).compareTo("000000") < 0 && var.substring(3).compareTo("999999") > 0)
//compare now the "AA" and "ZZ" with the same logic;
http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#substring(int, int)
http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#compareTo(java.lang.Object)
EDIT: Moreover, those functions are available in the Mapping program creation, but this should give a clue on the order it should be done.
Edited by: Lucas Santos on Mar 29, 2011 7:38 PM
Edited by: Lucas Santos on Mar 29, 2011 7:53 PM -
How to select the larger value of column?
I would like a cell value (here E8) to be for example: (max $E$1:E7) + B8. Where all previous E column values were find the same calculation except for E1 that is a simple number and not a calculation? It does not work. It give the result for E1 + B8. The larger value should be E7. So the correct result should be E7 + B8 but if there is no value in E7 I want it to choose the larger number of the E column so far. Does some one can help me?
Hi Frederic,
If I understand "Where all previous E column values were find the same calculation except for E1", you want each cell, starting at E2 to contain this formula.
E2: =MAX($E$1:E1)+B2 E8: =MAX($E$1:E7)+B8
If that's the case, then "there is no value in E7" would never occur, and, unless the value of Bn were negative, the maximum value in column E would always be the one immediately above the formula.
In that case, this simpler formula would produce the same result:
E2: =E1 + B2 E8: =E7 + B8
Regards,
Barry -
Validation to regret the negative values....
i have a filed called 'P14_No_of_days'..
In that field the negative value should not accept for that any validation is there?
pls help me guysPut following code under "Edit Page -> JavaScript -> Function and Global Variable Declaration" section
function fnNumberOnly(pThis,pEvent)
var vCharCode = (pEvent.which) ? pEvent.which : pEvent.keyCode;
if(vCharCode == 109 ) // entered minus
alert('Negative values not allow in this field!');
pThis.value=pThis.value.replace(/[^0-9]/g,"");
}and following code under Item -> HTML Form Element Attributes section
onkeyup="javascript:fnNumberOnly(this,event);"If you want error message after submit, then you may go for APEX validations.
Regards,
Hari -
How to read the selected value of a dropdown list box
Hello,
I have 2 custom fields which are of type dropdown list on Accounts(CRMM_ACCOUNT) PCUI application details tab.I need to read the selected value of first dropdown list item,based on that second dropdown list will be populated.
I know where to populate the dropdown list box,it is in FILL_DROPDOWN_LISTBOX.
I dont know how to trap the selection made on dropdown list.
PLease guide me on how to trap the dropdown list field selection value.
Thanks in advance.
Thirumala.Hello,
Check what is done in standard for the fielf REGION which is inked to the country.
Otherwise, you can do the following :
- in field group customizing, for field 1, flag the 'send request' flag. So, when you change the value in this field via the dropdown, the MAC methods are immediately called.
- Put the new value in a global variable (GV).
- in the fill_dropdown_listbox method, get the value from this GV and based on it, filter the values for the dropdown of field 2.
Hope this will help you,
Regards,
Frederic -
Workitem ID wise to get the Object value
Hi All,
is it possible to get the object value form Workitem id wise.
for example workitem id '446085' based on that workitem id i want to retrieve the object value.
Please clarify.,
Thanks & Regards
K.Gunasekar.Hi
I want to update the object Reference.
for example i am getting the object value from SAP_WAPI_GET_OBJECTS. (F.M)
based on the workitem_id.
i want to update the objects reference from the original one.
if is it possible means please let me know.
Thanks & Regards
K.Gunasekar. -
My new 5 months Mac Book battery go down really soon. The new battery should keep at least 8 hours. I don't know what happen to my new battery. Is there anyone have same problem as me? Please help me to solve this issue. I did still have the warranty. Just want to know if i have use my Mac book at right way. Thanks!
Have an Apple Store or an Apple Service Provider evaluate it since you still have a warranty. Once in a while a bad component will show up. Also consider getting Apple Care to extend the warranty to 3 years after purchase. You will never be sorry if you do this. Good Luck.
http://www.apple.com/batteries/replacements.html -
Should ADT create module components based on views?
I have a function (representing a report) with Read usage on two entities, and one entity is implemented by a table and the other implemented by a view. When I run the Application Design Transformer, the resulting module has a module component based on the table, but no component based on the view. This happens in our new configuration (9iDS/10g Database), as well as in our old one (Designer 2.1/8i Database). Is this expected behavior for the ADT, or should I see a component based on the view?
Peter,
Thanks for your feedback. I have posted an enhancement request
for the next release of Headstart.
Regards,
Lauri -
Hi
This question is related to table component implementation.
I want to display the column values inside the small round image with different colors and value should appear in the middle.Hi,
>>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?<<
I’m sorry for the issue that you are hitting now.
This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
http://sourceforge.net/projects/itextsharp/
Thanks for your understanding.
Regards,
Marvin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Excise Value and Freight value should be add to material cost in the depot
Hi,
Can any one help me on my scenario?
We have depot concept my client requirement is excise Value and Freight value should be add to material cost (inventories at depot) in the depot
Thanks & Regards
KMRHi All,
In Depot Sale. This are the Excise Duty Passed on to the Customer BED, AED ECS, SHECS, Other then that its added to the material cost. Define a Pricing procedure for value added to the material cost in both Procurement & Sales base your problem will be solved.
Regards,
Pherasath -
I have a table with a field "f1" which type is nvarchar(1000). Now I want to update a record through binding variable method. Before I bind the parameter, I call SQLDescribeCol to get the length of f1 - 1000.
The data for updating f1 is prepared and is coverted to UTF16, so the buffer length is 2*(character length). When I call SQLBindParameter() to bind the variable for f1, what length value should be passed to ColumnSize parameter? Some said the Columnsize
should be in byte. In MSDN, I can't find any posts or examples for my cases. MSDN also mentioned that the limit for this argument is 4000.
I try 1000 and 2000, both works. Which one is the exactly correct one? I use SQL Server 2008 and native client 10.0.
Thanks in advance.
Liu PengHello,
Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Elvis Long
TechNet Community Support -
ORA-38101: Invalid column in the INSERT VALUES Clause: "acn"
Hi,
Oracle version :
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
Funny issue,
MERGE INTO tfc cb1
USING (SELECT 5351 fs,
1 cs
FROM DUAL) dual1
ON (cb1.fs = dual1.fs
AND cb1.asgn_cs = dual1.cs)
WHEN MATCHED
THEN
UPDATE
SET cb1.acn = '145' ,
cb1.cbs = (SELECT ta.as
FROM tac ta
WHERE ta.acn = '145'
AND ta.ent = 2),
cb1.bfs = 3 ,
cb1.efd = '28-OCT-09' ,
cb1.uui = 'A' ,
cb1.ut = sysdate
WHERE cb1.fs = 5351
AND cb1.asgn_cs = 1
WHEN NOT MATCHED
THEN
INSERT
(cb1.fund_cbs,
cb1.asgn_cs,
cb1.cbs,
cb1.fs,
cb1.bfs,
cb1.acn,
cb1.efd,
cb1.cre_usr_id,
cb1.uui
VALUES
(tfc.NEXTVAL,
dual1.cs,
(SELECT ta.as
FROM tac ta
WHERE ta.acn = '145'
AND ta.ent = 2),
dual1.fs,
3,
'145',
'28-OCT-09',
'A',
'A'
);When i try to run this , get
Error report:
SQL Error: ORA-38101: Invalid column in the INSERT VALUES Clause: "acn"
38101. 00000 - "Invalid column in the INSERT VALUES Clause: %s"
*Cause: INSERT VALUES clause refers to the destination table columns
*Action:
Now, when I try n remove the alias name from the insert clause, i.e.
MERGE INTO tfc cb1
USING (SELECT 5351 fs,
1 cs
FROM DUAL) dual1
ON (cb1.fs = dual1.fs
AND cb1.asgn_cs = dual1.cs)
WHEN MATCHED
THEN
UPDATE
SET cb1.acn = '145' ,
cb1.cbs = (SELECT ta.as
FROM tac ta
WHERE ta.acn = '145'
AND ta.ent = 2),
cb1.bfs = 3 ,
cb1.efd = '28-OCT-09' ,
cb1.uui = 'A' ,
cb1.ut = sysdate
WHERE cb1.fs = 5351
AND cb1.asgn_cs = 1
WHEN NOT MATCHED
THEN
INSERT
(cb1.fund_cbs,
cb1.asgn_cs,
cb1.cbs,
cb1.fs,
cb1.bfs,
cb1.acn,
cb1.efd,
cb1.cre_usr_id,
cb1.uui
VALUES
(tfc.NEXTVAL,
dual1.cs,
(SELECT as
FROM tac
WHERE acn = '145' -------- remove alias from here i.e. 'ta'
AND ent = 2),
dual1.fs,
3,
'145',
'28-OCT-09',
'A',
'A'
);The above statement fine.
Edited by: user8650395 on Mar 12, 2010 6:10 AM
Edited by: user8650395 on Mar 12, 2010 6:19 AMHi,
Nice formatting!
The first value in the INSERT clause looks suspicious:
MERGE INTO tfc cb1
INSERT
(cb1.fund_cbs,
cb1.asgn_cs,
cb1.cbs,
cb1.fs,
cb1.bfs,
cb1.acn,
cb1.efd,
cb1.cre_usr_id,
cb1.uui
VALUES
(tfc.NEXTVAL, ...If tfc is a table name, then it can't be a sequnece name.
Perhaps you meant something like
... VALUES
(tfc_id_seq.NEXTVAL, ...I hope that solves the problem.
If not, post a little sample data (CREATE TABLE and INSERT statements) for the tables as they exist before the MERGE.
Edited by: Frank Kulash on Mar 12, 2010 9:34 AM -
Help Needed: Facing the error ORA-01406: fetched column value was truncated
Hi Everyone,
When I run a particular PL/SQL query using Oracle 9i ODBC driver, it is working fine and fetching me the desired results.
However, when I run the same query using the Oracle 10g ODBC driver, I am getting the error: ORA-01406: fetched column value was truncated.
I have checked all the fields of the table and they are well within the allowable limit.
Can you please let us know what needs to be done to resolve this issue?
Thanks and Regards,
SudhindraWell it's obviously a problem with the client software. Doesn't Datastage have some way of configuring these things?
rgds, APC
Maybe you are looking for
-
Nokia Lumia 1520 - Where can I see it?
Hi, I'm really interested on Nokia Lumia 1520 but provided it's a pretty big device, I would like to hold it in my hand and feel it before buying it, just in case it's too big for me. The problem is I live in London and I cannot find any shop that ha
-
Hello, in my project which worked fine for weeks I have to do title changes for different countries. Now it is impossible to double click or edit the titles anymore. I can create new titles but I can't edit them in this project. When I create a new p
-
After spending $999 for Final Cut studio, I figured the fancy "Compressor" utility would let me convert all my windows files in WMV to the apple formats. Or at least the HD video in AVCHD (.m2ts) from my camcorder? I am not able to do these conversio
-
Pro*C Context - checking for status
Does anyone know a function that I can pass an SQL context (the one allocated via EXEC SQL ALLOCATE CONTEXT) to and obtain both the connected status and last error encountered? I'm in the process of writing an API to abstract some thread and database
-
Enterprise Data plan nessicary?
Hi, i currently have a Fist generation (8gb) iphone, i'm thinking about upgrading to the 3g shortly after launch. i run an exchange (2007) e-mail server out of my house for my personal and photography hobbies. i was wondering if the regular iphone un