Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38686

Re: Glassfish

From James <newsa@oxdrove.co.uk>
Newsgroups comp.lang.java.programmer
Subject Re: Glassfish
Date 2018-12-02 10:50 +0000
Organization A noiseless patient Spider
Message-ID <pu0de9$igp$1@dont-email.me> (permalink)
References <ptochc$v2c$1@news.albasani.net>

Show all headers | View raw


On 29/11/2018 09:46, R. Schneider wrote:

> I would like to run multiple projects on my server, but not only one.
> Could anybody tell me if and how this can be archieved with glassfish ?

Yes it can, "asadmin" is the command to use.  The following sub commands 
will get you started (replace "..." with your parameters):

** creation:
asadmin create-virtual-server ...
asadmin create-jdbc-connection-pool ...
asadmin create-jdbc-resource ...

** removal:
asadmin delete-jdbc-resource ...
asadmin delete-jdbc-connection-pool ...
asadmin delete-virtual-server ...

** list / test:
asadmin list-virtual-servers
asadmin list-jdbc-resources
asadmin ping-connection-pool ...

** deployment:
asadmin deploy ...
asadmin redeploy ...
asadmin undeploy ...


See:
https://javaee.github.io/glassfish/documentation
https://javaee.github.io/glassfish/doc/5.0/administration-guide.pdf


James

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Glassfish "R. Schneider" <r.schneider@pis-db.de> - 2018-11-29 09:46 +0000
  Re: Glassfish Arne Vajhøj <arne@vajhoej.dk> - 2018-11-29 17:01 -0500
    Re: Glassfish "R. Schneider" <r.schneider@pis-db.de> - 2018-11-30 13:12 +0000
      Re: Glassfish Arne Vajhøj <arne@vajhoej.dk> - 2018-11-30 20:05 -0500
        Re: Glassfish "R. Schneider" <r.schneider@pis-db.de> - 2018-12-02 09:51 +0000
          Re: Glassfish Arne Vajhøj <arne@vajhoej.dk> - 2018-12-02 19:32 -0500
            Re: Glassfish "R. Schneider" <r.schneider@pis-db.de> - 2018-12-03 10:54 +0000
              Re: Glassfish "R. Schneider" <r.schneider@pis-db.de> - 2019-01-16 22:06 +0000
  Re: Glassfish James <newsa@oxdrove.co.uk> - 2018-12-02 10:50 +0000
    Re: Glassfish "R. Schneider" <r.schneider@pis-db.de> - 2018-12-21 09:37 +0000

csiph-web