Use WSGI instead of CherryPy demo server
Bug #540255 reported by
Maximilian Gaß
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Medium
|
Unassigned |
Bug Description
openerp-web currently uses the CherryPy demo server. It should use Python's standard for web applications, WSGI, instead. It can be nicely integrated with Apache.
openerp/commands.py needs only a few change to be usable as a WSGI application, because CherryPy already supports WSGI.
cherrypy.
})
setup_server should return the app object. Then you can return it to the WSGI handler instead of starting the cherrypy.engine
Changed in openobject-client-web: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-client-web: | |
assignee: | nobody → Xavier (Open ERP) (xmo) |
milestone: | none → 5.2 |
Changed in openobject-client-web: | |
status: | Fix Committed → Fix Released |
tags: | added: wsgi |
To post a comment you must log in.
Hello,
I absolutely insist that would be very cool if OpenERP could be WSGI
compliant indeed. Using 5.2 on Jython fro instance, we could then put it on
J2EE robusts servers too, I mean it would open plenty of possibilities. Hope
OpenERP S.A. is keen on making that refactoring.
Raphaël Valyi www.akretion. com
http://
On Wed, Mar 17, 2010 at 10:44 AM, Maximilian Gass <
<email address hidden>> wrote:
> Public bug reported: config. update( { sessions. storage_ type': 'file', sessions. storage_ path': '/var/lib/ openerp- web/sessions' , client- web /bugs.launchpad .net/bugs/ 540255 config. update( { sessions. storage_ type': 'file', sessions. storage_ path': '/var/lib/ openerp- web/sessions' ,
>
> openerp-web currently uses the CherryPy demo server. It should use
> Python's standard for web applications, WSGI, instead. It can be nicely
> integrated with Apache.
>
> openerp/commands.py needs only a few change to be usable as a WSGI
> application, because CherryPy already supports WSGI.
>
>
> cherrypy.
> 'tools.
> 'tools.
> })
>
> setup_server should return the app object. Then you can return it to the
> WSGI handler instead of starting the cherrypy.engine
>
> ** Affects: openobject-
> Importance: Undecided
> Status: New
>
> --
> Use WSGI instead of CherryPy demo server
> https:/
> You received this bug notification because you are a member of OpenERP
> Drivers, which is subscribed to OpenObject Web Client.
>
> Status in OpenObject Web Client: New
>
> Bug description:
> openerp-web currently uses the CherryPy demo server. It should use Python's
> standard for web applications, WSGI, instead. It can be nicely integrated
> with Apache.
>
> openerp/commands.py needs only a few change to be usable as a WSGI
> application, because CherryPy already supports WSGI.
>
>
> cherrypy.
> 'tools.
> 'tools.
> })
>
> setup_server should return the app object. Then you can return it to the
> WSGI handler instead of starting the cherrypy.engine
>
>
>