tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Cajina - Hotmail" <cecaj...@hotmail.com>
Subject Re: Tomcat as an in-process Servlet container?
Date Fri, 05 Sep 2003 19:16:31 GMT
Howdy Bill.

    My confusion comes from the fact that when using channelSocket to connect Apache and Tomcat
I can type the URL of any WebApp without specifying Tomcat's listening port because the mapping/forwarding
is handled in the config files, but after configuring ChannelJni to handle Apache-Tomcat communication
I'm forced to include the port number (8080) in the URL to access the WebApps, otherwise I
get an Internal Server Error.

    I wonder wether I'm missing something in my configuration because, as I stated, my main
concern is to let user access any WebApp without having to type
Tomcat's listening port.

    Thanks for taking time to answer.

    Best regards,

    Carlos


"Bill Barker" <wbarker@wilshire.com> wrote in message news:bj8ur8$3h2$1@sea.gmane.org...
> I don't really understand the question.  If you are using channelJni, then
> there is no address or port:  The data is passed in-memory.
> 
> "Carlos Cajina - Hotmail" <cecajina@hotmail.com> wrote in message
> news:Law10-OE60b81IfpT8v00007fc6@hotmail.com...
> Hi everyone.
> 
> I've followed the steps in
> http://www.greenfieldresearch.ca/technical/jk2_config.html for configuring
> Apache and Tomcat to communicate using JNI with good results, but there's
> just one thing that I can't figure out: When using channelSocket as the
> communication channel between the two servers is possible to use the
> workers2.properties file to configure the host:port where Apache is supposed
> to forward requests for non-static content, so a call to some
> http://host/webapp/index.jsp would be served transparently. Now, how do I do
> the same mapping when using channelJni?
> 
> My main concern is to let user access any WebApp without having to type
> Tomcat's listening port.
> 
>     Regards,
> 
>     Carlos
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message