<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Thanks for the tip. &nbsp;The -ww flag did the trick. &nbsp;Tomcat wasn't crashing
after all. &nbsp;When I did ps -aux | grep java, the "java" string was so far
into the command name that ps didn't output it. &nbsp;Therefore, grep didn't find
"java" and I thought the process had crashed. &nbsp;With -ww, ps outputed enough
characters to include the "java".<br>
<br>
Thanks!<br>
<br>
Robert Dege wrote:<br>
<blockquote type="cite"
 cite="midPine.SOL.4.30.0208130908080.19807-100000@yeager.cse.Buffalo.EDU">
  <pre wrap="">You need to kill the process that is still binding to the port.  Tomcat
might still be running in the background (or a dead process is resident).

Doing a `ps -auxwww | grep $1` (where $1 is the tomcat executable) will
help track down the process.

-Rob




  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi.

Does anyone know of a command to close an open port?

I've been playing with Tomcat.  When I start Tomcat, it opens the port
it's configured for and then crashes without closing the port.  Tomcat
complains that the port is already open the next time I try to start it.

Thanks for the help.

--
Robert M. Romito
<a class="moz-txt-link-abbreviated" href="mailto:robromito@adelphia.net">robromito@adelphia.net</a>
home: (716) 838-9113
cell: (716) 465-5546



    </pre>
  </blockquote>
  <pre wrap=""><!---->


Dege

So Many Things in Life Would Be Really Funny
.... If They Weren't Happening To Me


  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- 
Robert M. Romito
<a class="moz-txt-link-abbreviated" href="mailto:robromito@adelphia.net">robromito@adelphia.net</a>
home: (716) 838-9113
cell: (716) 465-5546</pre>
<br>
</body>
</html>