Automatic datafile offline due to write error

Hi,
Our SAP system are down. In the alert.log file, i found that one of the files are being locked by third party backup software.
I'm new to both oracle and basis, pls advise the steps to recover the database. Thank you.
The error in the alert log file:
Errors in file f:\oracle\p02\saptrace\background\p02_lgwr_3896.trc:
ORA-00345: redo log write error block 8404 count 2
ORA-00312: online log 3 thread 1: 'D:\ORACLE\P02\ORIGLOGA\LOG_G13M1.DBF'
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
Sat Oct 25 00:23:12 2008
Errors in file f:\oracle\p02\saptrace\background\p02_lgwr_3896.trc:
ORA-00343: too many errors, log member closed
ORA-00346: log member marked as STALE
ORA-00312: online log 3 thread 1: 'D:\ORACLE\P02\ORIGLOGA\LOG_G13M1.DBF'
Sat Oct 25 00:26:04 2008
Incremental checkpoint up to RBA [0x1c1b.2079.0], current log tail at RBA [0x1c1b.20dc.0]
Sat Oct 25 00:35:18 2008
KCF: write/open error block=0x3f7c6 online=1
     file=5 G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
     error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.'
Automatic datafile offline due to write error on
file 5: G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
Sat Oct 25 00:35:19 2008
KCF: write/open error block=0x3f7c4 online=1
     file=5 G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
     error=27070 txt: 'OSD-04016: Error queuing an asynchronous I/O request.
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.'
Automatic datafile offline due to write error on
file 5: G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2
Sat Oct 25 00:36:00 2008
KCF: write/open error block=0x37f74 online=1
     file=7 G:\ORACLE\P02\SAPDATA1\SR3_4\SR3.DATA4
     error=27072 txt: 'OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.'
Automatic datafile offline due to write error on
file 7: G:\ORACLE\P02\SAPDATA1\SR3_4\SR3.DATA4
Sat Oct 25 00:45:49 2008
Errors in file f:\oracle\p02\saptrace\usertrace\p02_ora_3876.trc:
ORA-00600: internal error code, arguments: [kdtdelrow-2], [2], [2], [], [], [], [], []
ORA-00376: file 5 cannot be read at this time
ORA-01110: data file 5: 'G:\ORACLE\P02\SAPDATA1\SR3_2\SR3.DATA2'

Hi
As alway use this information for research purposes only.
I presume that Oracle and SAP application servers are down.
Now would be a good time to make a backup image of your crippled system.
This way you can always get back to this state if needed.
So do an offline backup if possible.
It looks like a log file is damaged or deleted. You may find that you have a
mirror image of it so this might not be the end of the world.
If you have oracle up to the mount point e.g.
startup mount
then you should be able to acces the v$logfile
select  GROUP#,STATUS,MEMBER from v$logfile;
This will show you whether the have a mirror setup for the log file you need.
Make sure all the files outlined in this output exist.
e.g. do a DIR in the parant directory.
Post all the output of v$logfile and whether all the files exist.
regards
Stephen

