[Tue Aug 28 19:48:16 2007] [error] Error: Failed to load shared
library 'd:\\apache\\wxjs\\wxjs_win.0.9.71\\modules\
\wxJS_db.dll' (error 126: _________)
[Tue Aug 28 19:48:16 2007] [error] Error: wxJS: Module db(d:\\apache\
\wxjs\\wxjs_win.0.9.71\\modules\\wxJS_db.dll )not loaded
So, I tried to run httpd from command prompt instead of from windows'
service (the usual debug step) and I don't get this error?
I tried adding Loadfile "d:/apache/wxjs..../wxJS_db.dll" and it still
works from command prompt but not from services? According to
window's event viewer, this Loadfile line prevented httpd from
loading....
Is there some timing problem with loading modules.xml? Maybe this is
the incorrect order in the httpd.conf?
#Module wxjs
LoadFile "d:/apache/wxjs/wxjs_win.0.9.71/bin/libapreq2.dll"
LoadModule apreq_module "d:/apache/wxjs/wxjs_win.0.9.71/bin/
mod_apreq2.so"
LoadModule wxjs_module "d:/apache/wxjs/wxjs_win.0.9.71/bin/
mod_wxjs.dll"
AddHandler wxjs .wxjs
wxJS_Modules "d:/apache/wxjs/wxjs_win.0.9.71/bin/modules.xml"
wxJS_RtSize 4M
wxJS_CtxSize 8K
LoadFile "d:/apache/wxjs/wxjs_win.0.9.71/bin/libapreq2.dll"
LoadModule apreq_module "d:/apache/wxjs/wxjs_win.0.9.71/bin/
mod_apreq2.so"
LoadFile "d:/apache/wxjs/wxjs_win.0.9.71/bin/
wxmsw28u_core_vc_custom.dll"
LoadFile "d:/apache/wxjs/wxjs_win.0.9.71/bin/
wxbase28u_net_vc_custom.dll"
LoadFile "d:/apache/wxjs/wxjs_win.0.9.71/bin/
wxmsw28u_adv_vc_custom.dll"
LoadFile "d:/apache/wxjs/wxjs_win.0.9.71/bin/wxbase28u_vc_custom.dll"
LoadFile "d:/apache/wxjs/wxjs_win.0.9.71/bin/
wxbase28u_odbc_vc_custom.dll"
LoadModule wxjs_module "d:/apache/wxjs/wxjs_win.0.9.71/bin/
mod_wxjs.dll"
AddHandler wxjs .wxjs
wxJS_Modules "d:/apache/wxjs/wxjs_win.0.9.71/bin/modules.xml"
wxJS_RtSize 4M
wxJS_CtxSize 8K
And it turns out apache running as a service requires that no error
message be generated, otherwise service doesn't load.
C:\Documents and Settings\user>httpd -k config -n "Apache2"
Reconfiguring the Apache2 service
The Apache2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be
started.
[Tue Aug 28 21:33:45 2007] [notice] wxJS: RuntimeSize= 4194304
[Tue Aug 28 21:33:45 2007] [notice] wxJS: ContextSize= 8192
Need to get rid of above messages? How?
[Tue Aug 28 21:21:38 2007] [notice] Apache/2.2.3 (Win32) mod_ssl/2.2.3
OpenSSL/0.9.8d mod_autoindex_color DAV/2 PHP/5.1.6
mod_apreq2-20051231/2.6.0 configured -- resuming normal operations
[Tue Aug 28 21:21:38 2007] [notice] Server built: Sep 30 2006 21:24:06
[Tue Aug 28 21:21:38 2007] [notice] Parent: Created child process 2076
[Tue Aug 28 21:21:39 2007] [notice] wxJS: RuntimeSize= 1048576
[Tue Aug 28 21:21:39 2007] [notice] wxJS: ContextSize= 8192
[Tue Aug 28 21:21:42 2007] [notice] Trying to load engine for localhost
[Tue Aug 28 21:21:42 2007] [notice] Engine loaded for host: localhost
[Tue Aug 28 21:21:42 2007] [notice] Engine already loaded for host localhost
[Tue Aug 28 21:21:42 2007] [notice] Child 2076: Child process is running
[Tue Aug 28 21:21:42 2007] [notice] Child 2076: Acquired the start mutex.
[Tue Aug 28 21:21:42 2007] [notice] Child 2076: Starting 250 worker threads.
[Tue Aug 28 21:21:42 2007] [notice] Child 2076: Starting thread to
listen on port 443.
[Tue Aug 28 21:21:42 2007] [notice] Child 2076: Starting thread to
listen on port 80
There's no difference between Apache running in a console or as a service.
Franky.
[Tue Aug 28 21:21:39 2007] [notice] wxJS: RuntimeSize= 1048576
[Tue Aug 28 21:21:39 2007] [notice] wxJS: ContextSize= 8192
Perhaps your version of Apache allow this?
On Aug 29, 3:25 am, Franky Braem <franky.br...@gmail.com> wrote:
http://wxjs.svn.sourceforge.net/viewvc/wxjs/trunk/wxJS2/src/mod_wxjs/logwriter.h?view=log
On 4 okt, 09:57, whoisterence...@hotmail.com wrote:
> Is this revision related to this?
>
> http://wxjs.svn.sourceforge.net/viewvc/wxjs/trunk/wxJS2/src/mod_wxjs/...
> > > Franky.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -