tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <Robert.Pri...@bentley.com>
Subject RE: AUTHORIZATION HEADER MISSING
Date Thu, 18 Apr 2002 15:45:10 GMT
Trying to build the dll from "jakart-tomcat-connectors"

Using:

Windows 2000 SP2
Visual C++ 6.0

Any Ideas about the following error:

Deleting intermediate files and output files for project 'isapi - Win32
Debug'.
--------------------Configuration: isapi - Win32 Debug--------------------
Compiling...
jk_ajp12_worker.c
jk_ajp13.c
jk_ajp13_worker.c
jk_ajp14.c
jk_ajp14_worker.c
jk_ajp_common.c
jk_connect.c
jk_context.c
jk_isapi_plugin.c
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(618) : error
C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(664) : warning
C4018: '==' : signed/unsigned mismatch
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : error
C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : error
C2146: syntax error : missing ')' before identifier 'pvNotification'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : warning
C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void
*,unsigned long *)' differs in levels of indirection from 'int '
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : error
C2059: syntax error : ')'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(699) : error
C2146: syntax error : missing ')' before identifier 'pvNotification'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(699) : warning
C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char
*)' differs in levels of indirection from 'int '
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(699) : error
C2059: syntax error : ')'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(700) : error
C2146: syntax error : missing ')' before identifier 'pvNotification'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(700) : warning
C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char
*)' differs in levels of indirection from 'int '
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(700) : error
C2059: syntax error : ')'
jk_jni_worker.c
jk_lb_worker.c
jk_map.c
jk_md5.c
jk_msg_buff.c
jk_nwmain.c
jk_pool.c
jk_sockbuf.c
jk_uri_worker_map.c
jk_util.c
c:\jakarta-tomcat-connectors\jk\native\common\jk_util.c(294) : warning
C4101: 'secret_file' : unreferenced local variable
jk_worker.c
Error executing cl.exe.

-----Original Message-----
From: Ignacio J. Ortega [mailto:nacho@siapi.es]
Sent: Thursday, April 18, 2002 11:23 AM
To: 'Robert Priest'
Cc: 'tomcat-dev'
Subject: RE: AUTHORIZATION HEADER MISSING


> De: Robert Priest [mailto:Robert.Priest@bentley.com]
> Enviado el: jueves 18 de abril de 2002 17:09

It was private but should be public.. :)

> Thanks Ignacio,
> 
> That is working! 
> 
> There seems to be an issue when I first set up a webfolder of 
> continously
> being asked to log in (I was prompted about four times
> when I set up the webfolder), but eventually I was able to 
> get in and see my
> files and folders.


I have no idea what happens.. 

> What version was this fixed, in the 4.0.3 of jk_isapi_plugin.c? 
> Because I the version of the dll I was using, was build from 
> the tomcat 3.3
> tree.
> This is what was specified in the tomcat ajp configuration 
> document for
> configuring tomcat 4
> with IIS (I have attached the document). I built it from the
> "jakarta-tomcat" tree.
> 

Well things are lttle confuse right now, i know, was confusing for me
also :) , jk from tomcat 3.3 is mostly freezed, so everything goes to
j-t-c/jk/native that should be more or less the same that j-t/native
has, from my test i know jni is not working on j-t-c, but that is really
minor, code is there, we need to have time to fix it.. :)

> If I build the one under "jakarta-tomcat-connectors", I 
> should get these
> changes, correct?

Correct

> Which one under "jakarta-tomcat-connectors" do I want to build:
> "jk/native/iis" or "jk/native/isapi"?

iis 

(Below are some explanations of what we are talking about )

Saludos ,
Ignacio J. Ortega


> -----Original Message-----
> From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> Sent: Thursday, April 18, 2002 9:31 AM
> To: 'Robert Priest'
> Subject: RE: AUTHORIZATION HEADER MISSING
> 
> 
> Hola Robert:
> 
> Well the problem with auth in iis are actually 2:
> 
> 1) 2342 which implies that you can not use IIS native auth 
> wiht tomcat,
> and to have any auth eworking in this env your need to put
> tomcatAuthentication="true", this is the one i've think i've solved..
> that is you will be capable of use native auth in IIs by changing the
> above ajp13 attribute to false, binarie attached.. change the name of
> the dll to fit your configs.
> 
> 
> 2) 5647 related to above, and caused by not implementing
> tomcatAuthentication, tomcatAuthentication="true" was working from the
> time the bug was fixed..
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> > -----Mensaje original-----
> > De: Robert Priest [mailto:Robert.Priest@bentley.com]
> > Enviado el: jueves 18 de abril de 2002 15:24
> > Para: Ignacio J. Ortega
> > Asunto: RE: AUTHORIZATION HEADER MISSING
> > 
> > 
> > Thanks Ignacio.
> > 
> > I will try the changes marked in that Bug Report. 
> > Right now, I have a few other things going on, but I should 
> > be able to try
> > it 
> > in the next couple of days.
> > 
> > If you do have binaries I could use, I would appreciate them. 
> > It may help me
> > move to test
> > faster. 
> > 
> > Also, did you read my comment on bug 5647. It is the last 
> > one. Just wanted
> > to know
> > if you were aware of were I last left off.
> > 
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5647
> > 
> > 
> > -----Original Message-----
> > From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> > Sent: Wednesday, April 17, 2002 9:23 AM
> > To: 'Robert Priest'
> > Subject: RE: AUTHORIZATION HEADER MISSING
> > 
> > 
> > Typo!!
> > 
> > I would say 2342, sorry
> > 
> > Saludos ,
> > Ignacio J. Ortega
> > 
> > 
> > > -----Mensaje original-----
> > > De: Robert Priest [mailto:Robert.Priest@bentley.com]
> > > Enviado el: miƩrcoles 17 de abril de 2002 15:22
> > > Para: Ignacio J. Ortega
> > > Asunto: RE: AUTHORIZATION HEADER MISSING
> > > 
> > > 
> > > Ignacio,
> > > 
> > > You are speaking of the xerces parser issue (2432) being 
> > > fixed, right? Not
> > > the 
> > > ISAPI Filter problem (5647), correct?
> > > 
> > > If you are speaking of the isapi problem, I would like to see 
> > > your binaries.
> > > 
> > > Thank you.
> > > 
> > > -----Original Message-----
> > > From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> > > Sent: Tuesday, April 16, 2002 9:57 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: AUTHORIZATION HEADER MISSING
> > > 
> > > 
> > > > De: Robert Priest [mailto:Robert.Priest@bentley.com]
> > > > Enviado el: martes 16 de abril de 2002 15:50
> > > 
> > > J-T-C jk from CVS HEAD has that problem solved,  i can 
> > > provide binaries
> > > to test this new feature... send me a private mail if you 
> want it..
> > > 
> > > Apropos i'm talking about Bug#2432 ;)
> > > 
> > > Saludos ,
> > > Ignacio J. Ortega
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: 
> <mailto:tomcat-user-owner@jakarta.apache.org>
> > 
> 
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message