Re: Making RPCs with Shoreleave

2013-07-23 Thread Tony Garcia
Hi, I'm using Shoreleave in one of our projects and it works fine for us. I followed the same tutorial and everything was OK. I've seen something similar when I was using the autogeneration of the js file. For some reason after updating the cljs the continuous compilation breaks the shoreleave

Re: Making RPCs with Shoreleave

2013-07-21 Thread Alex Fowler
Considering the severity of the bug that i found, i want to ask if someone is using Shoreleave's rpc without any problems? Maybe it's me missing something? Or maybe someone run into the same problem too? On Saturday, July 20, 2013 2:16:02 PM UTC+4, Alex Fowler wrote: > > That wasn't hte case ei

Re: Making RPCs with Shoreleave

2013-07-20 Thread Alex Fowler
That wasn't hte case either. After some buzz with ddellacosta and others on #clojure, it was found that the RPC call is unable to find that very remote procedure I was requesting. Then I have verified that all is properly stored in the remote procedures registry on backend and that the front end

Re: Making RPCs with Shoreleave

2013-07-18 Thread terjesb
The default /_shoreleave endpoint should work if you're running using lein ring server. Are you running a WAR in a container? If so, I don't think Shoreleave currently picks up the context. If you have only one client app, you could proxy this using nginx in front on your container. For multipl

Re: Making RPCs with Shoreleave

2013-07-15 Thread Alex Fowler
Did not work.. all that is strange since I've been following the manual step-by-step.. looks like the shoreleave's wrapper does not even create a http route for itself... any other ideas? On Friday, July 12, 2013 7:14:42 AM UTC+4, Samrat Man Singh wrote: > > I think you need to (use projectname.

Re: Making RPCs with Shoreleave

2013-07-11 Thread Samrat Man Singh
I think you need to (use projectname.ajax) in your projectname.handler page. If I remember correctly, there's also a way to specify which namespace your remote function is in. On Thursday, July 11, 2013 10:42:15 PM UTC+5:45, Alex Fowler wrote: > > Hi all, this is my first experience with Shorele

Making RPCs with Shoreleave

2013-07-11 Thread Alex Fowler
Hi all, this is my first experience with Shoreleave and I'm trying to use it's RPC mechanism to perform AJAX tasks. However, on a call to a remote procedure, I get this: ` 1. POST http://localhost:8080/_shoreleave 404 (Not Found) cljs.js:25223 1. goog