This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Tomcat 5.0.x and IIS 5.1 Clustering Issue  RSS feed

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

Hey, I have got this issue regarding clustering Tomcat and IIS. I would like someone to help me if "He's been there done that."

Regarding initial information I hooked myself to onjava.com ... and used
This Article - >
"Configuring Tomcat and Apache With JK 1.2
by James Goodwill
11/20/2002"

It never worked as it is for IIS4 and he hasn't mentioned anything about Creating Filter dll entry in register.


I found another way around in
----
http://tomcat.apache.org/connectors-doc/howto/iis.html

----

In short i followed what is given blindly but failed miserably.

i used follwing version (1.2.15)of isapi_redirect.dll from

-----
[URL=
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.15/]
[/url]
-----

Using isapi_redirec.msi....i added the regitery entries as it was given.


my tomcat is listening on 8080. and IIs is working fine but i am getting following messages on Tomcat startup console.



Mar 4, 2006 8:21:01 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
nt.java:264)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)

at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
java:1429)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:609)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:2384)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Mar 4, 2006 8:21:01 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindExcept
ion: Address already in use: JVM_Bind:8080
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
java:1431)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:609)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:2384)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Mar 4, 2006 8:21:01 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2203 ms
Mar 4, 2006 8:21:01 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 4, 2006 8:21:01 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Mar 4, 2006 8:21:01 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 4, 2006 8:21:01 PM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Mar 4, 2006 8:21:01 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:F:\Program Files\Apache Sof
tware Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
Mar 4, 2006 8:21:05 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
e
Mar 4, 2006 8:21:05 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
Mar 4, 2006 8:21:06 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
nNull=true
Mar 4, 2006 8:21:29 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:F:\Program Files\Apache Sof
tware Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
Mar 4, 2006 8:21:39 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:F:\Program Files\Apache Sof
tware Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
Mar 4, 2006 8:21:39 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:F:\
Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
Mar 4, 2006 8:21:40 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:F:\Program Files
\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
Mar 4, 2006 8:21:40 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL fil
e:F:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-exampl
es
Mar 4, 2006 8:21:40 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:F:\P
rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
Mar 4, 2006 8:21:40 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:F:\Progra
m Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
Mar 4, 2006 8:21:40 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 4, 2006 8:21:41 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Mar 4, 2006 8:21:41 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=47/187 config=F:\Program Files\Apache Software Found
ation\Tomcat 5.0\conf\jk2.properties
Mar 4, 2006 8:21:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 40297 ms



Expecting a quick response object!!!

Jay
 
author and iconoclast
Posts: 24203
40
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's move this to the Tomcat forum.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!