dev@glassfish.java.net

Re: Problems with latest v2 on solaris x86

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 17 Oct 2006 08:25:02 -0700

Hi Paul,

Hmmm. Can you please do the following:

- gf-install-dir/bin/asadmin create-domain --adminuser admin
   --adminport 4849 --domaindir /tmp test -- assuming /tmp has
   space and is writeable by the OS user who issues this command.
- gf-install-dir/bin/asadmin start-domain --domaindir /tmp --user
   admin test

There seems to be some problem when the *parent* folder of
a folder where domain's configuration lies has unexpected
file system permissions.

Please let me know.

Thanks,
Kedar
Paul Sandoz wrote:
> Hi,
>
> I downloaded and tried both v2-b19 or v2-b21. Installed in single
> instance mode. When i execute asadmin i get the following:
>
> > asadmin start-domain domain1
> Starting Domain domain1, please wait.
> Log redirected to /var/appserver/domains/domain1/logs/server.log.
> No write permission: /var/appserver/domains
> CLI156 Could not start the domain domain1.
>
> I changed permissions then i get:
>
> > asadmin start-domain domain1
> Starting Domain domain1, please wait.
> Log redirected to /var/appserver/domains/domain1/logs/server.log.
> /var/appserver/domains/domain1 does not correspond to a valid domain
> directory.
> CLI156 Could not start the domain domain1.
>
>
> What am i doing wrong?
>
> Paul.
>