[omniORB] omniORBpy <> Apache
Renzo Tomaselli
renzo.tomaselli@tecnotp.it
Thu, 11 Oct 2001 17:34:21 +0200
Nikolas,
on which platform ? On Linux you cannot mix python/OmniORB/Apache, si=
nce
Apache is single-threaded. You have to split up the chain in two processe=
s
through pcgi.
On Win32 it works, but you have to patch the Python 2.11 runtime dll for =
bug
#422004 (otherwise you get ImportError: Cannot re-init internal module
exceptions).
Then the chain
<Apache/mod_python/scripts/omniORBpy/python_extensions/C++_CORBA_backend>
works very well.
Cheers,
Renzo Tomaselli
-------------------------------------------------------------------------=
--
TecnoTP s.n.c. Special Information System Design
Maso Pelauchi I38050 Ronchi Valsugana, Trento TN ITALY
Tel. +39 0461 773164 Fax. +39 0461 771514
e-mail: renzo.tomaselli@tecnotp.it
-------------------------------------------------------------------------=
--
-----Original Message-----
From: Nikolas Mangold <nikolas.mangold@esk.fhg.de>
To: omniorb-list@uk.research.att.com <omniorb-list@uk.research.att.com>
Date: gioved=EC 11 ottobre 2001 14:43
Subject: [omniORB] omniORBpy <> Apache
>Hi there,
>
>I try to map some programs for omniORBpy to give HTML output over Apache.
>using mod_python, mod_snake or PyApache (these are the mods I have tried
>already)
>
>All of them can generate HTML output over Apache by python generated cod=
e
>with simple python-programs. When I try to combine a corba application i=
n
>omniORBpy I get an internal server error. All I am changing is to genera=
te
>the output from omniORBpy programms to some apache handler.
>
>Has anyone tried something like that and has a working solutions? The
server
>error log just says that it cannot stat the script.
>
>Due to performance reasons I want to avoid using normal CGI. I think tha=
t
is
>not that extra-ordinary idea to map corba to html by using python, is it=
?
>
>Thanks a lot in advance...
>-niko-
>