• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

SEVERE: BAD packet signature 256 in tomcat when it configurd to IIS7

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

I have configured the IIS7 as web server to Tomcat6 using isapi_redirect.dll. Now my problem is request is reaching the tomcat instance but Tomcat6 not sending the response. When check the catalina log i found strange info saying that

SEVERE: BAD packet signature 256
Nov 22, 2011 4:29:41 PM org.apache.jk.common.ChannelSocket read
INFO: Error reading data after 514bytes
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:628)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:585)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:693)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Unknown Source)
Nov 22, 2011 4:29:41 PM org.apache.jk.common.ChannelSocket receive
WARNING: can't read body, waited #839
Nov 22, 2011 4:29:41 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: Closing ajp connection -1
Nov 22, 2011 4:30:49 PM org.apache.jk.common.MsgAjp processHeader
SEVERE: BAD packet signature 256

Last few line of IIS server showing log as
Tue Nov 22 16:30:49.126 2011] [4076:2468] [debug] ajpv12_handle_request::jk_ajp12_worker.c (386): Into ajpv12_handle_request

[Tue Nov 22 16:30:49.126 2011] [4076:2468] [debug] ajpv12_handle_request::jk_ajp12_worker.c (390): ajpv12_handle_request, sending the ajp12 start sequence

[Tue Nov 22 16:30:49.126 2011] [4076:2468] [debug] ajpv12_handle_request::jk_ajp12_worker.c (448): ajpv12_handle_request, sending the headers

[Tue Nov 22 16:30:49.126 2011] [4076:2468] [debug] ajpv12_handle_request::jk_ajp12_worker.c (466): ajpv12_handle_request, sending the terminating mark

[Tue Nov 22 16:30:49.126 2011] [4076:2468] [debug] ajpv12_handle_request::jk_ajp12_worker.c (519): ajpv12_handle_request done

[Tue Nov 22 16:30:49.126 2011] [4076:2468] [debug] service::jk_ajp12_worker.c (142): In jk_endpoint_t::service, sent request

[Tue Nov 22 16:30:49.126 2011] [4076:2468] [debug] ajpv12_handle_response::jk_ajp12_worker.c (534): Into ajpv12_handle_response



I think i have done configurations properly with isapi_redirect.dll. I am completely unaware of what is happening. Am i using wrong isapi_redirect.dll? Do i need to do any extra configuration in tomcat except <Engine name="Catalina" defaultHost="localhost" jvmRoute="worker1">

is it ajp version as I am using ajp/1.3 in tomcat(Server.xml) and in isapi_redirect.dll configuration files using ajp12.
I have configured the workers. properties, isapi_redirect.properties file.

Any help would be much appreciated.

Thanks in Advance.
Regards & thanks,
Nirmala Vijaya Sekhar Varre
 
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic