Endeca guided search problem in china!

Hi All,
request: integrate guided search into fatwire, we need to dig the potential ability of mdex in processing the chinese search.
The user guide declares that the Supplemental Language Pack includes support for Japanese, Chinese, and Korean dictionary files.
The main way is to add an auxiliary Chinese segmentation dictionary. also, we can get the some jar packages mentioned in Asian Languages Best Practices_v2.3 - DRAFT.pdf to enhance splitting tokens.
problems follow:
1. the development environment is difficult to build.
1.1 workbench can't be installed well in win2008R2. error message"setup was unable to modify the endeca tools service parameters".
1.2 In oracle linux environment , the main components had been installed.(mdex,workbench,Platform Services,API). the CAS has been installed, but when run ./cas-service.sh, the cursor stop and not any message output. But in workbench(localhost:8006), I can connect the cas server via data source tap.
2. sample application can't be deploy.
2.1 when run ./baseline_update.sh, error like this old thread(Re: Problems with Inital Setup on EC2 Box
06.12.12 04:29:30] SEVERE: Error communicating with EAC agent while starting component.
Occurred while executing line 32 of valid BeanShell script:
29| Forge.archiveLogDir();
30| Forge.run(); -------------------------------this step's log see the bellow.
31| Dgidx.archiveLogDir();
32| Dgidx.run(); ------------------------------------- this step didn't output any log.
33|
34| // distributed index, update Dgraphs
35| DistributeIndexAndApply.run();
[06.12.12 04:29:30] SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
logs for Forge.run();
WARN     06/12/12 09:29:24.006 UTC (1339493364006)     FORGE     {config}: Root dimension value name 'Price Range' for dimension 'Price Range' is not a valid NCName.     
WARN     06/12/12 09:29:24.006 UTC (1339493364006)     FORGE     {config}: Root dimension value name 'Review Score' for dimension 'Review Score' is not a valid NCName.     
WARN     06/12/12 09:29:24.006 UTC (1339493364006)     FORGE     {config}: Root dimension value name 'Wine Type' for dimension 'Wine Type' is not a valid NCName.     
WARN     06/12/12 09:29:28.090 UTC (1339493368090)     FORGE     {baseline}: Forge completed with 0 errors and 3 warnings.     
3. developer studio problem.
I havd builded a test in developer stuido of my client(windows 7), including data, properties, and dimensions. Further, I config some rules and search interfaces. at last, I got some config files with the xml type.
But the problem is that when I intend to send the instance configuration to workbench, I can't find my app(builded via deployment template) from application drop down menu in endeca workbench setting.
But I indeed see myapp in workbench via web browser.
4. workbench and studio can completely replace each other?
I start Dgidx and Mdex in workbench, it output the bellow error message.
how to deal it?
An error occurred while trying to start the component: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.
anyone can give me some proposal?
Best regards

