我正在 Windows XP Service Pack 3 上安装 glassfish 3.1。但在配置步骤中出现此错误:
PERFORMING THE REQUIRED CONFIGURATIONS
______________________________________
CREATING DOMAIN
_______________
Executing command :C:\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile C:\DOCUME~1\MAJIDA~1\LOCALS~1\Temp\glassfish-3.1-windows-ml.exe6\asadminTmp1079044298673991344.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:\glassfish3\glassfish\bin\asadmin.bat --user admin --passwordfile C:\DOCUME~1\MAJIDA~1\LOCALS~1\Temp\glassfish-3.1-windows-ml.exe6\asadminTmp5898014821156752751.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 domain1Unknown error when trying port 4848. Try a different port number.
Command create-domain failed.
CLI130 Could not create domain, domain1
我换了4848
其他端口,但还是不行。防火墙完全禁用了。有人能帮忙吗?
答案1
只需下载 .zip 格式的包 :) 这样就能解决你的问题。(我也是)
来自页面:http://glassfish.java.net/downloads/3.1.1-final.html
点击此处查看示例:http://download.java.net/glassfish/3.1.1/release/glassfish-3.1.1.zip