r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Graham
21-Oct-2008
[3264x2]
well, I guess there isn't much published on what is good practice 
on writing RSP pages :)
And i've never done PHP etc
Dockimbel
21-Oct-2008
[3266]
True, but's it's no different from best pratices in ASP, JSP,...
Graham
21-Oct-2008
[3267x3]
No experience with any of those either ... but I've got a clue now 
:)
What exactly is the difference between 'do and '*do ?
ie. when should I use '*do ?
Dockimbel
21-Oct-2008
[3270]
'*do is just the native DO.
Graham
21-Oct-2008
[3271x2]
I know
So, why should I need to fall back to '*do ?
Dockimbel
21-Oct-2008
[3273]
Webapps are, from v 19, contained in their own context (object!). 
'do will first bind the loaded code to the webapp context before 
executing it.
Graham
21-Oct-2008
[3274]
and if you're not using a webapp?
Dockimbel
21-Oct-2008
[3275x2]
*do is just a fallback, if 'do is crashing your code ;-). It should 
be used, but as I had some context issues while testing with my own 
webapps, I've added it as a workaround while figuring out how to 
fix those issues.
if the RSP is not inside a webapp, then 'do will just call the native 
do.
Graham
21-Oct-2008
[3277]
Ok.  Thx
Dockimbel
21-Oct-2008
[3278]
it should = it shouldn't
Graham
21-Oct-2008
[3279]
need R3
Dockimbel
21-Oct-2008
[3280x2]
badly
That's why I was calling since the beginning of R3, for a focus on 
R3 Core features first, to be able to port our R2 code to R3 and 
benefit from modules (and other vital features like plugins). We 
reached PITS limits a long time ago.
sqlab
21-Oct-2008
[3282]
I guess,most here are the same opinion
Chris
22-Oct-2008
[3283x2]
Anyone got a suggestion on how to modularise the app even more...

QM?
Uses RSP, and I think it can use some of Cheyenne's features too...
Graham
22-Oct-2008
[3285]
I was waiting for your input Chris!  Have you tested this out?
Chris
23-Oct-2008
[3286]
Tested -- yes it works.  I haven't had a chance to check installation 
against the latest version of Cheyenne though.
Graham
23-Oct-2008
[3287]
Please report back when you do ...
Chris
23-Oct-2008
[3288x2]
I'm not sure when I'll get the chance -- you can try the current 
installation procedure, ymmv...
Ok, it does work with version 0.9.18 (source version only)
Graham
23-Oct-2008
[3290]
we're up to 9.19 now
Graham
28-Oct-2008
[3291]
I'm still having problems with RSP not working every few days :(
Terry
28-Oct-2008
[3292]
Isn't software development fun!
Dockimbel
29-Oct-2008
[3293x3]
Does it happen when you restart Cheyenne ?
Are you running several RSP webapps on the same server ?
not working
 means not responding or giving an error ?
Graham
29-Oct-2008
[3296]
I normally just reboot ... perhaps I need to find a cleaner way of 
killing the cheyenne process.
No, just the one RSP webapp.
Not responding.
Henrik
29-Oct-2008
[3297]
I usually kill it here and start it again. For those times where 
it mysteriously just quits, I can also just start it again. I have 
mine set up via launchd in OSX.
Graham
29-Oct-2008
[3298x3]
This is not so good then .. is there a way we can debug this?
Or is it just Cheyenne reaching it's pool limit?
Henrik, are you running RSP, or CGI ?
Henrik
29-Oct-2008
[3301]
RSP
Dockimbel
29-Oct-2008
[3302x2]
It's a bug, but hard to fix because I can't reproduce it. The only 
way to fix it would be to log into a  Cheyenne server in blocked 
state, using the rconsole client.
So, if one of you can provide me with an access to a server in such 
state, I should be able to investigate on that issue.
Henrik
29-Oct-2008
[3304]
Now my server quit. Doc, can we use that? I can't provide direct 
access to this server, but can you give hints on what to search for?
Graham
29-Oct-2008
[3305]
My quit as well... but i didn't see this message.  So I used 'kill 
to kill the pid and restarted it :(
Henrik
29-Oct-2008
[3306]
Did you have to actually kill it?
Graham
29-Oct-2008
[3307]
how else?
Henrik
29-Oct-2008
[3308x2]
Wait... I'll check my log.
Graham, mine just quits. I can go in and start it again without problems.
Graham
29-Oct-2008
[3310]
Mine is still running ... just RSP stops working.
Henrik
29-Oct-2008
[3311x3]
29/10/08 21.56.24 com.apple.launchd[1] (com.rebol.cheyenne[65863]) 
Stray process with PGID equal to this dead job: PID 65868 PPID 65866 
rebol
I think launchd kills it for me.
There are 4 lines with that.