Auto_lexer (stemming) not working for other languages(other than english)

Hi All,
We are planning to use AUTO_LEXER instead of MULTI_LEXER and observed that stemming is not working for German where as it is working for English when I use AUTO_LEXER. I even used query templates but of no use.
But when i use MULTI_LEXER, creating sub lexers for German and Enlgish, Stemming is working for German also after changing the session language and setting stemmer of wod list to German (Which is expected).
Following is the code for AUTO_LEXER creation:
CREATE TABLE test_auto_lexer(pkey NUMBER(5,0),
lang_index VARCHAR2(3),
content_text CLOB,
CONSTRAINT test_auto_lexer_pk primary key (pkey))
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (1,'eng','I drive a bike')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (2,'eng','I drove a bike')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (3,'eng','I have driven a bike')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (4,'eng','Just check for other things')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (5,'eng','always drive a car')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (6,'eng','it is nothing')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (7,'ger','Ich fahre ein Fahrrad')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (8,'ger','Ich fuhr ein Fahrrad')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (9,'ger','Ich habe ein Fahrrad gefahren')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (10,'ger','Aktivieren Sie einfach für andere Dinge')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (11,'ger','immer Auto fahren')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (12,'ger','es ist nichts')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (13,'ger','sprechen')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (14,'ger','sprach')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (15,'ger','gesprochen')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (16,'ger','tale')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (17,'ger','Indlæg')
INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
VALUES (18,'ger','tales')
BEGIN
ctx_ddl.create_preference('auto_lexer1', 'auto_lexer');
END;
BEGIN
ctx_ddl.set_attribute('auto_lexer1','index_stems','yes');
END;
BEGIN
ctx_ddl.set_attribute('auto_lexer1','language','danish english german');
END;
BEGIN
ctx_ddl.set_attribute('auto_lexer1','alternate_spelling','german');
END;
CREATE INDEX test_auto_lexer_ix1
ON test_auto_lexer(content_text)
INDEXTYPE IS ctxsys.context
PARAMETERS ('datastore ctxsys.direct_datastore filter ctxsys.null_filter lexer auto_lexer1')
select to_char(content_Text) from test_auto_lexer where contains(content_text,
'<query>
<textquery lang="ger" grammar="context">
$fahren
</textquery>
<score datatype="integer"/>
</query>') > 0
this doesnt work even after changing the session language. My default Sesson language is AMERICAN.
Could any one help me with this, in case I am missing something here. I would be really thankful.
Edited by: Nagendra Prasad on Jan 23, 2010 12:05 AM

In the future, please begin a new thread for a new question and provide a link to a related question.
According to the online documentation, Oracle only supports stemming for English, Dutch, French, German, Italian, Spanish, and Japanese. Oracle does not support Russian stemming, although you may have gotten some accidental results, due to identifying it as a different language and applying stemming rules for that language. The following manual sections show the languages available for the index_stems attribute of the basic_lexer and stemmer attribute of the basic_wordlist:
Basic_lexer attributes:
http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#CIHHBAAD
Basic_wordlist attributes:
http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#g1019326
Also, please see the following note:
Features not available in 11.2.0.3:
http://docs.oracle.com/cd/E11882_01/readmes.112/e22488/toc.htm#BABDGGDB
"Certain Oracle Text functionality based on third-party technologies, including AUTO_LEXER and CTX_ENTITY, have been disabled in this release (reference Bug 12618046). For BASIC_LEXER, the usage of the INDEX_STEMS attribute values that depend on third-party technologies, is also affected. If this impacts an existing application, contact Oracle Support Services for guidance."
Also, the auto_lexer has been replaced by the world_lexer, which only has one attribute:
http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#BHCJEGFJ
I don't work for Oracle, so I don't know why they do things the way they do.
So, you need to stick with the basic_wordlist for stemming, not the lexers. However, you may get better performance by combining the multi_lexer with the basic_wordlist, as the multi_lexer eliminates time spent on automatic language detection. But, you need to remember not to use the index_stems with your lexer, since it will conflict with the wordlist. I am not experiencing any time problems as you have. Please see the demo below. I have provided the whole script below that, so that you can reproduce it on your system. If you still have problems, then it may be due to differences in versions.
-- demo:
SCOTT@orcl_11gR2> select * from v$version
  2  /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE     11.2.0.1.0     Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
5 rows selected.
SCOTT@orcl_11gR2> select value from v$nls_parameters
  2  where  parameter = 'NLS_CHARACTERSET'
  3  /
VALUE
AL32UTF8
1 row selected.
SCOTT@orcl_11gR2> DROP TABLE news
  2  /
Table dropped.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('my_wordlist')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('global_lexer')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('english_LEXER')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('german_LEXER')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> CREATE TABLE news
  2    (pkey            NUMBER,
  3       lang            VARCHAR2 (2),
  4       short_content  CLOB)
  5  /
Table created.
SCOTT@orcl_11gR2> INSERT ALL
  2  INTO news (pkey, lang, short_content)
  3    VALUES  (1, 'en', 'I drive a bike.')
  4  INTO news (pkey, lang, short_content)
  5    VALUES  (2, 'en', 'I drove a bike.')
  6  INTO news (pkey, lang, short_content)
  7    VALUES  (3, 'en', 'I have driven a bike.')
  8  INTO news (pkey, lang, short_content)
  9    VALUES  (4, 'en', 'I always drive a car')
10  INTO news (pkey, lang, short_content)
11    VALUES  (5, 'en', 'This is nothing')
12  INTO news (pkey, lang, short_content)
13    VALUES  (6, 'de', 'Ich fahre ein Fahrrad.')
14  INTO news (pkey, lang, short_content)
15    VALUES  (7, 'de', 'Ich fuhr ein Fahrrad.')
16  INTO news (pkey, lang, short_content)
17    VALUES  (8, 'de', 'Ich habe ein Fahrrad gefahren.')
18  INTO news (pkey, lang, short_content)
19    VALUES  (9, 'de', 'Ich habe immer ein Auto fahren.')
20  INTO news (pkey, lang, short_content)
21    VALUES  (10, 'de', 'Es ist nichts.')
22  SELECT * FROM DUAL
23  /
10 rows created.
SCOTT@orcl_11gR2> BEGIN
  2    -- word list:
  3    ctx_ddl.create_preference ('my_wordlist',   'basic_wordlist');
  4    ctx_ddl.set_attribute      ('my_wordlist',   'stemmer',           'auto');
  5    -- english lexer:
  6    ctx_ddl.create_preference ('english_lexer', 'basic_lexer');
  7    -- german lexer:
  8    ctx_ddl.create_preference ('german_lexer',  'basic_lexer');
  9    ctx_ddl.set_attribute      ('german_lexer',  'composite',       'german');
10    ctx_ddl.set_attribute      ('german_lexer',  'alternate_spelling', 'german');
11    ctx_ddl.set_attribute      ('german_lexer',  'mixed_case',       'no');
12    ctx_ddl.set_attribute      ('german_lexer',  'base_letter',       'yes');
13    -- multi_lexer:
14    ctx_ddl.create_preference ('global_lexer',  'multi_lexer');
15    ctx_ddl.add_sub_lexer      ('global_lexer',  'default',            'english_lexer');
16    ctx_ddl.add_sub_lexer      ('global_lexer',  'german',            'german_lexer');
17  END;
18  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> create index search_news
  2  on news (short_content)
  3  indextype is ctxsys.context
  4  parameters
  5    ('lexer            global_lexer
  6        language column  lang
  7        wordlist       my_wordlist')
  8  /
Index created.
SCOTT@orcl_11gR2> EXEC DBMS_STATS.GATHER_TABLE_STATS (USER, 'NEWS')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> COLUMN short_content FORMAT A30
SCOTT@orcl_11gR2> ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN'
  2  /
Session altered.
SCOTT@orcl_11gR2> set timing on
SCOTT@orcl_11gR2> select * from news
  2  where  contains (short_content, '$drive') > 0
  3  /
      PKEY LA SHORT_CONTENT
         1 en I drive a bike.
         2 en I drove a bike.
         3 en I have driven a bike.
         4 en I always drive a car
4 rows selected.
Elapsed: 00:00:00.05
SCOTT@orcl_11gR2> select * from news
  2  where  contains (short_content, '$drove') > 0
  3  /
      PKEY LA SHORT_CONTENT
         1 en I drive a bike.
         2 en I drove a bike.
         3 en I have driven a bike.
         4 en I always drive a car
4 rows selected.
Elapsed: 00:00:00.05
SCOTT@orcl_11gR2> ALTER SESSION SET NLS_LANGUAGE = 'GERMAN'
  2  /
Session altered.
Elapsed: 00:00:00.01
SCOTT@orcl_11gR2> select * from news
  2  where  contains (short_content, '$fahr') > 0
  3  /
      PKEY LA SHORT_CONTENT
         6 de Ich fahre ein Fahrrad.
         7 de Ich fuhr ein Fahrrad.
         8 de Ich habe ein Fahrrad gefahren.
         9 de Ich habe immer ein Auto fahren
4 rows selected.
Elapsed: 00:00:00.07
SCOTT@orcl_11gR2> select * from news
  2  where  contains (short_content, '$fuhr') > 0
  3  /
      PKEY LA SHORT_CONTENT
         6 de Ich fahre ein Fahrrad.
         7 de Ich fuhr ein Fahrrad.
         8 de Ich habe ein Fahrrad gefahren.
         9 de Ich habe immer ein Auto fahren
4 rows selected.
Elapsed: 00:00:00.16-- script for you to reproduce the demo on your system:
select * from v$version
select value from v$nls_parameters
where  parameter = 'NLS_CHARACTERSET'
DROP TABLE news
EXEC CTX_DDL.DROP_PREFERENCE ('my_wordlist')
EXEC CTX_DDL.DROP_PREFERENCE ('global_lexer')
EXEC CTX_DDL.DROP_PREFERENCE ('english_LEXER')
EXEC CTX_DDL.DROP_PREFERENCE ('german_LEXER')
CREATE TABLE news
  (pkey           NUMBER,
   lang           VARCHAR2 (2),
   short_content  CLOB)
INSERT ALL
INTO news (pkey, lang, short_content)
  VALUES  (1, 'en', 'I drive a bike.')
INTO news (pkey, lang, short_content)
  VALUES  (2, 'en', 'I drove a bike.')
INTO news (pkey, lang, short_content)
  VALUES  (3, 'en', 'I have driven a bike.')
INTO news (pkey, lang, short_content)
  VALUES  (4, 'en', 'I always drive a car')
INTO news (pkey, lang, short_content)
  VALUES  (5, 'en', 'This is nothing')
INTO news (pkey, lang, short_content)
  VALUES  (6, 'de', 'Ich fahre ein Fahrrad.')
INTO news (pkey, lang, short_content)
  VALUES  (7, 'de', 'Ich fuhr ein Fahrrad.')
INTO news (pkey, lang, short_content)
  VALUES  (8, 'de', 'Ich habe ein Fahrrad gefahren.')
INTO news (pkey, lang, short_content)
  VALUES  (9, 'de', 'Ich habe immer ein Auto fahren.')
INTO news (pkey, lang, short_content)
  VALUES  (10, 'de', 'Es ist nichts.')
SELECT * FROM DUAL
BEGIN
  -- word list:
  ctx_ddl.create_preference ('my_wordlist',   'basic_wordlist');
  ctx_ddl.set_attribute     ('my_wordlist',   'stemmer',            'auto');
  -- english lexer:
  ctx_ddl.create_preference ('english_lexer', 'basic_lexer');
  -- german lexer:
  ctx_ddl.create_preference ('german_lexer',  'basic_lexer');
  ctx_ddl.set_attribute     ('german_lexer',  'composite',          'german');
  ctx_ddl.set_attribute     ('german_lexer',  'alternate_spelling', 'german');
  ctx_ddl.set_attribute     ('german_lexer',  'mixed_case',          'no');
  ctx_ddl.set_attribute     ('german_lexer',  'base_letter',         'yes');
  -- multi_lexer:
  ctx_ddl.create_preference ('global_lexer',  'multi_lexer');
  ctx_ddl.add_sub_lexer     ('global_lexer',  'default',             'english_lexer');
  ctx_ddl.add_sub_lexer     ('global_lexer',  'german',              'german_lexer');
END;
create index search_news
on news (short_content)
indextype is ctxsys.context
parameters
  ('lexer            global_lexer
    language column  lang
    wordlist         my_wordlist')
EXEC DBMS_STATS.GATHER_TABLE_STATS (USER, 'NEWS')
COLUMN short_content FORMAT A30
ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN'
set timing on
select * from news
where  contains (short_content, '$drive') > 0
select * from news
where  contains (short_content, '$drove') > 0
ALTER SESSION SET NLS_LANGUAGE = 'GERMAN'
select * from news
where  contains (short_content, '$fahr') > 0
select * from news
where  contains (short_content, '$fuhr') > 0
/

Similar Messages

  • My webcam is not working for skype and other appli...

    Hello,
    My webcam is not working for skype and other applications i have used tinychat and tango..i have updated all version of skype as you said in other topics but all of them is not working for me...my device name is vimicro usb 2.0 and i have accidently deleted that device now i have installed that device again but its not working i have seen all topics please help me  ...
    i will be very thankful to you

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Hyphenation not working for Russian language

    Hello All,
    We really shocked to see that hyphenation not working for Russian language, anyone faced this issue? Please let us know how to rectify this issue since we need to complete one of the project with Russian language.
    Thanks in advance.
    Praveen

    @Kasyan: Thanks for the response, I'm using 5.5 and facing this issue while select the language 'Russian' no where found the hyphens and in most of the places looks loose line due to missing of hyphens.
    Could please confirm again?
    Thanks,
    Praveen

  • Wake on Demand: Not working for some services, others OK

    I haven't been able to figure this problem out... Wake on Demand for a previous generation Mac mini running Snow Leopard 10.6.8 works for things like a CrashPlan automated backup but does not work for things like remote SSH login or Screen Sharing. In all cases, the services are being originated on a latest generation iMac running Mac OS X Lion (10.7.2).
    While it's not an earth-shattering event to get off my backside and walk over to the Mac mini across the house to press its Shift key to waken the thing, it gets rather old to have to keep doing so, especially since CrashPlan automated backups are taking place while the Mac mini is otherwise asleep (the sleep indicator is slowly pulsing).
    I've been through the Apple tech notes regarding Wake on Demand for Snow Leopard 10.6 and have ensured that AirPort and its network are at the top-most position in their respective lists. Other than that, I'm not sure what else I can do. Wake on Network is enabled in the Snow Leopard Mac mini's network System Preferences and there doesn't seem to be any on/off option in the AirPort Extreme base station (just recently updated to 7.6 firmware).
    Any thoughts... hints... suggestions?
    One final note: this Mac mini is new as of July 2011; just days before the latest generation of Mac mini came out. It came pre-installed with Snow Leopard and, as soon as the users of this mini find software replacements for the old PPC style applicaitons they're used to using, will be upgraded to Lion. However, I feel a bit unsettled in making the move to Lion if I can't get a Snow Leopard feature to work properly. There's no telling if the Lion upgrade will actually fix this behavior or make it worse.
    Thanks in advance.

    I don't think you can wake on network with a closed lid. Try keeping the lid open and putting the machine to sleep. Does it work?

  • Pdf conversion down load is not working for cheinees language

    kindly help me to solve the issues.
    is there any way to convert the spool request which is in chinese langauge,
    Requirement is to download SAP Script to PDF, where the PDF file should be in Chinese format.
    i used the following FM
    1)CONVERT_OTFSPOOLJOB_2_PDF
    2)CONVERT_ABAPSPOOLJOB_2_PDF
    in the spool the chinese format is visible, but in the PDF instead of the chinese language, v r getting Junk values. we r using program rstxpdft4  for pdf download
    Thanks in Advance. 
    prakash

    hi,
    try this:
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = lc_pdf
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = lv_filesize
        TABLES
          otf                   = pv_otfdata
          lines                 = li_pdfdata
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.

  • Accents (does Adobe have something against other languages different than English?)

    I am absolutely astonished with this problem. I understand that in the previous versions (up to 1.3) Adobe does not care about millions of persons typing with accents (around 3500 billions of persons, 60% the whole world population) but I cannot understand why Adobe has not solved this problem in the v2. FYI although Lightroom accepts the keywords with accents (by pasting), does not allow type them directly over the keyword field. And this is a nightmare for me, especially when my name is Joaquín, not Joaquin... This is not the first time that I read this claim, why Adobe do not solve this stupid problem that Aperture does not have?
    FYI if you type Joaquín, Lightroom type Joaqu´´in. Different right?
    Best,
    Jokin

    Hi Sean, "ñ" is working fine. The problem are the accents because to put an accent using Spanish as language you should press two keys. I am working in Windows XP. No otheher application has showed this problem. As soon as I press the accent key, instead of show nothing, waiting for the letter to put the accent, Lightroom is showing "´´", a double accent alone. The paste is working, so Lightroom accepts accents but not to type them at least in my system. This is happening at least in three different computers using Windows XP and Spanish Internation sort as language.
    Thomas and Sean, please, try the following. Let's type in the Keyword Tag panel my name Joaquín not Joaquin. So, the "i" is containing the accent "í".
    You first has to change the language to Spanish International sort, then type "Joaqu" as usual and the "í" has to be introduced using two steps (this is the only way with the exception for using directly the specific ASCII code for "í"). So, to put "í" you should press the keyword " (it is the keyword which is left to the "enter" keyword) and then press the keyword "i". The results should be "í" but you will see how Lightroom will type "´´i" instead.
    Jokin

  • Cp8 pc, action 'exit' (for close app), not work for iphone app

    i found bug,
    when you use the action 'exit' on pc( it work well).
    but on iphone, it not work

    action "cpCmdExit" , it not work for iphone.

  • Smartform not working for  languages other than EL (english) !

    I have a scenario of producing a pdf form(smartform) by clicking on a button in PC-UI portal .
    Whenever i tried generating the pdf form (smartform) in any  diff. language rather  than english by logging in PCUI portal in that language  , i found the following:
    In the code, generated by the smartform, there is a function call to function ssfcomp_process_document.
    It returns sy-subrc 1 and the error is FORMATTING_ERROR.  , whenver other 4 languages are used instead of english .
    Can anyone help? suggest possible reasons for this ?
    Thanks a lot,
    Piyush

    Hi
    I think you need to first translate the smartform into other languages. Before translation, it wont work.
    Steps for translation:
    1. goto Transaction SE63
    2. in R3 Enterprise select form menu
    Translation - ABAP Objects - Other long texts
    3. select FS - SSF-Smart Form
    4. Object Name: choose your smart form
    5. select target language
    6. press edit
    Regards,
    Vishwa.

  • Speakers work for phone and other apps, but not for music playback on 4G after downloading ios 8.0.2

    I know others are having off the wall issues with sound on their iPhones after installing the iOS 8.0.2...In my case? Thank God the sound for phone calls and alarms work, but the same can't be said for when I try to play music or a radio app?? And the speaker option on my voice mail sticks....
    There are 1001 other issues that I have with this so called upgrade, and let's just say that I've been looking at using my AT&T other phone options since I'm ready to upgrade....Since this is the second time in about a year that I've gone through **** and back with an Apple OS upgrade and there just isn't the cache there once was with owning an iPhone? I'm seriously questioning why be brand loyal when I can't find an answer to my issue and the one solution is to go to the Apple Store and deal with the arrogant and rude clerks OR try and see if someone has a decent solution, OR wait for weeks for Apple to offer a bug fix or access to older OS's!
    (BTW--I HATE how this OS kills the battery! And I'm not happy with the 2 apps that I didn't want and can't get rid of!)

    I was hoping that the iOS 8.1 update would have fixed my problem, but it has not. The app updates continue to hang and will not up date unless I follow the procedures mentioned earlier. I have spoken to Apple Care, and their only suggestion was to do a network settings reset. This worked once, but on the following days as more app updates appeared, they would not download. Once again, the only way to achieve my goal is to do one of the following;
    Change networks
    Sync through iTunes
    Reset Network Settings
    Turn off Wi Fi and use Cellular Data (not my preferred option especially while at home and connected to my home network).
    I think Apple are loosing the plot and seem to be chasing profits more than producing a good reliable product. I would have respected the company more if they had admitted that iOS8 was not ready for general release rather than release a faulty system causing so many problems.

  • My  iphone 3gs with version 4.0 not works for apple  TV should i need to download  any app or any other thng

    my  iphone 3gs with version 4.0 not works for apple  TV  what should  i do?

    Welcome to the Apple community.
    You should update your iPhone software.

  • People picker is not working for ie11 but working fine for other lower version

    i am using sharepoint 2010 and windows authentication
    recently i have updated my ie to ie11 and problem goes here.
    when i try to select from people picker, there are an unexpected error happened 
    however when i use other ie version, people picker work fine, what goes wrong?
    i have already added my system as trusted site
    if there any others thing i miss out?

    Hi,
    According to your post, my understanding is that People picker is not working for ie11 but working fine for other lower version.
    IE 11 is known to have compatibility issues on SharePoint 2010, please make sure to:
    first of all, try installing latest update for IE 11 (several compatibility issues were fixed since the first release)
    add the site to compatibility view (in IE> Tools> Compatibility view settings> type site name> add)
    add the site to trusted sites and set the zone security level to low (in IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    You can use developer tools (f12) and set browser mode to the version that is most compatible with your environment.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Incoming Email not working for one web app, but IS working for others in same farm.

    I have enabled incoming email in a large multi-web application farm running SharePoint 2013 SP1 and the Feb 2015/March 2015 CUs that were pushed down in Windows Updates.  It works just fine for two web applications, but it will not work for one particular
    web application. I see the email land in the /drop folder. If I remove the email address from the library in http://nonworkingapp web
    application and use it on a library in a http://working web application, then the email is processed successfully. Conversely,
    if I take an address from a library in http://working and move it to a library inhttp://nonworkingapp it
    does not work. I've tried multiple site collections on http://nonworkingapp. This rules out any SMTP issues, etc. and means
    the issue is bound to this web application. Permissions are the same between the "non-working" and "working" locations: domain users are members on the site, and the library inherits permissions from the site.  The App Pool and Timer
    Service accounts have rights to the folder and to the library.
    The error in the ULS log is the typical error processing message, but it gives no additional information even though I have enabled Verbose logging.
    The Incoming E-Mail service has completed a batch. The elapsed time was 00:00: 00.0156294. The service processed 2 message(s) in total. Errors occurred processing 2 message(s): Message ID: Message
    ID:
    Typically, you see "alias not found" or some permissions or quota issue here, but this issue is NOT the same as those. In this case NO additional information is provided in ULS.
    Edit: running stsadm.exe -o refreshdms -url http://one/failing/site fixed some similar issues where "Unknown alias" was
    reported even though the list did have an alias (see here:http://blogs.technet.com/b/vinitt/archive/2009/07/15/e-mail-enabled-list-alias-information-is-not-synchronized-between-configuration-database-and-content-database.aspx).
    This did not fix the issue for the case mentioned above.
    What could possibly be the issue preventing incoming email from working on this one web application?

    Thanks for your reply.  Incoming E-Mail was running on all 3 WFE, however I do not think this was the cause.  As noted, _other_ emails send to http://workingapp are working just fine.  I can send two emails - one to a library on http://workingapp
    and another on http://notworkingapp.  The email to http://notworkingapp will sit in the drop folder, while the one to http://workingapp will be processed correctly.  In addition, the ULS log on WFE1 indicates an attempt to process the file fails.
     So clearly, the timer job on WFE1 is running and attempting to process the file.  For kicks, I disabled the service on WFE2 and WFE3, but with no change in the behavior.
    WRT to #1, I have done this already (as noted in the original post).  I can remove an alias from http://workingapp and place it on http://nonworkingapp and it is not processed.  If I return it to http://workingapp it is processed.  In other
    words, I go into Library Settings -> Incoming Email for a working library, and copy the alias, then disable incoming email for that library.  I then go to Library Settings -> Incoming Email for a non-working library, enable incoming email, and paste
    the alias.  Once done, emails sent to the alias are not processed.  I then do the reverse, and it works again.
    On #2, I have already tried multiple libraries on http://nonworkingapp (also as noted in the original post).
    In my environment, incoming email does not work for any library on http://nonworkingapp, but does work for any library on http://workingapp.  Troubleshooting listed above has ruled out any problem with basic mail server configuration or library settings
    - the problem is bound to http://nonworkingapp
    I'm not sure what you mean by "steps to reproduce the issue".  If I knew that, I would probably be able to solve the issue.  The best I could come up with to describe the situation would be:
    Set up SP 2010 in a three-node configuration with multiple web apps
    Enable incoming email and confirm it works
    Migrate to a SP2013 SP1 farm in a three node configuration.
    Enable a new email alias for a library
    Observe that it doesn't work for one web application.
    Obviously, it's pretty unlikely that attempting that in a lab would actually have the same result.

  • Auto To working for one material and not working for other material

    Hi,
    Hope everybody is doing fine.
    I have configured the auto TO. Its working fine for one material and not working for the other material. I checked the material master and wm 1,2 views have the same fileds / values. What could be wrong?
    I didn't setup the back ground processing job. Is that is affecting it?
    thanks for any help.
    regrads,
    KHAN

    Thnaks,
    You are right but then what could be wrong? Its working for one material and not working for otehr material? Any clue?
    Appreciate your time charlie

  • Derivation Rules Not Working for other company codes

    Hi,
    I have 5 Company codes and only for one FM was activated. now i want to activate FM for all 5 company codes. for which i have assigned the FM area to all 5 company codes. I have also assigned the derivation strategy to all 5 company codes as well. now when i post a transaction for any other company code derivation rules is not being process hence no commitment item or fund center is derived. however for the original company code for which FM was activated in the first derivation rule are working fine means system is deriving commitment item and fund center. can any one tell me why derivation rules are not working for other company codes? do i have to add Company code in source field of derivation strategy? could this be the reason? because in beginning there was no other company code so we did not included any company code field in the first place.
    Regards,

    Faizan,
    Go to  Funds Management Government> Actual and Commitment Update/Integration> Activate/Deactivate Funds Management.
    In the screen create an entry for each Company Code and Funds Management Area combination.
    Activate the AA Derivtn flag if you want the derivation to be called and the Update flag if you want to update commitments and actuals in FM.
    Thanks
    Shyam

  • Apple id not work for mac app store, what happen? It is available for others such as iTunes, my iPhone and iPad

    apple id not work for mac app store, what happen? It is available for others such as iTunes, my iPhone and iPad

    Try deleting the cache associated with the App Store..
    Quit the App Store if it's open.
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    ~/Library/Caches/com.apple.appstore/Cache.db
    Click Go
    Move the Cache.db file to the Trash.
    Relaunch the App Store. See if that made a difference.

Maybe you are looking for