Application is creating duplicate rowkeys
I have a BC4J/Struts/JSP application where I am displaying a view of records for edit with a hidden form field using rowkey. Not all the time, but sometimes when I view the html source, the rowkey for 2 of the records are the same. What would cause this? Is there a setting in the app module that might cause this? Did my app module get corrupted somehow? Is this possible?
Here is my jsp page:
<%@ page language="java" %>
<%@ page errorPage="/WEB-INF/jsp/Error.jsp" %>
<%@ taglib uri="/WEB-INF/lib/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/lib/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/lib/DataTags.tld" prefix="bc4j" %>
<!-- Security -->
<% String THIS_PAGE_FUNCTION_CODE = "CELSTB"; %>
<% boolean userCanWrite = false; %>
<%@ include file="../../../CheckPermissions.txt" %>
<!-- /Security -->
<% String strYes = "Y";
String strNo = "N"; %>
<bc4j:ApplicationModule id="appCellSiteTables" configname="com.aws.marrs.businessTier.tableMaintenance.cellSiteTables.CellSiteTables_AppModule.CellSiteTables_AppModuleLocal" releasemode="Stateful"/>
<bc4j:DataSource id="rowSetCellSiteTables" appid="appCellSiteTables" viewobject="CellSiteTableView" rangesize="40"/>
<%
//Set the filter Criteria
rowSetCellSiteTables.getRowSet().setWhereClauseParams((String[]) request.getSession().getAttribute("FilterCriteriaArray"));
//Re-execute the query whenever we specify new filter criteria. Don't re-execute the query while paging.
String pagingFlag = oracle.jbo.html.HtmlServices.getRequestParameters(pageContext).getParameter("paging");
if (pagingFlag == null || !pagingFlag.equals("true"))
rowSetCellSiteTables.getRowSet().executeQuery();
%>
<%-- Next line needed for record navigation --%>
<bc4j:DataHandler appid="appCellSiteTables" relativeUrlPath="../../../PagingDataHandler.jsp"/>
<html>
<head>
<title>Cell Site Table</title>
<LINK href="<html:rewrite forward='IntranetStyle'/>" rel=stylesheet type=text/css>
<SCRIPT language="Javascript1.2" src="<html:rewrite forward='SynchScrollingScript'/>"></SCRIPT>
<SCRIPT language="Javascript1.2" src="<html:rewrite
forward='CheckRecordsSelectedScript'/>">
</SCRIPT>
<script language="javascript">
// Filter the event log
function SubmitForm(myAction) {
with (window.document.forms[0])
if (myAction == "Edit")
action="CellSiteTableFrameEdit.do";
target="MainFrame";
submit();
else if (myAction == "Delete")
if (confirm('Are you sure you want to delete the selected records ? '))
action="CellSiteTableDelete.do";
target="MainFrame";
submit();
else if (myAction == "Exit")
top.location.href='ExitTableMaintenance.do';
return true;
</script>
</head>
<body LEFTMARGIN=0 TOPMARGIN=0>
<%-- Next line needed for record navigation. Creates RecordCountLabel hidden field detailing current rowset range --%>
<bc4j:DataScroller datasource="rowSetCellSiteTables" relativeUrlPath="../../../PagingDataScroller.jsp" />
<%-- Update the PagingCount label on our header page using the RecordCountLabel. --%>
<script language="javascript">
if (parent.frames['HeaderFrame'].document.getElementById("PagingCount") != null) parent.frames['HeaderFrame'].PagingCount.innerText = RecordCountLabel.value;
</script>
<form name="frmMaintenance" method="POST">
<table width="1500" border="1" cellspacing="1" cellpadding="0" valign="bottom" align="left" bgcolor="#BEBEBE">
<% int rowCount = 0; %>
<bc4j:RowsetIterate datasource="rowSetCellSiteTables" userange="true">
<%
String isExcl, isProc = null;
isExcl = (String)rowSetCellSiteTables.getRowSet().getCurrentRow().getAttribute("IsExcluded");
if(isExcl == null)
{ isProc = strNo; }
else if(isExcl.equalsIgnoreCase(strYes)) //strYes declared above, once, in page scope
{ isProc = strNo; }
else
{ isProc = strYes; }
%>
<tr class="row<%=(rowCount % 2 + 1) %>">
<td width="80" class="tiny" align="left"><bc4j:ShowValue dataitem="ClusterCsaId"/></td>
<td width="80" class="tiny" align="left"><bc4j:ShowValue dataitem="CityCsaId"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="Sidbid"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="SwitchId"/></td>
<td width="75" class="tiny" align="left"><bc4j:ShowValue dataitem="CellSiteId"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="CellFaceSector"/></td>
<td width="155" class="tiny" align="left"><bc4j:ShowValue dataitem="CellFaceLocation"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="DataSourceFlag"/></td>
<td width="105" class="tiny" align="left"><bc4j:ShowValue dataitem="CellSiteName"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="Usid"/></td>
<td width="40" class="tiny" align="left"><%= isProc %></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="CompanyCode"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="IsOverride"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="HomeCompanyPercentage"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="IncursionCompany1"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="IncursionCompany1Percent"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="IncursionCompany2"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="IncursionCompany2Percent"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="IncursionCompany3"/></td>
<td width="40" class="tiny" align="left"><bc4j:ShowValue dataitem="IncursionCompany3Percent"/></td>
<td width="200" class="tiny" align="left"><bc4j:ShowValue dataitem="Comments"/></td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysEdit" id="e<%= (rowCount + 1) %>" value="<bc4j:ShowValue dataitem="RowKey"/>">
</td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysDelete" id="d<%= (rowCount + 1) %>" value="<bc4j:ShowValue dataitem="RowKey"/>">
</td>
</tr>
<% ++rowCount; %>
</bc4j:RowsetIterate>
<tr><td colspan="23"> </td></tr>
<logic:present name="deleteMsg" scope="session">
<tr align="left"><td colspan=23 class="tinyred"><%= request.getSession().getAttribute("deleteMsg") %></td></tr>
<% request.getSession().removeAttribute("deleteMsg"); %>
</logic:present>
<tr align="center">
<td colspan=23>
<% if (userCanWrite) { %>
<input type="button" name="btnAdd" value="Add" class="tiny" onClick="javascript:top.MainFrame.location.href='CellSiteTableFrameAdd.do';">
<input type="button" name="btnEdit" value="Edit" class="tiny" onClick="javascript:if (RecordsSelected('e','edit.')) SubmitForm('Edit');">
<input type="button" name="btnDelete" value="Delete" class="tiny" onClick="javascript:if (RecordsSelected('d','delete.')) SubmitForm('Delete');">
<% } %>
<input type="button" name="btnExit" value="Exit" class="tiny" onClick="javascript:SubmitForm('Exit');">
</td>
</tr>
</table>
</form>
</body>
</html>
<bc4j:ReleasePageResources appid="appCellSiteTables" releasemode="Stateful"/>
Here is the html output showing the last 2 records having duplicate rowkey values:
<table width="1500" border="1" cellspacing="1" cellpadding="0" valign="bottom" align="left" bgcolor="#BEBEBE">
<tr class="row1">
<td width="80" class="tiny" align="left">OR_WA_AK</td>
<td width="80" class="tiny" align="left">SEATTLE_WA</td>
<td width="40" class="tiny" align="left">00047</td>
<td width="40" class="tiny" align="left">005</td>
<td width="75" class="tiny" align="left">9997</td>
<td width="40" class="tiny" align="left">X</td>
<td width="155" class="tiny" align="left">TEST</td>
<td width="40" class="tiny" align="left">A</td>
<td width="105" class="tiny" align="left">997 RECORD</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">Y</td>
<td width="40" class="tiny" align="left">5560</td>
<td width="40" class="tiny" align="left">N</td>
<td width="40" class="tiny" align="left">100</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="200" class="tiny" align="left">TEST RECORD</td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysEdit" id="e1" value="0005000000015800000004393939380000000530303034370000000330303500000001410000000E000000FCEAA87FA5">
</td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysDelete" id="d1" value="0005000000015800000004393939380000000530303034370000000330303500000001410000000E000000FCEAA87FA5">
</td>
</tr>
<tr class="row2">
<td width="80" class="tiny" align="left">OR_WA_AK</td>
<td width="80" class="tiny" align="left">SEATTLE_WA</td>
<td width="40" class="tiny" align="left">00047</td>
<td width="40" class="tiny" align="left">005</td>
<td width="75" class="tiny" align="left">9998</td>
<td width="40" class="tiny" align="left">X</td>
<td width="155" class="tiny" align="left">MIKE KRIVOS</td>
<td width="40" class="tiny" align="left">A</td>
<td width="105" class="tiny" align="left">MODIFICATIONS UNLIMITED WEST PALM BEACH FLORIDA US</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">Y</td>
<td width="40" class="tiny" align="left">5560</td>
<td width="40" class="tiny" align="left">N</td>
<td width="40" class="tiny" align="left">100</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="200" class="tiny" align="left">TEST RECORD</td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysEdit" id="e2" value="0005000000015800000004393939390000000530303034370000000330303500000001410000000F000000FCEAA87FA5">
</td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysDelete" id="d2" value="0005000000015800000004393939390000000530303034370000000330303500000001410000000F000000FCEAA87FA5">
</td>
</tr>
<tr class="row1">
<td width="80" class="tiny" align="left">OR_WA_AK</td>
<td width="80" class="tiny" align="left">SEATTLE_WA</td>
<td width="40" class="tiny" align="left">00047</td>
<td width="40" class="tiny" align="left">005</td>
<td width="75" class="tiny" align="left">9999</td>
<td width="40" class="tiny" align="left">X</td>
<td width="155" class="tiny" align="left">TEST RECORD 9999</td>
<td width="40" class="tiny" align="left">A</td>
<td width="105" class="tiny" align="left">RECORD</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">Y</td>
<td width="40" class="tiny" align="left">5560</td>
<td width="40" class="tiny" align="left">N</td>
<td width="40" class="tiny" align="left">100</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="40" class="tiny" align="left"></td>
<td width="40" class="tiny" align="left">0</td>
<td width="200" class="tiny" align="left">TEST RECORD</td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysEdit" id="e3" value="0005000000015800000004393939390000000530303034370000000330303500000001410000000F000000FCEAA87FA5">
</td>
<td width="30" class="tiny" align="center">
<input type="checkbox" name="RowKeysDelete" id="d3" value="0005000000015800000004393939390000000530303034370000000330303500000001410000000F000000FCEAA87FA5">
</td>
</tr>
<tr><td colspan="23"> </td></tr>
<tr align="center">
<td colspan=23>
<input type="button" name="btnAdd" value="Add" class="tiny" onClick="javascript:top.MainFrame.location.href='CellSiteTableFrameAdd.do';">
<input type="button" name="btnEdit" value="Edit" class="tiny" onClick="javascript:if (RecordsSelected('e','edit.')) SubmitForm('Edit');">
<input type="button" name="btnDelete" value="Delete" class="tiny" onClick="javascript:if (RecordsSelected('d','delete.')) SubmitForm('Delete');">
<input type="button" name="btnExit" value="Exit" class="tiny" onClick="javascript:SubmitForm('Exit');">
</td>
</tr>
</table>
Not sure, but have you checked the key attributes of your view object?
If your VO is build out of several EOs you need to mark enough PK attributes of your underlying EOs to get unique row keys.
Similar Messages
-
CUSTOMER_REL - Business partner not created; duplicate check on address
Hello Colleagues
I have a problem during CUSTOMER_REL replication from ERP to CRM.
In r3am1 object looks fine but in some BDoc following error appears:
Assignment person - address exists already
Message no. AM038
and the Business Partner for Contact Person is not created.
We are on:
SAP_ABA 701 0005 SAPKA70105 Cross-Application Component
SAP_BASIS 701 0005 SAPKB70105 SAP Basis Component
PI_BASIS 701 0005 SAPK-70105INPIBASIS Basis Plug-In
ST-PI 2008_1_700 0001 SAPKITLRD1 SAP Solution Tools Plug-In
SAP_BS_FND701 0005 SAPK-70105INSAPBSFND SAP Business Suite Foundation
SAP_BW 701 0005 SAPKW70105 SAP Business Warehouse
SAP_AP 700 0018 SAPKNA7018 SAP Application Platform
WEBCUIF 00 0005 SAPK-70005INWEBCUIF SAP WEBCUIF 700
BBPCRM 700 0005 SAPKU70005 BBPCRM
BP-CRM70 700V1 0000 SAP Best Practices for CRM 7.0
BP-INSTASS 600V7 0000 SAP Best Practices Solution Builder
ST-A/PI 01L_CRM5700000 Application Servicetools for CRM 500 51
And have already applied
1394635
1396910
1397895
1410788
1438046
But it is seems problem lies on SAP_ABA as I have found note
1092089 - Business partner not created; duplicate check on address
which is valid for different BP role and
SAP_ABA 700
SAP_ABA 710 but not for our 701
Have you ever seen similar issue?
Thanks in advance
MichalHi Naresh,
Thanks for reply. Correction instructions from this note refer to METHOD MODIFY_CONP_ADDRES which doesn't exist in crm7.0.
I can see in CRM that contact person is replicated and is present in BUT000 but table BUT052 is empty for this contact.
What is more we have implemented in our CRM note 564538 To change Contact Persons grouping replicated from ECC to CRM.
But also have: Note 757955 - Incompatible change concerning CRMC_BUT_CALL_FU.
We checked as well
Note 609766 - Correction of BP GUIDS in CRMM_BUT_CUSTNO, BUT000, CRMKUNNR
Note 836353 and run reports to find inconsistencies in tables BUT052, BUT051, ADCP and ADRVP. However no inconsistencies were found.
Thanks in advance if you have any other idea.
Cheers,
Michal -
Data loader : Import -- creating duplicate records ?
Hi all,
does anyone have also encountered the behaviour with Oracle Data Loader that duplicate records are created (also if i set the option: duplicatecheckoption=externalid) When i am checking the "import request queue - view" the request parameters of the job looks fine! ->
Duplicate Checking Method == External Unique ID
Action Taken if Duplicate Found == Overwrite Existing Records
but data loader have created new records where the "External Unique ID" is already existent..
Very strange is that when i create the import manually (by using Import Wizard) exactly the same import does work correct! Here the duplicate checking method works correct and the record is updated....
I know the data loader has 2 methods, one for update and the other for import, however i do not expect that the import creates duplicates if the record is already existing, rather doing nothing!
Anyone else experiencing the same ?? I hope that this is not expected behaviour!! - by the way method - "Update" works fine.
thanks in advance, Juergen
Edited by: 791265 on 27.08.2010 07:25
Edited by: 791265 on 27.08.2010 07:26Sorry to hear about your duplicate records, Juergen. Hopefully you performed a small test load first, before a full load, which is a best practice for data import that we recommend in our documentation and courses.
Sorry also to inform you that this is expected behavior --- Data Loader does not check for duplicates when inserting (aka importing). It only checks for duplicates when updating (aka overwriting). This is extensively documented in the Data Loader User Guide, the Data Loader FAQ, and in the Data Import Options Overview document.
You should review all documentation on Oracle Data Loader On Demand before using it.
These resources (and a recommended learning path for Data Loader) can all be found on the Data Import Resources page of the Training and Support Center. At the top right of the CRM On Demand application, click Training and Support, and search for "*data import resources*". This should bring you to the page.
Pete -
IPhoto creates duplicates when I click "Edit"?
I've just upgraded to iPhoto '11 and installed it on my new 15" MBP, imported my old iPhoto library, and everything seems lovely.
BUT: whenever I click "Edit in external application," iPhoto creates a duplicate of the photo, and sends the duplicate to Photoshop. When I quit photoshop, the duplicate image remains in iPhoto. This duplicate remains even if I don't make any changes in Photoshop.
Is this a new behavior? It's pretty frustrating. Any way to turn it off?Very frustrating. I make a lot of panoramas, and I need to open four or more adjacent images at once to perform Photomerge in Photoshop. So now every time I do this, I'm going to have a whole bunch of pointless duplicates cluttering up my drive? What was the thought behind this?
Yes, I'll certainly provide feedback, and I also hope/trust Apple is reading these discussions... -
How to run an application i created in java without using eclipse
Im familiar with running an application i create thru command prompt or eclipse, how do i create a file to run on any computer with java so i can double click the file and my application runs. C# automatically does this, do i need to do an extra step to the jar file?
Hi,
You need to make an executable JAR file. There are a few ways you can do this but since you are using Eclipse you can follow this tutorial.
[http://www.fsl.cs.sunysb.edu/~dquigley/cse219/index.php?it=eclipse&tt=jar&pf=y]
The most important part is the manifest file, if you have dependencies on other JAR files they will need to be specified along with the
main method to call to start you program. You can do this via the Eclipse Wizard.
It will be in your interests to read this tutorial also
[http://java.sun.com/docs/books/tutorial/deployment/jar/] -
I have a macbook pro from fall 2010. I have been using my external HD as my primary itunes folder for the past 7 yrs ( i.e it is organized by itunes default categorization, etc). However, there is some overlap between my external HD itunes folder and my comps original itunes folder (probably 20-30% of my current library's media files were already duplicated there from when i first bought the HD and transferred files to the external, however they are mostly referenced from the external now). Also there are files in the comp's itunes folder that are not on my external (probably due to organizational mishaps and podcast downloads when not connected to the external, etc). I do not know how many files this is the case for.
Recently, i decided that i wanted to consolidate all of my itunes music into one concise folder on my macbook's HD to avoid these issues going forward. I also just bought a new external which i will use to back up my comp's itunes folder once i consolidate everything to the comp. But i plan on using the itunes folder on the comp going forward or at least using the consolidate fcn to avoid these issues.
Here is my dilemma. Prior to learning of the consolidate feature today, I changed the default itunes folder in settings to the original itunes folder on the macbook and then manually dragged all of the media files from my external itunes folder to the macbook's itunes folder. There were a ton of duplicates or overlapping folders with similar artist names, so i opted to have them merge all folders where possible. After doing this, i realized the itunes library still references these files that i dragged and dropped from the external since that is where my default itunes folder used to be. At that point i then read and learned of the consolidate itunes feature which seems like the best way to do this. But i am afraid that if i consolidate my library to my macbook's itunes folder now, will it create duplicates of the 4000 + media files i just dragged to the macbook's itunes folder which are already in the itunes library but being referenced from the old external??
Question: Is there a way that i can make these files i just dragged to the macbook's itunes folder become the ones referenced by the itunes library through the consolidate feature without creating duplicates of these 4000+ files? I want to avoid having three copies of these files (two duplicates in the itunes and the originals on the external). Furthermore, is there a best way to find out which files in the macbook's itunes folder are not being included in the library after consolidating everything to the computer's HD? Then after that, what is the best way to start backing this all up to my new external, so that this overlapping issue doesnt happen again? Im assuming i just need to make sure to consolidate first when changing itunes folders going forward. Thank you. I know that was a lot to read but hopefully someone can help with this issue.In general:
- The best way to check if files are in a library is to drag the whole media folder to the library. If something was missed it will be added. If it is in the library is won't be added a second time.
- If you have a second copy of a file and iTunes does not currently list that specific file in its database then even if it is identical to one already in the database it will add it a second time. So if you have file xyz on the internal drive and the external drive and add them to iTunes you will end up with two entries for the same thing in iTunes because you really do have to copies of the files. While this can happen with two copies on a single drive, it will almost definitely be the case when you have a copy of a file on two drives because iTunes really sees them as two different things.
-Unless you know how iTunes works, avoid moving files yourself. Let the consolidate feature do all the file moving. Manually moving files can really mess up iTunes unless you know what you are doing and have iTunes set to not try to do it itself.
- There's no clean and easy way to delete duplicates. The best thing is to change practice so you don't create them. Here are references:
How to find and remove duplicate items in your iTunes library - http://support.apple.com/kb/HT2905
http://dougscripts.com/itunes/itinfo/dupin.php (commercial)
Posts by turingtest2 about different types of duplicates and techniques- https://discussions.apple.com/thread/3555601 and https://discussions.apple.com/message/16042406 (Note: The DeDuper script is for Windows)
http://www.hardcoded.net/dupeguru_me/ -
I have 4 Macs and I had the same iPhoto library on each of them. When I chose to turn on the iCloud Photo Library on each of them, each Mac, each one of them uploaded the library to iCloud Photo Library.. Now it appears that I have many duplicates in the new Library. Is it adding each of the 4 libraries to the mix? It's a real problem as I have 25,000 pictures - 70GB in my library. So paused the upload on 2 of the Macs about half way through in case it is creating duplicates, until I get some answers. Any help would sure be appreciated.
I'm in the same boat as well. I'm doing one mac at a time and seeing how it works. Howev the upload is so slow, who knows when it will be done.
-
Is there any way to create an installer for Mac OS and Linux OS once a stand alone application is created? I have created an executable application that I want to distribute to Mac and Linux users (different applications were created in the respective OS). I was wondering if there is any way to create an installer? I think there probably isn't... If the user were to simply download the Labview Run-time Engine from ni.com would they be able to run the application or is it more complicated than that?
Thanks so much for your time.I think Shane tried to say, that it is on the Mac OS X installation DVD, NOT the LabVIEW for Mac OS X installation medium. And that could very well have changed in recent Mac OS X versions as well. They used to have Xcode on it too, but that seems gone as well.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Error in creating Duplicate Database in same server..
Hi,
I am getting following error when creating duplicate database
DB Version=10.2.0.4
$ rman target sys/sys@test nocatalog auxiliary /
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Sep 28 15:13:32 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=1702666620, not open)
using target database control file instead of recovery catalog
connected to auxiliary database: CLNTEST (not mounted)
RMAN> DUPLICATE TARGET DATABASE TO "CLNTEST";
Starting Duplicate Db at 28-SEP-09
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=156 devtype=DISK
contents of Memory Script:
set until scn 597629461;
set newname for datafile 1 to
"/u01/data_new/clonetest/system01.dbf";
set newname for datafile 2 to
"/u01/data_new/clonetest/undotbs01.dbf";
set newname for datafile 3 to
"/u01/data_new/clonetest/sysaux01.dbf";
set newname for datafile 4 to
"/u01/data_new/clonetest/users01.dbf";
set newname for datafile 5 to
"/u01/data_new/clonetest/example01.dbf";
set newname for datafile 6 to
"/u01/data_new/clonetest/undotbs02.dbf";
set newname for datafile 7 to
"/u01/data_new/clonetest/alweb1.dbf";
set newname for datafile 8 to
"/u01/data_new/clonetest/indx1.dbf";
restore
check readonly
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 28-SEP-09
using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/28/2009 15:13:40
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
RMAN> crosscheck backupset of datafile 1;
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=154 devtype=DISK
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 2;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 3;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 4;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 5;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 6;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 7;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
Thanks,Hi,
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/ora10g/product/10.2.0/db_1/dbs/snapcf_TEST.f'; # default
Thanks, -
"Could not find the application that created this file" error when trying to combine files
I am working with a user that is trying to combine a pdf & word doc (docx). When they try to combine the files she gets the error: "Could not find the application that created this file" & "Please select a file created by an application that resides on your computer". The computer is running windows XP, with office 2010 SP1, & Adobe Acrobat Pro X.
Per previous suggestions, I have already checked to see if Adobe PDFMaker is enabled as a Word plugin, and it is.
Recentley the user was running Acrobat 6, and this error did not occur. It is only after upgrading to Acrobat X that this is happening. Any help with this issue would be appreciated.This can also be caused if the files are in a folder deep in the file system. For example C:/xxxxxxxxxxxxxxx/yyyyyyyyyyyyyyy/zzzzzzz/aaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbb /cccccccccccccccccccc/dddddddddddddddd/eeeeeeeeeeeeeeeeeeee/ffffffff/ggggggg/hhhhhhhhhhhhh hhhhhhhhhh/myPDF.pdf
At some point Adobe PDFMaker cannot handle the path length (also, Windows can't handle the path length either eventually)
Solution: move the files to a shorther path (perhaps the desktop) and try from there.
I am filing a bug report with Adobe. A descriptive exception message should be thrown instead of "could not file the app.." -
Could not find application that created this file error in Acrobat
What is going on? I have an InDesign file that I want to convert by opening Acrobat and then converting to PDF. I am getting the error "Could not find application that created this file. [file name] Please select a file created by an application that resides on your computer."
I most often use this functionality when I have multiple files of different origins and need to combine them into one document. Now I'm reading the forums and some are saying this functionality is no longer supported by Acrobat. Pardon my language, but WTF?!?! This is functionality that is commonly used by me and I can only assume other users. Now you have two Adobe products that won't communicate? If so, then all the hoopla stating how great the Adobe suite is should be edited. I have never seen these products take such a step backward!
Sorry for the rant, but I find this to be ridiculous. What is the workaround, besides converting every document to PDF inside its own software and then combing the PDFs?InDesign uses a different method of making PDF files when you use the File->Export option in InDesign (even with Acrobat installed, it uses an internal copy of the PDF Library engine). As such, the two applications do not communicate directly with each other.
Support for driving the PDF conversion process from within Acrobat has been removed from Acrobat X, beacuse with the new features in InDesign CS4+, Acrobat doesn't have access to the settings it needs to control things such as multimedia, spreads and transitions. ID CS5 divides PDFs into two concepts - "print" and "interactive", neither of which match the presets used by Distiller. Creating PDFs from InDesign files must therefore take place from within InDesign itself. -
How to make iTunes add a folder without creating duplicates?
Hello,
I have a PC running windows 7. I keep all my music in one folder on a NAS device. I am getting more and more fed up with Windows Media Player (WMP) and I would like to move to iTunes. This move, however, appears to be as painful as using WMP. Please help if you can. I have used iTunes before so I have an existing music and video library and I also have a number of playlists both with music and videos. I cannot afford to start from sratch, i.e., to remove and readd everything; it would be too costly. I have two major problems with iTunes:
1. When I try to add files that already exist in the iTunes library iTunes happily adds these file and creates duplicates. I cannot find a knob that would prevent iTunes from creating these duplicates and simply ignore any found files if they are already present in the library. All such duplicates point to the same file on disk. I am really scratching my head over this as I would think that this would be a very basic thing to do/allow, yet it does not seem to be possible. Is it me missing something simple here or is it Apple telling me that this is how it must be...???
All I want to do is to add the top folder that contains all my music without having to deal with thousands of duplicates. I cannot add the files one-by-one because there are too many of new files there and if I remove all the files and re-add them all my lists will likely become empty (tried it on one list and, as expected, the list got emptied once I removed the files that were in the list). Hmm, is this asking for too much? Please help.
2. I do not seem to see a way to tell iTunes to monitor for new media files. WMP allows you to specify folders to monitor. You add a file to the folder and the file gets added to the library. What is wrong or bad with this concept (other that it would not work if duplicates were handled)? Why does iTunes not seem to support that?
Thank you,
Petertt2, thank you for your reply. Let me restate your answers the way I see them.
Problem #1: You said that "iTunes only creates duplicates if you ask it to...". Well my goal is not to create duplicates but to avoid them and the problem with iTunes is that it does not seem to offer an easy way to do this. Do not get me wrong, I like iTunes but let's call black black and white white. So the way I read your answer is: no iTunes does not support a way to add the same folder twice without creating duplicates.
Problem #2: The answer to the second question is also no, iTunes does not offer any way to monitor for new files in a folder or folders.
I wish the above were incorrect but from what I hear and from what your wrote I conclude iTunes does not support any of that.
You offered external to iTunes solutions for both problems. Thank you for that! I did not know about this tools. Having said that my iTunes music files are on a NAS device (files not copied to iTunes library), my video files are on NAS but (because of the necessity to convert to iTunes supported format) they were transcoded and stored in iTunes library, my iTunes Store purchases (music) are in the iTunes library and on the NAS (backup - likely duplicates). In short it gets messy very quickly and after reading the NAS and multi-path warnings for the DeDuper tool I am just not jumping on the idea of using it - there would be physical duplicates and I would not want any physical files to be deleted. tt2, do you know if the DeDuper offers a mode where it would present the user with a list of duplicates and allow the user to decide which dups to remove before doing anything? I basically would want to remove the dups from the library but without deleting any physical files.
I will have a closer look at the iTunes Folder Watch program. Unless I am misinterpreting something I think it should do what I want to do.
So again, thank you for your answers and suggestions with the external tools. It is just too bad that iTunes does not support what I (and many others) need natively.
Peter -
How do I move/copy contacts from Entourage to iCloud Address Book without creating duplicates? Address Book on Mac, iCloud, iPhone and iPad is now empty
Thank you for letting me know!
Going to give it a go. Had a back up of all my clients files stupidly not my software as I have the originals disks. Just realised that amongst the software is ibiz and have lost al my accounting and billing files for the last 7 years want to cry so losing my contacts now will really tip me over the edge!
Fingerscrossed this works! -
Is there a way to replace tags on import rather than create duplicates??
I use the tag engine to connect with the KEPWARE OPC server program and at times I want to change how the tags are located inside KEPWARE but keep the same tagnames inside LABVIEW. I export the .scf file and modify it inside EXCEL. When I import it again it will create duplicate tagnames. When you have 4000-8000 tags, it can take awhile to delete the duplicates. It would be great if we could replace the existing tag name data. Maybe I should be creating a vi to modify the properties of individual tags instead. How does anyone else work around this issue??
I would export all of the tags and then modify the ones that need to be modified. Then, before I import them, I would create a new scf file. This way there are no duplicates.
-
Hello,
I am working with Acrobat Pro 8 and am trying to create a pdf by converting a word doc. When I try that, I keep getting an error message, " Could not find the application that created this file...please select a file created by an application that resides on your computer." I can always convert a word into pdf first and then insert it into the pdf project that I am working on, however I have multiple files and I really would like to bypass that long step.
I found another thread in this forum which talks about a simillar issue (http://forums.adobe.com/thread/429585).I tried the solution suggested there by Bill@vt regarding the print menu. I am not really sure if t have distiller installed, so I tried opening it in acrobat, but it failed. During the process, I got the follwing message "Check the Status column for a list of files that could not be printed".I do not have any clue how to check for AcroTray running in the background.
I would really appreciate any help.
Thanks!If Distiller failed to open, it sounds like you need to do a repair of your Acrobat installation. Have not heard that one before!
Maybe you are looking for
-
Single Sign on using SAML between JWS application and Web Application
Hi, We have two applications one is swing based Java Web Start application and other is a normal web application. We are trying to enable single sign on between both the applications. Can SAML be used to enable single sign on? If yes, can some one le
-
Unable to Execute a Report to send PAN XML messages out of SNC
Hi All, We are unable to Execute a Report /SCA/DM_TIMESERIES_OUT to send Product Activity Notifications in the form of XML messages out of SNC. We have manitained some Planned Reciepts data in SNC and would like to transfer it out to ECC. Could anyon
-
hi ,] last n8 i partatioon hard disk and install windows 7 using bootr cam , nw wt heppen my mac HD partation dnt start jst gray screen with apple logo appear and then some loading bar heppen and then shurt down i tried to repair partation using disk
-
SB Audigy 2 Notebook Recording "Error Encounter
Hi, I've had a Sound Blaster Audigy 2 Notebook card for several weeks, and while it's generally working quite well, I've encountered the same error the last several weeks with after a scheduled recording from a line-in source: After exactly hour, 55
-
Trouble Accessing Photo Albums
When I go to the Photo album, it lists the albums I have. Right now all I have is the Camera Roll and Wallpapers album. The top album- Camera Roll, is blocked by the Album header in Ipod Touch. It won't scroll down to access the album. Can anyone hel