I have been trying to get mod_webapp compiling under Win32. I have failed 
because of the following problems:
1. wa_general.h is missing!
2. apr_main.h is not part of the standard apr distribution available from 
http://apr.apache.org.

Because of these 2 problems I didn't get too far, but a few patches and a 
.dsp file are supplied. (The patches rename boolean to wa_boolean as boolean 
is already defined)

As Tomcat 4 is looking fairly stable and feature complete these days, the 
native components are probably the bits that most people are worried about. 
When TC4 is released it shouldn't have less features than TC3.3!

So a couple of suggestions/points:

1. Could Pier possibly submit a weekly status to the dev list on the status 
of mod_webapp.
2. There are many people on this list that would like to help with 
mod_webapp. Could Pier make sure the version in CVS compiles and is updated 
more often if possible.
3. The sooner mod_webapp is beta, the sooner people can write modules for 
other web server and begin testing this important part of Tomcat.

Another point:
What happended to all the service code in Tomcat4.0. I couldn't use TC4 on 
Win32 if it couldn't be run as a service.

Dave.
[EMAIL PROTECTED]

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Index: wa.h
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-4.0/connectors/include/wa.h,v
retrieving revision 1.3
diff -r1.3 wa.h
77c77
< typedef int boolean;
---
>typedef int wa_boolean;

Index: wa_main.h
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-4.0/connectors/include/wa_main.h,v
retrieving revision 1.1
diff -r1.1 wa_main.h
164c164
< boolean WA_Match(const char *u, wa_application *a);
---
>wa_boolean WA_Match(const char *u, wa_application *a);

Index: wa_webserver.h
===================================================================
RCS file: 
/home/cvspublic/jakarta-tomcat-4.0/connectors/include/wa_webserver.h,v
retrieving revision 1.1
diff -r1.1 wa_webserver.h
101c101
<     boolean (*status)(void *d, int status);
---
>     wa_boolean (*status)(void *d, int status);
111c111
<     boolean (*ctype)(void *d, char *type);
---
>     wa_boolean (*ctype)(void *d, char *type);
122c122
<     boolean (*header)(void *d, char *name, char *value);
---
>     wa_boolean (*header)(void *d, char *name, char *value);
131c131
<     boolean (*commit)(void *d);
---
>     wa_boolean (*commit)(void *d);
151c151
<     boolean (*flush)(void *d);
---
>     wa_boolean (*flush)(void *d);
181c181
< boolean wa_status(wa_request *req, int status);
---
>wa_boolean wa_status(wa_request *req, int status);
190c190
< boolean wa_ctype(wa_request *req, char *type);
---
>wa_boolean wa_ctype(wa_request *req, char *type);
200c200
< boolean wa_header(wa_request *req, char *name, char *value);
---
>wa_boolean wa_header(wa_request *req, char *name, char *value);
208c208
< boolean wa_commit(wa_request *req);
---
>wa_boolean wa_commit(wa_request *req);
226c226
< boolean wa_flush(wa_request *req);
---
>wa_boolean wa_flush(wa_request *req);

# Microsoft Developer Studio Project File - Name="mod_webapp" - Package 
Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **

# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102

CFG=mod_webapp - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "mod_webapp.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "mod_webapp.mak" CFG="mod_webapp - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "mod_webapp - Win32 Release" (based on "Win32 (x86) Dynamic-Link 
Library")
!MESSAGE "mod_webapp - Win32 Debug" (based on "Win32 (x86) Dynamic-Link 
Library")
!MESSAGE

# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe

!IF  "$(CFG)" == "mod_webapp - Win32 Release"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" 
/D "_MBCS" /D "_USRDLL" /D "MOD_WEBAPP_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "$(APR_HOME)\include" 
/I "$(APACHE1_HOME)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" 
/D "_USRDLL" /D "MOD_WEBAPP_EXPORTS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib 
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib 
odbc32.lib odbccp32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib 
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib 
odbccp32.lib /nologo /dll /machine:I386

!ELSEIF  "$(CFG)" == "mod_webapp - Win32 Debug"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D 
"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MOD_WEBAPP_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\include" /I 
"$(APR_HOME)\include" /I "$(APACHE1_HOME)\include" /D "WIN32" /D "_DEBUG" /D 
"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MOD_WEBAPP_EXPORTS" /YX /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib 
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib 
odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib 
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib 
odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept

!ENDIF

# Begin Target

# Name "mod_webapp - Win32 Release"
# Name "mod_webapp - Win32 Debug"
# Begin Group "Source Files"

# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File

SOURCE=.\mod_webapp.c
# End Source File
# Begin Source File

SOURCE=..\lib\wa_main.c
# End Source File
# Begin Source File

SOURCE=..\lib\wa_request.c
# End Source File
# End Group
# Begin Group "Header Files"

# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File

SOURCE=..\include\wa.h
# End Source File
# Begin Source File

SOURCE=..\include\wa_main.h
# End Source File
# Begin Source File

SOURCE=..\include\wa_provider.h
# End Source File
# Begin Source File

SOURCE=..\include\wa_request.h
# End Source File
# Begin Source File

SOURCE=..\include\wa_webserver.h
# End Source File
# End Group
# Begin Group "Resource Files"

# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

Reply via email to