title: Unable to stop Tomcat
body: <p>I am very new to Tomcat and just configured my tomcat with jprofiler. But now unable to stop tomcat server, getting the following error message. </p>
  
  <pre><code>[root@localhost bin]# service tomcat stop 
  Stopping .
  Using CATALINA_BASE:   /data/applications/apache-tomcat-6.0.26
  Using CATALINA_HOME:   /data/applications/apache-tomcat-6.0.26
  Using CATALINA_TMPDIR: /data/applications/apache-tomcat-6.0.26/temp
  Using JRE_HOME:        /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0
  Using CLASSPATH:       /data/applications/apache-tomcat-6.0.26/bin/bootstrap.jar
  JProfiler&gt; Protocol version 35
  JProfiler&gt; Using JVMTI
  JProfiler&gt; JVMTI version 1.1 detected.
  JProfiler&gt; 32-bit library
  JProfiler&gt; Listening on port: 8849.
  JProfiler&gt; Instrumenting native methods.
  JProfiler&gt; Can retransform classes.
  JProfiler&gt; Can retransform any class.
  JProfiler&gt; Native library initialized
  JProfiler&gt; VM initialized
  JProfiler&gt; Waiting for a connection from the JProfiler GUI ...
  JProfiler&gt; ERROR: Could not bind socket.
  \n\nTomcat has shutdown
  </code></pre>
  
  <p>I am not sure what is wrong in my configuration and yes firewall is disabled on the box.</p>
  
  <pre><code>[root@localhost bin]# service iptables status
  Firewall is stopped.
  </code></pre>