Hi,
What are the startup errors in your log that lead to the CHI servlet
marked as unavailable?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: news [mailto:[EMAIL PROTECTED] On Behalf Of George Hester
>Sent: Wednesday, March 03, 2004 5:19 PM
>To: [EMAIL PROTECTED]
>Subject: Re: cgi-bin
>
>OK.  servlets-cgi.jar is in \WEB-INF\lib.  This is in the web.xml and
only
>this:
>
>    <servlet>
>        <servlet-name>cgi</servlet-name>
>
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-
>class>
>        <init-param>
>          <param-name>clientInputTimeout</param-name>
>          <param-value>100</param-value>
>        </init-param>
>        <init-param>
>          <param-name>debug</param-name>
>          <param-value>6</param-value>
>        </init-param>
>        <init-param>
>          <param-name>cgiPathPrefix</param-name>
>          <param-value>WEB-INF/cgi</param-value>
>        </init-param>
>         <load-on-startup>5</load-on-startup>
>    </servlet>
>
>    <!-- The mapping for the CGI Gateway servlet -->
>
>    <servlet-mapping>
>        <servlet-name>cgi</servlet-name>
>        <url-pattern>/cgi-bin/*</url-pattern>
>    </servlet-mapping>
>
>This is the test http://localhost/jsp_files/cgi-bin/up.cgi
>
>This is the result:
>
>HTTP Status 503 - Servlet cgi is currently unavailable
>
>-----------------------------------------------------------------------
----
>-----
>
>type Status report
>
>message Servlet cgi is currently unavailable
>
>description The requested service (Servlet cgi is currently
unavailable) is
>not currently available.
>
>
>-----------------------------------------------------------------------
----
>-----
>
>Apache Tomcat/4.1.30
>Any other suggestions?  Thanks.
>
>--
>George Hester
>__________________________________
>"Tim Funk" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>> You have the servlet declaration but you are missing the servlet
mapping.
>>
>> See conf/web.xml for an example/
>>
>> -Tim
>>
>> George Hester wrote:
>>
>> > In my webapp in /WEB-INF/lib I put servlets-cgi.jar.  I then added
just
>this to the web.xml in \WEB-INF
>> >
>> >     <servlet>
>> >         <servlet-name>cgi</servlet-name>
>> >         <servlet-
>class>org.apache.catalina.servlets.CGIServlet</servlet-class>
>> >         <init-param>
>> >           <param-name>clientInputTimeout</param-name>
>> >           <param-value>100</param-value>
>> >         </init-param>
>> >         <init-param>
>> >           <param-name>debug</param-name>
>> >           <param-value>6</param-value>
>> >         </init-param>
>> >         <init-param>
>> >           <param-name>cgiPathPrefix</param-name>
>> >           <param-value>WEB-INF/cgi</param-value>
>> >         </init-param>
>> >          <load-on-startup>5</load-on-startup>
>> >     </servlet>
>> >
>> > Then I made a \cgi-bin folder and put a cgi file in there I know
works
>over the web.  Call it test.cgi.  I then tried
>> >
>> > http://localhost/jsp-files/cgi-bin/test.cgi
>> >
>> > C\Inetpub\jsp-files
>> >
>> > The reuslt was the cgi code returned as a text file.  What did I do
>wrong?  Can I get this to work?  ActiveState Perl is installed in
C:\Perl.
>Is there a test different than what I have done to see if what I set up
>works?  Thanks.
>> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to