Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
code for logs and redirectio
posted 4 years ago
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
,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
It is sorta covered in the
JavaRanch Style Guide
Use of generic classes
form field population done right
Doubt in Servlet threading
testing jpa - OneToMany
Out of Java heap space