There are 2 connectors listening on 8009. There should only be two connectors total: one on 8080 (disabled in production), and one on 8009.
John -----Original Message----- From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 9:23 AM To: Tomcat Users List Subject: RE: Tomcat/Apache/IIS configuration issues Well, I saw that too, but I think maybe it's the result of a horked Tomcat configuration. When I stop tomcat, I no longer see anything listening on that port via netstat. When I start it, I see something listening there. I'm attaching my server.xml file (not posting inline to avoid cluttering an already lengthy post) if you think that might help. Brantley > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 9:15 AM > To: 'Tomcat Users List' > Subject: RE: Tomcat/Apache/IIS configuration issues > > > > There's something already listening on port 8009. That's the > "Bind: Address already in use" message. Are you sure there > is only one copy of Tomcat running? Does your Tomcat server > have multiple IP addresses? > > John > > > -----Original Message----- > From: Brantley Hobbs [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 9:10 AM > To: Tomcat Users List > Subject: RE: Tomcat/Apache/IIS configuration issues > > > Just curious if anyone had had a look at this. > > I keep going over and over my configuration, but have yet to > get the connector working properly (either on localhost or > from some other networked webserver). > > Also, just to clarify, I did ensure that the httpd.conf and > IIS are configured to actually use the connector. I omitted > that on this post. > > Thanks, > Brantley Hobbs > > > -----Original Message----- > > From: Brantley Hobbs > > Sent: Wednesday, February 12, 2003 5:24 PM > > To: [EMAIL PROTECTED] > > Cc: Brantley Hobbs > > Subject: Tomcat/Apache/IIS configuration issues > > > > > > All, > > > > Let me just say up front that I'm relatively new to Tomcat, > but I do > > know my way around Apache and IIS pretty well. > > > > My Problem: > > No matter what I do, I cannot sucessfully connect a webserver to > > Tomcat using either the IIS redirector or mod_jk2. I get HTTP 500 > > errors (Internal Server Error) when I try to browse the examples > > servlet. > > > > My configuration: > > Tomcat Server: > > Dual P3 800 > > 1GB RAM > > Tons of available HDD space > > RedHat 7.1 > > Tomcat 4.1.18 > > Apache 2.0.44 > > JDK 1.3.1 06 > > > > IIS Server: > > Windows 2000 Advanced Server SP3 > > > > I'm using the JK2 configuration files found at this URL: > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config > > howto.html > > > > Now, when I surf to http://localhost:8080/examples/ I get > the expected > > output, so I'm pretty sure that Tomcat is running fine. > When I do a > > 'netstat -l' I can see that something is listening on port 8009. > > > > Looking thru $CATALINA_HOME/logs/catalina.out, I get this > when I start > > Tomcat: > > Starting service Tomcat-Standalone > > Apache Tomcat/4.1.18 > > [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port > 8080 [INFO] > > ChannelSocket - -JK2: ajp13 listening on > 0.0.0.0/0.0.0.0:8009 [INFO] > > JkMain - -Jk running ID=0 time=1/52 > > config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties > > [INFO] ChannelSocket - -Port busy 8009 > > java.net.BindException: Address already in use [INFO] > > ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8010 > > [INFO] JkMain - -Jk running ID=1 time=1/7 > > config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties > > > > When I surf to http://localhost/examples/ I get the 500 error. > > Obviously, I get the same error when I try to connect from > the IIS box > > (which is not on the same host, obviously). > > > > Here are my respective configuration files: > > [$CATALINA_HOME/conf/jk2.properties] > > # The default port is 8009 but you can use another one > > # channelSocket.port=8019 > > > > [<server_root>/conf/workers2.properties > > # Define the communication channel > > [channel.socket:localhost:8009] > > info=Ajp13 forwarding over socket > > tomcatId=localhost:8009 > > > > # Map the Tomcat examples webapp to the Web server uri space > > [uri:/examples/*] > > info=Map the whole webapp > > > > > > I figure I'll wait to get the whole thing working on > localhost before > > I try to have an IIS box across the network try to use it. > > > > Thanks, > > Brantley Hobbs > > Application Developer > > Information Technology Outreach Services > > University of Georgia > > [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- > > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 > > > --- > > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]