I built zimbra desktop on linux, with source code zcs5.0.9. I followed with Building on Linux - Zimbra :: Wiki . But when i run 'ant offline-reset-the-world' in folder ZimbraOffline , some error occured

offline-deploy-zimlets:

offline-install-zimlet:
[echo] deploy /opt/zimbra/zdesktop/zimlets/com_zimbra_date.zip
[java] [] ERROR: Error
[java] com.zimbra.cs.zclient.ZClientException: invoke Connection refused, server: localhost
[java] ExceptionId:main:1218226502310:55c29985908128e9
[java] Code:zclient.IO_ERROR
[java] at com.zimbra.cs.zclient.ZClientException.IO_ERROR(ZC lientException.java:47)
[java] at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:196)
[java] at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(SoapProvisioning.java:145)
[java] at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.<in it>(ZimletUtil.java:1079)
[java] at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1439)
[java] at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1530)
[java] Caused by: java.net.ConnectException: Connection refused
[java] at java.net.PlainSocketImpl.socketConnect(Native Method)
[java] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
[java] at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
[java] at java.net.Socket.connect(Socket.java:520)
[java] at java.net.Socket.connect(Socket.java:470)
[java] at java.net.Socket.<init>(Socket.java:367)
[java] at java.net.Socket.<init>(Socket.java:240)
[java] at org.apache.commons.httpclient.protocol.DefaultProt ocolSocketFactory.createSocket(DefaultProtocolSock etFactory.java:79)
[java] at org.apache.commons.httpclient.protocol.DefaultProt ocolSocketFactory.createSocket(DefaultProtocolSock etFactory.java:121)
[java] at org.apache.commons.httpclient.HttpConnection.open( HttpConnection.java:706)
[java] at org.apache.commons.httpclient.HttpMethodDirector.e xecuteWithRetry(HttpMethodDirector.java:386)
[java] at org.apache.commons.httpclient.HttpMethodDirector.e xecuteMethod(HttpMethodDirector.java:170)
[java] at org.apache.commons.httpclient.HttpClient.executeMe thod(HttpClient.java:396)
[java] at org.apache.commons.httpclient.HttpClient.executeMe thod(HttpClient.java:324)
[java] at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:234)
[java] at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:297)
[java] at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:261)
[java] at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:192)
[java] ... 4 more

BUILD FAILED
/root/FRANKLIN-509/ZimbraOffline/build.xml:624: The following error occurred while executing this line:
/root/FRANKLIN-509/ZimbraOffline/build.xml:618: The following error occurred while executing this line:
/root/FRANKLIN-509/ZimbraOffline/build.xml:446: The following error occurred while executing this line:
/root/FRANKLIN-509/ZimbraOffline/build.xml:456: Java returned: 1

somebody who can help me , what reason caused this ?
thanks!