Sounds like you're experiencing several issues. Let me try to answer a couple of these.
Regarding "Asian Languages Best Practices_v2.3 - DRAFT.pdf", I believe this is an internal only doc. If you're with Oracle, contact the author directly and we can take this subject offline.
Regarding your "ENDECA_MDEX_ROOT" issue, have you checked your %ENDECA_CONF%\conf folders eac.properties file. In it you will see the definition for your com.endeca.mdexRoot. Please make sure that points to your MDEX folder.
For example: I have MDEX 6.2.2 installed in the default directory, so my com.endeca.mdexRoot is set to c:\\Endeca\\MDEX\\6.2.2
3. developer studio problem.
I havd builded a test in developer stuido of my client(windows 7), including data, properties, and dimensions. Further, I config some rules and search interfaces. at last, I got some config files with the xml type.
But the problem is that when I intend to send the instance configuration to workbench, I can't find my app(builded via deployment template) from application drop down menu in endeca workbench setting.
But I indeed see myapp in workbench via web browser.
--Did you create your application first using the Deployment template? and run initialize services? Once your application is created via initialize services, you should be able to see your app in workbench.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • ATG 10.1.2, Endeca guided search: Implementing search field

    My team is working on implementing an application with ATG Commerce 10.1.2 and Endeca Guided Search 3.1.1, but no Endeca Experience Manager.
    We understand that in a keyword search HTTP request that gets sent from ATG to Endeca, the following URI parameters must be present:
    Ntt = Search keywords
    Ntx = Match mode
    Ntk = The search interface
    Is there an ATG OOTB (out-of-the-box) component or mechanism for generating keyword search requests to Endeca guided search?
    Or do we need to build the URI for the request from ATG to Endeca guided search with custom code?
    Thanks!
    -Jon

    If you would have been using the experience manager then you could have created/used cartidge for search box and inserted in your pages as below to show search textbox. here (/content/Shared/Global Search Configuration/Search Box) is path where Search Box cartidge is located in experience manager (you can refer CRS10.1.2 for it)
    <dsp:droplet name="InvokeAssembler">
    <dsp:param name="contentCollection"
    value="/content/Shared/Global Search Configuration/Search Box"/>
    <dsp:oparam name="output">
    <dsp:getvalueof var="searchBox"
    vartype="com.endeca.infront.assembler.ContentItem"
    param="contentItem" />
    <dsp:renderContentItem contentItem="${searchBox}" />
    </dsp:oparam>
    </dsp:droplet>
    but now since you are not using the experience manager and cartidges you would need to have something below like code to show text search box to query endeca
    <dsp:page>
    <dsp:importbean bean="/OriginatingRequest" var="originatingRequest"/>
    <dsp:importbean bean="/atg/multisite/Site" var="currentSite"/>
    <dsp:importbean bean="/atg/endeca/assembler/SearchFormHandler"/>
    <dsp:getvalueof var="contextPath" vartype="java.lang.String" value="${originatingRequest.contextPath}"/>
    <dsp:form action="${contextPath}/browse" id="searchForm" >
    <input type="hidden" name="Nty" value="${Nty}"/>
    <input name="Ntt" value="${searchText}" type="text" />
    <dsp:input type="hidden" value="${currentSite.id}" bean="SearchFormHandler.siteIds"/>
    <dsp:input type="submit" bean="SearchFormHandler.search" value="submit" />
    </dsp:form>
    </dsp:page>

  • Endeca guided search  aspell module problem.

    Background: Aspell is the default module, when we deploy the template, we will find " <run-aspell>true</run-aspell> " in AppConfig.xml
    Problem: After I repaired the default pipeline in developer studio(delete some dimensions ), when I run the ./baseline_update.sh script, dgraph1 output error :
    Stemming should be enabled for 1 languages
    ERROR     06/25/12 03:37:58.543 UTC (1340595478543)     DGRAPH     {dgraph,baseline}     OptiSpell, error creating pspell manager, "The file "/usr/local/endeca/apps/myapp/data/dgraphs/Dgraph1/dgraph_input/myapp-aspell.spelldat" can not be opened for reading."     
    FATAL     06/25/12 03:37:58.543 UTC (1340595478543)     DGRAPH     {dgraph,baseline}     Errors initializing aspell module. This error is most likely due to an incorrect configuration of aspell. Please correct any previous errors and restart the dgraph.     
    Just delete dimension have thus error. such as Bordeaux of Bordeaux of red wine type.
    add or update the original dimension, all is ok.
    please, thx

    Solution:
    All of my dimension is named by chinese, when I add a dimension named by english, the above problem won't appear.
    I find a solution in webpage http://2ssoosike.tistory.com/239, who can help translate into english?
    eDen 에서 검색해보니 인덱싱을 하면 spelldat 파일을 생성하는데 이 파일을 생성하는데 충분한 word가 없어서 즉, 사전을 만드는데 필요한 word가 충분치 않아서 그러니 레코드를 더 늘리라는 답이었다.
    그래서 임시방편(?)으로 가라 데이터를 넣어서 일단 인덱싱은 마쳤지만 몇 건의 레코드가 있어야 사전이 만들어지는지 알 수도 없고 뭔가 아니다 싶었다. 레코드가 1건 밖에 없으면 인덱싱이 되질 않는다는 건 뭔가 한소리 들을만 한게 아닌가 싶어서 계속 삽질삽질 하다가 1달만에 해결책을 찾았다. ㅡ,.ㅡ;;
    Dgraph 플래그중에 분명히 "--spl", "--dym" 옵션은 spelldat 파일을 Dgraph 이 찾아 읽게 하는 것 같다.
    그래서 이 플래그를 없애면 에러없이 1건의 레코드라고 하더라도 깔끔하게 인덱싱이 완료된다는거.. ㅎㅎ
    처음 레코드가 몇 건 없어서 인덱싱이 실패하게 되면 우선 이 플래그를 제거하고 있다가 후에 레코드가 어느정도 (얼만큼의 word가 있어야 spelldat 파일이 생성이 되는지는 모르겠다) 생기면 이 플래그를 다시 켜는게 방법일 듯 하다.
    몇 번 삽질해본 경험을 말하자면 레코드에 word가 많이 없을 경우엔 레코드가 10건이 되더라도 spelldat 파일이 만들어 지질 않았었다.
    아~~ 이 거 알아내려고 삽질한 세월을 생각하면.. ㅡㅜ
    #. 테스트 version: MDEX 6.1.4

  • Two DVRs keep rebooting when doing guide searches

    I have two 7232 DVRs that are side by side. When trying to do a guide search, the search will slow down and many times the DVR will reboot. It even appears to be slow when hitting the search or DVR buttons. This has been going on for about a month. Both DVRs have 2TB external drives. The hardware configuration has been the same since Verizon allowed the attachment of external drives. Verizon technical support recommendation is to replace both DVRs. This makes no sense, since both DVRs are experiencing the same symptoms. Does anyone have any suggestions what may be causing these issues. Also, there will be a big data lose if the DVRs have to be replaced.

    I'm pretty sure I have the same problem as you but I only have 1 DVR with a 1 TB external WD external drive.  I also do not think there is a hardware issue with my DVR as verizon customer support told me yesterday.  I live on long island and noticed that every time I turn on the STB, the channel defaults to channel 1.  It did not do this until recently which, I think coinsides with this rebooting problem that you described. If you disconnect the external drive, I bet you will not have this problem with the reboot when perfroming searches.  It seems to me to be a bug with there latest software update but not sure.  Perhapps I can have verizon customer support reinstall an earlier SW version and see if the problem goes away. 

  • Outlook 2010, Exchange 2010 - Searching Problems

    Anyone out there able to help with some searching problems some of our users have been seeing?
    Searching in OWA works fine but some people have problems when searching for older emails in Outlook. We've rebuilt Outlook profiles, rebuilt the windows index's (which seems to work but only temporarily). If there's a way to schedule the Windows index to
    rebuild every night or once  week, I'd be very happy to test that out but haven't been able to figure out how to do that.
    Anyone have any other ideas?

    Hi,
    It seems something keeps corrupting the index... Run Anti-virus program and Malicious Software Removal Tool to scan your system, check if there's any virus or malware that may cause the index issue.
    If this issue persists, please also go to File tab ->
    Options -> Search -> Indexing Options
    -> Advanced -> Click Troubleshoot search and indexing, to do some troubleshooting steps to find the possible cause.
    I hope this helps.
    Regards,
    Melon Chen
    TechNet Community Support

  • Search Problems with Blog of Thorsten Franz

    Hi,
    I try to follow the intallation guide of Thorsten Franz great blog-series:
    /people/thorsten.franz3/blog/2009/08/22/composition-in-the-cloud-run-your-own-sap-netweaver-ce-71-ehp-1-in-the-cloud-part-1-of-3
    /people/thorsten.franz3/blog/2009/08/23/composition-in-the-cloud-run-your-own-sap-netweaver-ce-71-ehp-1-in-the-cloud-part-2-of-3
    Today I was searching the blog, because I will continue.
    If you search the keywords "Cloud" and "Amazon" these blogs does not appear. But these Keywords are in the blog.
    What is the problem?
    Best regards
    Renald

    Hi Jai,
    thanks for your tip.
    Actually this thread is not about to find workarounds. At the end I found the blogs. This thread is about to optimize the SDN search engine and find problems with it.
    Anyway, thanks again.
    Best regards
    Renald

  • Advanced searching problem coming up?

    i am working on the website which makes a advances search but
    due to some cause it is not working, it is by default shows all
    results no matter if i filter the results by any means..
    my query is below:
    <cfquery datasource="#request.dsn#" name="Recordset1">
    SELECT properties_details.*, suburbname,suburbs.suburb_id,
    tenants.tenantID, profession
    FROM
    properties_details
    JOIN suburbs ON suburbs.suburb_id =
    properties_details.suburb_id
    JOIN tenants ON tenants.tenantID =
    properties_details.tenant_id
    WHERE 0=0
    <CFLOOP INDEX="word" LIST="#Url.keywords#" DELIMITERS="
    ">
    <cfif Url.keywords IS NOT "">
    AND property_unique_name like '%#word#%'
    </cfif>
    <cfif Url.type IS NOT "">
    AND mode like '%#word#%'
    </cfif>
    <cfif Url.suburb IS NOT "">
    AND suburb_id like '%#word#%'
    </cfif>
    <cfif Url.category IS NOT "">
    AND tenant_id like '%#word#%'
    </cfif>
    <cfif Url.totalbedrooms IS NOT "">
    AND total_bedrooms like '%#word#%'
    </cfif>
    </CFLOOP>
    order by property_dateadded DESC
    </cfquery>
    </cfif>
    if i specify something in the KEYWORDS field, then it just
    make a search for that keyword only and ignore all other options..
    is something wrong above
    can u guide to correct suggestition..
    thanks

    mharraz378 wrote:
    I have also changed to it RGB instead of CMYK could that be the problem??/
    Maybe, but I often see this warning even in CMYK. It's not a fatal error and nothing to worry about. You actually want to be using the profiles you specified, so it's a good thing.

  • Endeca cross domain problem

    We are currently using Endeca Commerce 3.1 on a distributed environment with MDEX installed on one server and Experience Manager on another but both on the same domain.
    When we use the RecordSpotlight cartridge in Experience Manager the record selection radio buttons are greyed out.
    We followed the instructions under “Setting up a cross-domain policy file” under Appendix C in the “Tools and Framework Installation Guide” and added the following crossdomain.xml file under <MDEX_install_dir>/6.4.0/conf/dtd/xform but still the problem persists. We have also set the value of permitted-cross-domain-policies in the crossdomain.xml file to “none”, “master-only” and “all”. None of them solved the problem.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="*.mydomain.com" />
    <allow-access-from domain="*.mydomain.ca" />
    <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
    </cross-domain-policy>
    Could you please advise on how to enable those record selection radio buttons?
    Sincerely,
    Alex Luc

    It looks like I've solved it. The parent domain was
    sub-domain and I was leaving off the "
    http://" for the allowDomain argument. Once I
    added it, the swfs work.

  • Searching Problem, need help plz...

    Hi All,
    I have a problem. After created index my_doc_idx1, i’m searching a word on all document i stored but find nothing. Everytime i search there’s no rows selected.
    anybody help me please?
    I including my code.
    My documents are:
    1. doc1.html contain:
    “Oracle interMedia audio, document, image, and video is designed to manage Internet media content”
    2. doc2.html contain:
    “Oracle interMedia User’s Guide and Reference, Release 9.0.1”
    3. word1.doc contain:
    “Oracle application server.”
    4. oracletext.pdf contain:
    “Stages of Index Creation.”
    Oracle9i 9 realese 2, Windows XP
    Thanks,
    Robby
    set serveroutput on
    set echo on
    -- create table
    create table my_doc (
    id number,
    document ordsys.orddoc);
    INSERT INTO my_doc VALUES(1,ORDSYS.ORDDoc.init());
    INSERT INTO my_doc VALUES(2,ORDSYS.ORDDoc.init());
    INSERT INTO my_doc VALUES(3,ORDSYS.ORDDoc.init());
    INSERT INTO my_doc VALUES(4,ORDSYS.ORDDoc.init());
    COMMIT;
    -- create directory
    create or replace directory dir_doc as 'e:\projects'
    -- import data
    DECLARE
    obj ORDSYS.ORDDoc;
    ctx RAW(4000) := NULL;
    BEGIN
    SELECT document INTO obj FROM my_doc WHERE id = 1 FOR UPDATE;
    obj.setSource('file','DIR_DOC','doc1.html');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 1;
    COMMIT;
    SELECT document INTO obj FROM my_doc WHERE id = 2 FOR UPDATE;
    obj.setSource('file','DIR_DOC','doc2.html');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 2;
    COMMIT;
    SELECT document INTO obj FROM my_doc WHERE id = 3 FOR UPDATE;
    obj.setSource('file','DIR_DOC','word1.doc');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 3;
    COMMIT;
    SELECT document INTO obj FROM my_doc WHERE id = 4 FOR UPDATE;
    obj.setSource('file','DIR_DOC','oracletext.pdf');
    obj.import(ctx,FALSE);
    UPDATE my_doc SET document = obj WHERE id = 4;
    COMMIT;
    END;
    -- check properties
    DECLARE
    obj ORDSYS.ORDDoc;
    idnum INTEGER;
    ext VARCHAR2(5);
    dotpos INTEGER;
    mimetype VARCHAR2(50);
    fname VARCHAR2(50);
    ctx RAW(4000) := NULL;
    BEGIN
    fname:= '';
    DBMS_OUTPUT.PUT_LINE('----------------------------------------');
    FOR I IN 1..4 LOOP
    SELECT id, document INTO idnum, obj FROM my_doc
    WHERE id = I;
    fname := obj.getSourceName();
    dotpos := INSTR(fname, '.');
    IF dotpos != 0 THEN
    ext := LOWER(SUBSTR(fname, dotpos + 1));
    ext := LOWER(ext);
    mimetype := 'application/' || ext;
    IF ext = 'doc' THEN
    mimetype := 'application/msword';
    obj.setFormat('DOC');
    ELSIF ext = 'pdf' THEN
    mimetype := 'application/pdf';
    obj.setFormat('PDF');
    ELSIF ext = 'ppt' THEN
    mimetype := 'application/vnd.ms-powerpoint';
    obj.setFormat('PPT');
    ELSIF ext = 'txt' THEN
    obj.setFormat('TXT');
    END IF;
    obj.setMimetype(mimetype);
    END IF;
    DBMS_OUTPUT.PUT_LINE('Document ID: ' || idnum);
    IF TO_CHAR(DBMS_LOB.getLength (obj.getContent())) = 0 THEN
    DBMS_OUTPUT.PUT_LINE('Content is NULL.');
    DBMS_OUTPUT.PUT_LINE('No information available.');
    ELSIF TO_CHAR(DBMS_LOB.getLength (obj.getContent())) <> 0 THEN
    DBMS_OUTPUT.PUT_LINE('Document Source: ' || obj.getSource());
    DBMS_OUTPUT.PUT_LINE('Document Name: ' || obj.getSourceName());
    DBMS_OUTPUT.PUT_LINE('Document Type: ' || obj.getSourceType());
    DBMS_OUTPUT.PUT_LINE('Document Location: ' || obj.getSourceLocation());
    DBMS_OUTPUT.PUT_LINE('Document MIME Type: ' || obj.getMimeType());
    DBMS_OUTPUT.PUT_LINE('Document File Format: ' || obj.getFormat());
    DBMS_OUTPUT.PUT_LINE('BLOB Length: ' || TO_CHAR(DBMS_LOB.getLength (obj.getContent())));
    END IF;
    DBMS_OUTPUT.PUT_LINE('----------------------------------------');
    END LOOP;
    EXCEPTION
    END;
    -- create index
    create index my_doc_idx1
    on my_doc(document.comments)
    indextype is ctxsys.context;
    commit;
    alter index my_doc_idx1
    rebuild online
    parameters('sync memory 10m');
    -- searching
    select id from my_doc t
    where contains(t.document.comments,'oracle') > 0
    order by id;
    select id from my_doc t
    where contains(t.document.comments,'application server') > 0
    order by id;
    select id from my_doc t
    where contains(t.document.comments,'index creation') > 0
    order by id;

    Hi,
    Which is best depends on the type of application you are building and the nature of the docs. For simple use with pdf's and word docs I prefer to use bfile or blob which is why I mentioned it. No sense in overcomplicating it.
    My recommendation - look at the interMedia docs and determine if you need the advanced features it provides. I like the application a lot, but am a firm believer in not adding complexity if there is no benefit to be had. Unless you are just playing around with it to learn, I'd recommend matching your project requirements up with what best meets them and go whichever route that is.
    Thanks,
    Ron

  • List View Web Part Search problem

    We have a problem with the search in the
    List View Web Part (SearchBox).
    If you enter anything in SearchBox
    and the beginning of the search, nothing happens.
    This problem only occurs in non-admins.
    In this case, the browser generates an error:
    "inplview" not defined.

    I have the same problem. I think the problem is related to the Publish feature.
    Any ideas?

  • Google search problem in safari

    I went to do a google search and used the window in Safari. When I hit go, I get results but they look strange. Only the search term and then most of it is blank. It's as if the page is so big that I can't see the rest.  When I go to the bottom of the page it says Mobile, but nothing else. When I tap beside it, it went to a "classic" view as if on the desktop of your computer, but then I could not see what I was typing in the search box. It was invisible. No problem with Bing or Yahoo.
    I also have noticed on a page that I normally check that the login button was not there. I could click where the login button usually is and then it will take me to the page, but what I type is also invisible.
    I have an iPhone 4s 5.1.1. No problems on my husbands iPhone 4s.
    Will try to restore.
    Has this happened to anyone?

    Restore has fixed it.

  • How to fix the search problem due to timezone?

    I live in GMT+8 timzone. I just migrated a site from SP2010 to SP2013. After migrated when I search for a managed property (datetime) all results return is 1 day later.
    To troubleshoot the problem, I setup a new managed property using "Text" datatype. In refinement panel for that managed property I found the refinement are all looks like 2013/12/11 16:00:00. (which should be 2013/12/12 00:00:00)
    The old server is running in GMT+8. The only different is SP2010 and SP2013.I have changed the web application -> general settings -> timezone to GMT+8 and the site collection settings as well. We did not enable "My site" so there
    is no personal regional settings. What else I can check?  What should I check and how can I make the search work as expected?

    Once a document is stored and uploaded it has the UTC time stamp on it. Now this timestamp cannot be changed.
    So you either use timezone when the document was uploaded or use it the same way. 
    BTW what difference does it make with the time it shows?
    The field in question is designed to store a "Date" value only not the "Time". The time is always 00:00:00.
    In the old farm, users search for 2013/12/31 will get the results with field value 2013/12/31. Now in the new farm, with the timezone problem, search for 2013/12/31 will get the results with field value 2014/1/1

  • Endeca dimension search on first throw error and when hit again gives result

    Getting below error for search terms like - 'the the of the book' , which converts to dimension search.
    status >> ENE error
    ENEException
    com.endeca.navigation.ENEException: Navigation Engine not able to process request 'http://10.1.0.205:9300/search?terms=the+the+paper&opts=mode+matchall&rank=0&offset=0&compound=1&irversion=601'.
    When hit the same URL again returns the result set.
    Please provide a solution

    The formatting is pretty terrible, but I included the ULS logs with that correlation id in my initial post.  I can't make out any useful information from it, hence heading here.
     

  • Search problem with ActiveDirectory - please help

    Hi,
    I've tried to get a list of the users out of the Active Directory.
    But I just can't get my code to work. It returns nothing back.
    The problem should be simple. But I can not figure out why.
    Please help!
    Raymond
    import javax.naming.*;
    import javax.naming.event.*;
    import javax.naming.directory.*;
    import javax.naming.ldap.*;
    import java.util.Hashtable;
    import java.util.Vector;
    import java.util.Enumeration;
    public class AdClient {
    public AdClient() {
    getUsers();
    public static void main(String args[]) {
    Client client = new Client();
    private void getUsers() {
    // domain = utest
    String INITCTX = "com.sun.jndi.ldap.LdapCtxFactory";
    String HOST = "ldap://192.168.128.50:389";
    String SEARCHBASE = "ou=Users,dc=utest,dc=com";
    String FILTER = "cn=*";
    try {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    env.put(Context.PROVIDER_URL, HOST);
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
    env.put(Context.SECURITY_CREDENTIALS,"admin");
    DirContext ctx = new InitialDirContext(env);
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    NamingEnumeration results;
    // now search for the users
    results = ctx.search(SEARCHBASE, FILTER, constraints);
    while (results.hasMoreElements()) {
    SearchResult sr = (SearchResult)results.nextElement();
    System.out.println(sr.getName());
    ctx.close();
    } catch(Exception e) {
    e.printStackTrace();
    }

    I tried your code...
    There were two issues I saw, when I changed them it worked!
    1) public static void main(String args[]) {
    Client client = new Client();
    should be
    public static void main(String args[]) {
    AdClient client = new AdClient();
    2) String SEARCHBASE = "ou=Users,dc=utest,dc=com";
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
    Should be
    String SEARCHBASE = "ou=Users,dc=utest,dc=newcom,dc=com";
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");

  • RoboHelp HTML 8 Search problem

    I have a single (non-merged) RoboHelp 8 HTML project in which I cannot seem to get Search working correctly.
    I expected to see a box into which I can type a search term and a blank pane below the Contents/Index/Search/Glossary bar where search results would appear.  Instead, I get the following when I generate WebHelp:
    This problem appears in IE 6, IE 7, Firefox 3.0, and Firefox 3.5, all of which our customer base uses.  I'm using RoboHelp 8 on a Windows PC with XP Pro 2002, SP3.
    In the Project Settings/General dialog, I have the default settings for the Stop List and the Always Ignore List selected.  For "Add new keywords to" I have "Index File (HHK)" selected, and "Binary Index" is selected.
    When generating WebHelp, I have the following set:
    General selections:  Under "Additional Options," "Apply to all Topics," "CSS" is selected, with the correct CSS name displayed.  "Add Mark of the Web" is selected.
    Navigation selections:  For Toolbar Buttons, Contents, Index, Search, Glossary are selected.  For Search Options, "Enable Highlight Search Results" is selected.
    Navigation Pane Preferred Format selection is Pure HTML.  (We tried DHTML/HTML but that resulted in an empty nav pane and a nonfunctional index.)
    Optimize Speed For:  Web Site (Internet)
    Publish:  Republish All.
    What are we doing wrong?  I'm totally stumped and I can't seem to find any help on this issue anywhere.  Thanks!

    Hi there
    Please do expound.
    MSMoore9412 wrote:
     I finally succeeded in getting a Search pane that looked right and performed correctly by deselecting the Mark of the Web option.
    To my knowledge this option only affects the output when you view things locally, as in when you are testing the output immediately after generating. Are you saying here that it somehow affected things after you uploaded the files to the server?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for