Similar Messages

  • Automatic tempfile offline due to write error on

    Hi everybody,
    I am getting the following in my alert log and my TEMPFILE went offline.
    KCF: write/open error block=0x5a909 online=1
    file=4 /database1/oratemp1/temp1_04.dbf
    error=27091 txt: 'HP-UX Error: 28: No space left on device
    Automatic tempfile offline due to write error on
    file 4: /database1/oratemp1/temp1_04.dbf
    The funny thing is I found that it is not autoextensible. The sapce in the mount point is 100% utilized. But why would such an error come when the tempfile is in autoextend off??
    Any ideas?
    Thanks in advance

    Hi.
    Oracle does not guarantee whether temp datafiles are fully allocated on file system by OS when you create a temp tablespace or a add tempfile.
    Usually it will not be fully allocated on file system until you fully utilize the temp space.
    You should make some free space for tempspace to (really) allocate in the volume
    or create another temp tablespace on another volume and switch to it.

  • ORA-01171: datafile 6 going offline due to error advancing checkpoint

    Hi
    Anyone here know what cause this error? This error happened after backup at night.The data file then went offline. Anyone know the reason?
    Thanks
    Excerpt from alert.log:
    Mon Feb 26 20:34:45 2007
    Errors in file d:\oracle\admin\live\bdump\live_ckpt_1064.trc:
    ORA-01171: datafile 6 going offline due to error advancing checkpoint
    ORA-01122: database file 6 failed verification check
    ORA-01110: data file 6: 'D:\ORACLE\ORADATA\LIVE\VGSM_DB01.DBF'
    ORA-01208: data file is an old version - not accessing current version
    Contents of d:\oracle\admin\live\bdump\live_ckpt_1064.trc
    Dump file d:\oracle\admin\live\bdump\live_ckpt_1064.trc
    Mon Feb 26 20:34:45 2007
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Instance name: live
    Redo thread mounted by this instance: 1
    Oracle process number: 5
    Windows thread id: 1064, image: ORACLE.EXE
    *** 2007-02-26 20:34:45.000
    *** SESSION ID:(4.1) 2007-02-26 20:34:45.000
    ORA-01171: datafile 6 going offline due to error advancing checkpoint
    ORA-01122: database file 6 failed verification check
    ORA-01110: data file 6: 'D:\ORACLE\ORADATA\LIVE\VGSM_DB01.DBF'
    ORA-01208: data file is an old version - not accessing current version

    Thanks
    I looked at applicaiton log and found there are message on audit trail:
    26/02/2007     20:03:56     Oracle.live     Audit trail: ACTION : 'CONNECT' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: PHARMA\OmniBack CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    26/02/2007     20:01:35     Oracle.live     Audit trail: ACTION : 'CONNECT' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: PHARMA\OmniBack CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    But the datbase was not shotdown immediately, it was shutdown next day as shown below:
    27/02/2007     12:17:46     Oracle.live     Audit trail: ACTION : 'CONNECT' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: AUSALDB03\oborj0 CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    27/02/2007     12:17:45     Oracle.live     AUSALDB03     Initializing PGA for process ARC1 in instance live.
    27/02/2007     12:17:44     Oracle.live     Initializing PGA for process ARC0 in instance live.
    27/02/2007     12:17:44     Oracle.live     Initializing PGA for process RECO in instance live.
    27/02/2007     12:17:44     Oracle.live     Initializing PGA for process SMON in instance live.
    27/02/2007     12:17:43     Oracle.live     Initializing PGA for process CKPT in instance live.
    27/02/2007     12:17:43     Oracle.live     Initializing PGA for process LGWR in instance live.
    27/02/2007     12:17:43     Oracle.live     Initializing PGA for process DBW0 in instance live.
    27/02/2007     12:17:42     Oracle.live     Initializing PGA for process PMON in instance live.
    27/02/2007     12:17:42     Oracle.live     Initializing SGA for instance live.
    27/02/2007     12:17:42     Oracle.live     Audit trail: ACTION : 'STARTUP' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: AUSALDB03\oborj0 CLIENT TERMINAL: Not Available STATUS: 0 .
    27/02/2007     12:17:11     Oracle.live     Instance live has been terminated.
    27/02/2007     12:17:10     Oracle.live     All process in instance live stopped
    27/02/2007     12:17:09     Oracle.live     Shutdown normal performed on instance live.
    27/02/2007     12:17:09     Oracle.live     Audit trail: ACTION : 'SHUTDOWN' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: AUSALDB03\oborj0 CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    27/02/2007     12:13:31     Oracle.live     Audit trail: ACTION : 'CONNECT' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: AUSALDB03\oborj0 CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    Do you think the database was not shutdown properly at that time? If backup of datafile was carried on with database still open, it may cause the errors as shwon on oracle alert log file, but I am not sure.
    Also I found the database was shutdown properly on the othe day but with user name ="sys"! Do you think this username cause the problem of shutdown?
    24/02/2007     20:04:54     Oracle.live     Audit trail: ACTION : 'CONNECT' DATABASE USER: 'sys' PRIVILEGE : SYSDBA CLIENT USER: PHARMA\AUSALDB03$ CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    24/02/2007     20:04:54     Oracle.liveInitializing PGA for process ARC1 in instance live.
    24/02/2007     20:04:53     Oracle.live     Initializing PGA for process ARC0 in instance live.
    24/02/2007     20:04:53     Oracle.liveInitializing PGA for process RECO in instance live.
    24/02/2007     20:04:53     Oracle.live     Initializing PGA for process SMON in instance live.
    24/02/2007     20:04:53     Oracle.live     Initializing PGA for process CKPT in instance live.
    24/02/2007     20:04:52     Oracle.live     Initializing PGA for process LGWR in instance live.
    24/02/2007     20:04:52     Oracle.live     Initializing PGA for process DBW0 in instance live.
    24/02/2007     20:04:52     Oracle.live     Initializing PGA for process PMON in instance live.
    24/02/2007     20:04:51     Oracle.live     Initializing SGA for instance live.
    24/02/2007     20:04:51     Oracle.live     Audit trail: ACTION : 'STARTUP' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: PHARMA\AUSALDB03$ CLIENT TERMINAL: Not Available STATUS: 0 .
    24/02/2007     20:04:51     Oracle.live     Audit trail: ACTION : 'CONNECT' DATABASE USER: 'sys' PRIVILEGE : SYSDBA CLIENT USER: PHARMA\AUSALDB03$ CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    24/02/2007     20:00:17     Oracle.live     Instance live has been terminated.
    24/02/2007     20:00:15     Oracle.live     All process in instance live stopped
    24/02/2007     20:00:11     Oracle.live     Shutdown normal performed on instance live.
    24/02/2007     20:00:11     Oracle.live     Audit trail: ACTION : 'SHUTDOWN' DATABASE USER: '/' PRIVILEGE : SYSDBA CLIENT USER: PHARMA\AUSALDB03$ CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    24/02/2007     20:00:08     Oracle.live     Audit trail: ACTION : 'CONNECT' DATABASE USER: 'sys' PRIVILEGE : SYSDBA CLIENT USER: PHARMA\AUSALDB03$ CLIENT TERMINAL: AUSALDB03 STATUS: 0 .
    Thanks for your help!
    Li

  • No Online backups due to datafiles offline than I canu0092t recover. How...?

    Hi gurus!!!
    I got into a problem with some datafiles.
    We have MySAP in a BD oracle 9.2.0.6
    I used Oracle Entreprise Manager Console to generate two datafiles in the tablespace PSAPPRDUSR,
    but I generated them in another tablesapce (PSAPPRD) with a name of file,
    size and location very different from those that there uses the tablespace PSAPPRD.
    <b>So... I put them offline later to erase them later!!!</b>
    <b>The datafiles contains no data.</b>
    <b>Later, in the night backup:</b>
       BR0334W Status of database file /oracle/PRD/sapdata4/prdusr_2/prdusr.data2 is RECOVER 
       BR0334W Status of database file /oracle/PRD/sapdata4/prdusr_2/prdusr.data2a is RECOVER
       BR0301E SQL error -1128 at location BrTspAlter-3                    
       ORA-01128: cannot start online backup - file 31 is offline          
       ORA-01110: data file 31: '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2'
       BR0280I BRBACKUP time stamp: 2007-04-20 03.01.21                    
       BR0316E 'Alter tablespace PSAPPRD begin backup' failed              
       BR0056I End of database backup: bdvbtndh.ant 2007-04-20 03.01.21    
    <b>
    And now... I neither can erase them nor can put online again.</b>
    <b>To erase them I used:</b>
    SQL> ALTER DATABASE DATAFILE '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2' OFFLINE DROP;
    Database altered.
    SQL> commit;
    But they continue there, do not resign.
    <b>To put them online:</b>
    SQL> alter database recover datafile '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2';
    alter database recover datafile '/oracle/PRD/sapdata4/prdusr_2/prdusr.data2'
    ERROR at line 1:
    ORA-00279: change 31203204 generated at 04/19/2007 19:30:11 needed for thread 1
    ORA-00289: suggestion : /oracle/PRD/oraarch/PRDarch1_2574.dbf
    ORA-00280: change 31203204 for thread 1 is in sequence #2574
    SQL>
    <b>But we have continued working and I don't want to lose any data.</b>
    HEEEELP!!!!
    What I can do to recover the datafiles and to continue with my daily Online backups?
    The BD is in production and I do not have long time to fix it, only a few hours on Saturdays night.

    Hi,
    alter database datafile offline drop;
    This command is not meant to drop a datafile. It is meant to offline the datafile with the intention of dropping the tablespace.
    For a tablespace comprising multiple datafiles you can only drop a datafile by dropping the entire tablespace, this will work even you have one datafile.
    If you have 10gr2, it's finally possible to drop a datafile as long as
    it's not the only datafile within the tablespace, and
    the tablespace is only and in read-write status.
    So since you are on 9i your situation in summary:
    If you have more than one datafile in the tablespace and you wish to keep the objects that reside in the other datafile(s) which are part of this tablespace, then you must export all the objects inside the tablespace.
    1. Gather information on the current datafiles within the tablespace by running some query to remember the t/s, segment, and datafile info.
    2. Export all the objects that you wish to keep.
    3. Once the export is done, issue the DROP TABLESPACE <tablespace name> INCLUDING CONTENTS.
    4. Delete the datafiles belonging to this tablespace using the operating system.
    5. Recreate the tablespace with the datafile(s) desired, then import the objects into that tablespace.
    Hope this helps and good luck,
    George

  • Certificate issues Active Directory Certificate Services could not process request 3699 due to an error: The revocation function was unable to check revocation because the revocation server was offline. 0x80092013

    Hi,
    We have some problems with our Root CA. I can se a lot of failed requests. with the event id 22: in the logs. The description is: Active Directory Certificate Services could not process request 3686 due to an error: The revocation function was unable to
    check revocation because the revocation server was offline. 0x80092013 (-2146885613).  The request was for CN=xxxxx.ourdomain.com.  Additional information: Error Verifying Request Signature or Signing Certificate
    A couple of months ago we decomissioned one of our old 2003 DCs and it looks like this server might have had something to do with the CA structure but I am not sure whether this was in use or not since I could find the role but I wasn't able to see any existing
    configuration.
    Let's say that this server was previously responsible for the certificates and was the server that should have revoked the old certs, what can I do know to try and correct the problem?
    Thank you for your help
    //Cris

    hello,
    let me recap first:
    you see these errors on a ROOT CA. so it seems like the ROOT CA is also operating as an ISSUING CA. Some clients try to issue a new certificate from the ROOT CA and this fails with your error mentioned.
    do you say that you had a PREVIOUS CA which you decomissioned, and you now have a brand NEW CA, that was built as a clean install? When you decommissioned the PREVIOUS CA, that was your design decision to don't bother with the current certificates that it
    issued and which are still valid, right?
    The error says, that the REQUEST signature cannot be validated. REQUESTs are signed either by itself (self-signed) or if they are renewal requests, they would be signed with the previous certificate which the client tries to renew. The self-signed REQUESTs
    do not contain CRL paths at all.
    So this implies to me as these requests that are failing are renewal requests. Renewal requests would contain CRL paths of the previous certificates that are nearing their expiration.
    As there are many such REQUEST and failures, it probably means that the clients use AUTOENROLLMENT, which tries to renew their current, but shortly expiring, certificates during (by default) their last 6 weeks of lifetime.
    As you decommissioned your PREVIOUS CA, it does not issue CRL anymore and the current certificates cannot be checked for validity.
    Thus, if the renewal tries to renew them by using the NEW CA, your NEW CA cannot validate CRL of the PREVIOUS CA and will not issue new certificates.
    But it would not issue new certificates anyway even if it was able to verify the PREVIOUS CA's CRL, as it seems your NEW CA is completely brand new, without being restored from the PREVIOUS CA's database. Right?
    So simply don't bother :-) As long as it was your design to decommission the PREVIOUS CA without bothering with its already issued certificates.
    The current certificates which autoenrollment tries to renew cannot be checked for validity. They will also slowly expire over the next 6 weeks or so. After that, autoenrollment will ask your NEW CA to issue a brand new certificate without trying to renew.
    Just a clean self-signed REQUEST.
    That will succeed.
    You can also verify this by trying to issue a certificate on an affected machine manually from Certificates MMC.
    ondrej.

  • Taking rollback segment and datafile offline caused application error

    One of the DBA's added a large rollback segment which caused the rman backup to abort. The rollback segment was taking offline and it's datafile was taken offline, all went normally no errors. An Application started gettting errors the database and application were taking down and up, no errors on either but the problem was still there. The rbs datafile and RBS were placed back online and the application worked properly. It looks as if Oracle let us take the RBS and datafile offline with active segments in the RBS is this possible?? If so it means you can pull the rug out from under Oracle and it doesn't even complain

    Pls check any transactions written in application level,
    explicitly assigned to the RBs which was taken offline.

  • I keep trying to burn a CD-R in Iphoto, and every time iPhoto stops burning halfway through and i get this error message, "Attemp to burn a disc failed. Burn failed due to a medium write error." I am using memorex CD-R's and have tried with 4 times with d

    I keep trying to burn a CD-R in Iphoto, and every time iPhoto stops burning halfway through and i get this error message, "Attemp to burn a disc failed. Burn failed due to a medium write error." I am using memorex CD-R's and have tried with 4 times with different CD's. Is this a software or hardware problem? Any info would be awesome

    Export the photos to a desktop folder, right click on the folder and burn to disk - see if that is any different
    LN

  • 'Write' failed due to: Translation Error.

    Hi
    I'm trying to convert csv and write to a file using FielAdapters in 11g. While reading input i created .xsd using native builder. and using same for write fileadapter. my flow is ReadFileAdapter-->Receive-->invoke-->writeFileAdapter.
    Is this right? when I deploy and run I'm getting
    <01-Mar-2013 10:09:23 o'clock GMT> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> ReadInput ReadInputAdapter Service ReadInput was unable to perform delivery of inbound message to the composite default/ReadWriteFile!1.0*soa_40862c80-62ba-4425-b7e6-5fcfb5c5b4e4 due to: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Translation Error.
    Translation Error.
    Error while translating message to native format.
    Please make sure that the payload for the outbound interaction conforms to the schema.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    ,detail=<detail>Element not completed: 'TestRoot'</detail>
    ,code=<code>null</code>}
    >
    I want to convert csv and write as an xml to output file. can some body help me whats is wrong?
    here is my xsd
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/ReadInput"
    targetNamespace="http://TargetNamespace.com/ReadInput"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    >
    <xsd:element name="TestRoot">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="TestRecord" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="C3" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    and csv file
    12, John, ryegate, Essex
    23, Will, wilow, orlean
    I also tried inbuild advane function on invoke activity
    ora:doTranslateFromNative(bpws:getVariableData('ReceiveInput_Read_InputVariable'),'xsd/Hello2_8.xsd','Test','DOM')
    even this didn't work.
    can somebody help me how to write as xml from csv?
    Thanks
    Edited by: user11132693 on Mar 1, 2013 3:01 AM

    whne i use transformer it is xslt which takes only values isn't it? And it writes only valuesNope, xslt can write xml... Actually, I'm not sure if I understand what your question is at the moment... Are you still facing the "Translation Error"? Or do you have a problem with a transformation?
    Check this... https://forums.oracle.com/forums/ann.jspa?annID=330

  • I am unable to burn mp3 audio files to cd.I have tried different speeds but every time it ays failed due to media write error.Can anyone help what to do?

    I am unable to burn mp3 audio files to cd.Every time it says failed due to media write error.I have tried different speeds.Can anyone help pls?

    There are several different incompatible media sold as writeable CDs. You MUST match the media to the abilities of your drive.
    I was flummoxed by buying 8x media when my drive was a 2x drive. I needed the other type, and there was nothing helpful in the diagnostics or the packaging that helped me understand that.
    EDIT: There is an interesting helpful feature buried in System Profiler ... (read the last two lines of the report):
    About this Mac > ( More Info ) > Report > Disc burning

  • "JCA Binding execute of Reference operation 'Write' failed due to: Translation Error.

    Hi, i am trying to read a comma delimited file using an inbound file adapter, i have used a mediator to route records to the outbound file adapter.My input.txt file contains 10 records as Fname,Lname.I have used native format builder to generate xsd. To achieve transformation,in the mediator i have mapped only the Fname from source to traget using a for-each loop.I am trying to publish records in the batches of 2 so i have configured inbound file adapter accordingly.My inbound file adapter reads the first two records and the same is visible at the em console mediator instance(payload), i am even able to see the first two records being transformed in the transformed payload in the mediator instance detail but at the outbound file adapter i get an error saying :
    Error during invoking 1-way operation "Write" on target service "writeFile"
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    When i map both the Fname and Lname in the xsl map file i get the output.But i only need one field at the outfile i:e either the Fname or the Lname.
    Given below are the details of the interface:
    My Interface Flow:       InboundFileAdapter--------ReadsFile------->Medaitor------Transformation----->OutboundFileAdapter-----writesFile
    Input Payload(comma delimited text file) as,
    Brad,Pitt
    Keanu,Reaves
    Martin,Lawrance
    Johnny,Depp
    etc
    etc
    Schema definition for payload:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
                xmlns:tns="http://TargetNamespace.com/readFile"
                targetNamespace="http://TargetNamespace.com/readFile"
                elementFormDefault="qualified"
                attributeFormDefault="unqualified"
                nxsd:version="NXSD"
                nxsd:stream="chars"
                nxsd:encoding="US-ASCII">
      <xsd:element name="Root-Element">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Employee" minOccurs="1" maxOccurs="unbounded">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="Fname" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
                  <xsd:element name="Lname" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    XSL Map:
    <xsl:template match="/">
        <imp1:Root-Element>
          <xsl:for-each select="/imp1:Root-Element/imp1:Employee">
            <imp1:Employee>
              <imp1:Lname>
                <xsl:value-of select="imp1:Lname"/>
              </imp1:Lname>
            </imp1:Employee>
          </xsl:for-each>
        </imp1:Root-Element>
      </xsl:template>
    </xsl:stylesheet>
    Please help me with the above mentioned error and if above transformation is possible using a mediator instead of BPEL
    Regards,
    Saif

    Hi Saif,  Are you using the same xsd for the outbound (write) file adapter as well? In that case, you may need to map both the names (Fname and Lname) but leave the name which you do not want to be written to the file as an empty text. For example, if you would need to map only the Lname, but not the Fname, the xsl will be like,
    <xsl:template match="/">
        <imp1:Root-Element>
          <xsl:for-each select="/imp1:Root-Element/imp1:Employee">
            <imp1:Employee>
              <imp1:Fname>
              <xsl:text disable-output-escaping="no"></xsl:text>
              </imp1:Fname>
              <imp1:Lname>
                <xsl:value-of select="imp1:Lname"/>
              </imp1:Lname>
            </imp1:Employee>
          </xsl:for-each>
        </imp1:Root-Element>
      </xsl:template>
    </xsl:stylesheet>
    Another option is to have a separate xsd with only one element (Fname or Lname) for the outbound file adapter, in which case you would need to map only one field.

  • 打印错误 Write error on Datafile

    用户操作系统XP SP3
    可以打印程序界面
    但打印SMARTFORM时出现错误,无法打印,实体打印机或虚拟打印机皆是
    确定打印机正常及用户账号在其它PC上使用正常
    有谁知道红色部分的含义及形成吗?
    (15:33:44) Number of processors: 2
    (15:33:44) Icon DLL loaded.
    (15:33:44)
    (15:33:44) Network Communication via SAP-NiLib
    (15:33:44) Hostname: HP-201202161353
    (15:33:44) IP Address: 15816496.2090016461.1223848.1223876
    (15:33:44)
    (15:33:44) SAPLPD Version 6.29 for Windows/NT (OPT) is listening
    (15:33:44) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 3
    (15:33:44) Copyright ?1992-2001 SAP AG
    (15:33:44)
    (15:33:54)
    (15:33:54) Receive job for printer HP Officejet 4300 series (Berkeley LPD protocol / RFC1179)
    (15:33:54) send_status called
    (15:33:54) send_status called
    (15:33:54) send_status called
    (15:33:54) send_status called
    (15:33:55) Error: Write error on Datafile dfA933ERPPRD1.1: only 384 of 2000 Bytes written
    (15:33:55) Error: Write error on Datafile dfA933ERPPRD1.1: only 95 of 2000 Bytes written
    (15:33:55) Error: Write error on Datafile dfA933ERPPRD1.1: only 95 of 1425 Bytes written
    (15:33:55) send_status called
    (15:33:55) Job 000000123100001.PRD for user WXMM101 queued.
    (15:33:55) Start printing job 000000123100001.PRD on printer HP OFFICEJET 4300 SERIES
    (15:33:55) Print-job 000000123100001.PRD, 0 pages finished.
    (15:33:55) Elapsed time 0.641 sec (0.000 sec. used by windows)
    Edited by: Mosengren on Feb 21, 2012 6:19 AM

    系统为SAP ECC 6.0
    服务器操作系统Windows 2008 英文版
    数据库DB2
    客户端为SAP Logon 720
    我觉得应该不是客户端软件问题
    因为其他人安装的也是这个版本
    我怀疑还是用户操作系统本身的问题
    但是问题出在哪方面没有头绪
    实在不行就只好重做用户操作系统了

  • Oracle Application Server crashes due to Socket Write Error

    I am using Oracle Application Server 9.0.3. Simple JSP application is running on it. We are using the application server connection pooling functionality. Following errors are occuring on it frequently and it causes the application server crash.
    First application response gets slow and eventually application server gets lock and it wont respond and we have to restart the application server. Our application is in production mode and we need to solve this issue immediately.
    ----------------Error1---------------------
    com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:249)
         at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:424)
         at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:341)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:490)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:415)
         at schedule.schedulehome._jspService(_schedulehome.java:542)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:479)
    ------------Error2---------------------
    com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:249)
         at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:424)
         at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:341)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:490)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:415)
         at schedule.schedulehome._jspService(_schedulehome.java:557)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:479)

    I am using Oracle Application Server 9.0.3. Simple JSP application is running on it. We are using the application server connection pooling functionality. Following errors are occuring on it frequently and it causes the application server crash.
    First application response gets slow and eventually application server gets lock and it wont respond and we have to restart the application server. Our application is in production mode and we need to solve this issue immediately.
    ----------------Error1---------------------
    com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:249)
         at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:424)
         at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:341)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:490)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:415)
         at schedule.schedulehome._jspService(_schedulehome.java:542)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:479)
    ------------Error2---------------------
    com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:249)
         at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:424)
         at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:341)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:490)
         at com.evermind.server.http.EvermindJSPWriter.write(EvermindJSPWriter.java:415)
         at schedule.schedulehome._jspService(_schedulehome.java:557)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:479)

  • I'm on my 5th CD to burn disc (iTunes).  "Burn failed due to medium  write error.  What is that!?!!!

    I am attempting to burn a music list in iTunes.  I have done it many times before.  I am on my fifth CD for this list, and repeatedly have got a message that the CD "could not be burned because of a medium write error."  I've got that message previously, but after changing the blank disc to which I want to add the song list, it has always worked.  Not this time; several attempts.  What is this message telling me, if anything??

    The disk you are using probably has a defect, not uncommon on consumer grade disks. Try another disk or better yet another disk from a different manufacturer or at least a different batch.

  • Not able to open database due to ORA-19502: write error on file ""

    Hi
    I am getting the following errors
    when i try to startup the database.
    (Database is mounting but not able to open.)
    ORA-16038: log 3 sequence# 36 cannot be archived
    ORA-19502: write error on file "", blockno (blocksize=)
    ORA-00312: online log 3 thread 1: '/u01/ORADATA/orakic/orakic/redo03.log'
    any idea ? what to do?
    Thanks in advance
    cks

    make the following :
    startup mount
    alter database open resetlogs
    [email protected]
    Joel P�rez

  • Error: NDMP operation failed due to media error

    I scheduled a RMAN backup job on oracle 11g EM and sometime it failed when running datafile backup.  The log showed the error come from media layer and did not specify detail message. We used secure backup to transfer data to tape. There are 4 tape drivers in service, but only one of them always return this error.  Could anyone tell how to resolve the problem ?
    RMAN-03009: failure of backup command on c1 channel at 01/23/2014 11:17:29
    ORA-27192: skgfcls: sbtclose2 returned error - failed to close file
    ORA-19511: Error received from media manager layer, error text:
       sbtclose2: Internal error - NDMP Data Service has exited prematurely.
       For more information, please check the transcript for this job ('oracle/33779.1').
    ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
    Additional information: 1292
    ORA-19511: Error received from media manager layer, error text:
    continuing other job steps, job failed will not be re-run
    And I found below logs in the secure backup scripts log. it that mean a network error?
    10:16:42 await_ndmp_event: sending progress update
        10:16:42 SPU: sending progress update
        10:17:43 QTOS: received osb_stats message for job oracle/33656.1, kbytes 10452672, nfiles 0
    10:17:43 await_ndmp_event: sending progress update
        10:17:43 SPU: sending progress update
        10:19:35 NWEM: saw tape write error log message ("tape write failed due to media error")
    tape write failed due to media error
        10:19:35 MNPO: mover halted with reason=media error
        10:19:35 MGS:  ms.record_size 65536, ms.record_num 0x28094, ms.bytes_moved 0x280940000
        10:19:35 QTOS: received osb_stats message for job oracle/33656.1, kbytes 10497280, nfiles 0
        10:19:35 MNPO: data service halted with reason=connection error
        10:19:35 SNPD: Data Service reported bytes processed 0x280B40000
        10:19:53 A_T:  suppressing filemark output due to NDMP having written one
        10:19:53 A_T:  writing marker label; here it is:

    Judging by the transcript snips that you provided, I also believe that this is caused by a bad drive or bad media.
    Start by looking at the output of the command :
      # obtool dumpdev <tape_drive_name>
    (replace "<tape_drive_name>" by the name of the drive which was used during the failed job).
    Look for any errors or warnings during the date/time the backup job failed. These message usually provide a good idea about the problem that occurred.
    Next try the same backup using the same media in another drive to see it the problem reoccurs or not. In case the problem reoccurs, there's a good chance that the media is bad. If the backup succeeds on another drive, then try the same backup using the original drive but with a new media. If the backup fails again on the same drive using new media, you should open a support request with the tape drive vendor. In that case, collect the logs from the tape library (and dump the tape drives is possible).
    HTH,
    Gio

Maybe you are looking for

  • What is a good headset for iPhone 5, good noise cancelation and good with Siri

    Any tips on what would be a good headset to use with iPhone 5with good bag round noise cancelation and good compatibility with Siri.

  • May i know how to give rewards to the questions?

    hi all gurus, actually i  don't know how to give rewards to the questions? so, can anybody pls... let me know that... thanks arun

  • Flash 11 won't load

    Been trying to load lastest version of Flash and it either stops partway with a box stating that can't find ImUilsU.dll, and then doesn't complete the download. Other times I get a timeout message at 12%. I'm running a windowsXP professional system o

  • How to read in data from MySQL to Authorware?

    Hi, I am trying to read in values from my database (MySQL) to authorware, but the best I am able to get is true or false. I would like to be able to get some data from the database and return it to AW as a string. Does anyone have any experience with

  • Problem Exporting as Original Size Export

    When I export a 3861 × 2574 raw file as an original size jpg, it exports to 1800x1200. If I open the file in Photoshop and save as a jpg, it saves as 3861x2574. If I export as a 50% jpg, it exports as a 1931x 1287 jpg. How can I export a 3861x2574 jp