有关GF 2.1.1 Build Cluster版本的问题

13 views
Skip to first unread message

Jay Xu

unread,
Sep 14, 2010, 6:49:18 AM9/14/10
to Glassfish
不好意思,最近一直在和GF斗智斗勇,问题比较多。最后一个问题,前两天我下了最新的GF 2.1.1,尝试在我的笔记本上(Mac OS X 10.6.4, Apple JDK 1.6.0_20)上build集群版的GF(ant -f setup-cluster.xml),但总是得到以下错误信息:

remove.domain.xml:
     [echo] Deleting File -> /Users/ijay/glassfishv2/lib/install/templates/cluster/domain.xml

create.domain:
     [exec] com/sun/appserv/management/client/prefs/LoginInfoStore

BUILD FAILED
/Users/ijay/glassfishv2/setup-cluster.xml:171: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:236: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:690: exec returned: 1

但之前我曾经在同样的环境上成功build过。我看了ant脚本,没能得到多余的出错信息



--
徐佳晶 @ Nazca

电邮 / GTalk(工作):xuji...@yingzhitech.com
电 邮 / GTalk(私人):must...@gmail.com

-----------------------------------------------------------
Blog:http://www.jayxu.com
Twitter:@jayxu
围脖:@金麟遇风云
-----------------------------------------------------------

Hantsy Bai

unread,
Sep 14, 2010, 7:17:00 AM9/14/10
to glassfi...@googlegroups.com
�� 2010/9/14 18:49, Jay Xu �:
������ ˼�����һֱ�ں�GF���Ƕ��£�����Ƚ϶ࡣ���һ�����⣬ǰ�������������µ�GF 2.1.1���������ҵıʼDZ��ϣ�Mac OS X 10.6.4�� Apple JDK 1.6.0_20����build��Ⱥ���GF��ant -f setup-cluster.xml���������ǵõ����´�����Ϣ��


remove.domain.xml:
     [echo] Deleting File -> /Users/ijay/glassfishv2/lib/install/templates/cluster/domain.xml

create.domain:
     [exec] com/sun/appserv/management/client/prefs/LoginInfoStore

BUILD FAILED
/Users/ijay/glassfishv2/setup-cluster.xml:171: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:236: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:690: exec returned: 1

��֮ǰ������ͬ��Ļ����ϳɹ�build���ҿ���ant�ű���û�ܵõ�����ij�����Ϣ



--
��Ѿ� @ Nazca

���� / GTalk����������xuji...@yingzhitech.com
�� �� / GTalk��˽�ˣ���must...@gmail.com


-----------------------------------------------------------
Blog��http://www.jayxu.com
Twitter��@jayxu
����@����������
-----------------------------------------------------------
���� ant �汾�ɣ�GF 2.xӦ�ô��� ant��ʹ�����Դ� ant Ӧ�ò���������ġ�
���
https://glassfish.dev.java.net/downloads/v2.1.1-final.html

Jay Xu

unread,
Sep 14, 2010, 7:19:15 AM9/14/10
to glassfi...@googlegroups.com
我试过,结果一样

在 2010年9月14日 下午7:17,Hantsy Bai <han...@gmail.com>写道:
于 2010/9/14 18:49, Jay Xu 写道:
不好意 思,最近一直在和GF斗智斗勇,问题比较多。最后一个问题,前两天我下了最新的GF 2.1.1,尝试在我的笔记本上(Mac OS X 10.6.4, Apple JDK 1.6.0_20)上build集群版的GF(ant -f setup-cluster.xml),但总是得到以下错误信息:


remove.domain.xml:
     [echo] Deleting File -> /Users/ijay/glassfishv2/lib/install/templates/cluster/domain.xml

create.domain:
     [exec] com/sun/appserv/management/client/prefs/LoginInfoStore

BUILD FAILED
/Users/ijay/glassfishv2/setup-cluster.xml:171: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:236: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:690: exec returned: 1

但之前我曾经在同样的环境上成功build过。我看了ant脚本,没能得到多余的出错信息



--
徐佳晶 @ Nazca

电邮 / GTalk(工作):xuji...@yingzhitech.com
电 邮 / GTalk(私人):must...@gmail.com


-----------------------------------------------------------
Blog:http://www.jayxu.com
Twitter:@jayxu
围脖:@金麟遇风云
-----------------------------------------------------------
看看 ant 版本吧,GF 2.x应该带有 ant,使用它自带 ant 应该不会有问题的。
参考:
https://glassfish.dev.java.net/downloads/v2.1.1-final.html




--
徐佳晶 @ Nazca

电邮 / GTalk(工作):xuji...@yingzhitech.com
电 邮 / GTalk(私人):must...@gmail.com


-----------------------------------------------------------
Blog:http://www.jayxu.com
Twitter:@jayxu
围脖:@金麟遇风云
-----------------------------------------------------------

Hantsy Bai

unread,
Sep 14, 2010, 7:25:23 AM9/14/10
to glassfi...@googlegroups.com
�� 2010/9/14 19:19, Jay Xu �:
���Թ� ���һ��

