WKG17005

I tried to add a ultrasearch portlet into my portal after the installation of Oracle9iAS. But I got the following error:
oracle.ultrasearch.query.SearchException: WKG17005: connection failure: data source does not exist
I search this error message in OTN and I got the following link:http://otn.oracle.com/products/ultrasearch/htdocs/FAQ.html
But I could not be able to find my answer there. When I opened the common_customize_instance.jsp file, I did not have m_connection_string and m_instance_schema variables. So I don't know what'll the value be.
p.s. my _pages directory is empty.  Do I still need to force the recompilation of search.jsp?
Anyone can help? Thanks a lot.
Leo

Hi,
Pls see the Ultra Search readme. You can view it in the expanded portlet webapp directory under query/portlet/README.html.
Alternatively, if your midtier is up, you should be able to view it using this url:
http://midtier-host:port/provider/ultrasearch/README.html

Similar Messages

  • Ultrasearch error : WKG17005: connection failure: User credentials doesn't

    Hi,
    I wonder if anyone can help with the following issue, i'd be eternally grateful if they could.
    I'm the DBA on a site where our java developers have suddenly noticed that the ultrasearch element of a client web site no longer works.
    The length of time that the ultrasearch functionality has been broken is unknown so i can't be certain when it occurred.
    However the database was patched from 10.1.0.4.0 to 10.1.0.5.0 in sep 2007 so i'm wondering if its possible that the patching broke the ultrasearch functionality somehow.
    Could anyone advise if they have ever encountered anything similiar after an upgrade from 10.1.0.4.0 to 10.1.0.5.0.
    Also could the patching upgrade break or overwrite any ultrasearch configuration that i now need to recheck?
    The specific error being returned when the developers try to use ultrasearch is the following one
    WKG17005: connection failure: User credentials doesn't match the existing ones
    Now i'm new to the ultrasearch technology area but i've looked at the ultrasearch.properties file in the directory $ORACLE_HOME/ultrasearch/webapp/config/
    and another copy of the file deployed in a directory c:\webapps\app\WEB-INF\classes and the connection entries are as expected and as follows
    ultrasearch.connection.driver=oracle.jdbc.driver.OracleDriver
    ultrasearch.connection.url=jdbc:oracle:thin:@dev2:1521:mstest
    ultrasearch.instance=msus
    ultrasearch.user=wksys
    ultrasearch.password=wksys
    i have a couple of queries that i hope someone can answer
    1) can you see any obvious issues or mistakes in the ultrasearch.properties file listed above?
    2) the error message states "User credentials doesn't match the existing ones". This would imply that the user credentials supplied (wksys/wksys) don't match
    a set of expected credentials held or cached somewhere? Any idea where this would be or how i could clear any cached credentials?
    The code which tries to establish the connection with ultrasearch is as follows
    Configuration props = new PropertiesConfiguration (PROPERTIES_FILE);
    QueryInstance qi = new QueryInstance();
    qi.setConnectionString("jdbc:oracle:thin:@server:1521:instance");
    qi.setUser("user");
    qi.setPassword("password ");
    qi.setInstanceName("instance");
    where PROPERTIES_FILE is the ultrasearch.properties file referenced above.
    If i need to supply any other information around this query please advise.
    Regards,
    George Johnston

    Thanks for your response but command line authentication is the 1st thing i tried.
    also the account is not locked or expired.
    Regards,
    George Johnston

  • Error in Ultra Search in portal. listener refused the connection

    hi
    I implement a portal.I wanted to use ultra search(portlet) in my pages. so I defined an user and graned access to him. I created a provider for ultra saerch and schedule too. then add ultrasearch in page. it worked currectly but now give an errr such this :
    oracle.ultrasearch.query.SearchException: WKG17005: connection failure: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: //IP Server:1521/ORCL
    How can I solve this problem?
    please help me

    Went to the control panel administrative tool and services
    After I did that I got this error Failure Io exception The Network Adapter could not establish the connection
    Also, I got this in the command prompt
    lsnrctl service
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 07-JUL-2012 15:35
    :19
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=co-67349b991dc4)(PORT=15
    21)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    lsnrctl start
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 07-JUL-2012 15:37
    :41
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting tnslsnr: please wait...
    Failed to start service, error 1053.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 07-JUL-2012 15:40
    :27
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=co-67349b991dc4)(PORT=15
    21)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error

  • Ultrasearch Connection string format issue

    Hi,
    I have been wrestling with Ultrasearch installation and keep encountering this error when I attempt to load the Ultrasearch Portlet in the 10G MT.
    oracle.ultrasearch.query.SearchException: WKG17005: connection failure: Io exception: Invalid connection string format, a valid format is: "//host:port/service_name"
    My data_sources.xml file is configured as follows:
         <data-source
         class="oracle.jdbc.pool.OracleConnectionCacheImpl"
         name="UltraSearchDS"
         location="jdbc/UltraSearchPooledDS"
         username="Ultrasearch"
         password="*******"
         url="jdbc:oracle:thin:@//hostname:1521:sid"
         inactivity-timeout="30"/>
    I have verified the setup of the Ultrasearch user in the database, and have verified the Ultrasearch.properties file setup.
    I'm not sure if TNS is setup correctly or if the DAD settings for the portal have something to do with this - I was not able to find any referecne to configuration of those files in the Oracle Documenation.
    Any help would be greatly appreciated.
    Regards,
    Roy

    Roy
    "jdbc:oracle:thin:@//hostname:1521:sid" isn't a valid url. You have to remove the "//", i.e. "jdbc:oracle:thin:@hostname:1521:sid".
    The syntax "//host:port/service_name" is used when to want to use a service name instead of SID.
    HTH
    Chris

  • Cannot get Java Query API to work

    I am trying to use the ultrasearch java api and am having no luck. I get this error:
    Exception in thread "main" oracle.ultrasearch.query.SearchException: WKG17005: connection failure: Closed Connection
    at oracle.ultrasearch.query.Instance.connect(Instance.java:383)
    at oracle.ultrasearch.query.Instance.getResult(Instance.java:561)
    at oracle.ultrasearch.query.Instance.getResult(Instance.java:725)
    at oracle.ultrasearch.query.Instance.getResult(Instance.java:677)
    at Test.search(Test.java:77)
    at Test.main(Test.java:92)
    Here is my code:
    oracle.ultrasearch.query.Instance searcher=new oracle.ultrasearch.query.Instance();
    Connection conn=getConnection();
    try {
    searcher.setConnection(conn);
    searcher.setInstanceName("ULTRASEARCH_DOTORG");
    oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
    oracle.ultrasearch.query.Query searchQuery=new oracle.ultrasearch.query.Contains("water", searcher.getMetaData());
    searchRequest.setQuery(searchQuery);
    oracle.ultrasearch.query.Result searchResults=searcher.getResult(searchRequest);
    } finally {
    conn.close();
    Note that "getConnection()" is using the standard OracleDataSource class supplied with the current 10g driver; I've used it to connect to other oracle databases without trouble. I am working within a standard Windows JDK 1.5 (also tried 1.4.2) environment.
    I've also tried using QueryInstance instead of Instance - exception and code follow:
    Exception in thread "main" oracle.ultrasearch.query.SearchException: WKG17005: connection failure: User credentials doesn't match the existi
    ng ones
    at oracle.ultrasearch.query.Instance.connect(Instance.java:383)
    at oracle.ultrasearch.query.Instance.getMetaData(Instance.java:432)
    at Test.search2(Test.java:89)
    at Test.main(Test.java:94)
    oracle.ultrasearch.query.QueryInstance searcher=new oracle.ultrasearch.query.QueryInstance();
    searcher.setConnectionString(jdbcURL);
    searcher.setUser(jdbcUserName);
    searcher.setPassword(jdbcUserPass);
    searcher.setInstanceName("ULTRASEARCH_DOTORG");
    oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
    oracle.ultrasearch.query.Query searchQuery=new oracle.ultrasearch.query.Contains("water", searcher.getMetaData());
    searchRequest.setQuery(searchQuery);
    oracle.ultrasearch.query.Result searchResults=searcher.getResult(searchRequest);
    Any ideas?

    As always I find the answer right after I post a question....
    This post explained it pretty well:
    Connection Pooling and QueryInstance
    My first example will work as long as I call Instance.setCloseConnection(false). Apparently the second example can only work in OC4J, although I haven't verified such.
    It would be a really good idea for Oracle to get it together and add this information to their JavaDocs.

Maybe you are looking for

  • How to handle large payloads in WCF services?

    Hi All, I have developed WCF service,Which takes list of Employee Ids and return employee details. The service is working fine with 500 employee Ids but when we receive request with 5000 employee Ids the service taking much time to complete its actio

  • Windows native file dialog default sort is by date instead of name

    I somehow managed to get the Windows common file dialog default sort to be by date instead of name, so I have to resort by name every time I select a VI to load. I haven't been able to identify the registry entry that tell how the MRU list is sorted.

  • Where can I buy Skin/headphone adaptor for 1G iphone?

    Hi Everybody I've just got my first iphone! WauuuW. I need a good Black plastic or rubber cover for my iPhone, and I need a short minijack cord to connect my own headphones for this loverly thing Please send a link to the apple store or another websi

  • Oracle SQL Developer vs Navicat Oracle vs Toad

    I've been using MySQL and planning to migrate it to Oracle, but, I'm looking for an admin tool for Oracle and heard that Navicat for MySQL is now available for Oracle. It can create, edit databases, import/ export data,etc, so many features, I tried

  • EnterKey in cfgrid

    I have the search form with three fields: city, state, and enter date.  The results are displayed in the cfgrid.  Currently, when i enter search criteria, i have to use the tab kep to refresh the data from the cfgird's results.  Instead of using the