Default domain not created upon installation of Sun application server 8.1
Hi experts,
I'm trying to install Sun application server 8.1 on Solaris 8. After installation the summary and installation logs say everything was succesfull but that is not the case. For some reason it is not installing the default domain 'domain1'.
Some strange facts:
When using command ./asadmin start-domain, I'm getting the following error:
Domain directory/var/appserver/domains is not a directory or does not exist. CLI156Could not start the domain undefined.
That the domain its self won't start is not very strange because there is no domain (in /var/opt/SUNWappserver/domains/) but what is strange is that the error is talking about /var/appserver/domains and I'm wondering where it is getting from during installation (it suppose it is set in asenv.conf during installation).
So, what I did is changing the AS_DEF_DOMAINS_PATH variable in the asenv.conf to the /var/opt/SUNWappserver/domains directory and try to create the domain manually with the following command:
./asadmin create-domain --domaindir /var/opt/SUNWappserver/domains/ --adminport 4848 --adminuser admin domain1
Then it reports an error
java.io.FileNotFoundException: /opt/SUNWappserver/appserver/lib/install/templates/default-domain.xml.template (No such file or directory)
So, for some reason it is not installing the default domain domain1 or related files needed to create the domain manually. Besides, it's not setting some variables defined in asenv.conf correctly.
Who has an idea what could be the problem or what I am doing wrong!

