Dataguard enviornment, rman crosscheck showed validation failed

I have setup rman backup on standby site.
Db version is 11gr2,
os version is linux redhat
I did rman crosscheck, here are some results:
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/system.324.792993247 RECID=621 STAMP=793373396
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/system.314.788073527 RECID=483 STAMP=792994113
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/system.323.786903909 RECID=343 STAMP=788102778
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/system.333.785989831 RECID=206 STAMP=786907706
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/system.347.785963645 RECID=69 STAMP=785990015
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/sysaux.355.792993227 RECID=622 STAMP=793373396
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/sysaux.293.788073519 RECID=484 STAMP=792994113
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/sysaux.322.786903909 RECID=344 STAMP=788102779
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/sysaux.332.785989833 RECID=207 STAMP=786907706
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/sysaux.346.785963645 RECID=70 STAMP=785990015
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs1.351.792993227 RECID=623 STAMP=793373396
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs1.361.788073413 RECID=485 STAMP=792994114
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs1.319.786903909 RECID=345 STAMP=788102779
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs1.258.785989851 RECID=208 STAMP=786907706
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs1.345.785963645 RECID=71 STAMP=785990015
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arindex.341.785186191 RECID=624 STAMP=793373396
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arindex.319.713996145 RECID=346 STAMP=788102779
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs2.291.792993257 RECID=625 STAMP=793373396
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs2.315.788073545 RECID=487 STAMP=792994114
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs2.316.786903931 RECID=347 STAMP=788102779
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs2.348.785989855 RECID=210 STAMP=786907706
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/undotbs2.339.785963789 RECID=73 STAMP=785990015
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arindex.429.785173115 RECID=626 STAMP=793373396
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arindex.274.713990673 RECID=348 STAMP=788102779
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/ggs_data.290.792993255 RECID=627 STAMP=793373397
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/ggs_data.294.788073529 RECID=489 STAMP=792994114
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/ggs_data.329.786903917 RECID=349 STAMP=788102779
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/ggs_data.257.785989847 RECID=212 STAMP=786907706
validation failed for datafile copy
datafile copy file name=+DAT/prd/datafile/ggs_data.305.785981949 RECID=75 STAMP=785990015
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arindex.407.785164105 RECID=628 STAMP=793373397
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arindex.273.713990667 RECID=350 STAMP=788102779
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.313.785209331 RECID=629 STAMP=793373397
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.360.770344487 RECID=351 STAMP=788102779
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.408.785164107 RECID=630 STAMP=793373397
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.359.770344385 RECID=352 STAMP=788102779
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.347.785193013 RECID=631 STAMP=793373397
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.358.770343541 RECID=353 STAMP=788102779
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.327.785199047 RECID=632 STAMP=793373397
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.357.770343495 RECID=354 STAMP=788102779
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.309.785213677 RECID=633 STAMP=793373397
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.286.713990693 RECID=355 STAMP=788102780
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.317.785207493 RECID=634 STAMP=793373397
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.288.713990693 RECID=356 STAMP=788102780
validation failed for datafile copy
datafile copy file name=/oracle_backup/stage/arsystem.316.785204659 RECID=635 STAMP=793373398
validation failed for datafile copy
How can I delete those invalid rman entries? I cannot successfully crosscheck them.
Thanks,

The problem is here:
I tried to get our rman backup to tape working , however backup recovery area shows following error:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 09/17/2012 18:56:22
ORA-19625: error identifying file +DAT/prd/datafile/system.324.792993247
ORA-17503: ksfdopn:2 Failed to open file +DAT/prd/datafile/system.324.792993247
ORA-15012: ASM file '+DAT/prd/datafile/system.324.792993247' does not exist
Recovery Manager complete

