Error When reading Archived XML Message
I am having the next issue reading the archived messages (error msg: Could not find message in archive).
can anybody help me.
my problem is the same that this topic.
Problems with reading archived Messages
Any suguest please?
Regards
RP.
Hi Sudharshan/Cornelius,
Thanks for your support. I am glad that my inputs were helpful.
Shudarshan, what do you mean by the process?
If you are talking about the arhiving process, then it is very huge topic
in itself. You can find that in help.sap.com.
But in this specifc case, what happens is that to made archiving possible,
there are different objects involved. e.g Archiving object, read write methods, Infostructures etc. In our case, the infostructure objects is in "inactive" state. Which seems to be a mistake from the SAP side. All we need to do is activate that object. And we are done.
Actually I also had the same issue, and I found this thread with few threads with no answer :-(. Then I just went deep into it and I found this "mistake"
It is just yesterday, when I cracked this issue by myself. I decided to put in the thread.
again I am happy my efforts were useful to you people.
Thanks and Regards,
Arundeep Singh
001-416-828-1307
Similar Messages
-
When I am reading an XML file in a folder I am getting extra characters like squares before and after each and every character of the XML file.
Why is this so.I thought they are spaces and trimmed it but i didnt work.I replaced thinking as escape characters and that also did not work.But when I am prionting the ASCII value of the first character of the file I am getting -17.
Please can anyone help me out of this.
Thanks,
Sravanthipublic class Example()
File file = new File("C:/SCTMUnZip/"+files);
System.out.println("Files inside the directory:::"+files[i]);
String filedata = getContentsofFile(file);
if(file.getName().contains(".xml"))
InputStreamReader reader = new InputStreamReader(new FileInputStream("C:/SCTMUnZip/"+files[i]+"/"));
System.out.println("Encoding Style:::"+reader.getEncoding());
byte[] filebytes = filedata.getBytes("UTF-16");//byte[] utf8String = Encoding.UTF8.GetBytes(srcString);
System.out.println("This is a XML File...");
file1.setMStrFileName(files[i]);
file1.setMPFileData(filebytes);
//file1.setMStrFileName(files[i]);
/*Pattern pattern = Pattern.compile("[^]");
Matcher matcher = pattern.matcher(filedata);
String str = matcher.replaceAll("");
filedata = str;
System.out.print(str);*/
else
System.out.println("This is a normal file...");
file1.setMStrFileName(files[i]);
file1.setMPFileData(filedata.getBytes());
static public String getContentsofFile(File file)
StringBuilder filecontents = new StringBuilder();
try
BufferedReader input = new BufferedReader(new FileReader(file));
try
String line = null; //not declared within while loop
* readLine is a bit quirky :
* it returns the content of a line MINUS the newline.
* it returns null only for the END of the stream.
* it returns an empty String if two newlines appear in a row.
while (( line = input.readLine()) != null){
filecontents.append(line);
filecontents.append(System.getProperty("line.separator"));
finally {
input.close();
catch (IOException ex){
ex.printStackTrace();
return filecontents.toString();
The files in the folder are log.txt and output.xml(has UTF-16 as the encoding style in the first line).log.txt is read fine but output.xml is not. -
Error when reading of XML file
Hi Guys
Basically I wanted to read following parameter in the XML
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sh="http://www.clarify.com/asms/v7000/StandardHeader">
<SOAP-ENV:Body>
<mfo:orderRequest xmlns:mfo="http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrder" xmlns:header="http://www.clarify.com/asms/v7000/StandardHeader">
<header:standardHeader>
<header:serviceState>
<header:stateCode>OK</header:stateCode>
</header:serviceState>
</header:standardHeader>
<mfo:order>
<mfo:orderDate>2002-10-08T17:23:53</mfo:orderDate>
<mfo:orderItem>
<mfo:requiredDateTime>1753-01-01T00:00:00</mfo:requiredDateTime>
<mfo:payloadList />
<mfo:dueDate>1753-01-01T00:00:00</mfo:dueDate>
<mfo:proposedDateTime>1753-01-01T00:00:00</mfo:proposedDateTime>
<mfo:committedDateTime>1753-01-01T00:00:00</mfo:committedDateTime>
<mfo:isPriority>TRUE</mfo:isPriority>
<mfo:originalBlob><![CDATA[A4N 66379791000120NEW 0350605722 I L JOHN 66 MARLBOROUGH RD WLGHBY 2068201110182310201]]>
</mfo:originalBlob>
</mfo:orderItem>
</mfo:order>
</mfo:orderRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>For that I have used the below query, But it doesn't seem to be working.
select x.eventtime, x.mro
from TABLE_X_JMS_MSG xjm
,XMLTABLE(XMLNamespaces(
'http://schemas.xmlsoap.org/soap/envelope/' as "SOAP-ENV"
,'http://schemas.xmlsoap.org/soap/encoding/' as "SOAP-ENC"
,'http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrder' as "mfo"
, 'http://www.clarify.com/asms/v7000/StandardHeader' as "header")
, '/SOAP-ENV:Envelope/SOAP-ENV:Body/mfo:orderRequest/mfo:order'
PASSING XMLTYPE(XJM.X_MSG_XML)
COLUMNS eventtime timestamp PATH 'mfo:orderDate'
,mro VARCHAR2(2) PATH 'mfo:orderItem/mfo:originalBlob'
) x
WHERE XJM.X_MSG_XML LIKE '%SUT198890001%'
AND XJM.objid = '269811874'What could be the reason.
Cheers
Shabarinteresting
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL>
SQL> with table_x_jms_msg as(
2 select ('<?xml version="1.0" encoding="UTF-8"?>
3 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="h
ttp://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmln
s:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sh="http://www.clarify.com/asms/v7000/StandardHeader"
>
4 <SOAP-ENV:Body>
5 <mfo:orderRequest xmlns:mfo="http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrd
er" xmlns:header="http://www.clarify.com/asms/v7000/StandardHeader">
6 <header:standardHeader>
7 <header:serviceState>
8 <header:stateCode>OK</header:stateCode>
9 </header:serviceState>
10 </header:standardHeader>
11 <mfo:order>
12 <mfo:orderDate>2002-10-08T17:23:53</mfo:orderDate>
13 <mfo:orderItem>
14 <mfo:requiredDateTime>1753-01-01T00:00:00</mfo:requiredDateTime>
15 <mfo:payloadList />
16 <mfo:dueDate>1753-01-01T00:00:00</mfo:dueDate>
17 <mfo:proposedDateTime>1753-01-01T00:00:00</mfo:proposedDateTime>
18 <mfo:committedDateTime>1753-01-01T00:00:00</mfo:committedDateTime>
19 <mfo:isPriority>TRUE</mfo:isPriority>
20 <mfo:originalBlob><![CDATA[A4N 66379791000120NEW 0350605722 I L J
OHN 66 MARLBOROUGH RD WLGHBY
2068201110182310201]]>
21 </mfo:originalBlob>
22 </mfo:orderItem>
23 </mfo:order>
24 </mfo:orderRequest>
25 </SOAP-ENV:Body>
26 </SOAP-ENV:Envelope>
27 ') X_MSG_XML from dual)
28 --
29 select XMLTYPE(XJM.X_MSG_XML) from TABLE_X_JMS_MSG xjm
30 /
XMLTYPE(XJM.X_MSG_XML)
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http:/
SQL> xml looks ok
{quote}
10:51:45 ORA-31011: XML parsing failed
10:51:45 ORA-19202: Error occurred in XML processing
10:51:45 LPX-00210: expected '<'x'
10:51:45 Error at line 1
10:51:45 ORA-06512: at "SYS.XMLTYPE", line 254
10:51:45 ORA-06512: at line 1
{quote}
hmm
btw
SQL> with table_x_jms_msg as(
2 select ('<?xml version="1.0" encoding="UTF-8"?>
3 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="h
ttp://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmln
s:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sh="http://www.clarify.com/asms/v7000/StandardHeader"
>
4 <SOAP-ENV:Body>
5 <mfo:orderRequest xmlns:mfo="http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrd
er" xmlns:header="http://www.clarify.com/asms/v7000/StandardHeader">
6 <header:standardHeader>
7 <header:serviceState>
8 <header:stateCode>OK</header:stateCode>
9 </header:serviceState>
10 </header:standardHeader>
11 <mfo:order>
12 <mfo:orderDate>2002-10-08T17:23:53</mfo:orderDate>
13 <mfo:orderItem>
14 <mfo:requiredDateTime>1753-01-01T00:00:00</mfo:requiredDateTime>
15 <mfo:payloadList />
16 <mfo:dueDate>1753-01-01T00:00:00</mfo:dueDate>
17 <mfo:proposedDateTime>1753-01-01T00:00:00</mfo:proposedDateTime>
18 <mfo:committedDateTime>1753-01-01T00:00:00</mfo:committedDateTime>
19 <mfo:isPriority>TRUE</mfo:isPriority>
20 <mfo:originalBlob><![CDATA[A4N 66379791000120NEW 0350605722 I L J
OHN 66 MARLBOROUGH RD WLGHBY
2068201110182310201]]>
21 </mfo:originalBlob>
22 </mfo:orderItem>
23 </mfo:order>
24 </mfo:orderRequest>
25 </SOAP-ENV:Body>
26 </SOAP-ENV:Envelope>
27 ') X_MSG_XML from dual)
28 --
29 select x.eventtime, x.mro
30 from TABLE_X_JMS_MSG xjm
31 ,XMLTABLE(XMLNamespaces(
32 'http://schemas.xmlsoap.org/soap/envelope/' as "SOAP-ENV"
33 ,'http://schemas.xmlsoap.org/soap/encoding/' as "SOAP-ENC"
34 ,'http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrder' as "mfo"
35 , 'http://www.clarify.com/asms/v7000/StandardHeader' as "header")
36 , '/SOAP-ENV:Envelope/SOAP-ENV:Body/mfo:orderRequest/mfo:order'
37 PASSING XMLTYPE(XJM.X_MSG_XML)
38 COLUMNS eventtime timestamp PATH 'mfo:orderDate'
39 ,mro VARCHAR2(2) PATH 'mfo:orderItem/mfo:originalBlob'
40 ) x
41 --WHERE XJM.X_MSG_XML LIKE '%SUT198890001%'
42 --AND XJM.objid = '269811874'
43 /
with table_x_jms_msg as(
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: '/*/mfo:orderDate'
SQL> but after any change
SQL> with table_x_jms_msg as(
2 select ('<?xml version="1.0" encoding="UTF-8"?>
3 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="h
ttp://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmln
s:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sh="http://www.clarify.com/asms/v7000/StandardHeader"
>
4 <SOAP-ENV:Body>
5 <mfo:orderRequest xmlns:mfo="http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrd
er" xmlns:header="http://www.clarify.com/asms/v7000/StandardHeader">
6 <header:standardHeader>
7 <header:serviceState>
8 <header:stateCode>OK</header:stateCode>
9 </header:serviceState>
10 </header:standardHeader>
11 <mfo:order>
12 <mfo:orderDate>2002-10-08T17:23:53</mfo:orderDate>
13 <mfo:orderItem>
14 <mfo:requiredDateTime>1753-01-01T00:00:00</mfo:requiredDateTime>
15 <mfo:payloadList />
16 <mfo:dueDate>1753-01-01T00:00:00</mfo:dueDate>
17 <mfo:proposedDateTime>1753-01-01T00:00:00</mfo:proposedDateTime>
18 <mfo:committedDateTime>1753-01-01T00:00:00</mfo:committedDateTime>
19 <mfo:isPriority>TRUE</mfo:isPriority>
20 <mfo:originalBlob><![CDATA[A4N 66379791000120NEW 0350605722 I L J
OHN 66 MARLBOROUGH RD WLGHBY
2068201110182310201]]>
21 </mfo:originalBlob>
22 </mfo:orderItem>
23 </mfo:order>
24 </mfo:orderRequest>
25 </SOAP-ENV:Body>
26 </SOAP-ENV:Envelope>
27 ') X_MSG_XML from dual)
28 --
29 select y.orderdate, y.mro
30 from TABLE_X_JMS_MSG xjm
31 ,XMLTABLE(XMLNamespaces(
32 'http://schemas.xmlsoap.org/soap/envelope/' as "SOAP-ENV"
33 ,'http://schemas.xmlsoap.org/soap/encoding/' as "SOAP-ENC"
34 ,'http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrder' as "mfo"
35 , 'http://www.clarify.com/asms/v7000/StandardHeader' as "header")
36 , '/SOAP-ENV:Envelope/SOAP-ENV:Body/mfo:orderRequest'
37 passing xmltype(xjm.x_msg_xml)
38 COLUMNS orderDateXml xmltype PATH '*'
39 ) x
40 ,xmltable(xmlnamespaces(
41 'http://www.clarify.com/2005/12/13/oneIT/Capabilities/ManageOrder' as "mfo"
42 , 'http://www.clarify.com/asms/v7000/StandardHeader' as "header")
43 , '/mfo:order' passing x.orderdatexml
44 columns orderdate varchar2(100) path '/mfo:order/mfo:orderDate'
45 , mro VARCHAR2(2000) PATH '/mfo:order/mfo:orderItem/mfo:originalBlob'
46 ) y
47 /
ORDERDATE
MRO
2002-10-08T17:23:53
A4N 66379791000120NEW 0350605722 I L JOHN
66 MARLBOROUGH RD WLGHBY
2068201110182310201
SQL> -
Have a problem with Lightroom 5.4. Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit". " Lightroom will attempt to fix this problem next time it launches". Except that it doesn't, I keep getting the same message and the program closes. Does anyone know what I can do to repair it? Can't back up, can't do anything.
There are dozens of threads in this forum that describe the fix
-
I'm unable to open up Lightroom 5, I get this message in a pop up box: "Lightroom encountered an error when reading from it's preview cache and needs to quit" Underneath that is "Lightroom will attempt to fix this problem the next time when it launches." It hasn't, what should I do? Thanks Shawn (Irish Se7en) .
Can you try to rename (not delete!) the folder named "YOUR_CATALOG_NAME Previews.lrdata" and restart Lightroom?
-
Upgraded to 5.4 when opening lightroom get a message "encountered an error when reading from its preview cache and need to quite" tried this several time but get the same error message. Says Lightroom will attempt to fix the problem the next time it launches but that is not happening. How do it fix this?
Delete the preview cache using your operating system. It is a folder whose name ends with Previews.LRDATA. Do not delete the Lightroom catalog, which ends with .LRCAT
-
lightroom 5 is not opening it gives me an error message there is an error when reading from its preview cache and needs to quite
it also says it will attempt to to fix the next time it opens it doesn't do anythingCheck this thread. Your Previews Cache files are corrupted.
Re: preview cache? -
I recently updated my HP laptop's OS from WIndows8 to WIndows8.1. When I went attempted to open Lightroom5 I got the following message:
"Lightroom encountered an error when reading from its preview cache and needs to quit. "
"Lightroom will attempt to fix the problem the next time it launches"
Every time I relaunch I get the same message. I'd like to understand what might be causing the problem so I can remedy and get back to my photo editing. Any clue as to how to fix this problem would be greatly appreciated.
JPMreset your preferences, Resetting (or 'Trashing') the Lightroom Preferences file - Lightroom Forums
-
i upgraded from lightroom 4 to lightroom 5 and installed it on a separate hard drive. Initially had no problems util my computer crashed due to the failure of the drive on which Lightroom 5 was installed. Since having my computer rectified, i am unable to use lightroom 5 getting the message "lightroom encountered an error when reading from its preview cache and needs to quit"
I can still use lightroom 4, however, i get the same message when i try to backup the catalog. This occurs during the optimisation phase of backup.
I suspect it is related to Lightroom 5 creating a catalog from the Lightroom 4 files and cannot now locate those files or that they have been corrupted.
Would appreciate any solutions / suggestions.You need to delete your preview cache and have Lightroom rebuild it. Cache location can be found here.
https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
Why And How To Clear Your Lightroom Cache - Lightroom Fanatic -
Every time I open lightroom I get a pop up message saying "Lightroom encountered an error when reading from its preview cache and needs to quit" and it closes. Ive already tried reinstalling, nothing seems to work. Help please!
Open the folder containing your catalog. In that folder you will find another folder with the extension .lrdata, and you need to delete that folder. After you do that, Lightroom should start normally and will create a new preview cache.
-
Tried to open LR 5 in cc. Receive error message "LR 5 encountered an error when reading from its preview cache and needs to quit". How do I fix the problem?
Hi, Have a look under the "MORE LIKE THIS" on the right there should be an answer in one of those threads.
-
I run windows 7/8 and lightroom 5.7 I am getting an error message and here it is " lightroom encountered an error when reading from its preview cache and needs t quit" How do I fix this.
THANKS
Hank Wilkinson
Please visit my web site <http://www.hankwilkinson.com/> www.hankwilkinson.com for the latest of my photos
For information on any of these photos please email me or call 612-756-9970 -
Lightroom crashes at start up with the error message "Lightroom encountered an error when reading from its preview cache and needs to quit". Please advise on how to fix this error. Thanks
You probably need to delete your preview cache. See here
Why And How To Clear Your Lightroom Cache - Lightroom Fanatic
Preference and other file locations in Lightroom 5 -
Error Message "Lightroon encountered an error when reading from its preview cache and needs to quit"
Error Message "Lightroon encountered an error when reading from its preview cache and needs to quit"
It says thes everytime I try to open Lightroom and then quits the program.
Help please--thanksUsing your system browser, go to your catalog folder and look for a folder with the extension .lrdata and delete that folder. You will have the same name as your catalog but with the different extension. DO NOT make the mistake and delete your catalog. After you delete that folder Lightroom should start and will begin building a new previews folder.
-
Error message on start up "Lightroom encountered an error when reading from its preview cache and needs to quit" I uninstalled and downloaded it again and still get the same error. At this rate I won't have any chance to use the 30 day trial period as it simply isn't working. I have see suggestions elsewhere to delete a particular file, but I don't have it. Any ideas?
You need to trash the preview cache. It’s in the main catalog folder.
Delete the folder with the ending Previews.lrdata
The default location for the Lightroom folder is normally Pictures/My Pictures if you did a standard installation.
N.B. do not touch files ending .lrcat
Maybe you are looking for
-
Vendor Line Item by Profit Center
Dear All We are trying to make a report for Vendor line items by profit center (Based on General Ledger view). There is standard report available in New GL in General Ledger Information System>Line Item>Open Items Payable by Profit Center. But in thi
-
I need to calculate based on a value chosen in a drop down list!!
Ok, here's the deal. I'm writing an order form for custom guitars. There will be a dropdown list for many things. Example: Body Shape : (Shape A, Shape B, Shape C) <-(dropdown list) Body Color : (Color A, Color B, Color C) <-(dropdown list) all thr
-
Has anyone order there phone on 9/26/14 heard anything yet? I order the 6 plus 64 gig in gold and have not heard a word. Also told them i would trade in my 5 and haven't heard anything about that either....
-
Tagging Multiple Files for Security Settings
Hello I have a server 2008 R2 that I have to change 2000 Files under \Windows\System32 and 1700 files under \Windows\SysWOW62. I can tag files with holding down the 'Ctrl' key, but Right-Click properties on multiple files does not give me Security,
-
How can I install themes for my ipad2 jailbrocken using evasion?thanks
how can I install themes for my ipad2 jailbrocken using evasion?thanks