Apigee127:Usergrid下载失败,阻止模拟测试

时间:2014-11-30 00:19:53

标签: apigee usergrid apigee127

感谢小费斯科特,我确实第二次下载了它。确保尺寸符合您的要求:

C:\Users>a127 usergrid download
Downloading Usergrid and Portal as needed...
..............................................................................do
wnloaded
- 'C:\Users\sgs\.a127\usergrid\usergrid-launcher-0.0.29.jar'
- 'C:\Users\sgs\.a127\usergrid\usergrid-portal-2.0.16\usergrid-port
al\index.html'


C:\Users>cd sgs\.a127\usergrid

C:\Users\sgs\.a127\usergrid>dir
 Volume in drive C is OSDisk
 Volume Serial Number is 1864-0DEB

 Directory of C:\Users\sgs\.a127\usergrid

11/30/2014  11:34 AM    <DIR>          .
11/30/2014  11:34 AM    <DIR>          ..
**11/30/2014  11:34 AM        48,581,037 usergrid-launcher-0.0.29.jar**
11/30/2014  11:33 AM    <DIR>          usergrid-portal-2.0.16
11/30/2014  11:34 AM         2,029,158 usergrid-portal-2.0.16.tar.gz
               2 File(s)     50,610,195 bytes
               3 Dir(s)  336,509,812,736 bytes free

然而,当我尝试在此之后启动usergrid时,它会在启动时抛出一条消息,指示虽然Jetty似乎已经启动但它无法启动:

C:\Users\sgs\.a127\usergrid>a127 usergrid start
starting...
timeout
failed to start. Log tail:
INFO: Registering Spring bean, rootResource, of type org.apache.usergrid.rest.Ro
otResource as a root resource class
Nov 30, 2014 11:35:52 AM com.sun.jersey.spi.spring.container.SpringComponentProv
iderFactory registerSpringBeans
INFO: Registering Spring bean, systemResource, of type org.apache.usergrid.rest.
SystemResource as a root resource class
Nov 30, 2014 11:35:52 AM com.sun.jersey.spi.spring.container.SpringComponentProv
iderFactory registerSpringBeans
INFO: Registering Spring bean, propertiesResource, of type org.apache.usergrid.r
est.test.PropertiesResource as a root resource class
Nov 30, 2014 11:35:52 AM com.sun.jersey.server.impl.application.WebApplicationIm
pl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.18 11/22/2013 01:21 AM'
Nov 30, 2014 11:35:53 AM org.glassfish.grizzly.http.server.HttpServer start
INFO: [HttpServer] Started.


C:\Users\sgs\.a127\usergrid>a127 usergrid portal
Usergrid doesn't appear to be running. Run with --start option or execute 'a127
usergrid start' first.

你之前见过这个&amp;关于如何确保用户网格启动的任何想法?

-S

1 个答案:

答案 0 :(得分:0)

检查jar文件大小,应为48581037.您可能只需删除该文件,然后让a127再次下载。