windowsglassfishasadmin

"The system cannot find the path specified." error message when trying to start GlassFish with asadmin


I tried to follow The Java EE 6 Tutorial and start GlassFish with the command below. But I got an error message. How to solve this?

C:\glassfish3\bin>asadmin start-domain --verbose
The system cannot find the path specified.

Solution

  • I fixed this issue by editing glassfish3\glassfish\config\asenv.bat as described in domain1 not configured -- The system cannot find the path specified

    then I got an error because no domains existed, that was solved by editing glassfish3\bin\asadmin.bat as described in Oracle Glassfish "There is no Domain" Issue Fix Solution