Hi,

try to register Tomcat as service with nice GUI, where can you set such a parameters.

GUI is Tomcat Service Manager
http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview

regards

        Matej

Yun Yang wrote:
Hello,

I am using Tomcat5.0.28. When I try to run my web application, I got
this message:

exception
javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.OutOfMemoryError

How can I solve this problem? I tried to uninstall tomcat5 as service
using "service.bat remove" and tried to reinstall it as service in
Windows XP. How can I add option like "-xmx512M" into service.bat? Or
How can I increase the heap size?

I added this statement into Catalina.bat "set JAVA_OPTS=-Xmx512m". It
works. But When I run tomcat5.0 as server it still does not work.

Thanks,

Yun Yang





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to