1 Reply Latest reply on Oct 21, 2009 11:55 AM by jaikiran pai

    Related to EJB Deployment in JBoss

    anderson NIL Newbie

      Hi all,

      I just installed JBoss Application Server 5.1.0 GA. I had google around and found out that I need to put the ejb.jar into <JBOSS_HOME>/server/deploy directory. But currently, I am having following folder under <JBOSS_HOME>/server:

      <JBOSS_HOME>\server\all\deploy
      <JBOSS_HOME>\server\default\deploy
      <JBOSS_HOME>\server\standard\deploy
      <JBOSS_HOME>\server\minimal\deploy
      <JBOSS_HOME>\server\web\deploy

      so, in which directory I have to put in the ejb.jar so that I can deploy it successfully?

      Thanks :)

        • 1. Re: Related to EJB Deployment in JBoss
          jaikiran pai Master

          Each one of the "all", "default", "minimal" etc... server configurations provide a different set of functionalities. "all" has clustering features and is a superset of the other configurations. "default" has all the services (like EJB support) without the clustering services. So usually, it's the "default" configuration that users go for.

          You can place that file in server/default/deploy and start the server using the run.sh/run.bat scripts. By default the "default" configuration will be started. However, if you want to start a different configuration, you can use the -c option and pass it the name of the server configuration. For example, to start the "all" config:

          ./run.sh -c all