Project

General

Profile

【tigase-server-7.0.1+tigase-http-api-1.1.0】tigase http api is loaded successfully,but it can‘t work?

rongchun luo
Added almost 4 years ago

thanks!!!

init-mongo.properties (2.24 KB) init-mongo.properties
tigase.log.0 (256 KB) tigase.log.0
QQ截图20150422163007.png (7.79 KB) QQ截图20150422163007.png request http://127.0.0.1:8080/rest/avatar/admin@127.0.0.1 not response
QQ截图20150422163038.png (11.8 KB) QQ截图20150422163038.png my jars folder

Replies (4)

Added by rongchun luo almost 4 years ago

in the RestModule.java on the line 89,

"

File scriptsDirFile = new File(scriptsDir);

File[] scriptDirFiles = scriptsDirFile.listFiles();

"

when running,the scriptDirFiles result is empty

Added by Jack Wang over 3 years ago

你解决了吗?能分享下吗?

Added by Wojciech Kapcia TigaseTeam over 3 years ago

rongchun luo wrote:

in the RestModule.java on the line 89,

"

File scriptsDirFile = new File(scriptsDir);

File[] scriptDirFiles = scriptsDirFile.listFiles();

"

when running,the scriptDirFiles result is empty

Please make sure your directory structure is correct, all rest scripts should be placed in tigase-server/scripts/rest/ directory.

Jack Wang wrote:

你解决了吗?能分享下吗?

Please stick to using English language.

    (1-4/4)