wsgi app won't startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zope 2 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
In using Zope 2.13.0a1, you can't create the wsgi app because it tries to configure the zserver. In the file, Zope2/Startup/
>>> if self.cfg.servers:
>>> self.setupZServer()
>>> self.setupServers()
Or should we have some kind of configuration option for the cases of starting it as a wsgi app. That way you could still use the same zope.conf for wsgi app and zserver.
Hanno Schlichting (hannosch) wrote : | #1 |
Changed in zope2: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in zope2: | |
importance: | Medium → High |
Nathan Van Gheem (vangheem) wrote : | #2 |
Sorry for the delayed reply--I was on vacation...
Yes, I had no zserver configuration in the zope.conf I believe.
I'd just prefer a zope config to work with wsgi regardless if there it is served by wsgi or by zserver and even if there is a zserver config in the zope.conf file.
Hanno Schlichting (hannosch) wrote : | #3 |
Downgrading to "medium", this is more an opinion than an actual bug. We'd likely solve this best by providing documentation on the setup and adjusting plone.recipe.
Changed in zope2: | |
importance: | High → Medium |
Hanno Schlichting (hannosch) wrote : | #4 |
Matthew and me are working on better WSGI setup docs and a new recipe. Those should solve this issue.
Changed in zope2: | |
status: | Confirmed → Won't Fix |
So you are trying to use a zope.conf file which has a zserver configuration in it, but use it to start a WSGI application?
I think what should work is to have no zserver config in the zope.conf and then start it as a WSGI app. Probably it's a job for the buildout recipes to offer such a "WSGI" option.