----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

This is a problem usually related to Database. You can debug it through
insert printing log info before inserting to db and after inserting to db.
Then check log, you will know which step is slow. My experience is that DB
is slow. I support you get connection in init.

Boxin Dai
Software Designer

Infospace
3026 Solandt Road                Tel:      (613) 270-5452 
Kanata, Ontario                  Cell:     (613) 261-5552 
Canada K2K 2A5                   Fax:      (613) 765-5411 
www.infospace.com                Email:    [EMAIL PROTECTED]



-----Original Message-----
From: Gustavo Arruda [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 10, 2000 11:40 PM
To: Java Apache Users
Subject: 2-min delay when returning from insertion


----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi everyone,

I have Apache 1.3.9 plus JSERV 1.0 plus JSSI1.1.2 plus GNUJSP. It works fine
in my PC, which has Windows 98 installed. When I migrated this whole thing
to a NT Server 4.0, running Apache as a service with proper privileges, it
works fine when it is reading information from database and returning the
output, but it takes aprox. 2 minutes to process an insertion in the
database and return the output to the screen. What I am trying to do is
sending information from a form, using POST method, dealing the information
with the doPost method of a Servlet and printing a Success/Failure msg. It
seems to me that the insertion goes quick (I checked the database content
instantaneously), but the returning msg is the thing that takes too long. No
logs are registered by Apache.
Could anyone give me some light?
Thanks in advance,
Gustavo

[EMAIL PROTECTED]




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to