0 Replies Latest reply on Oct 23, 2013 2:05 PM by ksimpson

    BindException when deploying

    ksimpson Newbie

      Seeing the following error from Jetty when deploying application bundle:

       

      10:39:59,773 | ERROR | NAPSHOT-thread-1 | BlueprintCamelContext            | 138 - org.apache.camel.camel-blueprint - 2.10.0.redhat-60024 | Error occurred during starting Camel: CamelContext(portland-esb-context) due Address already in use

      java.net.BindException: Address already in use

       

      Environment

      •   Four active Fuse ESB containers, two each on pair of VMs
      •   All four containers are active; their AMQ brokers contend for lock on NFS
      •   Deployment consists of FTP'ing application bundle into each container's deploy folder

       

      There are only three Jetty endpoints with corresponding from() in the application, defined in properties file (all resolve ok):

      1. cad.acceptor=jetty:http://0.0.0.0/cad/CADService
      2. {{cad.acceptor}}/echo
      3. jms.acceptor=jetty:http://0.0.0.0/jms/JMSService

       

      Note that 'echo' endpoint is extension of 'cad' endpoint.  Also, all endpoints use default port, 80.

       

      Can multiple Jetty endpoints use the same host (0.0.0.0) and port combinations?  What else could be causing BindExceptions?

       

      Thanks!