× 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.



Im assuming that litezout is your tomcat worker

JkMount /webapps/* litezout means pass all requests under the /webapps/*
context to tomcat worker litezout

that means that anything with /webapps/* will not get processed by the HTTP
server, so you dont need to put anything under htdocs (webroot)

more likely that your worker is not configured properly, or you jsp is not
in the right place under tomcat.

have you looked in the error logs for HTTP server and tomcat


On 05/10/06, Shannon O'Donnell <shannon.odonnell@xxxxxxxxxxxxxx> wrote:

So...any suggestions on this would be welcome....



I created an HTTP config.  I created an ASF Tomcat config.



I put a simple jsp file in /www/litezout/htdocs/webapps/ directory.



I attempt to open the *.jsp file, and I get a 404 error.



If I take the JkMount /webapps/* litezout line out of the HTTP config, I
can open the .jsp file, but of course, it doesn't actually execute the
jsp code.



I also tried putting the *.jsp file in the directory
/ASFTomcat/litezout/webapps/  and I get the same results.



What am I doing wrong?  Why can I not get the JSP to execute and be
found?



I see no errors in the log files.



Thanks,



Shannon O'DOnnell







The HTTP Configuration file

======================================================================

# Configuration originally created by Create HTTP Server wizard on Thu
Oct 05 12:57:04 CDT 2006

LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM

Listen *:7050

DocumentRoot /www/litezout/htdocs

Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes
-IncludesNoExec -Indexes -MultiViews

JkMount /webapps/* litezout

JkMount /servlet/* litezout

JkWorkersFile /www/litezout/conf/workers.properties

JkLogFile /www/litezout/logs/jk.log

JkLogLevel Error

<Directory />

  Order Allow,Deny

  Deny From all

</Directory>

<Directory /www/litezout/htdocs/>

  Order Allow,Deny

  Allow From all

</Directory>







The Tomcat server.xml file:

===========================================

<Connector className="org.apache.tomcat.service.PoolTcpConnector">

        <Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler" />

        <Parameter name="port" value="7051" />

     </Connector>

     <!-- ====================== Application Contexts
==================== -->

     <Context docBase="webapps" path="/test.jsp" reloadable="false" />

  </ContextManager>

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.