hi there,

recently with webware i ended up to have an "one-app-per-site approach (better isolation between processes, can stop one and let run others, and so on...) and relegated context to site sub-sections (default context for the main site, "admin" context for administrator pages, "lib" folder in pythonpath for common classes and modules, mostly data-access code).

since i'm pretty happy with the results, i just wanted to let you known
the folder structure of a typical site, maybe other are looking for the a similar thing:


D:\WK
  deelan-com
    admin
    Cache
    Configs
    ErrorMsgs
    lib
    Logs
    Sessions
    site

where "site" is the default context where the servlet/templates are stored and "Cache", "Configs", "ErrorMsgs", "Log", "lib" and "Session" were created by MakeAppWorkDir webware script.

with this layout i'm free to pass around code from dev server to deploy one by passing "lib", "site" and "admin" folders, and don't worry about settings, since they are all stored in Configs.

about Configs, i really like that Configurable thing, i created an additional Configs/Site.config file hooked to the SitePage servlet. this file stores per-site settings such as connection strings to DB and other strange stuff.

***

now the question: i was wondering how can i deploy multiple "ThreadedAppServerService" on a win2000 machine since from the documentantion is not clear how can i install a webkit service
for every webkit application i have. i need to tell to each webkit service something like: "look in the D:\WK\deelan-com for the app settings".


maybe an hack to the ThreadedAppServerService code in required,
it not a problem, if someone has come up with a working solution
please  let me know.

docs for ThreadedAppServerService are here:
http://tinyurl.com/paka

TIA

later,
deelan









-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to