1 Reply Latest reply on Mar 13, 2009 5:08 AM by amjad277

    how to deploy more one ear in jboss

    gearch

      how to deploy more than one ear in jboss - need inputs. right now i have successfully deployed an ear and trying to deploy another ear in the same server.. but i am not able to deploy the second one.
      Following are the errors

      1) java.rmi.server.ExportException: Port already in use: 1198; nested exception is
      2) java.net.BindException: Cannot assign requested address
      3) java.rmi.server.ExportException: Port already in use: 4544; nested exception is:
      4) java.net.BindException: Cannot assign requested address:8081
      5) LifecycleException: Protocol handler initialization failed: java.net.BindException: Cannot assign requested address:8081

      i tried tp changed the default ports to deploy the ear

        • 1. Re: how to deploy more one ear in jboss

          So you have more than one application that you want to deploy in the same JBoss container.
          Presumably you have classes in one application that need to call methods for the classes in a different application.
          Here are your options:

          1- Combine the applications into one ear with a separate classloader
          2- Deploy the applications separately in the same classloader
          3- Deploy the applications separately in separate classloaders and use call by value
          4- Deploy the applications separately in separate classloaders and use call by reference


          Read more infos:
          http://www.middleware.vt.edu/doku.php?id=middleware:jboss:classloading

          Amjad