Apr 25th, 2010, 02:09 PM
SOLVED - Start stop STS tc Server from Command Line Ubuntu 9.10 64 bit
I have installed STS 2.3.2 along with TC server and it works great.
I am doing flex development using VMware in flex builder 3.
When I am done with service in java, I dont need STS IDE to be running
while I am developing UI in Flex, I simply need TC server running.
TC server start stop from IDE works great in plain and debug mode.
No problems at all. I want to start and stop TC server from command line
to avoid memory overheads of STS IDE and make maximum possible
memory available to VMware for better performance in flex development.
I tried startup.sh it starts tc server successfully and I could test flex UI
but when I try shutdown.sh it gives error about shutdown port and
server wont stop. If I start STS and try to start TC server from IDE
naturally port 8080 is not available and I have to restart M/C which is
Can somebody point me what is clean way to start and stop tc Server
of STS IDE ? Any tutorial, URL, etc. etc. will be a great help.
Thanks and best regards.
I edited catalina.properties file for Runtime Configuration in Servers project
and changed shutdown port from -1 to 8005 In STS IDE. Now I can start and stop
tcserver from IDE as well from command prompt flawlessly.
By mere editing catalina.properties at OS level as mentioned above
resets value back to -1 when tcServer is started in IDE. So tcserver can not be
shutdown if started at command prompt since while starting and stopping tc server
in IDE shutdown port is set to -1. SO edit in IDE and change shutdown port to 8005
do not edit catalina.properties at OS level.
Thanks and sorry for trouble.
Last edited by raja_s_patil; Apr 26th, 2010 at 07:34 AM.