Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can only connect intermittenly

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using an ISAPI redirect to get to my tomcat web server. The problem is that it works sometimes and then quits. But then a simple refresh of the screen and it works again. There are no error message in IIS, no error messages in the Tomcat logs, and no error messages in the ISAPI redirect log. Even the Windows event logs don't show any errors.

Any help would be appreciated.

Rusty
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When it "quits" - do you get a HTTP error code?

How about a message from IIS?

Note that with the MSIE browser you may have to turn off the "friendly" error message handling.

Bill
 
Rusty Tripp
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bill and thanks for replying,

When it quits, there are no error codes that I can find. In IIS, the only codes are 200's and 304's. And when it quits, there are no updated log in Tomcat or the event logs. And I do have Friendly error messages turned off in IE. The ISAPI redirect log is full of debug messages but no errors.

Rusty
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well 304 is NOT_MODIFIED - "indicating a conditional GET operation found that the resource was available and not modified"

Now I am wondering if the GET is going all the way to Tomcat or if IIS is deciding that it doesn't need to.

You could change the Tomcat configuration to log ALL access - see the AccessLogValve inside the Host tag of service.xml file.

When I did that I was astonished at the number of web crawler accesses

Bill

 
Enjoy the full beauty of the english language. Embedded in this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic