aspose file tools*
The moose likes Servlets and the fly likes 'port in use' error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark " Watch " New topic
Author

'port in use' error

Krishniah
Greenhorn

Joined: Nov 08, 2000
Posts: 11
Hi,
I was using Java web server and to run servlets, and then installed apache tomcat to learn JSP. Now I cant run either one of them. Cos when I run either one of them it is giving me the error message saying the ports are use by other application.
So how do I set up the ports or change the ports so that both can work, without problem.
Please help
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
Tomcat listens on a port determined in the server.xml file - the entry that looks like:
<Connector className="org.apache.tomcat.service.SimpleTcpConnector">
<Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port" value="8080"/>
</Connector>
Why do you want to continue with JWS? Tomcat contains a complete server, servlet engine and JSP engine. You may get weird errors if the two programs get their libraries mixed up.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 'port in use' error