Shannon-

I would change the httpd.conf  file so that it contains the following:

JkMount /context1/* litezout
JkMount /context2/* litezout
JkMount /contextN/* litezout

Also remove your old JkMount directives.

Then in the IFS place the file test.jsp for context1:
<tomcat home>/webapps/context1/test.jsp

Replace <tomcat home> with whatever path you have setup in
/www/litezout/conf/workers.properties for the Tomcat home.

Then use the following URL from a browser for all JSPs in context 1:

http://host:port/context1/test.jsp

Can you provide the workers.properties file?

-Sarah


On 10/5/06, Colin Williams <colinwilliams007@xxxxxxxxx> wrote:
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.
>
>
--
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 ...

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.