Hi Peter,

I resolved my problems.

I appended mcastBindAddress attribute to
<Cluster><Membership> element and set "127.0.0.1" as a
value.

Thanks anyway.

-Toshio

> 
> 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.
> >> -->
> >>
> >><Server port="8005" shutdown="SHUTDOWN">
> >>
> >>  <Listener
> >>
> >>    
> >>
>
>className="org.apache.catalina.mbeans.ServerLifecycleListener"
> >  
> >
> >>/>
> >>  <Listener
> >>
> >>    
> >>
>
>className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
> >  
> >
> >>/>
> >>  <Listener
> >>
> >>    
> >>
>
>className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
> >  
> >
> >>  <!-- Global JNDI resources -->
> >>  <GlobalNamingResources>
> >>
> >>    <!-- Test entry for demonstration purposes -->
> >>    <Environment name="simpleValue"
> >>type="java.lang.Integer" value="30"/>
> >>
> >>    <!-- Editable user database that can also be
> >>used by
> >>         UserDatabaseRealm to authenticate users
> -->
> >>    <Resource name="UserDatabase" auth="Container"
> >>             
> >>type="org.apache.catalina.UserDatabase"
> >>       description="User database that can be
> >>updated and saved"
> >>          
> >>
> >>    
> >>
>
>factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
> 
=== message truncated ===

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to