Reg:Getting error text from a channel into a file or into a variable
Hi,
Can we get the error text such as u201Cjava.lang.NegativeArraySizeExceptionu201D from a communication channel into a variable or in the form of an xml message so that based on kind of error further processing can be done.
Regards,
Rahul
You can decide further processing based on the data available in the mapping. If the value comes in the source field for a list element as you expected do UDF and return error as string and decide the mapping as per business need. I talk about something like enhanced interface determination. That's one way. Reading the error message from the communication channel and decide does not seem to be better option.
Similar Messages
-
So when I get a message from a friend, just the number will pop up, not the name of the contact. And when I click on said notification, it takes me to an empty message. I can go back, open my messages again, and see the real message, but this is sort of a pain. And I've tried the basic things I can think of - I've tried adding +44 to the contact name and the exact same thing happens... I've tried adding just 0 before the number (like I did when I was in England), and nothing happens. I've also tried turning my phone off and on, and I have the same issue. Can anybody help with this? It's just a minor annoyance but I'd like to have my contact names in my text messages, not just numbers - then it takes me a while to figure out who they are!
Thanks
-HThat number is for an apple server in the UK that is used for iMessage activation. A hidden SMS is snet to that number when you turn iMessage on and is used to verify your phone number. I suggest you turn iMessage off. In settings/phone turn on dial assist. Check with your carrier to see if you can send an international SMS as you end that possibility to activate iMessage. Rest your phone (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).) then turn iMessage back on.
-
How ias integrate with Snacktory for getting main text from an html page
Hi All,
i am new to endeca and ias, i have an requirement, need to get main text from whole html page before ias save text to Endeca_Document_Text property,
as ias save all text in page to endeca_document_text property, it is not ok for reading when show in web page, i use an third party API to filter out the main text from original page,
now i want to save these text to endeca_document_text property,
an another question,
i get zero page when doing the logic of filtering main text from original html text in ParseFilter( HTMLMetatagFilter implements ParseFilter) using Snacktory.
if only do little things, it will work fine, if do more thing, clawer fail to crawl page. any one know how to fix it.
log for clawler.
Successfully set recordstore configuration.
INFO 2013-09-03 00:56:42,743 0 com.endeca.eidi.web.Main [main] Reading seed URLs from: /home/oracle/oracle/endeca/IAS/3.0.0/sample/myfirstcrawl/conf/endeca.lst
INFO 2013-09-03 00:56:42,744 1 com.endeca.eidi.web.Main [main] Seed URLs: [http://www.liferay.com/community/forums/-/message_boards/category/]
INFO 2013-09-03 00:56:43,497 754 com.endeca.eidi.web.db.CrawlDbFactory [main] Initialized crawldb: com.endeca.eidi.web.db.BufferedDerbyCrawlDb
INFO 2013-09-03 00:56:43,498 755 com.endeca.eidi.web.Crawler [main] Using executor settings: numThreads = 100, maxThreadsPerHost=1
INFO 2013-09-03 00:56:44,163 1420 com.endeca.eidi.web.Crawler [main] Fetching seed URLs.
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:46,519 3776 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:56:52,889 10146 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:52,889 10146 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:52,890 10147 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-1] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:56:59,184 16441 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:56:59,185 16442 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into HTMLMetatagFilter
INFO 2013-09-03 00:56:59,185 16442 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into EndecaHtmlParser getParse
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] come into HTMLMetatagFilter
INFO 2013-09-03 00:57:07,057 24314 com.endeca.eidi.web.parse.HTMLMetatagFilter [pool-1-thread-2] meta tag viewport ==minimum-scale=1.0, width=device-width
INFO 2013-09-03 00:57:07,058 24315 com.endeca.eidi.web.Crawler [main] Seeds complete.
INFO 2013-09-03 00:57:07,090 24347 com.endeca.eidi.web.Crawler [main] Starting crawler shut down
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] Waiting for running threads to complete
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] Progress: Level: Cumulative crawl summary (level)
INFO 2013-09-03 00:57:07,095 24352 com.endeca.eidi.web.Crawler [main] host-summary: www.liferay.com to depth 1
host depth completed total blocks
www.liferay.com 0 0 1 1
www.liferay.com 1 0 0 0
www.liferay.com all 0 1 1
INFO 2013-09-03 00:57:07,096 24353 com.endeca.eidi.web.Crawler [main] host-summary: total crawled: 0 completed. 1 total.
INFO 2013-09-03 00:57:07,096 24353 com.endeca.eidi.web.Crawler [main] Shutting down CrawlDb
INFO 2013-09-03 00:57:07,160 24417 com.endeca.eidi.web.Crawler [main] Progress: Host: Cumulative crawl summary (host)
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Host: www.liferay.com: 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Progress: Perf: All (cumulative) 23.6s. 0.0 Pages/s. 0.0 kB/s. 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
INFO 2013-09-03 00:57:07,162 24419 com.endeca.eidi.web.Crawler [main] Crawl complete.
~/oracle/endeca
-======================================
source code for parsefilter
package com.endeca.eidi.web.parse;
import java.util.Map;
import java.util.Properties;
import org.apache.hadoop.conf.Configuration;
import org.apache.log4j.Logger;
import org.apache.nutch.metadata.Metadata;
import org.apache.nutch.parse.HTMLMetaTags;
import org.apache.nutch.parse.Parse;
import org.apache.nutch.parse.ParseData;
import org.apache.nutch.parse.ParseFilter;
import org.apache.nutch.protocol.Content;
import de.jetwick.snacktory.ArticleTextExtractor;
import de.jetwick.snacktory.JResult;
public class HTMLMetatagFilter implements ParseFilter {
public static String METATAG_PROPERTY_NAME_PREFIX = "Endeca.Document.HTML.MetaTag.";
public static String CONTENT_TYPE = "text/html";
private static final Logger logger = Logger.getLogger(HTMLMetatagFilter.class);
public Parse filter(Content content, Parse parse) throws Exception {
logger.info("come into EndecaHtmlParser getParse");
logger.info("come into HTMLMetatagFilter");
//update the content with the main text in html page
//content.setContent(HtmlExtractor.extractMainContent(content));
parse.getData().getParseMeta().add("FILTER-HTMLMETATAG", "ACTIVE");
ParseData parseData = parse.getData();
if (parseData == null) return parse;
extractText(content, parse);
logger.info("update the content with the main text content");
return parse;
private void extractText(Content content, Parse parse){
try {
ParseData parseData = parse.getData();
if (parseData == null) return;
Metadata md = parseData.getParseMeta();
ArticleTextExtractor extractor = new ArticleTextExtractor();
String sourceHtml = new String(content.getContent());
JResult res = extractor.extractContent(sourceHtml);
String text = res.getText();
md.set("Endeca_Document_Text", text);
} catch (Exception e) {
// TODO: handle exception
public static void log(String msg){
System.out.println(msg);
public Configuration getConf() {
return null;
public void setConf(Configuration conf) {but it only extracts URLs from <A> (anchor) tags. I want to be able to extract URLs from <MAP> tags as wellGee, do you think you could modify the code to check for "Map" attributes as well.
Can someone maybe point a page containing info on the HTML toolkit for me?It's called the API. Since you are using the HTMLEditorKit and an ElementIterator and an AttributeSet, I would start there.
There is no such API that says "get me all the links", so you have to do a little work on your own.
Maybe you could use a ParserCallback and every time you get a new tag you check for the "href" attribute. -
Getting the text from a JTextArea...
hi, I'm making a perfect calculator program and I'm trying to add a Note Pad function to it, I also want to hide that so the other interface can be used; I can get it hided and come again but I'm wondering how could I get the text from the JTextArea INCLUSIVE the enters that are made withing it, so:
theString = jTextArea1.getText();only gives me the text and no enters; suggestions?I think I displayed it wrongTwo things to keep in mind...
Certain Swing components will just ignore newlines, so you have to be careful where/how you're displaying your multiline text strings. Some components will display it all as one line, some will only display the top line, some will even show \n instead of doing the newline. It all just depends.
And JTextArea does support word wrapping, so just because it looks like there's a newline, there may not be one. -
My printer works great but I keep getting error messages from HP Solutions Center
I'm using an HP Officejet J6480 All in One Printer on a Windows 7 64 Bit machine. The printer works great but I kept getting error messages from the HP Solutions Center every 15 seconds that popped up making it impossible to do work on my laptop so I uninstalled the Solutions Center to try to fix the problem. Now the printer won't print. Is there a way to re-install the Solutions Center and get rid of the pop up error messages?
hello Danagriz, unfortunately the plugin check page lags behind. adobe has released a critical patch for a vulnerability in its flash plugin, which is reportedly already exploited in the wild. therefore firefox will block insecure versions from running by default on websites for your protection.
https://helpx.adobe.com/security/products/flash-player/apsb14-27.html https://addons.mozilla.org/firefox/blocked/p794
please update to Adobe Flash Player version 16.0.0.235 as soon as possible, which you can download from http://www.adobe.com/products/flashplayer/distribution3.html (use the windows-exe for plugin-based browsers).
in order to update java, go to java.com (or if you don't need the plugin you can also uninstall it though the windows control panel) -
My daughter recently broke her iphone 4. We had a spare so we exchanged SIM card. Now that we are linked in the cloud, I am getting all of her text messages and when I text her i get a text from my number. What should i try next?
stop using the same Apple ID for iMessage on both phones
-
How to Extract Error Text from RFC.Exception within BPM?
Hi,
I have a scenario MPA -> XI <-> RFC. A synchronous RFC call will be performed inside a BPM on a SAP system. An exception message is expected if RFC raises exception. However, there don't seem to be any mechanism that allows logic/step in BPM to extract the error text from the RFC exception message in order to send it out to user as an error alert.
Appreciate if anyone can shed some lights. Thx in advance.
Regards
Chong WahHi,
you can always wrap your RFC with another one
in which you'll catch the exception
and pass in a normal field back to the XI
and then do the standard as per my weblog:
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
How do I get old texts from the Cloud
How do I get old text from the Cloud? Issues with my phone forced the Verizon Tech to wipe my phone and start over. He said the Cloud would hold everything and I could retrieve it later. I can't find any of the saved texts that I had. Help please.
Had you previously backed up your texts to the cloud? Yes, you can save things in the cloud, but you must first set it up to do so.
-
My Muse test site gets error message from Internet Explorer v8.0.6
My Muse test site gets error message from Internet Explorer v8.0.6
What's the URL of the page? Where is the site hosted (Adobe Business Catalyst or elsewhere)? How were the files uploaded to the server (Publish, FTP Upload from within Muse, external FTP client)?
-
I am upgrading to iOS 5. I get error (-37) from iTunes whe it is backing up the phone. What's is that error and what can i do to fix it
I get the same error when trying to update an iPhone 4. Any suggestions?
-
Problem accessing iTunes. Getting error message "The iTunes Library Extras.itdb file is on a locked disk"
Close iTunes, delete iTunes Library Extras.itdb from your iTunes folder, start iTunes. iTunes should rebuild the file automatically.
tt2 -
I can't see from my PC the .pps files stored into Keynote in my iPad
Hi all, i would want to know if it's possible to see from my PC the .pps files stored into Keynote in my iPad 2. When i am syncronyzing the iPad with the PC, in the iTunes tab called Applications, in its end part there's a double panel (Share files): on the left side, under 'Applications', a list of the Apps. installed on the iPad; on the right side, under 'Documents', a list of the documents that the selected app. on the left has in the iPad.
No problem for Quicknote or Documents to go Premium: i can see the docs these apps. have in the iPad, and thus i can use the 'Save in' option to copy them to my PC, and also i can use the 'Add' option to transfer docs from my PC to the selected app.
The problem is with Keynote application: while i have two docs in this app. in my iPad, i can't see them from iTunes; and also, i can't see in the iPad the docs i transfer to the Keynote app. with the 'Add' button.
I have uninstalled and re-installed the Keynote app. on the iPad (without rebooting the device between the two things) without result.
Any help on this matter would be appreciated. Regards.I have seen the solution: i have to explicitly share the files from Keynote options:
- IPad --> iTunes: with the presentation open, Configuration > Share and print > Send to iTunes.
- iTunes --> iPad: '+' > Copy from: iTunes. -
Why do I keep getting an error message from Digital Editions saying that it has encountered a problem and needs to close. I need this programme to download a text book from Proquest for University work what gives????
You are using ADE on Windows or Mac ? and their versions ??
Please restart your machine and try once again.
Thanks -
I made my own Apple ID because when I was logged into my dad's my family was receiving my texts from other people. I want to add my device to my dad's "find my iphone" app but without signing into his Apple ID on my phone because that was causing them to get my texts. I was told by Apple I could add my device to his by signing into icloud.com but there is no option that I can find to add my device. And I don't want to log back in to his.. Any ideas???
Also when I apply the safety copy it only imports the app the phones have had in common, so none of the apps that only the iPhone 4 had doesn't come in, only the ones I and the iPhone 4 has had in common. So you say the only way I can use the Apple ID to download on the old iPhone 4 is if I delete the apps that are in the phone and then download them again? How will that change the ID to download/update from. Won't it still have mine to update/download from?
-
IPhone 5 not getting all texts from Galaxy S6
My girlfriend is having a problem not getting all of my texts. As far as we know, it is only happening to texts from my phone. They are showing as sent on the Galaxy S6, but do not show up, ever, on her iPhone 5. The missing messages are random.
Hi there
I’m sorry to hear that there have been some issues with receiving texts. I’d be happy to look into this for you! Can you please send me a private message by Clicking Here and include the following information?
Full name
Cell number
Recipient’s number
Best time to call
Thanks,
Charise
Maybe you are looking for
-
How to send a Announcements in CRM WebUI for Call center role.
Hi In some cases if we are shutdowing the prodcution server we want to send a group message to all the users in call center. How to do this. Please suggest. Regards Hanu M
-
ABAP Client Proxy doesn't work
Hi all, I have an asynchronous outbound ABAP proxy. When I call the proxy, the return message is correct (Services Processed Without Error), but the message doesn´t arrive to the Integration Server. Please help. Thanks in advance, Roberto
-
How do I get to a second and subsequent pages of this forum so I can check to see if my question as been answered? Or will a recent reply (if any) appear at or near the top of a new page when I open the site?
-
Why iPhone is not supporting SPP in Bluetooth?
Hi, I wanted to interface bluetooth device with iPhone using SPP profile(because i need to have some user defined command interfaces) basically i am a bluetooth application developer and i wanted to communicate with iPhone using user defined command
-
Hi all, In my process I have a webDynpro component in which I am uploading an xls file and populate a table. I have downloaded the jlx.jar library, added it to the build path of my component, as well as copying it in the lib folder. But when I try to