You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Julie Szmyd <ju...@realgo.com> on 2006/08/08 00:34:29 UTC

JK 1.2.18 win32 dll not working

Hi,

I tried to upgrade an older version of the win32 JK isapi_redirect.dll 
to the jk-1.2.18 version that I downloaded from 
http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.18.  For some reason, IIS is not able to load the ISAPI filter.  It errors 
out with the following message when I start IIS:

---------------------

The HTTP Filter DLL C:\java\Tomcat\Jakarta Isapi 
Redirector\bin\isapi_redirect.dll failed to load.  The data is the error.

data in bytes: 0000: 02 00 00 00               ....

---------------------

I was able to successfully upgrade to the jk-1.2.15 version, which makes 
me think my setup is correct, and there could be  a problem with the 
binary for jk-1.2.18.  Has anyone else gotten the 1.2.18 version working 
on Windows XP IIS version 5.1?  Are there any differences in 
configuration from 1.2.15 to 1.2.18?

Thanks,
Julie Szmyd



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.18 win32 dll not working

Posted by Mark Thomas <ma...@apache.org>.
Filip Hanik - Dev Lists wrote:
> its a known bug, the developers are pushing for 1.2.19 to get released
> 
> Filip

Temporary workaround:

Create an empty rewrites.properties file and
add "rewrite_rule_file" in the Jakarta Isapi Redirector\\1.0
registry that points to that file.

HTH,

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.18 win32 dll not working

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
its a known bug, the developers are pushing for 1.2.19 to get released

Filip


Jessica wrote:
> Hi Julie,
> I`m facing exactly the same problem as you described.
> Have you found any solution yet?
>
> Has anyone else succeded in getting jk-1.2.18 to run under IIS? 
> An answer would help in isolating the problem to IIS or JK.
> When googling for IIS isapi filters I came across this link:
> http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_and_Fix_Common_ISAPI_Filter_Installation_Failures.aspx
>
> which basicly tell us that the error code means that the ISAPI Filter
> specified an ISAPI Filter DLL that does not exist.
> But if for any reason GetFilterVersion(), HttpFilterProc() or
> GetFilterVersion() returns FALSE when IIS tries loadLibrary, then you will
> get the same error with WHATEVER value GetLastError() returns.
>
> Any help preciated!
> /* Jessica
>
>
>
> Julie Szmyd wrote:
>   
>> Hi,
>>
>> I tried to upgrade an older version of the win32 JK isapi_redirect.dll 
>> to the jk-1.2.18 version that I downloaded from 
>> http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.18. 
>> For some reason, IIS is not able to load the ISAPI filter.  It errors 
>> out with the following message when I start IIS:
>>
>> ---------------------
>>
>> The HTTP Filter DLL C:\java\Tomcat\Jakarta Isapi 
>> Redirector\bin\isapi_redirect.dll failed to load.  The data is the error.
>>
>> data in bytes: 0000: 02 00 00 00               ....
>>
>> ---------------------
>>
>> I was able to successfully upgrade to the jk-1.2.15 version, which makes 
>> me think my setup is correct, and there could be  a problem with the 
>> binary for jk-1.2.18.  Has anyone else gotten the 1.2.18 version working 
>> on Windows XP IIS version 5.1?  Are there any differences in 
>> configuration from 1.2.15 to 1.2.18?
>>
>> Thanks,
>> Julie Szmyd
>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.18 win32 dll not working

Posted by Jessica <jl...@yahoo.se>.
Hi Julie,
I`m facing exactly the same problem as you described.
Have you found any solution yet?

Has anyone else succeded in getting jk-1.2.18 to run under IIS? 
An answer would help in isolating the problem to IIS or JK.
When googling for IIS isapi filters I came across this link:
http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_and_Fix_Common_ISAPI_Filter_Installation_Failures.aspx

which basicly tell us that the error code means that the ISAPI Filter
specified an ISAPI Filter DLL that does not exist.
But if for any reason GetFilterVersion(), HttpFilterProc() or
GetFilterVersion() returns FALSE when IIS tries loadLibrary, then you will
get the same error with WHATEVER value GetLastError() returns.

Any help preciated!
/* Jessica



Julie Szmyd wrote:
> 
> Hi,
> 
> I tried to upgrade an older version of the win32 JK isapi_redirect.dll 
> to the jk-1.2.18 version that I downloaded from 
> http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.18. 
> For some reason, IIS is not able to load the ISAPI filter.  It errors 
> out with the following message when I start IIS:
> 
> ---------------------
> 
> The HTTP Filter DLL C:\java\Tomcat\Jakarta Isapi 
> Redirector\bin\isapi_redirect.dll failed to load.  The data is the error.
> 
> data in bytes: 0000: 02 00 00 00               ....
> 
> ---------------------
> 
> I was able to successfully upgrade to the jk-1.2.15 version, which makes 
> me think my setup is correct, and there could be  a problem with the 
> binary for jk-1.2.18.  Has anyone else gotten the 1.2.18 version working 
> on Windows XP IIS version 5.1?  Are there any differences in 
> configuration from 1.2.15 to 1.2.18?
> 
> Thanks,
> Julie Szmyd
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JK-1.2.18-win32-dll-not-working-tf2069405.html#a5931115
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: JK 1.2.18 win32 dll not working

Posted by Julie Szmyd <ju...@realgo.com>.
Finally solved this.  There is now a note at the bottom of the downloads 
page [not all mirrors show the readme notes right on the page, so if you 
don't see the note check the README.html  :(  ] that gives the resolution:

There is an error in 1.2.18 that requires the new feature 
rewrite_rule_file to be present in the Registry configuration, and it 
won't load JK without that file. However it can be an empty file.

So, create an empty rewrites.properties file and add "rewrite_rule_file" 
in the Jakarta Isapi Redirector\\1.0 registry that points to that file.

The next version will have that resolved by not requiring 
rewrite_rule_file to be present.

--Julie

> Hi,
>
> I tried to upgrade an older version of the win32 JK isapi_redirect.dll 
> to the jk-1.2.18 version that I downloaded from 
> http://mirrors.ibiblio.org/pub/mirrors/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.18.  
> For some reason, IIS is not able to load the ISAPI filter.  It errors 
> out with the following message when I start IIS:
>
> ---------------------
>
> The HTTP Filter DLL C:\java\Tomcat\Jakarta Isapi 
> Redirector\bin\isapi_redirect.dll failed to load.  The data is the error.
>
> data in bytes: 0000: 02 00 00 00               ....
>
> ---------------------
>
> I was able to successfully upgrade to the jk-1.2.15 version, which 
> makes me think my setup is correct, and there could be  a problem with 
> the binary for jk-1.2.18.  Has anyone else gotten the 1.2.18 version 
> working on Windows XP IIS version 5.1?  Are there any differences in 
> configuration from 1.2.15 to 1.2.18?
>
> Thanks,
> Julie Szmyd
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>


-- 
*Julie Szmyd*
Software Developer
RealGo, Inc.
970.493.5177

www.coloproperty.com <http://www.coloproperty.com>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org