SoftInstigate / restheart

Rapid API Development with MongoDB
https://restheart.org
GNU Affero General Public License v3.0
805 stars 171 forks source link

/browser url has gone? #97

Closed caarto closed 8 years ago

caarto commented 8 years ago

hi there: we update the rh version to 1.1.3,and we found the rh's /browser url gone.

envirment:mongodb 3.2.1,rh:1.1.3(rh configuration file unchange),other software unchange

is there any change i missed

caarto commented 8 years ago

we open the log,we find the /browser url has stored in the program. here is the log

18:50:32.200 [WrapperSimpleAppMain] INFO  org.restheart.Bootstrapper - URL / bound to MongoDB resource *

18:50:32.362 [WrapperSimpleAppMain] INFO  org.restheart.Bootstrapper - Embedded static resources browser extracted in C:\Windows\TEMP\restheart-2299394304607780896

18:50:32.370 [WrapperSimpleAppMain] INFO  org.restheart.Bootstrapper - URL /browser bound to static resources browser. access manager: false

18:50:32.373 [WrapperSimpleAppMain] INFO  org.restheart.Bootstrapper - URL /_logic/ping bound to application logic handler org.restheart.handlers.applicationlogic.PingHandler. access manager: false

18:50:32.374 [WrapperSimpleAppMain] INFO  org.restheart.Bootstrapper - URL /_logic/roles bound to application logic handler org.restheart.handlers.applicationlogic.GetRoleHandler. access manager: false

18:50:32.375 [WrapperSimpleAppMain] INFO  org.restheart.Bootstrapper - URL /_logic/ic bound to application logic handler org.restheart.handlers.applicationlogic.CacheInvalidator. access manager: true

and we check the location the rh extracte the temp file in "C:\Windows\TEMP\restheart-2299394304607780896". and there is a browser.html. when we request /browser in chrome, we receive browser.html 404 in console.

caarto commented 8 years ago

we change the rh v 1.1.0,we got the /browser back,when the edition over the v1.1.0 ,we can not got the browser url

mkjsix commented 8 years ago

Please check if this issue is of any help: https://github.com/SoftInstigate/restheart/issues/96

ujibang commented 8 years ago

Hi @caarto,

are you using the jar from the release .tar.gz/.zip or you got it from the maven repo?

we realized that the jar in the maven repository does not include the browser.

we are updating the publication process to fix it....

mkjsix commented 8 years ago

Meanwhile we've released v 1.1.4 https://github.com/SoftInstigate/restheart/releases/tag/1.1.4

caarto commented 8 years ago

thanks for your response. we change a short dir for the tmp file and it works. in windows,the tmp file dir must set UPPERCASE D:/ or C:/