2 Replies Latest reply on Jun 22, 2011 12:28 AM by rakesh mehta

    Binding Exception

    rakesh mehta Newbie

      Hi Everybody,

             I want to get an instance of an already existing cache but it is giving binding exception.

         I am posting the exception below

       

       

      949 [main] WARN org.jgroups.protocols.UDP  - could not bind to /224.25.22.38 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).

      Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details).

      Exception was: java.net.BindException: Cannot assign requested address

      949 [main] WARN org.jgroups.protocols.UDP  - could not bind to /224.25.22.38 (IPv4 address); make sure your mcast_addr is of the same type as the IP stack (IPv4 or IPv6).

      Will ignore mcast_addr, but this may lead to cross talking (see http://www.jboss.com/wiki/Edit.jsp?page=CrossTalking for details).

      Exception was: java.net.BindException: Cannot assign requested address

       

       

      If anybody can help please............

        • 1. Re: Binding Exception
          Bela Ban Master

          You might be running an IPv6 stack, if you use -Djava.net.preferIPv4Stack=true in your JBoss startup script, then this error should disappear. If you want to continue running IPv6, use an IPv6 mcast_addr (in UDP/TCP).

          • 2. Re: Binding Exception
            rakesh mehta Newbie

            Hi Ban,

               Thanks for Your help, actually my problem is to get the instance of already existing cache in jboss server so that i can do some manipulation.

            I thought because of this binding exeption i was not able to get the instance, so can you tell me how to get the instance of already existing cache.

             

            Thanks & Ragards

            Rakesh Mehta