Click here to Skip to main content
15,921,174 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi....

I need an idea with Tomcat server. I have installed tomcat server
my requirement is:
I have developed a windows exe file. I installed it on my Pc. Now service is running on it
so when the service is started, it should send its IP address of my PC to the PC which has tomcat server running on it. So sending IP address from windows service is not my first problem. First of all how do I need to configure orhow do I need to do something with a running tomcat server to keep it in listening mode, so that my windows service can communicate with it.
So do I need to write some JSP pages and to run it on tomcat server or JSP pages with embedded Tcp/Ip server program in it or what might be the possible ideas.

Currently, when my window service is running, it will be in the listening mode i.e a Tcp/Ip server program in onstart method of my windows service keeps a port in listening mode. so, how do I link tomcat server running status to a tcp/ip program or some other, so that we can keep the server in listening mode and can write IP address of my Pc on which windows service is installed to a text file in Pc on which tomcat server is installed.

thanks for your help.....
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900