glassfish scripts are not working in harmony when creating and starting domains
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glassfish (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: glassfish
hi folks,
when creating a domain in GLASSFISH using command:
asadmin create-domain somedomain
leaving the --homedir blank; the new domain will be create in $HOME/domains/
however when trying to start the same domain with:
asadmin start-domain somedomain
it gives an error as it tries to find the domain in:
$HOME/glassfish
it is a minor problem but an annoying one that could be resolved swiftly.
see below for a clarification of the bug.
asadmin was run by user 'glassfish' which has its home defined as '/var/lib/
glassfish@
Please enter the admin user name>admin
Please enter the admin password>
Please enter the admin password again>
Please enter the master password [Enter to accept the default]:>
Please enter the master password again [Enter to accept the default]:>
Using port 4847 for Admin.
Using default port 8080 for HTTP Instance.
Using default port 7676 for JMS.
Using default port 3700 for IIOP.
Using default port 8181 for HTTP_SSL.
Using default port 3820 for IIOP_SSL.
Using default port 3920 for IIOP_MUTUALAUTH.
Using default port 8686 for JMX_ADMIN.
Domain being created with profile:cluster, as specified by variable AS_ADMIN_PROFILE in configuration file.
Security Store uses: JKS
Domain sometest created.
glassfish@
Domain sometest does not exist in /var/lib/
CLI157 Could not stop the domain sometest.
glassfish@
please let me know if you need further info to fix this problem.
Nicolas
system details:
lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
glassfishv2:
Installed: 2.0.1-0ubuntu5
Candidate: 2.0.1-0ubuntu5
Version table:
*** 2.0.1-0ubuntu5 0
500 http://
100 /var/lib/