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!

[1615 byte] By [evanvooren] at [2007-11-26 10:09:18]
# 1
Looks like the installation of binaries was not successful. This could happen if the previous installation was not cleanedup properly. Is this an installation through Java Enterprise System OR standalone application server installation?
sathyan_catari at 2007-7-7 1:52:31 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

That was done using the installation of the Enterpsrise server edition.

When uninstalling the Appserver I have:

- removed all related packages

- deleted the /opt/SUNWappserver directory

- deleted the /var/opt/SUNWappserver directory

- deleted productregistry in the /var/sadm directory

evanvooren at 2007-7-7 1:52:31 > top of Java-index,Application & Integration Servers,Application Servers...
# 3
can u please check if any of the Application Server package still remains in the system by running 'pkginfo | grep SUNWas'
sathyan_catari at 2007-7-7 1:52:31 > top of Java-index,Application & Integration Servers,Application Servers...