× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




I do not use local help, too. I wonder why it is that difficult to get the
help working properly.

Further investigations of the problem showed, that the search request is
different from RDi, when using Firefox. When I use Firefox to start a
search from "http://pic.dhe.ibm.com/infocenter/iadthelp/v9/index.jsp";, the
search request (http GET) looks like this:

http://pic.dhe.ibm.com/infocenter/iadthelp/v9/advanced/searchView.jsp?searchWord=Using%20Arrays%20and%20Tables&maxHits=500

That is a little different from what is send by RDi:

http://pic.dhe.ibm.com:80/infocenter/iadthelp/v9/search?phrase=%55%73%69%6e%67%20%41%72%72%61%79%73%20%61%6e%64%20%54%61%62%6c%65%73&lang=en

For better reading and comparing, the decoded URLs are:

http://pic.dhe.ibm.com/infocenter/iadthelp/v9/advanced/searchView.jsp?searchWord=Using%20Arrays%20and%20Tables&maxHits=500
http://pic.dhe.ibm.com/infocenter/iadthelp/v9/search?phrase=Using%20Arrays%20and%20Tables&lang=en

The first one, send by Firefox returns the expected list of matching
links, whereas the second one returns HTTP ERROR 400, BAD_REQUEST.

When I change the failing URL to "
http://pic.dhe.ibm.com/infocenter/iadthelp/v9/advanced/searchView.jsp?phrase=Using%20Arrays%20and%20Tables&lang=en
", I get a white page with the following text:

"To search the documentation, type a query in the Search field. The search
results will be shown in this view. "

Eventually I get the correct result, after I replace "phrase" with
"searchWord":

pic.dhe.ibm.com/infocenter/iadthelp/v9/advanced/searchView.jsp?searchWord=Using
Arrays and Tables&lang=en

So at the end that looks like a bug in the help system. Maybe that someone
forgot to update the URL for RDi 9.0?

On the other hand, the search URL did not change much over the time:

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/advanced/searchView.jsp?searchWord=Using%20Arrays%20and%20Tables&maxHits=500
http://pic.dhe.ibm.com/infocenter
/iadthelp/v8r0/advanced/searchView.jsp?searchWord=Using%20Arrays%20and%20Tables&maxHits=500&group=None
http://pic.dhe.ibm.com/infocenter
/iadthelp/v8r5/advanced/searchView.jsp?searchWord=Using%20Arrays%20and%20Tables&maxHits=500&group=None

(inserted spaces to align the URLs at "/iadthelp/...")

So where does that URL come from:

http://pic.dhe.ibm.com/infocenter/iadthelp/v9/search?phrase=Using%20Arrays%20and%20Tables&lang=en

Thomas.

wdsci-l-bounces@xxxxxxxxxxxx schrieb am 04.03.2014 23:55:30:

Von: vhamberg@xxxxxxxxxxxxxxx
An: wdsci-l@xxxxxxxxxxxx,
Datum: 04.03.2014 23:55
Betreff: Re: [WDSCI-L] RDi 9.0.1 - Help index corrupt?
Gesendet von: wdsci-l-bounces@xxxxxxxxxxxx

I don't know, Thomas - I had given up on some kind of setting for help -

now I have it always going out to that address, I think - and so far
it's behaving OK.

I don't have it doing update of the local help, however - I do it live
all the time.

We are also behind a proxy.

Vern

On 3/4/2014 4:31 PM, thomas.raddatz@xxxxxx wrote:
Vern,

I aleady checked that thread with no success. I do not have the
directories mentioned by Mike Hockings in his posting from 27.01.2014,
20:39h and I do not have these two "Help -> Content" pages mentioned
by
Edmung Reinhardt.

But at least your email reminded me to have a closer look at the
Eclipse
log file, where I found the following error entries:

!ENTRY org.eclipse.help.base 4 0 2014-03-04 23:02:18.785
!MESSAGE I/O error while trying to contact the remote help server
!STACK 0
java.io.IOException: Server returned HTTP response code: 400 for URL:
http://pic.dhe.ibm.com:80/infocenter/iadthelp/v9/search?phrase=%
64%75%6d%6d%79&lang=en
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1625)
at java.net.URL.openStream(URL.java:1038)
at
org.eclipse.help.internal.base.remote.RemoteSearchManager.search
(RemoteSearchManager.java:64)
at
org.eclipse.help.internal.search.SearchManager$SearchState$2.run
(SearchManager.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY org.eclipse.help.base 4 0 2014-03-04 23:02:21.044
!MESSAGE I/O error while trying to contact the remote help server
!STACK 0
java.io.IOException: Server returned HTTP response code: 400 for URL:
http://pic.dhe.ibm.com:80/infocenter/iadthelp/v9/search?phrase=%

55%73%69%6e%67%20%41%72%72%61%79%73%20%61%6e%64%20%54%61%62%6c%65%73&lang=en
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1625)
at java.net.URL.openStream(URL.java:1038)
at
org.eclipse.help.internal.base.remote.RemoteSearchManager.search
(RemoteSearchManager.java:64)
at
org.eclipse.help.internal.search.SearchManager$SearchState$2.run
(SearchManager.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

When I enter the URLs into Firefox, I get the following error message:

HTTP ERROR 400
Problem accessing /infocenter/iadthelp/v9/search. Reason:
BAD_REQUEST


Am I missing something?

Regards,

Thomas.

wdsci-l-bounces@xxxxxxxxxxxx schrieb am 28.02.2014 18:23:33:

Von: vhamberg@xxxxxxxxxxxxxxx
An: wdsci-l@xxxxxxxxxxxx,
Datum: 28.02.2014 18:23
Betreff: Re: [WDSCI-L] RDi 9.0.1 - Help index corrupt?
Gesendet von: wdsci-l-bounces@xxxxxxxxxxxx

Go into the recent posts - there was an extensive thread on getting
help
to work better. This would have been between January 30 and February
6
or so.

On 2/28/2014 8:07 AM, Colson, Edmund B wrote:
I found the same thing in my setup. What is most disturbing is
that all the references that all the information has to do with Java
and nothing for RPG. Why's that?
Thank you!

Barry Colson | Sr. Programmer, Shared Services | Community Health
Systems
4000 Meridian Blvd | Franklin, TN 37067 | Tel: 615.628.6719 |
Fax: 615.465.3026 | http://www.chs.net




--------------------------------------------------------------------------
Disclaimer: This electronic message may contain information that is
Proprietary, Confidential, or legally privileged or protected. It
is intended only for the use of the individual(s) and entity named
in the message. If you are not an intended recipient of this
message, please notify the sender immediately and delete the
material from your computer. Do not deliver, distribute or copy
this message and do not disclose its contents or take any action in
reliance on the information it contains.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a
criminal
offence. Please delete if obtained in error and email confirmation
to the sender.

--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.