Hi All,
I have scripted the install for Java CAPS (including Glassfish). As part of the scripting process I delete the default domain (domain1) and create a new domain named xxdevrund1.
Below is the script that performs the install:
echo Set the variables
<br>
<br>
<br>var_DOMAIN_NAME=ptdevrund1
<br>var_PASSWORD_FILE=/pt/opt/build/JavaCAPS6/password_file.txt
<br>var_HOST=xx.xxx.xx.xx
<br>var_SEPARATOR=-------------------------------------------------------------------------------------------------
<br>
<br>sh ./JavaCAPS.bin -i silent -f unix-install.properties $*
<br>
<br>echo $var_SEPARATOR
<br>#Delete the default domain
<br>echo Delete the default domain
<br>asadmin stop-domain domain1
<br>asadmin delete-domain --domaindir /pt/opt/build/JavaCAPS6/appserver/domains domain1
<br>
<br>#Remove shortcuts for appserver_domain
<br>echo $var_SEPARATOR
<br>echo Remove shortcuts for appserver_domain
<br>rm /pt/opt/build/JavaCAPS6/start_appserver_domain1
<br>rm /pt/opt/build/JavaCAPS6/stop_appserver_domain1
<br>
<br>#Create the new domain
<br>echo $var_SEPARATOR
<br>echo Create the new domain
<br>asadmin create-domain --adminport 4848 --user admin --passwordfile $var_PASSWORD_FILE --profile cluster $var_DOMAIN_NAME
<br>
<br>
After creation of the domain, I can not add the server to Enterprise Manager. Below is the error I get in the catalina.out:
<br>
SEVERE: SAAJ0008: Bad Response; Not Found
2009-04-21 09:41:32,227 ERROR com.stc.emanager.deployment.actions.AddNewServerAction [http-15000-Processor21] - java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found due to Connection Failed. Please check the following: <br>   - Server Type is correct. <br>   - Server is running. <br>   - Hostname and Port number(s) are correct. <br>   - Server SSL configuration.
<br>
<br>Has anyone seen this issue before?
<br>
<br>Any help is appreciated.
<br>
<br>Thanks,
<br>
<br>Anthonie
[Message sent by forum member 'anthonie' (anthonie)]
http://forums.java.net/jive/thread.jspa?messageID=343076