tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SUGAHARA Toshio <to_...@yahoo.co.jp>
Subject Re: Tomcat 5.5.9 Cluster Error
Date Mon, 22 Aug 2005 06:51:05 GMT
Hi Peter,

I'm using Windows XP SP1 and not enable Firewall.
Also I can use Multicast.

I was able to set-up Tomcat Cluster with 5.0.16,
but I failed with 5.5.9 and 5.0.28.

On only uncommenting the Cluster and Value element in
server.xml, I succeeded to set-up with 5.0.16.
But with 5.5.9 and 5.0.28, I was not able to work Tomcat
Cluster well using that way.

Is there anything different in how to configure
between each version?

Thanks,

--Toshio

--- Peter Rossbach <pr@objektpark.de> からのメッセージ:
> 
> Which OS you used and is your firewall open for UDP
> port
> 
> 45564 and TCP 4001 ? Is your network interface
> enabled for Multicast
> Packages ?
> 
> Why you used the deployer ?
> 
> Peter
> 
> SUGAHARA Toshio schrieb:
> 
> >Sorry, attached file was not sent and I'll try
> again.
> >
> >[error message]
> >ERROR main
> >org.apache.catalina.cluster.tcp.SimpleTcpCluster -
> Unable
> >to start cluster.
> > java.net.SocketException: error setting options
> >	at java.net.PlainDatagramSocketImpl.join(Native
> Method)
> >	at
>
>java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)
> >	at
>
>java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
> >	at
>
>org.apache.catalina.cluster.mcast.McastServiceImpl.start(McastServiceImpl.java:174)
> >	at
>
>org.apache.catalina.cluster.mcast.McastService.start(McastService.java:217)
> >	at
>
>org.apache.catalina.cluster.mcast.McastService.start(McastService.java:167)
> >	at
>
>org.apache.catalina.cluster.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:418)
> >	at
>
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1002)
> >	at
>
>org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> >	at
>
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> >	at
>
>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> >	at
>
>org.apache.catalina.core.StandardService.start(StandardService.java:450)
> >	at
>
>org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
> >	at
>
>org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> >	at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >Method)
> >	at
>
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >	at
>
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >	at
> java.lang.reflect.Method.invoke(Method.java:585)
> >	at
>
>org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> >	at
>
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> >ERROR main org.apache.catalina.startup.Catalina -
> >Catalina.start: 
> > LifecycleException:  java.net.SocketException:
> error
> >setting options
> >	at
>
>org.apache.catalina.cluster.tcp.SimpleTcpCluster.start(SimpleTcpCluster.java:434)
> >	at
>
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1002)
> >	at
>
>org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> >	at
>
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> >	at
>
>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> >	at
>
>org.apache.catalina.core.StandardService.start(StandardService.java:450)
> >	at
>
>org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
> >	at
>
>org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> >	at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> >Method)
> >	at
>
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >	at
>
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >	at
> java.lang.reflect.Method.invoke(Method.java:585)
> >	at
>
>org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> >	at
>
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> >
> >  
> >
> >>Hi all,
> >>
> >>I'm building Tomcat Cluster environment on the
> same
> >>box.
> >>Configuring sevrer.xml and starting tomcat
> instance,
> >>I got
> >>error message as attached file.
> >>
> >>Here is my envrinment;
> >>Apache:2.0.54 MPM worker
> >>Tomcat:5.5.9
> >>JK_Connector:mod_jk 1.2.14.1
> >>JDK:J2SE 1.5.0_04
> >>
> >>Also, I modified web.xml and added
> >>"<distributable/>".
> >>
> >>What am I missing? I'm at a loss.
> >>Any help would be very much appreciated.
> >>
> >>Thanks
> >>
> >>
> >>
> >>__________________________________
> >>Save the earth
> >>http://pr.mail.yahoo.co.jp/ondanka/
> >>    
> >>
> >>><!-- Example Server Configuration File -->
> >>>      
> >>>
> >><!-- Note that component elements are nested
> >>corresponding to their
> >>     parent-child relationships with each other
> -->
> >>
> >><!-- A "Server" is a singleton element that
> >>represents the entire JVM,
> >>     which may contain one or more "Service"
> >>instances.  The Server
> >>     listens for a shutdown command on the
> indicated
> >>port.
> >>
> >>     Note:  A "Server" is not itself a
> "Container",
> >>so you may not
> >>     define subcomponents such as "Valves" or
> >>"Loggers" at this level.
> >> -->
> >>
> >>

__________________________________
Save the earth
http://pr.mail.yahoo.co.jp/ondanka/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message