tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hubner <rey...@hugsmidjan.is>
Subject Re: Tomcat connector for IIS 5.1 error executing servlet example
Date Thu, 10 Nov 2005 16:10:46 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
First.... Gangaa D., I think since java is platform independant this is
not a good answer to a query like this. Installing Linux or FreeBSD does
not solve all problems by it self. Linux is fine when you know how to
work around it, if you do not know anything about linux, you are better
off with windows.

I suggest the ISAPI_redirector is not configured correctly.

I have few old (and some very old) pages on the subject on my website,
but to my knowledge they still work. So check it out, it might help:

http://www.reynir.net/java/greinar/

yes it works, hope it helps.
- -reynir


Gangaa D wrote:
> You should use Linux or FreeBSD that is more robust.
> 
> --- "Goay Zee Ling (ACM/MIS)" <zlgoay@acm-mmi.com.my>
> wrote:
> 
> 
>>Hi. I have some problem executing servlet examples
>>provided in tomcat
>>using the tomcat connector.
>> 
>>I am using tomcat 5.0.28, IIS 5.1 and just manage to
>>install
>>isapi_redirect.dll.
>> 
>>I manage to execute the servlet examples using
>>http://localhost:8080/servlet-examples, thru tomcat
>>directly.
>> 
>>I manage to view
>>http://localhost/servlet-examples/index.html, but i
>>can't execute the servlet examples. there's one
>>request parameters
>>example. When i click on "Submit Query", the next
>>page show "The page
>>cannot be displayed". 
>> 
>>I checked the isapi.log file, it shows:
>>[/servlets-examples/servlet/RequestParamExample] is
>>a servlet url -
>>should redirect to ajp13
>>Maintaining worker ajp13
>>jk_worker.c (111): found a worker ajp13
>>jk_isapi_plugin.c (1018): got a worker for name
>>ajp13
>>jk_ajp_common.c (2131): acquired connection cache
>>slot=0
>>jk_ajp_common.c (566): ajp marshaling done
>>jk_ajp_common.c (1670): processing with 3 retries
>>jk_connect.c (328): socket TCP_NODELAY set to On
>>jk_connect.c (426): trying to connect socket 1912 to
>>127.0.0.1:8009
>>jk_connect.c (452): socket 1912 connected to
>>127.0.0.1:8009
>>jk_ajp_common.c (864): Connected socket 1912 to
>>(127.0.0.1:8009)jk_ajp_common.c (909): sending to
>>ajp13 pos=4 len=564
>>max=8192
>>....
>>jk_ajp_common.c (1261): request body to send 28 -
>>request body to resend
>>0
>>[error] jk_isapi_plugin.c (604): ReadClient failed
>>with 0000274c
>>jk_ajp_common.c (1118): Receiving data from client
>>failed. Connection
>>aborted or network problems
>>jk_ajp_common.c (1741): Sending request to tomcat
>>failed, because of
>>client error without recovery in send loop 0
>>jk_isapi_plugin.c (1031): service() returned OK
>>jk_ajp_common.c (2074): recycling connection cache
>>slot=0 for worker
>>ajp13
>>
>>and the stdout.log shows:
>>org.apache.jk.common.ChannelSocket processConnection
>>WARNING: processCallbacks status 2
>>org.apache.jk.common.HandlerRequest invoke
>>SEVERE: Error decoding request 
>>java.io.IOException
>> at
>>
> 
> org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
> 
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:50
> 
>>0)
>> at
>>
> 
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
> 
>> at
>>
> 
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
> 
>> at
>>
> 
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
> 
>>675)
>> at
>>
> 
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
> 
>> at
>>
> 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> 
>>.java:683)
>> at java.lang.Thread.run(Thread.java:534)
>> 
>>May I know how to correct this problem? Is there any
>>configuration that
>>i need to set?
>>Or has anyone successfully execute servlet examples
>>using tomcat
>>connector?
>>Appreciate any help. Thank you.
>> 
>>regards,
>>zl
>>
> 
> 
> 
> 
> 		
> __________________________________ 
> Start your day with Yahoo! - Make it your home page! 
> http://www.yahoo.com/r/hs
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDc3EG19KgIQihNwgRAnq7AJwPkjuHOY4MYx++jkvOtWIk6Ya9TACeP+Pb
rAeAYjvGrXKgzON9JNUfBm0=
=13Sh
-----END PGP SIGNATURE-----

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


Mime
View raw message