0

感谢斯科特的提示,我确实第二次下载了它并确保大小如您所说:

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.

您以前见过这个以及关于如何确保 usergrid 启动的任何想法吗?

-S

4

1 回答 1

0

检查jar文件大小,应该是48581037。你可能只需要删除文件,让a127重新下载。

于 2014-11-30T18:00:17.327 回答