Re: Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-30 Thread Thierry Valentin
ce of Apache/win32 and Win32::OLE. In face of the potential problems, I will reconsider writing a RPC::PlServer daemon that uses Win32::OLE to access the database. Thanks for the suggestion. Stas Bekman wrote: Thierry Valentin wrote: Hello all the discussion has become a little bit technical f

Re: Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-30 Thread Thierry Valentin
ll only work if both threads will properly crank the Windows message loop, in case one of the threads belongs to a single threaded apartment. It becomes a big can of worms... It looks like "thread-safety" has a whole range of meanings in the ithreads world. :( Cheers, -Jan -- Thierry Valenti

Re: Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-29 Thread Thierry Valentin
rtup.pl(19): CLONE is running [Mon Nov 29 11:30:37 2004] [notice] Child 3492: Child process is running [Mon Nov 29 11:30:37 2004] [info] Parent: Duplicating socket 188 and sending it to child process 3492 ... Stas Bekman wrote: Thierry Valentin wrote: Hello, I've tried the My::HappyWorka

Re: Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-26 Thread Thierry Valentin
to load this module. I tried Randy Kobes' suggestion: I moved Win2::OLE outside the startup script back to my perl scripts and it solves the problem Thanks again for your help. Stas Bekman wrote: Thierry Valentin wrote: [...] PerlChildInitHandler 'sub { require Win32::OLE}' Hel

Re: Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-25 Thread Thierry Valentin
Stas Bekman wrote: Markus Wichitill wrote: Stas Bekman wrote: Thierry Valentin wrote: Sorry about the imprecision... The reason why I forgot to send the error log is that there's absolutely nothing in the error log - not a single line even with a LogLevel set to debug. Understood. It'

Re: Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-25 Thread Thierry Valentin
Randy Kobes wrote: On Wed, 24 Nov 2004, Thierry Valentin wrote: Hello, I'm currently using the following configuration: - Perl 5.8.4.810 from Activestate - Apache 2.0.52 installed from the MSI package - mod_perl 1.99_17 installed with ppm from http://theoryx5.uwinnipeg.ca All these 3 package

Re: Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-24 Thread Thierry Valentin
y (144KB) - appcompat.txt - textual - (22KB) Are these files of any help to you? One important information that could help: I'm running windows Xp professionnal Sorry about the few information, but I've nothing more. Best regards Thierry Stas Bekman wrote: Thierry Valentin wrote: Hello

Apache2/Modperl2 fails to preload Win32::OLE at server startup

2004-11-24 Thread Thierry Valentin
common'; use APR::Const -compile => ':common'; use APR::Table (); use Apache::compat (); use ModPerl::Registry (); use CGI (); CGI->compile(); use Win32::OLE (); FAILS TO START HERE! 1; # -- Thierry Valentin earth decision scien