�� 2010��9��14�� ����7:17��Hantsy Bai <han...@gmail.com>д ����
�� 2010/9/14 18:49, Jay Xu �:
������ ˼�����һֱ�ں�GF���Ƕ��£�����Ƚ϶ࡣ���һ�����⣬ǰ�������������µ�GF 2.1.1���������ҵıʼDZ��ϣ�Mac OS X 10.6.4�� Apple JDK 1.6.0_20����build��Ⱥ���GF��ant -f setup-cluster.xml���������ǵõ����´�����Ϣ��
remove.domain.xml:
     [echo] Deleting File -> /Users/ijay/glassfishv2/lib/install/templates/cluster/domain.xml

create.domain:
     [exec] com/sun/appserv/management/client/prefs/LoginInfoStore

BUILD FAILED
/Users/ijay/glassfishv2/setup-cluster.xml:171: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:236: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:690: exec returned: 1

��֮ǰ������ͬ��Ļ����ϳɹ�build���ҿ���ant�ű���û�ܵõ�����ij�����Ϣ



--
��Ѿ� @ Nazca

���� / GTalk����������xuji...@yingzhitech.com
�� �� / GTalk��˽�ˣ���must...@gmail.com


-----------------------------------------------------------
Blog��http://www.jayxu.com
Twitter��@jayxu
����@����������
-----------------------------------------------------------
���� ant �汾�ɣ�GF 2.xӦ�ô��� ant��ʹ�����Դ� ant Ӧ�ò���������ġ�
���
https://glassfish.dev.java.net/downloads/v2.1.1-final.html

--
��Ѿ� @ Nazca

���� / GTalk����������xuji...@yingzhitech.com
�� �� / GTalk��˽�ˣ���must...@gmail.com


-----------------------------------------------------------
Blog��http://www.jayxu.com
Twitter��@jayxu
����@����������
-----------------------------------------------------------
��û�а취��û������һ�㰴�ĵ���˵�ˣ�����һ��java �ڴ��������һ�¾�OK�ˡ�

Hantsy Bai

unread,
Sep 14, 2010, 8:00:54 AM9/14/10
to glassfi...@googlegroups.com
�� 2010/9/14 18:49, Jay Xu �:
������ ˼�����һֱ�ں�GF���Ƕ��£�����Ƚ϶ࡣ���һ�����⣬ǰ�������������µ�GF 2.1.1���������ҵıʼDZ��ϣ�Mac OS X 10.6.4�� Apple JDK 1.6.0_20����build��Ⱥ���GF��ant -f setup-cluster.xml���������ǵõ����´�����Ϣ��

remove.domain.xml:
     [echo] Deleting File -> /Users/ijay/glassfishv2/lib/install/templates/cluster/domain.xml

create.domain:
     [exec] com/sun/appserv/management/client/prefs/LoginInfoStore

BUILD FAILED
/Users/ijay/glassfishv2/setup-cluster.xml:171: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:236: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:690: exec returned: 1

��֮ǰ������ͬ��Ļ����ϳɹ�build���ҿ���ant�ű���û�ܵõ�����ij�����Ϣ



--
��Ѿ� @ Nazca

���� / GTalk����������xuji...@yingzhitech.com
�� �� / GTalk��˽�ˣ���must...@gmail.com


-----------------------------------------------------------
Blog��http://www.jayxu.com
Twitter��@jayxu
����@����������
-----------------------------------------------------------
���� windows 7 ���Թ��ˣ�û�����⣬��������ʾ exec ���⣬�㲻��� Windows �汾�õ� MacOS �ðɡ�

Jay Xu

unread,
Sep 15, 2010, 6:52:53 AM9/15/10
to glassfi...@googlegroups.com
Sorry,是我的问题,不知道怎么阴错阳差地下了个sunos的版本……用mac 64位的版本就好了

在 2010年9月14日 下午8:00,Hantsy Bai <han...@gmail.com>写道:
于 2010/9/14 18:49, Jay Xu 写道:
不好意 思,最近一直在和GF斗智斗勇,问题比较多。最后一个问题,前两天我下了最新的GF 2.1.1,尝试在我的笔记本上(Mac OS X 10.6.4, Apple JDK 1.6.0_20)上build集群版的GF(ant -f setup-cluster.xml),但总是得到以下错误信息:


remove.domain.xml:
     [echo] Deleting File -> /Users/ijay/glassfishv2/lib/install/templates/cluster/domain.xml

create.domain:
     [exec] com/sun/appserv/management/client/prefs/LoginInfoStore

BUILD FAILED
/Users/ijay/glassfishv2/setup-cluster.xml:171: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:236: The following error occurred while executing this line:
/Users/ijay/glassfishv2/setup-cluster.xml:690: exec returned: 1

但之前我曾经在同样的环境上成功build过。我看了ant脚本,没能得到多余的出错信息



--
徐佳晶 @ Nazca

电邮 / GTalk(工作):xuji...@yingzhitech.com
电 邮 / GTalk(私人):must...@gmail.com


-----------------------------------------------------------
Blog:http://www.jayxu.com
Twitter:@jayxu
围脖:@金麟遇风云
-----------------------------------------------------------
刚在 windows 7 下试过了,没有问题,你上面提示 exec 问题,你不会把 Windows 版本拿到 MacOS 用吧。




--
徐佳晶 @ Nazca

电邮 / GTalk(工作):xuji...@yingzhitech.com
电 邮 / GTalk(私人):must...@gmail.com


-----------------------------------------------------------
Blog:http://www.jayxu.com
Twitter:@jayxu
围脖:@金麟遇风云
-----------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages