Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to install Glassfish 3.1.1 on windows with an installer but the Config Result - Creating Domain fails.

This is the error message:

Executing command :C:\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile
- create-domain --savelogin --checkports=false --adminport 4848 --instanceport 8080

C:\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile - create-domain
--savelogin --checkports=false --adminport 4848 --instanceport 8080 --domainproperties=jms.port=7676:domain.jmxPort=8686:orb.listener.port=3700:http.ssl.port=8181:orb.ssl.port=3820:orb.mutualauth.port=3920
domain1 The system cannot find the path specified.
share|improve this question

I had this problem and solved it:

1.Go to asenv.bat file in Glassfish config directory

2.modify line: set AS_JAVA="C:/Program Files(x86)/Java/" to point to your JDK (not JRE!) installation 3.retry asadmin command

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.