You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nick Stoianov <ni...@yaya.com> on 2001/07/18 00:52:27 UTC

tomcat and apache on different machines

Hey guys,

I have the following question. I set up a tomcat server. I have an Apache server on a different machine. What should I put in the configuration of Apache and Tomcat so that when apache receive a request for a jsp file it will redirect the request to the Tomcat server? And Apache will serve only the HTML and image files - but not the jsp files.
I'm running Apache with mod_jk


Nick

Re: logging java outputs to a file under windows 98

Posted by John Baker <jb...@teamenergy.com>.
I've tried all this, and my conclusion was that although I could get a dos 
window to 50 lines (by hacking at some file's properties in the Windows dir), 
developing on win98 is totally crap. You can't tail log files properly, and 
it's one huge pain. My advice is to develop under something more sensible, 
like Linux. 

Of course, what you are looking for is the catalina.log file in the logs 
directory. But don't expect to be able to read it without stopping and 
starting tomcat, or suchlike.

On Wednesday 18 July 2001 14:26 pm, you wrote:
> Hello All,
>
> does anyone know how I could log a java application's text outputs to a
> file under windows98 DOS when using the "javaw" command instead of "java" ?
>
> The reason for doing is that we would like to log all the debug info that
> TOMCAT spits out during startup, but I can only get the DOS window to
> support a max of 50 lines buffer.
>
> If there is an option in the "java" command to save all outputs to a file,
> that would be great!
>
> Thanks, Andrew
>
> P.S. Yes, I know linux would solve this problem quite easily ;)

-- 
John Baker, BSc CS.
Java developer, Linux lover.
I don't wanna rock, DJ.

logging java outputs to a file under windows 98

Posted by "AndrewBruno@Yahoo.com" <an...@yahoo.com>.
Hello All,

does anyone know how I could log a java application's text outputs to a file
under windows98 DOS when using the "javaw" command instead of "java" ?

The reason for doing is that we would like to log all the debug info that
TOMCAT spits out during startup, but I can only get the DOS window to
support a max of 50 lines buffer.

If there is an option in the "java" command to save all outputs to a file,
that would be great!

Thanks, Andrew

P.S. Yes, I know linux would solve this problem quite easily ;)


Re: tomcat and apache on different machines

Posted by Gary Dale <ga...@mail1.moh.gov.on.ca>.
I'd imagine - haven't tried it myself - that you should set it up as if 
the two were running on the same machine but use the UNC paths 
everywhere you need to connect Apache to Tomcat. That includes not only 
the hosts but also the workers and references to the Tomcat server in 
general.


Nick Stoianov wrote:

> Hey guys,
>
>  
>
> I have the following question. I set up a tomcat server. I have an 
> Apache server on a different machine. What should I put in the 
> configuration of Apache and Tomcat so that when apache receive a 
> request for a jsp file it will redirect the request to the Tomcat 
> server? And Apache will serve only the HTML and image files - but not 
> the jsp files.
>
> I'm running Apache with mod_jk
>
>  
>
>  
>
> Nick
>