A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
code for logs and redirectio
Joined: May 07, 2012
May 07, 2012 02:40:18
i'am doing a project in cloud compuitng.actually the topic is 'dynamic resource allocation for parallel processing in cloud'.
What I did was that i created a hospital management system using jsp,html,back-end mysql.So administrator can add doctor records,patient records,doctors can update patient records.
i created two instances of tomcat.so when one gets busy it gets connected to next one.it means port 8080 is changed to 8081 only on a button click.
but i need to overload server and automatically redirect to second instance.
So what i need to do is that i need a log file that says each access to tomcat and says that it is connected to next instance when first is busy.
can anyone give me a sample code.
Thanks in advance
I agree. Here's the link:
- it saves me about five hours per week
subject: code for logs and redirectio
testing jpa - OneToMany
Use of generic classes
Out of Java heap space
Doubt in Servlet threading
form field population done right
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013