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
1-Aug-2009
[5285x2]
Latest now works on Windows 7 but still fails on Windows 2003

1-Aug-2009/11:54:59-7:00 : make object! [
    code: 303
    type: 'script
    id: 'expect-arg
    arg1: 'set-modes
    arg2: 'target
    arg3: [file! url! block! port!]
    near: [set-modes sys remote-mode]
    where: 'set-tray-remote-events
]
This is the latest build encapped http://pwp.s3.amazonaws.com/checmd090802.exe

Works under windows 7, dies under Windows 2003 - anyone else can 
confirm?
Dockimbel
1-Aug-2009
[5287]
Works ok on Vista SP2.
Graham
1-Aug-2009
[5288]
Any suggestions then?
Dockimbel
1-Aug-2009
[5289]
Does a binary encapped with enface or enpro work on Win2003?
Graham
1-Aug-2009
[5290x3]
yes.
and encmdface
as i mentioned above, the old encapped command version of cheyenne 
works fine under 2003
Dockimbel
1-Aug-2009
[5293]
Did you tried to run it in service mode?
Graham
1-Aug-2009
[5294x2]
no
But my old version doesn't run in service mode.
Dockimbel
1-Aug-2009
[5296]
'set-tray-remote-events is called only in 'do-tray-app which is called 
when Cheyenne is running as a service to install a standalone version 
of the tray icon with menus (for remote control of the Cheyenne service).
Graham
1-Aug-2009
[5297x2]
I just encapped the checkout from svn
didn't alter the source
Dockimbel
1-Aug-2009
[5299]
Check if a Cheyenne service is not installed.
Graham
1-Aug-2009
[5300x3]
check to see if there is a cheyenne service already installed??
There isn't a service installed .. but now it's working!
I did try and install the old version as a service, and that failed. 
 Perhaps it left something running that caused the new build to fail? 
 and when I rebooted ... it went away?
Dockimbel
1-Aug-2009
[5303]
Maybe a Cheyenne process left running?
Graham
1-Aug-2009
[5304x2]
maybe ... I'll watch out for it next time.
this is what I am using for my webapps

	webapp [
		; user1
		virtual-root "/mdz"
		root-dir %/z/pwp/www/mdz/
		auth "/mdz/login.rsp"
 		databases [ emr odbc://user1 ]
		;debug
	]
	webapp [
		; user2
		virtual-root "/mdy"
		root-dir %/y/pwp/www/mdy/
		auth "/mdy/login.rsp"
	 	databases [ emr odbc://user2 ]
		;debug
	]

seems to be working .. so far
Graham
2-Aug-2009
[5306x3]
Ok, I right clicked on cheyenne in the system tray and set it as 
a service.  It exited immediately from the system tray, and i could 
not run it again wihtout the above error.

I looked in the running processes and don't see anything.  I think 
I'll have to reboot the windows 2003 server.
No, can't get Cheyenne up and running again ... what's causing it 
to default to service mode?
Ok, there is a cheyenne service .. how can I remove it?
Dockimbel
2-Aug-2009
[5309x2]
Run Cheyenne once with -u command line option to uninstall the service, 
then you can run it again in user mode.
The service mode is tricky, especially when the current Windows user 
is not the Administrator.
Graham
2-Aug-2009
[5311x2]
I'm getting an error that msvcr71.dll is missing
when I run cheyenne from command line
Dockimbel
2-Aug-2009
[5313x2]
I don't think you run cheyenne from DOS prompt. Create a dedicated 
shortcut and edit the shorcut properties to add -u in the first field.
you <can> run
Graham
2-Aug-2009
[5315x2]
-u worked and I now have it running in user mode
from dos prompt
Dockimbel
2-Aug-2009
[5317]
Oh, good to know.
Graham
2-Aug-2009
[5318]
so is there a how to on running cheyenne as a service?
Dockimbel
2-Aug-2009
[5319x2]
No, it's supposed to be simple, just use the menu option...but it 
currently has several limitations:
- it requires admin privileges

- it cannot survive log off if encapped with enface or encmdview 
(the View engine is not compatible with service mode).
Graham
2-Aug-2009
[5321]
does it need to be encapped with view ?
Dockimbel
2-Aug-2009
[5322]
The first one should be fixable (I guess), the second one too...when 
View will become open source.
Graham
2-Aug-2009
[5323]
... that's R3 !
Dockimbel
2-Aug-2009
[5324]
If encapped with view, Cheyenne process will be killed when logging 
off.
Graham
2-Aug-2009
[5325]
Or is Carl open up View now?
Dockimbel
2-Aug-2009
[5326]
No, he doesn't. We'll have to wait til R3 get stable to port Cheyenne 
and fix thoses issues.
Graham
2-Aug-2009
[5327]
I guess I can use Firedaemon to run Cheyenne as a service
Dockimbel
2-Aug-2009
[5328]
Yes you can try with 3rd party tools (there's also srvany.exe). Let 
me know if it works with View.
Graham
2-Aug-2009
[5329]
well I know my view apps work with firedaemon
Janko
4-Aug-2009
[5330]
Does the latest cheyenne allow debug mode or some other option where 
you can see the errors in the browser but  the RSP DEBUG  toolbar 
isn't rendered ?
Dockimbel
4-Aug-2009
[5331]
No, but it's in my todo-list for the next release (0.9.20).
Janko
4-Aug-2009
[5332]
cool, I will be very happy when this is possible :)
Graham
5-Aug-2009
[5333x2]
Is there a way to associate a particular listen port with a webapp?
like 

webapp [
	listen [ 8000 ]
]