Often the diagnosis of slow performance comes from a query load played against the front-end application. The front-end application, or the configuration of its application server, may be the reason for the poor performance.

Alternatively, the network may be the problem, although this is less likely.

To identify whether the network is a performance issue:

If it seems as if your application is trying to move too much data, it is likely that you may need to change the configuration of your application. To determine if changes are needed, consider the following:

This topic discusses how to debug connection errors with ENEQuery exceptions.

Problem - The application server does not seem to connect to the Guided Search server. The reference application has no difficulty connecting. A connection to the port works as confirmed by JUnit tests. A problem exists connecting to the server once all the reference application libraries are packaged into the EAR file that is run inside the WebSphere application server.

Solution - In general, the HttpENEConection.query ENEQuery method is used to issue a query against the Dgraph. In the HttpENEConnection.query method in the Java version of the Presentation API, any connections problems are raised as an ENEQueryException. (There is an equivalent in .NET version of the Presentation API).

To diagnose a connection problem from an application server to an Guided Search server, the following assumptions are made:

To troubleshoot the connection problem, do the following:

  1. Verify from the application server machine that you can connect to the port on the Guided Search server. Using telnet on Windows or Unix can help you determine if you can successfully make a connection:

    telnet <hostname> <dgraph port>
  2. Write a utility JSP page that connects to the MDEX Engine on the Guided Search application server and place it on the application server to verify the connection. Alternatively, you can run the Reference Application on the application server.

  3. If everything works correctly, to troubleshoot further check the application server configuration. For Websphere, do the following:

    Assuming that you have WAS 6.1, go to SecuritySecure Administration, application and infrastructure and check whether Java 2 security is enabled. If it is enabled, make sure your was.policy file is saved in the META-INF directory.


Copyright © Legal Notices