How to give tomcat's JVM more heap space ?

2002-01-22 Thread Rizki Wicaksono
I have a server for runnig Tomcat 4.0.1, and sometimes it's catalina.out said printed java.lang.OutOfMemoryError. And i know from java manual pages, we can set the memory allocation for JVM with option -Xmsn -Xmxn etc. The problem is, where we put this option in Tomcat 4.0.1 configuration

Tomcat 4.0.1 and Apache

2002-01-13 Thread Rizki Wicaksono
I have read documentation that come with Tomcat 4.0.1 distribution. But i found a little concrete example of how to use Tomcat 4.0.1 with Apache 1.3 web server. Please tell me where can I read another documentation that come with concrete example of httpd.con and another file configuration.

Why does getRemoteHost() always return localhost ??? :((

2002-01-12 Thread Rizki Wicaksono
I used tomcat-3.2.3 and I don't have any problem when accessing http://mytomcatserver:8080/examples/jsp/snp/snoop.jsp from any machine. This page return that machine IP address and hostname. Now, I upgrade my server to tomcat-3.3, and I do have a problem when accessing :