[Bug 342718] [NEW] glassfish scripts are not working in harmony when creating and starting domains

Nicolas Diogo nicolasdiogo at yahoo.co.uk
Sat Mar 14 10:26:05 UTC 2009


Public bug reported:

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/somedomain

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/glassfishv2/somedomain

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/glassfishv2'

glassfish at myServer:/var/lib/glassfishv2$ asadmin create-domain --adminport 4847 sometest
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 at myServer:/var/lib/glassfishv2$ asadmin stop-domain sometest
Domain sometest does not exist in /var/lib/glassfishv2/glassfishv2/sometest.  Use a different domain name or the --domaindir option.
CLI157 Could not stop the domain sometest.

glassfish at myServer:/var/lib/glassfishv2$


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://gb.archive.ubuntu.com intrepid/multiverse Packages
        100 /var/lib/dpkg/status

** Affects: glassfish (Ubuntu)
     Importance: Undecided
         Status: New

-- 
glassfish scripts are not working in harmony when creating and starting domains
https://bugs.launchpad.net/bugs/342718
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list