Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can't access http://localhost:9191/tenants/ #11

Open
muzma opened this issue Sep 14, 2017 · 8 comments
Open

i can't access http://localhost:9191/tenants/ #11

muzma opened this issue Sep 14, 2017 · 8 comments

Comments

@muzma
Copy link

muzma commented Sep 14, 2017

I have started my tomcat and tables in 'messagegateway' was created but when i try to access http://localhost:9191/tenants/ i didn't any respose(refused to connect). anyone can tell me what configuration i miss?
screen shot 2017-09-14 at 10 21 37 pm

@awasum
Copy link

awasum commented Sep 14, 2017

@francisguchie
Copy link

@muzma

did you solve you problem? do you still need help?

@francisguchie
Copy link

you will have to add the following element in the server.xml

@Gomaa
Copy link

Gomaa commented Feb 27, 2019

By the way, I had some problems with mysql configurations. Even the database script file, I had to do few modifications to it to make it work.

@francisguchie
Copy link

By the way, I had some problems with mysql configurations. Even the database script file, I had to do few modifications to it to make it work.

For me it is not the case,
everything works now but i had to create twillio account and i used the twillio option.

i wish there was a way of making it hookable to other service providers

@francisguchie
Copy link

you will have to add the following element in the server.xml

remove the commented lines when deploying / testing

<Connector port="9191" protocol="HTTP/1.1"
//This port is equal to the port configured in the properties file of the messagegetaway
connectionTimeout="20000" useBodyEncodingForURI="true" redirectPort="8443"
//This port is equal to the port configured in your community app (mifosX)
compression="on" compressableMimeType="text/html,text/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript"/>

@francisguchie
Copy link

@Gomaa

i have done everything and managed to test the sms sending using the restAPI
but mifosX can not send messages
i keep getting this error

[nio-9191-exec-3] o.s.web.servlet.PageNotFound : Request method 'POST' not supported

this is my arrangment
I am runing the gateway using java -jar message-gateway-0.0.1.jar

but still it is not working

Even when i place the deployable war file inside mifosX webaps

still i get the same message

@francisguchie
Copy link

I hope some one will comment

Exception in thread "SimpleAsyncTaskExecutor-473" retrofit.RetrofitError: 405 Method Not Allowed
at retrofit.RetrofitError.httpError(RetrofitError.java:39)
at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:382)
at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
at com.sun.proxy.$Proxy366.sendSmsBridgeConfigRequest(Unknown Source)
at org.apache.fineract.infrastructure.hooks.processor.TwilioHookProcessor.sendRequest(TwilioHookProcessor.java:96)
at org.apache.fineract.infrastructure.hooks.processor.TwilioHookProcessor.process(TwilioHookProcessor.java:72)
at org.apache.fineract.infrastructure.hooks.listener.FineractHookListener.onApplicationEvent(FineractHookListener.java:75)
at org.apache.fineract.infrastructure.hooks.listener.FineractHookListener.onApplicationEvent(FineractHookListener.java:36)
at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:93)
at java.lang.Thread.run(Thread.java:748)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants