Building isapi_redirect on Win 2003

2005-10-07 Thread Lyndon Tiu
Hello,

I read the instructions on how to build isapi_redirect.dll on:

http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk/iishowto.html

But I am getting these errors:

C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iismsdev isapi.dsp 
/make all
Configuration: isapi - Win32 Release
Compiling...
jk_isapi_plugin.c
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(658)
 : error C2065: 'S
F_NOTIFY_AUTH_COMPLETE' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(706)
 : warning C4018:
'==' : signed/unsigned mismatch
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2065: 'P
HTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned 
long *)' differs in le
vels of indirection from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2059: sy
ntax error : ')'
Error executing cl.exe.

isapi_redirect.dll - 8 error(s), 4 warning(s)
Configuration: isapi - Win32 Debug
Compiling...
jk_isapi_plugin.c
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(658)
 : error C2065: 'S
F_NOTIFY_AUTH_COMPLETE' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(706)
 : warning C4018:
'==' : signed/unsigned mismatch
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2065: 'P
HTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void *,unsigned 
long *)' differs in le
vels of indirection from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(731)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(733)
 : error C2059: sy
ntax error : ')'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2146: sy
ntax error : missing ')' before identifier 'pvNotification'
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : warning C4047:
'=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char *)' differs 
in levels of indirect
ion from 'int '
C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_plugin.c(735)
 : error C2059: sy
ntax error : ')'
Error executing cl.exe.

isapi_redirect.dll - 8 error(s), 4 warning(s)

C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis




Any tips appreciated.


--
Lyndon Tiu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Building isapi_redirect on Win 2003

2005-10-07 Thread Lyndon Tiu
On Fri, 07 Oct 2005 19:07:11  0200 tomcat-dev@jakarta.apache.org wrote:
 You will need the Platform SDK at least from March 2003.

I installed the IIS SDK in the package found here:

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm

I am still getting the exact same errors.

Any other tips?

Thank you.

--
Lyndon Tiu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Building isapi_redirect on Win 2003

2005-10-07 Thread Lyndon Tiu
Hello,

A few questions hopefully you guys can help:

1) The instructions here:

http://jakarta.apache.org/tomcat/connectors-doc/install/iis.html

mentions about using VS 6.0 and IIS developers SDK but what OS version I should 
be using to compile isapi_redirect? Windows 2000 or 2003 server?

2) I compiled a Release(not Debug) of isapi_redirect.dll version 1.2.14 
successfully on Windows 2003 Std Server using VS .Net but the resulting 
isapi_redirect file size is 160kb. The isapi_redirect version 1.2.14 we can 
download from:

http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.2.14/

has filesize = 240kb. I wonder how the downloaded version was compiled to make 
it a different size. I am sure it is not the debug version cause I compiled a 
Debug isapi_redirect.dll on Windows 2003 std server using VS .Net and it's 
filesize came out to be 268kb.


Any help appreciated.


Thank you.



On Fri, 07 Oct 2005 19:07:11  0200 tomcat-dev@jakarta.apache.org wrote:
 Lyndon Tiu wrote:
  Hello,
  
  I read the instructions on how to build isapi_redirect.dll on:
  
 
 http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/jk/iishowto
 .html
  
  But I am getting these errors:
  
  C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iismsdev
 isapi.dsp /make all
  Configuration: isapi - Win32
 Release
  Compiling...
  jk_isapi_plugin.c
 
 C:\tmp\jakarta-tomcat-connectors-1.2.14.1-src\jk\native\iis\jk_isapi_pl
 ugin.c(658) : error C2065: 'S
  F_NOTIFY_AUTH_COMPLETE' : undeclared identifier
 
 You will need the Platform SDK at least from March 2003.
 
 Regards,
 Mladen.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Lyndon Tiu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat mx4j.

2005-06-21 Thread Lyndon Tiu
Hello,

How do I disable the mx4j feature of tomcat 5.0.x during compile time?

Thanks.

-- 
Lyndon Tiu


This message and any attachments are confidential. Unauthorized use
or disclosure of this message is strictly prohibited, and this message
must be destroyed immediately if received by an unauthorized recipient.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.0.28 build from source issue with MX4J.

2005-06-21 Thread Lyndon Tiu
Hello,

Building Tomcat 5.0.28 from source completes with no errors. Running the newly 
built tomcat gives this error in the catalina.log file:

java.lang.NoClassDefFoundError: mx4j/log/Log
at 
javax.management.MBeanServerFactory.getLogger(MBeanServerFactory.java:54)
at 
javax.management.MBeanServerFactory.findMBeanServer(MBeanServerFactory.java:163)
at 
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:168)
at 
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)



Any thoughts and suggestions?

Thanks.

-- 
Lyndon Tiu


This message and any attachments are confidential. Unauthorized use
or disclosure of this message is strictly prohibited, and this message
must be destroyed immediately if received by an unauthorized recipient.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Building tomcat from source.

2005-06-20 Thread Lyndon Tiu
Hello,

I followed instructions on:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/building.html

But I get the following error message:



[EMAIL PROTECTED] tomcat_building]$ ant
Buildfile: build.xml

check.source:

check.source.depends:

get.source:

checkout:
 [echo] If the checkout fails, run `cvs -d 
:pserver:[EMAIL PROTECTED]:/home/cvspublic login` and try again. The 
password for the anonymous CVS access is `anoncvs`
  [cvs] Using cvs passfile: /home/ltiu/.cvspass
  [cvs] Using cvs passfile: /home/ltiu/.cvspass
  [cvs] Using cvs passfile: /home/ltiu/.cvspass
  [cvs] Using cvs passfile: /home/ltiu/.cvspass
  [cvs] Using cvs passfile: /home/ltiu/.cvspass

get.source.depends:

checkout.depends:
  [cvs] Using cvs passfile: /home/ltiu/.cvspass
  [cvs] Using cvs passfile: /home/ltiu/.cvspass

build:

BUILD FAILED
file:/home/ltiu/tomcat_building/build.xml:49: Basedir 
/home/ltiu/tomcat_building/jakarta-tomcat-5 does not exist

Total time: 0 seconds



Any tips greatly appreciated. Thanks.

-- 
Lyndon Tiu


This message and any attachments are confidential. Unauthorized use
or disclosure of this message is strictly prohibited, and this message
must be destroyed immediately if received by an unauthorized recipient.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]