Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: James Newsgroups: comp.lang.java.programmer Subject: Re: Glassfish Date: Sun, 2 Dec 2018 10:50:49 +0000 Organization: A noiseless patient Spider Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 2 Dec 2018 10:50:49 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="94b6521446d388003281fb1ba91f32dc"; logging-data="18969"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eIcmrpLULDrScHWx/8hG83NPZTWcaRdM=" User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:6mRMCedIPWkYKe4jV4r00YiJSnw= In-Reply-To: Xref: csiph.com comp.lang.java.programmer:38686 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