ISAPI Redirector issue | Building |
LonijNqec2TRFELqnHWDzXqrqXmuhkz84PssQUO6v > CSvN603+GWDi+0UptwEvySgLYj004PFZA0Zzk= > MIME-Version: 1.0 > Received: by 10.114.18.4 with SMTP id 4mr299150war.186.1276096340825; Wed, > 09 >Jun 2010 08:12:20 -0700 (PDT) > Received: by 10.115.89.12 with HTTP; Wed, 9 Jun 2010 08:12:20 -0700 (PDT) > In-Reply-To: <1276095156.58969.ez...@tomcat.apache.org> > References: <1276095156.58969.ez...@tomcat.apache.org> > Date: Wed, 9 Jun 2010 20:42:20 +0530 > Message-ID: > Subject: Re: confirm subscribe to dev@tomcat.apache.org > From: vini mr > To: dev-sc.1276095156.bdgghjlhcapkclkbgbpd-vinaymrmca=gmail.com@ > tomcat.apache.org > Content-Type: multipart/alternative; boundary=001636b2bc3a1815a504889a5586 > > --001636b2bc3a1815a504889a5586 > Content-Type: text/plain; charset=ISO-8859-1 > > Hi , > I would like to subscribe please add me to the developers list > > With regard's > vinay > > On Wed, Jun 9, 2010 at 8:22 PM, wrote: > > > Hi! This is the ezmlm program. I'm managing the > > dev@tomcat.apache.org mailing list. > > > > I'm working for my owner, who can be reached > > at dev-ow...@tomcat.apache.org. > > > > To confirm that you would like > > > > vinaymr...@gmail.com > > > > added to the dev mailing list, please send > > a short reply to this address: > > > > dev-sc.1276095156.bdgghjlhcapkclkbgbpd-vinaymrmca=gmail.com@ > > tomcat.apache.org > > > > Usually, this happens when you just hit the "reply" button. > > If this does not work, simply copy the address and paste it into > > the "To:" field of a new message. > > > > or click here: > >mailto:dev-sc.1276095156.bdgghjlhcapkclkbgbpd-vinaymrmca= > gmail.com@ > > tomcat.apache.org > > > > This confirmation serves two purposes. First, it verifies that I am able > > to get mail through to you. Second, it protects you in case someone > > forges a subscription request in your name. > > > > Some mail programs are broken and cannot handle long addresses. If you > > cannot reply to this request, instead send a message to > > and put the > > entire address listed above into the "Subject:" line. > > > > > > --- Administrative commands for the dev list --- > > > > I can handle administrative requests automatically. Please > > do not send them to the list address! Instead, send > > your message to the correct command address: > > > > To subscribe to the list, send a message to: > > > > > > To remove your address from the list, send a message to: > > > > > > Send mail to the following for info and FAQ for this list: > > > > > > > > Similar addresses exist for the digest list: > > > > > > > > To get messages 123 through 145 (a maximum of 100 per request), mail: > > > > > > To get an index with subject and author for messages 123-456 , mail: > > > > > > They are always returned as sets of 100, max 2000 per request, > > so you'll actually get 100-499. > > > > To receive all messages with the same subject as message 12345, > > send a short message to: > > > > > > The messages should contain one line or word of text to avoid being > > treated as s...@m, but I will ignore their content. > > Only the ADDRESS you send to is important. > > > > You can start a subscription for an alternate address, > > for example "j...@host.domain", just add a hyphen and your > > address (with '=' instead of '@') after the command word: > > > > > > To stop subscription for this address, mail: > > > > > > In both cases, I'll send a confirmation message to that address. When > > you receive it, simply reply to it to complete your subscription. > > > > If despite following these instructions, you do not get the > > desired results, please contact my owner at > > dev-ow...@tomcat.apache.org. Please be patient, my owner is a > > lot slower than I am ;-) > > > > --- Enclosed is a copy of the request I received. > > > > Return-Path: > > Received: (qmail 58963 invoked by uid 99); 9 Jun 2010 14:52:36 - > > Received: from athena.apache.org (HELO athena.apache.org) > (140.211.11.136) > >by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 14:52:36 > > + > > X-ASF-Spam-Status: No, hits=0.2 required=10.0 > > > > > > tests=ASF_LIST_OPS,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NON
Re: ISAPI Redirector issue | Building |
Hi Rainer, Thanks for your quick reply. I am building .dll file of 32 Bit and i am using IIS of 32Bit Version. and my IIS 6.0 is running on Windows 2003 Server ( 32 Bit ). Regards, Vinay On Wed, Jun 9, 2010 at 9:00 PM, Rainer Jung wrote: > On 09.06.2010 17:17, vini mr wrote: > >> Hi Team, >> >> For the IIS tomcat configuration, i need to customize the 503 error >> message >> which is present in *'isapi_redirect.dll'*. >> >> *DLL file which i am using :* >> >> >> http://apache.thelorne.com/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.30/isapi_redirect-1.2.30.dll >> >> *DLL source code :* >> >> >> http://apache.thelorne.com/tomcat/tomcat-connectors/jk/source/jk-1.2.30/tomcat-connectors-1.2.30-src.zip >> >> >> I modifed the source code of 'isapi_redirect.dll' and re-build using >> Visual >> studio 2008 ( release mode ) on windows xp machine. >> >> while compiling and building there were just fine. no error or warning >> were >> displayed. >> >> but i put the same .dll file in IIS, i realized that dll was not working >> and blank page is being displayed. >> >> I am stuck in this for couple of days. >> >> could you please help in resolving this issue. >> > > Are you building the right 32 Bit or 64Bit version for your IIS? Note that > even on a 64 Bit system it is possible that IIS runs in 32 Bit mode. > > Rainer > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >
Re: ISAPI Redirector issue | Building |
Hi Konstantin Kolinko, Thanks for your response.. *Evidence *: i have checked *localhost_accesslog.log* in tomcat to see whether i am getting any request from IIS to tomcat through isapi_redirector.dll. But i found nothing in the log. If i replace the isapi_redirector.dll which is provided by tomcat website itself then i can see the request in log and everything works fine. With regard's vinay On Wed, Jun 9, 2010 at 9:41 PM, Konstantin Kolinko wrote: > 2010/6/9 vini mr : > > > > I am building .dll file of 32 Bit > > > > and i am using IIS of 32Bit Version. > > > > and my IIS 6.0 is running on Windows 2003 Server ( 32 Bit ). > > > > 1) I wonder, if it is possible to customize error 503 response without > rebuilding the connector. > > 2) Maybe some DLLs are missing? > > Are there any evidenced, that the dll does not work, besides a blank page? > > Note, that Tomcat can reply with a blank page if no ROOT application > is configured in it. > > > 3) I think that this question should have been sent to the users@ list. > > Best regards, > Konstantin Kolinko > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >
Re: ISAPI Redirector issue | Building |
Hi Mladen Turk, As per my knowledge i used the .dll from http://apache.thelorne.com/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.30/isapi_redirect-1.2.30.dll which is perfectly working fine in my IIS server Version 6.0 and Apache Tomcat 6.026 with the operating system running on windows server 2003 standard edition with sp2. as per my requirement i need to modify the 503 error message. so i took a source file from : http://apache.thelorne.com/tomcat/tomcat-connectors/jk/source/jk-1.2.30/tomcat-connectors-1.2.30-src.zip i build the .dll on windows xp 32 bit using Microsoft Visual studio 2008 with complier version 6.0. build was successfull without warning or error. now when i use this dll which was build. i am noticing its not working fine and only blank page is being displayed. Thanks and Regards, Vinay On Thu, Jun 10, 2010 at 4:56 PM, Mladen Turk wrote: > On 06/10/2010 09:52 AM, vini mr wrote: > >> Hi Konstantin Kolinko, >> >> Thanks for your response.. >> >> *Evidence *: i have checked *localhost_accesslog.log* in tomcat to see >> whether i am getting any request from IIS to tomcat through >> isapi_redirector.dll. But i found nothing in the log. >> >> If i replace the isapi_redirector.dll which is provided by tomcat website >> itself then i can see the request in log and everything works fine. >> >> > Seems like MSVCRT version issue. > Not sure which version IIS/Win2003 uses but it > is well known that dll's having higher MSVCRT > version then the container application can create problems. > > > Regards > -- > ^TM > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >
Re: ISAPI Redirector issue | Building |
Hi Team, According to your instructions , i have created the environment of windows 2003 server standard edition with visual studio 6.0 with sp5.. while Building i am getting 63 errors. I have attached the file which has all the errors which are shown during the build process. Kindly let me know the further process to build the same. With Regard's vinay On Thu, Jun 10, 2010 at 11:21 PM, sebb wrote: > On 10/06/2010, Mladen Turk wrote: > > On 06/10/2010 06:02 PM, vini mr wrote: > > > > > > > > i build the .dll on windows xp 32 bit using Microsoft Visual studio > 2008 > > > with complier version 6.0. > > > > > > > > > > Use Visual Studio 6sp5 and Windows 2003R2 Platform SDK. > > This combination of tools was used for building the > > official binaries. > > > > > > > > > > > > now when i use this dll which was build. i am noticing its not working > > fine > > > and only blank page is being displayed. > > > > > > > > > > Like said, the produced .dll is probably linked with higher > > MSVCRT version (caused by using VS2008) then the one IIS uses. > > Now, your .dll injects that higher MSVCRT inside the IIS process, > > and everything starts to fall apart. > > > > Alternatively, it may work if you link the MSVCRT library statically, > rather than as a DLL. > The output DLL will be larger, but it won't have a reference to the > (wrong) MSVCRT DLL. > > > Regards > > -- > > ^TM > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > Deleting intermediate files and output files for project 'dftables - Win32 Debug'. Deleting intermediate files and output files for project 'pcre - Win32 Debug'. Deleting intermediate files and output files for project 'isapi - Win32 Debug'. Configuration: dftables - Win32 Debug Creating pcre.h from pcre.hw Creating pcre config.h from config.hw Compiling... Command line warning D4002 : ignoring unknown option '/wd4996' dftables.c Linking... Creating browse info file... Configuration: pcre - Win32 Debug Creating pcre.h from pcre.hw Creating pcre config.h from config.hw Creating pcre chartables.c from dftables Compiling... get.c maketables.c pcre.c study.c Generating Code... Creating library... Configuration: isapi - Win32 Debug Compiling resources... 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:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1250) : error C2065: 'HSE_RESPONSE_VECTOR' : undeclared identifier C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1250) : error C2146: syntax error : missing ';' before identifier 'response_vector' C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1250) : error C2065: 'response_vector' : undeclared identifier C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1251) : error C2065: 'HSE_VECTOR_ELEMENT' : undeclared identifier C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1251) : error C2146: syntax error : missing ';' before identifier 'response_elements' C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1251) : error C2065: 'response_elements' : undeclared identifier C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1251) : error C2109: subscript requires array or pointer type C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1253) : error C2109: subscript requires array or pointer type C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1253) : error C2224: left of '.ElementType' must have struct/union type C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1253) : error C2065: 'HSE_VECTOR_ELEMENT_TYPE_MEMORY_BUFFER' : undeclared identifier C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1254) : error C2109: subscript requires array or pointer type C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1254) : error C2224: left of '.pvContext' must have struct/union type C:\tomcat-connectors-1.2.30-src\native\iis\jk_isapi_plugin.c(1255) : error C2109: subscript requires array
Re: ISAPI Redirector issue | Building |
Hi Team, How do I link (give a reference to) the MSVCRT library statically? Is the Source code of MSVCRT library available? I'm totally confused on this. Please guide me. Thanks, Vinay On Thu, Jun 10, 2010 at 11:21 PM, sebb wrote: > On 10/06/2010, Mladen Turk wrote: > > On 06/10/2010 06:02 PM, vini mr wrote: > > > > > > > > i build the .dll on windows xp 32 bit using Microsoft Visual studio > 2008 > > > with complier version 6.0. > > > > > > > > > > Use Visual Studio 6sp5 and Windows 2003R2 Platform SDK. > > This combination of tools was used for building the > > official binaries. > > > > > > > > > > > > now when i use this dll which was build. i am noticing its not working > > fine > > > and only blank page is being displayed. > > > > > > > > > > Like said, the produced .dll is probably linked with higher > > MSVCRT version (caused by using VS2008) then the one IIS uses. > > Now, your .dll injects that higher MSVCRT inside the IIS process, > > and everything starts to fall apart. > > > > Alternatively, it may work if you link the MSVCRT library statically, > rather than as a DLL. > The output DLL will be larger, but it won't have a reference to the > (wrong) MSVCRT DLL. > > > Regards > > -- > > ^TM > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > > > > - > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >
Re: ISAPI Redirector issue | Building |
Hi dev team, My all build related issues have been resolved. ! the root cause of issue was like,i forgot to install the windows 2003 server platform sdk, After installing and configuring the SDK and i compiled the source with customization every problem got resolved. I am really thankful to Mladen turk, len.popp ,sebb ,rainer jung. for their quick response and accurate solution :) With Regard's vinay. On Mon, Jun 14, 2010 at 9:40 PM, Len Popp wrote: > On Mon, Jun 14, 2010 at 10:51, Mladen Turk wrote: > > > You will also need the Server 2003r2 platform SDK, and if > > building from GUI adjust the include and lib directories > > from the SDK to take precedence over the ones from visual studio. > > > > After you install the Server 2003 Platform SDK, here's how to tell Visual > Studio 6 to use the new platform SDK: > - Run VS6. > - Open the View > Options dialog. > - Add the appropriate directories for the Server 2003 Platform SDK. > - Note that you must add include, lib and source directories separately, > using the "Show directories for" dropdown. > - Make sure the new directories are at the top of the list, so they are > searched first. > > The procedure for Visual Studio 2008 is similar. > > FYI, the compile error messages have to do with items defined in httpext.h, > which are not present in older versions of the Platform SDK. > -- > Len >