users@glassfish.java.net

Re: Could not run HelloNB69 (Java EE 6) on GF3.0.1

From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Oct 2010 06:26:12 PDT

Hi Tim,

I have finally been able to install GF 3.1 properly after many failed attempts and can now open Admin Console properly. It kept on failing with the following error:

[CONFIG_PANEL_CONTENT_HEADER]*[{0} {1}]
_______________________________________

[CONFIG_PANEL_CREATE_DOMAIN_TEXT]*[{0} {1}]
___________________________________________
[b][CONFIG_PANEL_EXECUTING_COMMAND]*[{0} {1}]C:\Sun\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile C:\DOCUME~1\jack\LOCALS~1\Temp\latest-glassfish-windows.exe2\asadminTmp8810675423465193067.tmp 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
C:\Sun\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile C:\DOCUME~1\jack\LOCALS~1\Temp\latest-glassfish-windows.exe2\asadminTmp4839884197673090247.tmp 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 domain1CLI130 Could not create domain, domain1
Domain domain1 already exists in C:\Sun\glassfish3\glassfish\domains. Use a different domain name or the --domaindir option.
Command create-domain failed.


[CONFIG_PANEL_START_DOMAIN_TEXT]*[{0} {1}]
__________________________________________
[CONFIG_PANEL_EXECUTING_COMMAND]*[{0} {1}]C:\Sun\glassfish3\glassfish\bin\asadmin.bat start-domain domain1

C:\Sun\glassfish3\glassfish\bin\asadmin.bat start-domain domain1
The main GlassFish configuration file is missing. This is where it is supposed to be: C:\Sun\glassfish3\glassfish\domains\domain1\config\domain.xml
Command start-domain failed.[/b]
The setup may have failed as a result of space between folder name. e.g. C:\Document Settings\jack\...

Jack
[Message sent by forum member 'htran_888']

http://forums.java.net/jive/thread.jspa?messageID=484439