Skip to main content

Two domains spontaneously created by installer (JBoss on Ubuntu 7.04)

1 reply [Last post]
berliita
Offline
Joined: 2007-09-08

I'm using JBoss 4.0.5 on Ubuntu 7.04 (Feisty Fawn). The JBoss installer (JEMS 1.0.2) created two domains named "domain1" on my computer spontaneously: one inside "~/glassfish/domains" and the other inside "/var/lib/sunappserver/domains". It appears only the former domain is active: the application server responds to applications dropped in the "autodeploy" subdirectory of "~/glassfish/domains/domain1", but is indifferent to applications dropped in the "autodeploy" subdirectory of "/var/lib/sunappserver/domains/domain1".

Why were two domains created? Why only one of them is active? Would it do any harm to erase the inactive domain? In fact, would it do any harm to erase the entire "/var/lib/sunappserver" directory?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
berliita
Offline
Joined: 2007-09-08

Following some experimentation, i've concluded as follows. There are two "asadmin" scripts installed: the default one in "/usr/bin/asadmin", and another one in "/usr/share/sunappserver/bin". The former works, by default, with the "~/glassfish" directory and the domains therein, while the latter works, by default, with the "/var/lib/sunappserver" directory and the domains therein.