Open RJ opened 3 years ago
Comment written by Todd Lipcon on 11/26/2008 09:02:57
Hey RJ,
It looks like you're using the ancient pre-rewrite thrift bindings - the newer ones (that everyone running production thrift services in erl uses) replaced those back in April or so. I'm pretty sure the switch made it to the most recent release tarball, but if not you should pull from apache SVN
-Todd
Comment written by RJ on 11/26/2008 13:58:18
Whoops, yes I had an old version of thrift on that machine.. thanks, I'll update and give the new thrift bindings a spin.
Comment written by RJ on 01/20/2009 13:18:17
The erlang thrift server tutorial in the thrift tree shows how much simpler it is to start a server with the modern thrift bindings (see the start function).
Comment written by SG on 01/21/2009 23:44:57
Richard,
Interesting article. I am working on something in the same domain, only instead of external auth I am working on a custom auth module and am working on developing a custom IQ handler for ejabberd for my client.
Seems like a some weird problems with my IQ handler not being called although I have taken care to register my iq handler via 'process_local_iq' in the start/2 method of my module. also, my module does get loaded by ejabberd. quite weird and lack of documentation for ejabberd is a big problem as well.
Seems like not a lot of knowledge about IQ handlers exists out their.
SG
Comment written by Henning Diedrich on 12/23/2009 06:20:52
"I’ve used processes to encapsulate state (active queries, specifically) where I didn’t really need to. It seemed sensible at the time ..." -- what are you using now instead? Ets or Mnesia? The OO/Actor equation seems to encourage the encapsulation of state in processes. After the experience you had there, any suggestions along what lines to think one's way out of that? Back to separation of instructions and data - half way? I come to think that Mnesia is more integral than it looks at first glance. Even though it 'feels' like too big for being the standard way of state handling, without its transactions something is missing. Ets are not sufficient. The abolition of locks and synchs may simply requiring for transactions in common state handling or it's merely a truncation of applicability where shared state is part of the requirements?
Comment written by Lee Boynton on 06/30/2011 10:06:11
Did you ever use this on Last.fm? Just wondering, what are the advantages of using thrift over XML-RPC/Rest?
Also, the link to the erlang thrift server tutorial has moved to http://svn.apache.org/viewv... . Some other things I noticed, it seems thrift has changed a bit in the 2 years this was written as I can't seem to compile mod_thriftctl. Looks like the server headers have changed. There seems to be a syntax error in the unsubscribe function where it says "Key = ," too.
Comment written by Tuan Anh on 08/05/2011 04:26:44
Hi Everyone,
I am starting with Ejabberd. I install ejabberd2.1.8 on MACOS X 10.0.4 .
Everything work well. But when I edit ejabberd.cfg to work with external authentication script then meet error:
- Config file:
%%{auth_method, internal}.
{auth_method, external}.
{extauth_program, "/tmp/my_auth.php"}.
- Error report: C(<0.6790.0>:extauth:146) : extauth script has exitted abruptly with reason 'normal'
This error loop until the server stop.
I grant full permission to /tmp/my_auth.php and run with php command, not error.
Please help me!
Thanks & Regards,
AnhPT
Comment written by Rashidabegum on 05/28/2014 10:31:09
I am a freelancer and your writing model concept is very helpful to me. Which is able to gives me a vital knowledge about the writing models and I hope it'll helps me more like custom essay australia. That is very handy and effective for any kind of writing service.
Written on 11/23/2008 21:53:17
URL: http://www.metabrew.com/article/getting-to-know-ejabberd-and-writing-modules