This originated on a different list, but wasn't getting a lot of hits.  I 
offered to share it on this list since Java discussions are more common 
over here.  It's not a 400-specific question, but the topic appears to be 
more concerned with the Java than the platform.

 Anybody have some insight I can share with the original poster?

Thanks,
Patrick

----- Forwarded by Patrick Trapp/RTSC on 04/13/2006 04:45 PM -----

Post #1:
Let me start by admitting that I've never done anything with servlets 
before and I'm not a java developer.  So, please bear with me.

I'm trying to evaluate a product called Search Engine Studio (
http://www.xtreeme.com).  It's basically a third-party search engine. I've 
downloaded the trial version, installed it, had it crawl my site, etc. 
Since my quick scans of the LDD forum indicated that php isn't an option 
for Domino, and the cgi scripts that the product can generate for the 
Windows platform are specific to IIS, I chose the java servlet option.

It generated some html for me to include in my pages, in order to 
implement the search engine.  The relevent line is:

<form name="SearchForm" 
action="/cgi-bin/com.xtreeme.search.SESSearchServlet">

Here's the problem: when I click on the search button, thus triggering the 
above action, I get the HTTP 500 internal server error.  I'm guessing it 
doesn't even find the servlet.

So, looking at the server, I see the E:\Lotus\Domino\Data\domino\cgi-bin 
directory with some files specific to SES as well as sessearch.jar and 
sessearch.t

Realizing that perhaps the cgi-bin directory is the wrong place for this 
stuff, I put a copy of everything in the 
E:\Lotus\Domino\Data\domino\servlet directory, and changed the generated 
html line above to 

<form name="SearchForm" 
action="/servlet/com.xtreeme.search.SESSearchServlet">

Result: HTTP 404 page not found error.  Somehow, this seems like progress. 
 Unfortunately, I don't know what to try next.  Any ideas?

Domino 7.0.1, Win2K3


Post #2:
<SNIP/>I'm still getting a 404 page not found.

I've got servlet support turned on 
I'm using the Domino servlet manager
I can see the servlet manager start in the console just before the http 
server
The servlet url path is set to: /servlet
The class path is set to: domino\servlet; domino\servlet\sessearch.jar

The relevent line in the calling html page is: <form name="SearchForm" 
action="
http://mydomain.com/servlet/com.xtreeme.search.SESSearchServlet";>

I did nothing with the servlets.properties file, because it didn't seem 
like I needed to.

Any ideas?  TIA.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.