Does it do the right thing if you create a second domain using `asadmin
create-domain domain2`?
vbk
Bobby Bissett wrote:
> With more than one domain present, when I run 'asadmin start-domain'
> it's exiting with an IOException rather than telling me it's not a
> mind reader and that I should tell it which domain to start. This is
> in the 3.1 workspace, updated this am. Thought you'd want to know:
>
> hostname% pwd
> /Users/bobby/work/ws/v3/distributions/glassfish/target/glassfishv3/glassfish/domains
>
> hostname% ls
> domain1
> hostname% ../bin/asadmin start-domain
> Waiting for the server to start ...........
> Successfully started the domain : domain1
> domain location:
> /Users/bobby/work/ws/v3/distributions/glassfish/target/glassfishv3/glassfish/domains/domain1
>
> Log File:
> /Users/bobby/work/ws/v3/distributions/glassfish/target/glassfishv3/glassfish/domains/domain1/logs/server.log
>
> Admin Port: 4848
> Command start-domain executed successfully.
> hostname% ^art^op
> ../bin/asadmin stop-domain
>
> Waiting for the domain to stop .
> Command stop-domain executed successfully.
> hostname% cp -R domain1 domain2
> hostname% ../bin/asadmin start-domain
> java.io.IOException:
> Command start-domain failed.