Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38681 > unrolled thread
| Started by | "R. Schneider" <r.schneider@pis-db.de> |
|---|---|
| First post | 2018-11-29 09:46 +0000 |
| Last post | 2018-12-21 09:37 +0000 |
| Articles | 10 — 3 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | "R. Schneider" <r.schneider@pis-db.de> |
|---|---|
| Date | 2018-11-29 09:46 +0000 |
| Subject | Glassfish |
| Message-ID | <ptochc$v2c$1@news.albasani.net> |
Hello all, 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 ? Regards, Ralf This runs: http://[2a02:908:f761:8e80:cd52:dcf0:9991:b727]:8080/Profil
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2018-11-29 17:01 -0500 |
| Message-ID | <ptpnk4$1kti$1@gioia.aioe.org> |
| In reply to | #38681 |
On 11/29/2018 4:46 AM, 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 ? One war file or ear file per project? Arne
[toc] | [prev] | [next] | [standalone]
| From | "R. Schneider" <r.schneider@pis-db.de> |
|---|---|
| Date | 2018-11-30 13:12 +0000 |
| Message-ID | <ptrd0m$es8$1@news.albasani.net> |
| In reply to | #38682 |
Am Thu, 29 Nov 2018 17:01:41 -0500 schrieb Arne Vajhøj: > On 11/29/2018 4:46 AM, 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 ? > > One war file or ear file per project? > > Arne Yes. For every project one. Will this work to deploy them in parallel ? Ralf -- http://[2a02:908:f761:8e80:cd52:dcf0:9991:b727]:8080/Profil
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2018-11-30 20:05 -0500 |
| Message-ID | <ptsmo1$lto$1@gioia.aioe.org> |
| In reply to | #38683 |
On 11/30/2018 8:12 AM, R. Schneider wrote: > Am Thu, 29 Nov 2018 17:01:41 -0500 schrieb Arne Vajhøj: >> On 11/29/2018 4:46 AM, 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 ? >> >> One war file or ear file per project? > > Yes. For every project one. Will this work to deploy them in parallel ? You can deploy multiple ear/war to the same Glassfish instance independently of each other. (it is possible to shoot oneself in the foot, but ...) Arne
[toc] | [prev] | [next] | [standalone]
| From | "R. Schneider" <r.schneider@pis-db.de> |
|---|---|
| Date | 2018-12-02 09:51 +0000 |
| Message-ID | <pu09u6$7cj$1@news.albasani.net> |
| In reply to | #38684 |
Am Fri, 30 Nov 2018 20:05:06 -0500 schrieb Arne Vajhøj: > On 11/30/2018 8:12 AM, R. Schneider wrote: >> Am Thu, 29 Nov 2018 17:01:41 -0500 schrieb Arne Vajhøj: >>> On 11/29/2018 4:46 AM, 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 >>>> ? >>> >>> One war file or ear file per project? >> >> Yes. For every project one. Will this work to deploy them in parallel ? > > You can deploy multiple ear/war to the same Glassfish instance > independently of each other. > > (it is possible to shoot oneself in the foot, but ...) > > Arne Where is the problem ? This is the aim of my question ? Ralf -- http://[2a02:908:f761:8e80:cd52:dcf0:9991:b727]:8080/Profil
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2018-12-02 19:32 -0500 |
| Message-ID | <pu1ti1$tu0$2@gioia.aioe.org> |
| In reply to | #38685 |
On 12/2/2018 4:51 AM, R. Schneider wrote: > Am Fri, 30 Nov 2018 20:05:06 -0500 schrieb Arne Vajhøj: >> On 11/30/2018 8:12 AM, R. Schneider wrote: >>> Am Thu, 29 Nov 2018 17:01:41 -0500 schrieb Arne Vajhøj: >>>> On 11/29/2018 4:46 AM, 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 >>>>> ? >>>> >>>> One war file or ear file per project? >>> >>> Yes. For every project one. Will this work to deploy them in parallel ? >> >> You can deploy multiple ear/war to the same Glassfish instance >> independently of each other. >> >> (it is possible to shoot oneself in the foot, but ...) > > Where is the problem ? This is the aim of my question ? Are you asking how you can shoot yourself in the foot (aka create Java EE applications that is not easily independently deployed and restarted)? Arne
[toc] | [prev] | [next] | [standalone]
| From | "R. Schneider" <r.schneider@pis-db.de> |
|---|---|
| Date | 2018-12-03 10:54 +0000 |
| Message-ID | <pu321f$h64$1@news.albasani.net> |
| In reply to | #38687 |
Am Sun, 02 Dec 2018 19:32:04 -0500 schrieb Arne Vajhøj:
> On 12/2/2018 4:51 AM, R. Schneider wrote:
>> Am Fri, 30 Nov 2018 20:05:06 -0500 schrieb Arne Vajhøj:
>>> On 11/30/2018 8:12 AM, R. Schneider wrote:
>>>> Am Thu, 29 Nov 2018 17:01:41 -0500 schrieb Arne Vajhøj:
>>>>> On 11/29/2018 4:46 AM, 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 ?
>>>>>
>>>>> One war file or ear file per project?
>>>>
>>>> Yes. For every project one. Will this work to deploy them in parallel
>>>> ?
>>>
>>> You can deploy multiple ear/war to the same Glassfish instance
>>> independently of each other.
>>>
>>> (it is possible to shoot oneself in the foot, but ...)
>>
>> Where is the problem ? This is the aim of my question ?
>
> Are you asking how you can shoot yourself in the foot (aka create Java
> EE applications that is not easily independently deployed and
> restarted)?
>
> Arne
This was the question from the beginning.
Will it be possible to deploy only one project with
sudo /usr/local/glassfish-4.1.1/bin/asadmin deploy
--force Projekte/Profil/dist/Profil.war
or deploy a second one, too ?
Ralf
--
http://[2a02:908:f761:8e80:cd52:dcf0:9991:b727]:8080/Profil
[toc] | [prev] | [next] | [standalone]
| From | "R. Schneider" <r.schneider@pis-db.de> |
|---|---|
| Date | 2019-01-16 22:06 +0000 |
| Message-ID | <q1o9sv$a08$1@news.albasani.net> |
| In reply to | #38688 |
Am Mon, 03 Dec 2018 10:54:39 +0000 schrieb R. Schneider: > Am Sun, 02 Dec 2018 19:32:04 -0500 schrieb Arne Vajhøj: > >> On 12/2/2018 4:51 AM, R. Schneider wrote: >>> Am Fri, 30 Nov 2018 20:05:06 -0500 schrieb Arne Vajhøj: >>>> On 11/30/2018 8:12 AM, R. Schneider wrote: >>>>> Am Thu, 29 Nov 2018 17:01:41 -0500 schrieb Arne Vajhøj: >>>>>> On 11/29/2018 4:46 AM, 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 ? >>>>>> >>>>>> One war file or ear file per project? >>>>> >>>>> Yes. For every project one. Will this work to deploy them in >>>>> parallel ? >>>> >>>> You can deploy multiple ear/war to the same Glassfish instance >>>> independently of each other. >>>> >>>> (it is possible to shoot oneself in the foot, but ...) >>> >>> Where is the problem ? This is the aim of my question ? >> >> Are you asking how you can shoot yourself in the foot (aka create Java >> EE applications that is not easily independently deployed and >> restarted)? >> >> Arne > > > This was the question from the beginning. > Will it be possible to deploy only one project with > > sudo /usr/local/glassfish-4.1.1/bin/asadmin deploy > --force Projekte/Profil/dist/Profil.war > > or deploy a second one, too ? > > Ralf I found myself. Thanks for all comments. Ralf -- http://[2a02:908:f761:8e80:cd52:dcf0:9991:b727]:8080/Profil
[toc] | [prev] | [next] | [standalone]
| From | James <newsa@oxdrove.co.uk> |
|---|---|
| Date | 2018-12-02 10:50 +0000 |
| Message-ID | <pu0de9$igp$1@dont-email.me> |
| In reply to | #38681 |
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
[toc] | [prev] | [next] | [standalone]
| From | "R. Schneider" <r.schneider@pis-db.de> |
|---|---|
| Date | 2018-12-21 09:37 +0000 |
| Message-ID | <pvic9d$1lr$1@news.albasani.net> |
| In reply to | #38686 |
Am Sun, 02 Dec 2018 10:50:49 +0000 schrieb James: > 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 Thanks a lot. It is always good to answer a question with "yes" or "no", but not with question. These documentations are rather large. Regards. Ralf -- http://[2a02:908:f761:8e80:cd52:dcf0:9991:b727]:8080/Profil
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web