linux 安装glassfish
安装glassfish
1.java -Xmx256m -jar glassfish-installer-v2.1-b60e-windows.jar
2.如果配了ant的环境变量直接在glassfish目录执行:ant -f setup.xml。否则,进去ant的bin目录下执行ant -f /usr/myService/glassfish/glassfish/setup.xml
3.启动:./asadmin start-domain domain1
4.关闭:./asadmin stop-domain domain1
备注:安装glassfish不必先安装ant。因为glassfish自带ant,可以先把glassfish安装,然后使用glassfish的ant来执行setup.xml生成domain1
创建多个domain
http://blog.csdn.net/kamemo/article/details/8738014
解决ant 权限问题
chmod -R +x bin
解决ant问题
http://jeffreyhsu.iteye.com/blog/82629
命令创建domian:windows 下面操作:
进入asadmin 执行命令
create-domain --adminport 4949 --user admin --savelogin=true domain2
相关推荐
phpboy 2008-07-13
中草药代码 2009-07-28
netgame 2012-08-09
fhzh0 2012-02-27
尘封飞扬 2012-02-22
huangshuailei 2011-10-19
huangshuailei 2010-05-12
tomatoboryj 2009-12-30
程空万里 2009-05-09
huangzhe0 2009-05-01
XingKai 2008-08-30
snctoo 2008-07-13
wangol 2008-06-29
JESSIEfoo 2008-06-24
Qiluluwawa 2008-06-02
being 2008-05-16
JESSIEfoo 2008-03-26
知其然知其所以然 2007-10-26
raksmart0 2011-07-13