Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't make me think about payaradomain vs. domain1 (have asadmin start-domain "just work") #349

Closed
pdurbin opened this issue Jun 22, 2015 · 3 comments

Comments

@pdurbin
Copy link

pdurbin commented Jun 22, 2015

I just downloaded Payara for the first time (payara-4.1.152.1.zip) and ran asadmin start-domain like I'm use to with Glassfish.

Payara barked (maybe snapped, since it's a fish) at me with this:

[payara@dvn-vm1 ~]$ /home/payara/payara41/glassfish/bin/asadmin start-domain
The domains directory /home/payara/payara41/glassfish/domains
contains multiple domains.  Please specify a domain.
Available domains: payaradomain, domain1
Command start-domain failed.

Quickly enough I found more about "payaradomain" at http://www.payara.co.uk/whats_new_in_payara_41152 (and maybe I'll try it) but I think it would be nice to give new customers the Don't Make Me Think experience of letting asadmin start-domain "just work" out of the box.

@phillipross
Copy link
Contributor

I had similar thoughts... but not because I didn't want to think, but more to follow the "payara as a drop-in replacement for glassfish" philosophy. I suspect that shops that have existing config management and deployment infrastructure may rely on the fact that out-of-the-box glassfish only has one domain by default... and their scripts rely on that assumption.

@peteral
Copy link

peteral commented Jun 23, 2015

Upvote

I agree with phillipross - was exactly my case. Although it is quite simple to incorporate the new domain in the configuration scripts (delete-domain payaradomain), it gives up a (imho) huge benefit of payara - out-of-the box alternative for glassfish.

Maybe a script which would create the payaradomain on demand? Or just make payaradomain the only default domain?

@smillidge
Copy link
Contributor

Need to modify the start-domain command to start domain1 if two or more domains present and non-specified. Given the principals of convention over configuration.

smillidge added a commit that referenced this issue Jun 29, 2015
Pandrex247 pushed a commit to Pandrex247/Payara that referenced this issue May 4, 2021
Revert "Resource Loading - URL()s no longer produce cached JAR files
Pandrex247 added a commit to Pandrex247/Payara that referenced this issue May 4, 2021
…8" (payara#355)

* Revert "Merge pull request payara#349 from Pandrex247/Revert-FISH-1178"

This reverts commit 537efb1, reversing
changes made to 0ece1d5.

* Resource URL instantiation needs to be privileged action because otherwise it fails the TCK

Co-authored-by: lprimak <lenny@flowlogix.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants