Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to change static and dynamic pages path

Status
Not open for further replies.

tnerurkar

Programmer
Apr 9, 2003
35
IN
Hi,

I am using apache web server and tomcat 5.5. Both are connected using tomcat-connectors. My appalication has static and dynamic pages (servlets / JSP). After user logged in then dynamic pages are running till the time user accesses static htmls.

Currently my static and dynamic pages are in tomcat domain. If people surf my website then apache web server should serve the request not the tomcat so my load will get shared.

can you please tell me how to configure this in httpd and tomcat.

httpd-2.0.52-19
jakarta-tomcat-5.5.9
tomcat-connectors-1.2.20

Regards,
Tushar
 
Hi,

My server has 8GB RAM. I want to increase -Xms parameter in JVM. I tried 5GB but it said invalid memory size. It is taking Xmx2048m.

JAVA_OPTS=-Xmx2048m -Xms2048m

jdk1.5.0_02
httpd-2.0.52-19
jakarta-tomcat-5.5.9
tomcat-connectors-1.2.20

Can you please tell me how can I increase Xms parameter till 5GB. so my application will run fast.


Regards,
Tushar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top