RE: What does this mean? ajp13.service() Error sending initial p ost -1 0 0

2004-01-20 Thread Hooper, Brian
: RE: What does this mean? ajp13.service() Error sending initial p ost -1 0 0 Could the 10 second delay be caused by tomcat recompiling your jsp? -Original Message----- From: Hooper, Brian [mailto:[EMAIL PROTECTED] Sent: 20 January 2004 16:16 To: Tomcat Users List Subject: RE: What does t

RE: tomcat webapp welcome file

2004-01-20 Thread Hooper, Brian
The easiest way to do this would probably be to use hidden html frames. This might help: http://insights.iwarp.com/advanced/hiddenframe.html That way no matter where a user goes in your site, all they see in the address bar is http://localhost. -Original Message- From: Denis [mailto:[EMA

RE: What does this mean? ajp13.service() Error sending initial post -1 0 0

2004-01-20 Thread Hooper, Brian
Not sure about your problem, but I recently ran across this URL: http://jspisapi.neurospeech.com/ Anyone have any experience with this product? Coincidently I'm having some weird problems using 4.1.29, IIS 5, and JK2. If a user goes to a jsp page, it takes a really long time initially (~10 seco

RE: HELP: Servlet File Download solution.

2004-01-14 Thread Hooper, Brian
This probably doesn't matter, but try this instead: response.setHeader("Content-Disposition", "attachment;filename=\"" + myFileName + "\""); // Removed the space in between "attachment;" and "filename" response.setContentType("application/octet-stream"); // I don't think you need to specify the

RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet

2004-01-12 Thread Hooper, Brian
Or: blah -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 1:23 PM To: 'Tomcat Users List' Subject: RE: OT?:Can't include .js file on jsp page controlled by front co ntro ller servlet Also, if you're using an anchor tag that has "#" in it, th

RE: Tomcat Deadlock

2004-01-09 Thread Hooper, Brian
----Original Message- From: Hooper, Brian [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:50 PM To: Tomcat Users List Subject: RE: Tomcat Deadlock I followed the example for Tomcat 4.x when I set it up. The only reason I have a separate object is to hide some of the complexity.

RE: Tomcat Deadlock

2004-01-09 Thread Hooper, Brian
thread should get 1 connection. -Original Message- From: Hooper, Brian [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:20 PM To: Tomcat Users List Subject: RE: Tomcat Deadlock I thought I was by defining the data source (using org.apache.commons.dbcp.BasicDataSourceFactory) in my

RE: Tomcat Deadlock

2004-01-09 Thread Hooper, Brian
one query would be returned to another etc. Bad driver...probably, but it's still a safer and better use of resources to let Tomcat give you a connection from a pool and then release it back when you are done. -Steve -Original Message----- From: Hooper, Brian [mailto:[EMAIL PROTECTE

RE: Microsoft SQL Server validation query

2004-01-09 Thread Hooper, Brian
tion query Hooper, Brian wrote: >These queries all seem like an awful lot of unnecessary processing. >Here's what I use: > >SELECT 1+1 > > Indeed. If your server supports it, there is an even simpler one: "select 1" or "select 0". But this is not correc

RE: Tomcat Deadlock

2004-01-09 Thread Hooper, Brian
this.dbName = null; } } -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 11:23 AM To: Tomcat Users List Subject: RE: Tomcat Deadlock Howdy, Can you share your code that serves the page that locked up? Yoav Shapira Millennium ChemI

Tomcat Deadlock

2004-01-09 Thread Hooper, Brian
I'm having a weird problem with Tomcat locking up. I have a couple of functions on my site that rely heavily on transactions. To do a simple load test, I picked the function that hits the database the most and opened that same page in two different browser windows. I hit the submit button at rou

RE: Microsoft SQL Server validation query

2004-01-09 Thread Hooper, Brian
These queries all seem like an awful lot of unnecessary processing. Here's what I use: SELECT 1+1 -Original Message- From: Antonio Fiol BonnĂ­n [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 1:25 AM To: Tomcat Users List Subject: Re: Microsoft SQL Server validation query For

RE: IIS + Tomcat 5.0 + NT authentication AUTH_USER

2004-01-08 Thread Hooper, Brian
See if request.getHeader("Authorization") gives you anything. That is what I have been using with IIS and Tomcat 4.X. The data is Base64 encoded, but I have some code to grab the username and password from that if you need it. -Brian -Original Message- From: Jason Wilson [mailto:[EMAI