Similar Messages

  • Report shows "No data found" when validation fails

    Hi folks,
    I'm new to the OTN and have a short question regarding validations/report pagination.
    We are using Apex 4.0.2.00.07.
    I have a page containing a report with three columns.
    First column is a checkbox (f30), the second one a date picker and the third one is a value field (f34).
    I'm trying to build a validation for the value field (should only allow numeric values, but is varchar2) and used a validation with "Function Returning Boolean".
    The PL/SQL code is:
    DECLARE
    vrow BINARY_INTEGER;
    v_number FLOAT:=0;
    BEGIN
    FOR i IN 1 .. APEX_APPLICATION.g_f30.COUNT
    LOOP
    BEGIN
    vrow := APEX_APPLICATION.g_f30 (i);
    v_number := to_number(APEX_APPLICATION.g_f34(vrow));
    RETURN TRUE;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END;
    END LOOP;
    END;
    The validation works fine, but every time I enter a non numeric value and the validation fails (error message is displayed correctly as notification) I get a "report error: ORA-01403: no data found" in the pagination area of the report.
    Tried to disable pagination completely, but the error still displays when the validation fails.
    Any help would be appreciated.
    Thanks in advance and regards
    Sandro

    Content of the checkboxes is ok, debugging showed
    1:7     
    2:8
    (records 7 and 8 where ticked)
    Debugging console also shows:
         0.10900     0.00000     Processing point: Before Box Body          
         0.10900     0.00000     Region: Shareclassinformation          
         0.10900     0.00000     Item: P59_IS     
         0.10900     0.00000     Item: P59_NA
         0.10900     0.00000     Item: P59_CO
         0.10900     0.00000     Region: Attribute Selection
         0.10900     0.00000     Item: P59_LO
         0.10900     0.00000     Item: P59_ID
         0.10900     0.00000     Item: P59_IDAH
         0.10900     0.00000     Item: P59_IDAT
         0.10900     0.00000     Item: P59_SHO
         0.10900     0.00000     Item: P59_UTD
         0.10900     0.00000     Item: P59_X NA
         0.12500     0.00000     Region: Attributes
         0.12500     0.23400     Item: P59_NOT
         0.12500     0.00000     show report
         0.12500     0.00000     determine column headings
         0.12500     0.00000     parse query as: DB
         0.35900     0.14100     binding: ":P59_LOV_AT"="P59_LOV_AT" value="64"
         0.35900     0.00000     binding: ":P59_IDT"="P59_IDT" value="51"
         0.50000     0.01500     print column headings
         0.50000     0.00000     rows loop: 20 row(s)
         *0.51500     0.01600     report error: ORA-01403: no data found*
         0.51500     0.00000     Computation point: After Box Body
    ...

  • RMAN Restore Control File Fails - File Header Validation Fails

    hi everyone,
    This is 9i on Windows 2000.
    I'm trying to restore a control file from a backup made by RMAN on another server.
    I expected Oracle/RMAN to choke because it knows the backup file was not made from this servers database.
    RMAN>restore control file from '......' gives ORA-19563 Control File header validation failed
    Is there a way to force RMAN to restore a file, in a situation like this?
    Thanks,
    John

    >>I expected Oracle/RMAN to choke because it knows the backup file was not made from this servers database.
    What do you mean by this statement ? Do you mean that the servers are on different platforms ? If so first you need to do RMAN platform conversion to able to recognize the controlfile.
    If not, Can you make sure of the following
    1) source and target servers are same operating system
    2) source and target database homes have same versions.

  • Validation failed for archived log

    Hi,
    oracle database version 11.2.0.4
    OS centOS 6.5
    Recently i have set rman backup scripy on production Database, As we are using dbvisit for standby database for that we have set cron which run in every 10 minutes  it generates archive and copy it to standby side,
    but sometimes backup failed due to expected archive is not represent at location so i put "crosscheck archivelog all" in script now backup is running fine, But i have analyzed backlog file getting
    "validation failed for archived log" the time stamp i have checked validation failed archive is current day and yesterday even though archives are present at the location and CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    Guys i am worried it shouldn't be a big issue for me,
    please suggest what is wrong

    This forum is for Berkeley DB high availability. We do not have the expertise to help you with your Oracle database 11.2.0.4 issue. You'll need to submit this question to one of the Oracle database forums to get the help you are looking for.
    Paula Bingham

  • ORA-19563:  header validation failed for file

    hai all ,
    i faced problem when restore database from tape backup ,
    my current database 11.1.0.7.0 , with AIX OS
    im running RMAN to restore with set new name to change poiting to new lun.
    but when end of restore show this :
    channel c05: restore complete, elapsed time: 01:00:34
    channel c06: piece handle=PRFN_DB_bk_31518_1_831778821 tag=HOT_DB_BK_LEVEL0
    channel c06: restored backup piece 1
    channel c06: restore complete, elapsed time: 01:01:39
    Finished restore at 22-NOV-13
    released channel: c01
    released channel: c02
    released channel: c03
    released channel: c04
    released channel: c05
    released channel: c06
    released channel: c07
    released channel: c08
    released channel: c09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of switch command at 11/22/2013 15:13:04
    ORA-19563:  header validation failed for file
    im open alert.log and see the error
    Errors in file /oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/trace/PROD_m000_5243492.trc:
    ORA-51106: check failed to complete due to an error.  See error below
    ORA-48251: Failed to open relation due to following error
    ORA-48122: error with opening the ADR block file [/oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/metadata/HM_FINDING.ams] [0]
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 22: Invalid argument
    Additional information: 2
    ORA-01122: database file 30 failed verification check
    ORA-01110: data file 30: '/oradata51/PROD/data/ctxd01.dbf'
    ORA-01565: error in identifying file '/oradata51/PROD/data/ctxd01.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    Fri Nov 22 15:11:58 2013
    Errors in file /oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/trace/PROD_m000_5243494.trc:
    ORA-51106: check failed to complete due to an error.  See error below
    ORA-48251: Failed to open relation due to following error
    ORA-48122: error with opening the ADR block file [/oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/metadata/HM_INFO.ams] [0]
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 22: Invalid argument
    Additional information: 2
    ORA-01122: database file 221 failed verification check
    ORA-01110: data file 221: '/oradata51/PROD/data/a_txn_data86.dbf'
    ORA-01565: error in identifying file '/oradata51/PROD/data/a_txn_data86.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    info
    '/oradata51/PROD/data/a_txn_data86.dbf' --> path original from production
    SET NEWNAME FOR DATAFILE 221 TO '/oracle/PROD/db/apps_st/data/a_txn_data86.dbf' --> path in Testing that do full restore
    this file already exist a_txn_data86.dbf
    someone can help me ?
    Imron

    Hi Imron,
    Ensure the file is available at the OS level, if yes then follow the below link and see if it helps you
    https://forums.oracle.com/thread/2544292
    https://forums.oracle.com/message/1237966
    https://forums.oracle.com/message/
    Thanks &
    Best Regards,

  • "BPM-70830: Deployment validation failed" when deploying from composer

    Hi BPM developers,
    I am trying to deploy a BPM project based on a template to Oracle BPM Suite 11.1.1.6.0 running in SOA & BPM Development VM and I get the following error :
    “BPM-70830: Deployment validation failed. Cause: An unexpected error has occurred during deployment validation”
    Checking the project with the Validate button returns no problem.
    The weblogic log shows the following error
    <Oct 30, 2012 6:13:51 AM PDT> <Error> <oracle.bpm.composer.beans.toolbar.SarExportDialogBean> <BEA-000000> <
    java.lang.NullPointerException
    at oracle.soa.scac.ValidateComposite.checkInterfaceInWsdlManager(ValidateComposite.java:388)
    at oracle.soa.scac.ValidateComposite.validateComponentTypeReferences(ValidateComposite.java:980)
    at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1012)
    at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
    at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
    at oracle.bpm.deployment.impl.ScacDeploymentService.validateProject(ScacDeploymentService.java:223)
    at oracle.bpm.deployment.impl.ScacDeploymentService.generateSarFile(ScacDeploymentService.java:85)
    at oracle.bpm.deployment.impl.ScacDeploymentService.deploy(ScacDeploymentService.java:150)
    at oracle.bpm.pml.service.impl.ComposerMetadataServiceImpl.deployProject(ComposerMetadataServiceImpl.java:355)
    at oracle.bpm.composer.service.ProjectDeploymentService.deployProject(ProjectDeploymentService.java:157)
    at oracle.bpm.composer.service.ProjectDeploymentService.deploySelectedProject(ProjectDeploymentService.java:71)
    at oracle.bpm.composer.beans.toolbar.SarExportDialogBean.deployProject(SarExportDialogBean.java:635)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597) .....
    By the way, I have been following the script from the "Getting Started with Oracle BPM Suite 11gR1" book if anyone stumbled upon the same issue.
    TIA
    Yiannis Tsesmelis

    You're right, I restarted the server again and again...
    I have just opened the sr in metalink, it has been confirmed as a bug. Unfortunately there's no way to workaround. What I can do now is waiting for the solution.

  • List data validation failed when creating a new list item but does not fail when editing an existing item

    Dear SharePoint Experts,
    Please help.
    Why does my simple formula work in Excel but not-work in SharePoint?
    Why does this formula...
    =IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE)
    ...work in Excel but fail when I try to use it in SharePoint?
    The intent of this formula is the following...
    If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
    SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
    Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form. 
    Can you help?
    Thanks.
    -- Mark Kamoski

    Dear Jason,
    I appreciate your efforts.
    However, it seems to me that this statement of yours is not correct...
    "If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
    I believe this is NOT the answer for the following reasons.
    When I create a new item and click Save, the validation error is "list data validation failed".
    When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
    I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
    I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
    I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
    good details.
    However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
    SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
    into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
    SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
    available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
    The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
    But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created  with OOTB
    SP 2013. So, in some cases, there is an extra click for the enduser.
    Thanks,
    Mark Kamoski
    -- Mark Kamoski

  • File in File Browse item disappears if validation fails on any item ....

    Greetings:
    I'm using APEX 4.0. I have a region with 7 data elements, one of them being a File Browse page item. The BLOB file loads in the WWV_FLOW_FILES table first, then in the "After Submit" page processing, I move the BLOB into my own custom table. This works great in normal processing.
    However, if any of the other data elements in this region fails validation, the page renders with the validation messages, but the file in the File Browse page item disappears. Therefore, the user would have to re-select the file to upload before they resubmit and process the page again.
    How can I avoid this? Why does the path and file name disappear when page validation fails?
    Thanks,
    Stan

    bondurs wrote:
    Greetings:
    I'm using APEX 4.0. I have a region with 7 data elements, one of them being a File Browse page item. The BLOB file loads in the WWV_FLOW_FILES table first, then in the "After Submit" page processing, I move the BLOB into my own custom table. This works great in normal processing.
    However, if any of the other data elements in this region fails validation, the page renders with the validation messages, but the file in the File Browse page item disappears. Therefore, the user would have to re-select the file to upload before they resubmit and process the page again.
    How can I avoid this? Why does the path and file name disappear when page validation fails?It is a required security feature. Per the HTML specification, APEX will not render a value in a file browse item on page show. This protects the user from nefarious persons changing the file item value during spurious "failed" validation (hoping the user is distracted correcting the "failed" item and does not notice) in order to capture a file the user does not intend to submit (e.g. /etc/passwd).

  • Validation Failed. Creation Web Service Proxy

    Hi, all
    I've got a problem with JDeveloper 10.1.3 when I try to create a web serviceproxy using the wizard.
    My service class is next,
    package swa;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Toolkit;
    import java.awt.color.ColorSpace;
    import java.awt.geom.AffineTransform;
    import java.awt.image.AffineTransformOp;
    import java.awt.image.BufferedImage;
    import java.awt.image.ColorConvertOp;
    import java.awt.image.RescaleOp;
    import javax.xml.soap.AttachmentPart;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.SOAPMessage;
    public class ImgToolbox {
    public final static int FLIP_VERTICAL = 0;
    public final static int FLIP_HORIZONTAL = 1;
    public final static int FLIP_VERTICAL_HORIZONTAL = 2;
    public AttachmentPart toGray(AttachmentPart imagen){
    AttachmentPart apRetorno = null;
    try{
    Image image = (Image)imagen.getContent();
    BufferedImage originalImage = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_RGB);
    ColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_GRAY);
    ColorConvertOp op = new ColorConvertOp(cs, null);
    BufferedImage grayImage = op.filter(originalImage, null);
    // Creación del AttachmentPart con la nueva imagen
    MessageFactory mf = MessageFactory.newInstance();
    SOAPMessage message = mf.createMessage();
    apRetorno = message.createAttachmentPart();
    apRetorno.setContent(Toolkit.getDefaultToolkit().createImage(grayImage.getSource()),"image/jpeg");
    } catch(SOAPException e){
    System.out.println("Error, en el mensaje SOAP.");
    return apRetorno;
    public AttachmentPart flip(AttachmentPart ap, int tipo){
    AttachmentPart apRetorno = null;
    try{
    Image image = (Image)ap.getContent();
    BufferedImage originalImage = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_RGB);
    AffineTransform tx = null;
    AffineTransformOp op = null;
    switch(tipo){
    case FLIP_VERTICAL : {
    tx = AffineTransform.getScaleInstance(1, -1);
    tx.translate(0, -image.getHeight(null));
    break;
    case FLIP_HORIZONTAL : {
    tx = AffineTransform.getScaleInstance(-1, 1);
    tx.translate(-image.getWidth(null), 0);
    break;
    case FLIP_VERTICAL_HORIZONTAL : {
    tx = AffineTransform.getScaleInstance(-1, -1);
    tx.translate(-image.getWidth(null), -image.getHeight(null));
    break;
    op = new AffineTransformOp(tx, AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
    BufferedImage flipImage = op.filter(originalImage, null);
    // Creación del AttachmentPart con la nueva imagen
    MessageFactory mf = MessageFactory.newInstance();
    SOAPMessage message = mf.createMessage();
    apRetorno = message.createAttachmentPart();
    apRetorno.setContent(Toolkit.getDefaultToolkit().createImage(flipImage.getSource()),"image/jpeg");
    } catch (SOAPException e) {
    System.out.println("Error, en el mensaje SOAP.");
    return apRetorno;
    public AttachmentPart resize(AttachmentPart img,float escala){
    AttachmentPart apRetorno = null;
    try{
    Image image = (Image)img.getContent();
    BufferedImage originalImage = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_RGB);
    // Se rellena la BufferedImage con la imagen original
    Graphics g = originalImage.createGraphics();
    g.drawImage(image, 0, 0, null);
    g.dispose();
    // Modificación de la imagen original
    RescaleOp op = new RescaleOp(escala, 0, null);
    BufferedImage tempImage = op.filter(originalImage, null);
    // Creación del AttachmentPart con la nueva imagen
    MessageFactory mf = MessageFactory.newInstance();
    SOAPMessage message = mf.createMessage();
    apRetorno = message.createAttachmentPart();
    apRetorno.setContent(Toolkit.getDefaultToolkit().createImage(tempImage.getSource()),"image/jpeg");
    } catch (SOAPException e) {
    System.out.println("Error, en el mensaje SOAP.");
    return apRetorno;
    the wizard creates a JAX-RPC web service without problems from this class. However, if I click on "Regenerate Web Service from WSDL..." the method fails and throws a exception. The trace is next :
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
         at java.util.ArrayList.get(ArrayList.java:322)
         at oracle.jdeveloper.webservices.model.SOAPBinding.<init>(SOAPBinding.java:243)
         at oracle.jdeveloper.webservices.model.Binding.create(Binding.java:668)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2275)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2117)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.saveEditTopDown(JavaWebService.java:1704)
         at oracle.jdevimpl.webservices.WebServicesAddin$2.run(WebServicesAddin.java:2261)
         at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    WSDL FILE GENERATED BY THE WIZARD
    <definitions
    name="ImgToolboxWS"
    targetNamespace="http://swa/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://swa/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://swa/types/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns1="http://ws-i.org/profiles/basic/1.1/xsd"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd"
    elementFormDefault="qualified" xmlns:tns="http://ws-i.org/profiles/basic/1.1/xsd">
    <import namespace="http://swa/types/"/>
    <simpleType name="swaRef">
    <restriction base="xsd:anyURI"/>
    </simpleType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://swa/types/"
    elementFormDefault="qualified" xmlns:tns="http://swa/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap12-enc="http://www.w3.org/2003/05/soap-encoding"
    xmlns:ns1="http://ws-i.org/profiles/basic/1.1/xsd">
    <import namespace="http://ws-i.org/profiles/basic/1.1/xsd"/>
    <complexType name="flip">
    <sequence>
    <element name="ap" type="ns1:swaRef" nillable="true"/>
    <element name="tipo" type="int"/>
    </sequence>
    </complexType>
    <complexType name="flipResponse">
    <sequence>
    <element name="result" type="ns1:swaRef" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="resize">
    <sequence>
    <element name="img" type="ns1:swaRef" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="resizeResponse">
    <sequence>
    <element name="result" type="ns1:swaRef" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="toGray">
    <sequence>
    <element name="imagen" type="ns1:swaRef" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="toGrayResponse">
    <sequence>
    <element name="result" type="ns1:swaRef" nillable="true"/>
    </sequence>
    </complexType>
    <element name="flipElement" type="tns:flip"/>
    <element name="flipResponseElement" type="tns:flipResponse"/>
    <element name="resizeElement" type="tns:resize"/>
    <element name="resizeResponseElement" type="tns:resizeResponse"/>
    <element name="toGrayElement" type="tns:toGray"/>
    <element name="toGrayResponseElement" type="tns:toGrayResponse"/>
    </schema>
    </types>
    <message name="ImgToolboxWS_flip">
    <part name="parameters" element="tns0:flipElement"/>
    </message>
    <message name="ImgToolboxWS_flipResponse">
    <part name="parameters" element="tns0:flipResponseElement"/>
    </message>
    <message name="ImgToolboxWS_resize">
    <part name="parameters" element="tns0:resizeElement"/>
    </message>
    <message name="ImgToolboxWS_resizeResponse">
    <part name="parameters" element="tns0:resizeResponseElement"/>
    </message>
    <message name="ImgToolboxWS_toGray">
    <part name="parameters" element="tns0:toGrayElement"/>
    </message>
    <message name="ImgToolboxWS_toGrayResponse">
    <part name="parameters" element="tns0:toGrayResponseElement"/>
    </message>
    <portType name="ImgToolboxWS">
    <operation name="flip">
    <input message="tns:ImgToolboxWS_flip"/>
    <output message="tns:ImgToolboxWS_flipResponse"/>
    </operation>
    <operation name="resize">
    <input message="tns:ImgToolboxWS_resize"/>
    <output message="tns:ImgToolboxWS_resizeResponse"/>
    </operation>
    <operation name="toGray">
    <input message="tns:ImgToolboxWS_toGray"/>
    <output message="tns:ImgToolboxWS_toGrayResponse"/>
    </operation>
    </portType>
    <binding name="ImgToolboxWSSoap12Http" type="tns:ImgToolboxWS">
    <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="flip">
    <soap12:operation soapAction="http://swa//flip" soapActionRequired="false"/>
    <input>
    <mime:multipartRelated>
    <mime:part>
    <soap12:body use="literal" parts="parameters"/>
    </mime:part>
    </mime:multipartRelated>
    </input>
    <output>
    <mime:multipartRelated>
    <mime:part>
    <soap12:body use="literal" parts="parameters"/>
    </mime:part>
    </mime:multipartRelated>
    </output>
    </operation>
    <operation name="resize">
    <soap12:operation soapAction="http://swa//resize" soapActionRequired="false"/>
    <input>
    <mime:multipartRelated>
    <mime:part>
    <soap12:body use="literal" parts="parameters"/>
    </mime:part>
    </mime:multipartRelated>
    </input>
    <output>
    <mime:multipartRelated>
    <mime:part>
    <soap12:body use="literal" parts="parameters"/>
    </mime:part>
    </mime:multipartRelated>
    </output>
    </operation>
    <operation name="toGray">
    <soap12:operation soapAction="http://swa//toGray" soapActionRequired="false"/>
    <input>
    <mime:multipartRelated>
    <mime:part>
    <soap12:body use="literal" parts="parameters"/>
    </mime:part>
    </mime:multipartRelated>
    </input>
    <output>
    <mime:multipartRelated>
    <mime:part>
    <soap12:body use="literal" parts="parameters"/>
    </mime:part>
    </mime:multipartRelated>
    </output>
    </operation>
    </binding>
    <service name="ImgToolboxWS">
    <port name="ImgToolboxWSSoap12HttpPort" binding="tns:ImgToolboxWSSoap12Http">
    <soap12:address location="http://192.168.0.6:8888/Capitulo3-SwA-context-root/ImgToolboxWSSoap12HttpPort"/>
    </port>
    </service>
    </definitions>
    If I only expose the toGray method as a Web Service all works fine. Any combinatio with other methods won't work. It's very strange.
    When I try to create a proxy using the wizard JDeveloper shows me next error message :
    Validation Failed
    ...wsdl file does not contain sufficient information to create a proxy. At least one port type and a binding of the are required.
    Any reply will be greatly appreciated.
    Best regards.

    I am getting this error by generating a web service from pl/sql procedure. Just one package, just one procedure. Error stack:
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(WrapperClassGenerator.java:262)
         at oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run(SPWebServiceGenerator.java:285)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    The pl/sql package header looks like this:
    CREATE OR REPLACE package ADMIN.etis_autent as
    procedure autent(
         ps_kasutajatunnus in varchar2,
         ps_parool in varchar2,
         ps_isikukood out varchar2,
         ps_eesnimi out varchar2,
         ps_perekonnanimi out varchar2
    end etis_autent;
    /

  • Non-SysAdmins get error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.

    I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin.  Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database.  The user attempts
    to connect using Excel client or Access or SQL Management Studio and receives Error 18456.  The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data.  But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    We've turned off UAC on the client machine to see if that was the problem, but no change.
    I have dropped and re-added the user's SQL Login (and the related database user login info).  No success.
    The Ring Buffers output shows:
    The Calling API Name: LookupAccountSidInternal
    API Name: LookupAccountSid
    Error Code: 0x534
    Thanks for any help.
    -Walt

    Yes, you understand correctly.  The user is logging onto a workstation (not the server) with a Windows Authenticated id.  The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
     If the account has sysadmin role (which is only for testing) then the connection is successful.  If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    (SQL Authentication is not an option here.  I must use Windows Authentication).
    Any other troubleshooting assistance you can offer would be appreciated.  Thanks.
    -Walt 

  • Token-based server access validation failed with an infrastructure error

    Hi
    We have a new Win 2008 Enterprise x64 server running SQL 2008
    When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message:
    "Token-based server access validation failed with an infrastructure error"
    What needs to be configured here for this to work ?
    Thanks
    Bruce

    Hi,
    I am encountering the same error message but it is more around the login, this problem happens only on one server but it is fine on another three, my investigation show it is a ghost SID associated with AD user account
    Background
        1- An Active Directory (AD) account was created for a user [Domain\UserA]
        2- A SQL login was created for the account above and then granted access to a number of databases
        3- The AD account was renamed/modified to [Domain\UserB]
        At this stage the user would encounter an error when connecting to the server
        The sql log show this error message
        Error: 18456, Severity: 14, State: 11.
        Message
        Login failed for user 'domain\user'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.     [CLIENT: xxx]
    Action on Server 1 SQL (the one with the problem)
        1- Dropped the user from the databases
        2- Re-Created the login from the windows account [Domain\UserB]
        3- Created the user in the respective databases
        But the user still unable to connect to the server
    Investigation
        On server 1, the SID of the user in SYSUSERS was Matching SYSLOGINS and matches with result of SUSER_SID(Domain\UserA)
        But it does not match the SID in the AD
        The rest of the servers all have the correct SIDs
        When I use SUSER_SNAME(Incorrect-Sid) and SUSER_SNAME(Correct-Sid) on this server they both return [Domain\UserB]
        The problematic server is always returning the incorrect SID when recreating the user login and when using SUSER_SID(Domain\UserA) as if it is cached somewhere.
    I can't specify the SID when creating the SQL login because it is using the Windows account
    Your ideas on how to fix this problem are much appreciated
    Regards,
    DGL

  • Migration Signature Validation Failed

    Hi, I am getting an invalid migration signature error when trying to install AIR Launchpad beta 3.0.1.
    The machine is running XP SP3, with all patches applied. I have tried switching off antivirus for both download and installation, but with no success.
    This is a 'clean' machine, with disk formatted, and OS and all other software re-installed less than a week ago. System time and date are correct.
    AIR was installed automatically as part of Flashbuilder 4.5 installation and the update to + 4.5.1 immediately applied.
    I have search the net for solutions to this, but found relatively few others with this exact issue. I did find many reports of issues with 'Package' validation errors, whhic are often attributed to certificate failures due to system date/time which I have already checked.
    Hope that sombody has an answer.
    The log file is attached below.
    Many Thanks
    Cjdsys
    [2011-08-28:11:09:51] Application Installer begin with version 2.5.1.17730 on Windows XP x86
    [2011-08-28:11:09:51] Commandline is: "C:\Documents and Settings\Ciaran\My Documents\Downloads\airlaunchpad_p8_3-0-1_081911.air"
    [2011-08-28:11:09:51] Installed runtime (2.5.1.17730) located at C:\Program Files\Common Files\Adobe AIR
    [2011-08-28:11:09:52] Unpackaging file:///C:/Documents%20and%20Settings/Ciaran/My%20Documents/Downloads/airlaunchpad_p8_3-0 -1_081911.air to C:\Documents and Settings\Ciaran\Local Settings\Temp\fla16C.tmp
    [2011-08-28:11:09:55] Migration signature validation failed
    [2011-08-28:11:09:55] Got an unexpected fatal error while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="invalid migration signature" errorID=5023]
    [2011-08-28:11:10:01] Application Installer end with exit code 7

    Hmmm.
    Looked at the system requirements for Launchpad 3.0.1.. Flashbuilder 4.5.1 or 4.5 sdk with AIR 2.6 overlay.. Log showed I was running 2.5.xxxx.
    Launched Flashbuilder and searched for updates.. Tells me all versions of Flash Player and AIR are up to date. Decide to try installing another AIR app, so go for Tour De Flex as I want to study the mobile stuff anyway. Installs fine, and on launch, I am immediately offered an AIR update to 2.7.x. Accept the update and low and behold, AIR Launchpad now installs.
    Sweet, but wtf?
    So, for anyone out there who comes falls foul of this in the future, do not rely on Flashbuilder to confirm your version of AIR is up to date, launch an AIR app instead and you will get the true picture.
    Hope this helps some other confused soul.
    Cjdsys

  • Ticket Validation Failed

    Hi All,
    I am implementing SSO with BW System,during the integration steps i am unable to import the certificate into bW System as it is throwing the error"error in importing"
    and in the trace file it is showing the error " Ticket validation failed" this wih the SM50 transaction.
    Plz can any one can help on this issue ,its very urgent for me.
    Thanks
    Ajay

    Hi All,
    Thanks all for ur useful suggestions..I have solved this problem...I have not imported the private key into the BW system so the ticket which is being creted is not been valided as there is no private key..
    Now that i have imported the private key into the BW system..this has been resolved..
    Thanks
    Ajay

  • Order Import Failed in OM : Log Validation failed for the field - Ship To

    Problem in Order Management
    When i tried to do Order import in Source Org logfiles shows the Message :Validation failed for the field - Ship To, Please if anyone have a solution of this.
    Thanks in advance.
    Regards,
    Rajesh Verma
    Senior Consultant- Oracle Apps.
    COLT

    perhaps you might want to try populating customer_id instead of name to make sure that there is no error on typing customer name.
    primary ship-to and bill-to must exist under this customer. During order import, if ship-to is not specified then import will fetch primary ST of customer.
    This is what we use to populate interface table -with mininum of data.
    INSERT INTO oe_headers_iface_all
    (orig_sys_document_ref,order_source_id,org_id
    ,order_type_id,payment_term_id, shipping_method_code, freight_terms_code
    ,customer_po_number,salesrep_id
    ,sold_to_org_id, ship_to_org_id,invoice_to_org_id,sold_to_contact_id
    ,booked_flag
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code, order_category
    ,attribute5,tp_attribute4,xml_message_id,xml_transaction_type_code
    ,request_id, error_flag)
    INSERT INTO oe_lines_iface_all
    (order_source_id, orig_sys_document_ref, orig_sys_line_ref,orig_sys_shipment_ref
    ,inventory_item,item_type_code,line_type_id
    ,top_model_line_ref,link_to_line_ref,component_sequence_id,component_code,option_flag
    ,ordered_quantity
    ,order_quantity_uom,salesrep_id
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code,cust_model_serial_number,line_category_code
    ,context,attribute6
    ,reference_type, reference_line_id, reference_header_id
    ,return_context, return_attribute1, return_attribute2
    ,return_reason_code
    ,tp_attribute1,tp_attribute2,tp_attribute3,tp_attribute4,tp_attribute5
    ,request_id,error_flag)

  • Is their way to prevent a form data from being lost when a validation fails

    Is their way to prevent a form data from being lost when a validation fails?

    So I would use APEX_COLLECTION (there is some information in APEX documentation).
    Read all data you need to keep after submit and save them to your collection. Then, if validation fails, show report with data not from base, but from your collection. You have to create process, which creates collection, and you need to modify your report definition to get data not only from DB but also from collection.
    If you have any questions feel free to ask.
    Regards,
    Przemek
    Edited by: Przemek on 2009-01-10 17:47

Maybe you are looking for

  • Update was terminated - Getwa_not_assigned error

    Hello, When I try to create Invoice through VF03, Created invoice number is displayed but when I look for it again, It does not exist. I get Express information "Update was terminated". I looked in SM13 it shows description as Getwa_not_assigned. Its

  • Delete itunes duplicates and triplicates

    Hi - i have 7000 songs in my itunes library, but they are all in triplicate, that's 22,000 songs, so i need to delete 14,000 of them. i dont want to click on each one! how can I do this as a group?

  • Time Machine Doesn't Recognize Old Backups

    1) Had a mid-2010 27" iMac with Snow Leopard on it. 2) Upgraded Snow Leopard to Lion. Lion recognized time machine disk like it should and backed up like it should. I was able to retain my backups I've had since 2008. 3) This iMac had a hardware issu

  • How to change funcionality "Maintain Master Data" to RSA1 instead WebDympro (BW 7.4)

    Hello Gurus, Someone could help me? In SAP BW 7.4 (Support Package 7) the BW master data maintain function moved from SAP GUI into web dynpro screen. Can we use it (maintain master data) in SAP GUI RSA1 like SAP BW 7.3? Is it a configuration in SPRO?

  • Risk Bug in Spry Validation

    Hello, I have found risk bug in spry validation see this demo http://labs.adobe.com/technologies/spry/demos/formsvalidation/ but when I change the address like this look what happen: http://labs.adobe.com/technologies/spry/demos//formsvalidation/ val