Project

General

Profile

Issue with 1.1.0: got WARNING: Can't load component http: tigase.http.HttpMessageReceiver

Igor Khomenko
Added about 4 years ago

Hi there,

I followed this guide https://projects.tigase.org/projects/tigase-http-api/wiki/Dependencies#For-version-110

and download servlet-api-3.1.jar and put it into jars folder on my Tigase

then I followed this guide https://projects.tigase.org/projects/tigase-http-api/wiki/Configuration#Configuration-for-version-110

and add next properties into init.properties:

--comp-name-3=http
--comp-class-3=tigase.http.HttpMessageReceiver

then restarted Tigase and got next warning in logs:

2015-03-11 13:04:13.478 [main]             MessageRouterConfig.hasClassForServerComponent()  WARNING: Can't load component http: tigase.http.HttpMessageReceiver

I guess there is something wrong with a documentation, because servlet-api-3.1.jar doesn't contain tigase.http.HttpMessageReceiver class

please advice


Replies (2)

Added by Igor Khomenko about 4 years ago

Looks like in addition we must manually compile src code from repository and add put tigase-http-api.jar into jars folder

Because I didn't found the file tigase-http-api.jar here https://projects.tigase.org/projects/tigase-http-api/files

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 4 years ago

First of all, at https://projects.tigase.org/projects/tigase-http-api/wiki/Dependencies#For-version-110 we listed dependencies of Tigase HTTP API project, but not project jar itself.

As for manual compilation of source code, Tigase HTTP API component is available in compiled version in our Tigase XMPP Server distribution packages - so you could use file from one of packages.

tigase-http-api.jar is also available at our Maven repository.

    (1-2/2)