Two thoughts, one for Adam, one for the person who originally
asked the question.

1. Adam Gifford wrote:
>instead you should perform a select 1, or other simple operation that =
>requires a response from the database. (select 1 is not a
>standard statement, it works on sybase, but may not work on all rdbms')

I believe the SQL standard requires the select items to be
selected from a table, but what the table is doesn't matter
if the select items don't depend upon the table in some way
(ie: don't depend on the columns, any pseudo-columns, or
I guess any triggers that may apply to selects on that table).
I don't think there is a particular table name that the
standard guarantees will exist in all database environments,
but the comparable Oracle test is:

   select 1 from sys.dual

I actually prefer the fractionally more paranoid:

   select sysdate from sys.dual

since I can't think of any legitimate client-side optimization that
would stop that query from requiring some kind of conversation between
the client and the server.
 
 
 
2. Lam Kwok Wa wrote:

!My apache server 1.3.3 and Jserv 0.9.11.
!I got a problem with the jdbc connection to Oracle.
!My servlet connects to Oracle databases via JDBC
!> >(type 4).  When the page generated by the servlet
!is loaded for the first time, it works properly even
!it is reloaded again.

There are quite a few details missing from this, details which
might help to pin down the problem.  Here are a some more
possibilities for you to consider.

a) If your Oracle database isn't running on the same machine
   as Apache, then you are dependent upon some network
   connection.  If that is the case, periodic timeouts are
   very likely; they happen when nasty events like network
   partitions occur.  You have to continually test for those.

b) Oracle databases do have time-outs on connections, although
   I doubt you'd hit them within the 10-minute time frame you
   mentioned.  I don't play with the database at the admin
   level, so you'd have to ask a DBA at your site if there are
   any database configuration parameters that need tweeking.

c) Apache servers have a timeout which can impact you if it
   takes to long to fill a request.  I know for sure that
   is an issue for CGI forms; I haven't yet determined if
   it is an issue for servlets.  Make sure that the problem
   you are facing is truly related to the database, and not
   just the Apache configuration.
 
d) You don't say which O/S you are working on, but given the
   use of the thick JDBC driver it must be either Solaris
   or Win95/WinNT.  Unfortunately Oracle's thick drivers can
   behave at times like (in my opinion) big sticky smelly 
   pieces of bird crap.  The Windows drivers seem ok for 
   client-side use; I don't know what they are like for 
   server-side use.  The Solaris thick drivers are total trash.
   There is a patch for the 7.3.x version, if you can find
   somebody at Oracle who knows about it.  Their tech support
   folks have no faith in the patch, and I was only able to apply 
   it to the driver with Gcc and *not* the Sunsoft C compiler they 
   recommended.  It *might* work on a machine that only has a
   single instance of the database installed, but definitely
   doesn't work on machines with multiple database instances.
   I'm not 100% sure that the driver is thread-safe even in 
   the single-database-instance situation.  Don't hold your 
   breath for any newer versions; from the tech support folks
   it sounded like Oracle *might* come out with a fixed driver
   that would work for 8.0.6 databases, but then again, maybe 
   they won't.  Unless you are in a situation where you absolutely
   *have* to use ANO (the SQL/Net Advanced Networking Option), then
   use the pure Java driver, or get a thick driver for Oracle from 
   somebody else (BEA WebLogic might have one that works with ANO). 




But, After 10 mins time, if the page is reloaded again,
part of data retrieved from the Oracle database are
lost.  I checked the execution of the servlet and  I
found that the servlet could not create "Statement"
class, so the sql statement could not be executed.
I suspected that the DB connection may have been
timeout. But, I found that the connection is not null.
(I am sure whether it is the right way to check it).
When it executes the "createStatement", it
throws exeception.

At 08:00 PM 3/23/99 -0800, you wrote:
>java-apache-users Digest #353 - Tuesday, March 23, 1999
>
>  RE: OK, I give up, where does "logged" text go?
>          by "Cris Perdue" <[EMAIL PROTECTED]>
>  Re: Installing JServ and Apache II
>          by "Jean-Luc Rochat" <[EMAIL PROTECTED]>
>  Re: Oracle Connection
>          by "Lam Kwok Wa, Computer Centre, HKU" <[EMAIL PROTECTED]>
>  Re: Installing JServ and Apache II
>          by "Adam H. Pendleton" <[EMAIL PROTECTED]>
>  Re: [Re: Setting up JServ as a DSO]
>          by "Paul Lynch" <[EMAIL PROTECTED]>
>  Re: [Re: Setting up JServ as a DSO]
>          by "Stephane Carrie 0144546977" <[EMAIL PROTECTED]>
>  Re: [servlets] Getting JServ-SSI compiled
>          by "Christian Mack" <[EMAIL PROTECTED]>
>  Re: problems getting JVM to run
>          by "Allan M. Wind" <[EMAIL PROTECTED]>
>  Re: [servlets] Oracle Connection
>          by "Christian Mack" <[EMAIL PROTECTED]>
>  Re: [servlets] Oracle Connection
>          by "Adam Gifford" <[EMAIL PROTECTED]>
>  Re: Oracle Connection
>          by "Pierpaolo Fumagalli" <[EMAIL PROTECTED]>
>  Re: Oracle Connection
>          by "Enrico Badella" <[EMAIL PROTECTED]>
>  [jservssi] Configuration Question
>          by "Adam H. Pendleton" <[EMAIL PROTECTED]>
>  Re: Oracle Connection
>          by "Jean-Luc Rochat" <[EMAIL PROTECTED]>
>  Re: [jservssi] Configuration Question
>          by <[EMAIL PROTECTED]>
>  Re: [jservssi] Configuration Question
>          by "Adam H. Pendleton" <[EMAIL PROTECTED]>
>  Re: [jservssi] Configuration Question
>          by "Adam H. Pendleton" <[EMAIL PROTECTED]>
>  Re: [jservssi] Configuration Question
>          by "Thad Humphries" <[EMAIL PROTECTED]>
>  Re: [jservssi] Configuration Question
>          by <[EMAIL PROTECTED]>
>  setting the X11 windows DISPLAY
>          by "Thad Humphries" <[EMAIL PROTECTED]>
>  Re: [Re: [Re: Setting up JServ as a DSO]]
>          by "Paul Lynch" <[EMAIL PROTECTED]>
>  Re: [Re: [Re: Setting up JServ as a DSO]]
>          by "jon *" <[EMAIL PROTECTED]>
>  JDBC and JServ
>          by "Matt Choate" <[EMAIL PROTECTED]>
>  Weird delays.
>          by "Wygand, Robert" <[EMAIL PROTECTED]>
>  Re: setting the X11 windows DISPLAY
>          by "Adam Gifford" <[EMAIL PROTECTED]>
>  Re: JDBC and JServ
>          by "Frank" <[EMAIL PROTECTED]>
>  RE: JDBC and JServ
>          by "Matt Choate" <[EMAIL PROTECTED]>
>  Re: JDBC and JServ
>          by "jon *" <[EMAIL PROTECTED]>
>  Re: Setting up JServ as a DSO
>          by "Paul Lynch" <[EMAIL PROTECTED]>
>  Re: Setting up JServ as a DSO
>          by "jon *" <[EMAIL PROTECTED]>
>  HTML Form
>          by "Anil Amarakoon" <[EMAIL PROTECTED]>
>  File access
>          by "John Brecht" <[EMAIL PROTECTED]>
>  Servlets Alias -- Help !
>          by "Hu, Meng P (Meng Pei)" <[EMAIL PROTECTED]>
>  Re: File access
>          by "jon *" <[EMAIL PROTECTED]>
>  Re: File access
>          by <[EMAIL PROTECTED]>
>  Re: Weird delays.
>          by "Matt Feiszli" <[EMAIL PROTECTED]>
>  Re: HTML Form
>          by "Damian Fauth" <[EMAIL PROTECTED]>
>  Do I understand correctly?
>          by "Horace A. (Kicker) Vallas" <[EMAIL PROTECTED]>
>  Re: File access
>          by "John Brecht" <[EMAIL PROTECTED]>
>  Re: File access
>          by "Serge Knystautas" <[EMAIL PROTECTED]>
>  Re: File access
>          by "John Brecht" <[EMAIL PROTECTED]>
>  Re: File access
>          by "John Brecht" <[EMAIL PROTECTED]>
>  Re: File access
>          by "John Brecht" <[EMAIL PROTECTED]>
>  Re: File access - solved
>          by "John Brecht" <[EMAIL PROTECTED]>
>
>
>----------------------------------------------------------------------
>
>Subject: RE: OK, I give up, where does "logged" text go?
>From: Cris Perdue <[EMAIL PROTECTED]>
>Date: Mon, 22 Mar 1999 20:44:58 -0800
>
>Perhaps this was implicit in the discussion, but if you use "manual
>mode", "logged" output reliably goes to standard output, which you, the
>sysadmin, direct wherever you want.
>
>I just installed JServ0.9.12 today, and for some reason with my new
>setup, certain logged messages at least are finding their way into my
>Apache error_log.  It never happened for me before. ;-)
>--
>Cris Perdue
>Impact Online, Inc.
>http://www.volunteermatch.org
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: Installing JServ and Apache II
>From: Jean-Luc Rochat <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 11:26:49 +0100
>
>Hi,
>
>add a line like this in src/Configuration.tmpl
>
>AddModule modules/jserv/mod_jserv.o
>
>Hope this helps
>
>Jean-Luc
>
>
>"Adam H. Pendleton" wrote:
>
>> JServ 1.0b3
>> Apache 1.3.4
>> OS: Redhat 5.2, Linux 2.2.1
>>
>> I am trying to statically compile mod_jserv in with my Apache source =
>code,
>> and I am following all the instructions provided by the INSTALL docs for
>> both servers, and everything seems to go well when I compile, but when i =
>run
>> the server I get this error:
>>
>> Cannot add module via name 'mod_jserv': not in list of loaded modules
>>
>> Doing a `find` for mod_jserv turns up nothing.
>>
>> what did i do wrong?
>>
>> Adam
>>
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>
>----------------------------------------------------------------------
>
>Subject: Re: Oracle Connection
>From: "Lam Kwok Wa, Computer Centre, HKU" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 20:06:11 HKT-8
>
>Dear all,
>
>My apache server 1.3.3 and Jserv 0.9.11.
>I got a problem with the jdbc connection to Oracle.
>My servlet connects to Oracle databases via JDBC
>> >(type 4).  When the page generated by the servlet
>is loaded for the first time, it works properly even
>it is reloaded again.
>But, After 10 mins time, if the page is reloaded again,
>part of data retrieved from the Oracle database are
>lost.  I checked the execution of the servlet and  I
>found that the servlet could not create "Statement"
>class, so the sql statement could not be executed.
>I suspected that the DB connection may have been
>timeout. But, I found that the connection is not null.
>(I am sure whether it is the right way to check it).
>When it executes the "createStatement", it
>throws exeception.
>
>Please let me know if you can give me some suggestion
>to fix it. Thanks
>
>Eric
>
>----------------------------------------------------------------------
>
>Subject: Re: Installing JServ and Apache II
>From: "Adam H. Pendleton" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 07:23:58 -0500
>
>As it turns out the culprit here was the two options I was using to
>configure Apache:
>
> --enable-module=3Dmost \
> --enable-shared=3Dmax
>
>For some reason that prevented mod_jserv from being compiled and included.
>
>Adam
>
>----- Original Message -----
>From: Jean-Luc Rochat <[EMAIL PROTECTED]>
>To: Java Apache Users <[EMAIL PROTECTED]>
>Sent: Tuesday, March 23, 1999 5:26 AM
>Subject: Re: Installing JServ and Apache II
>
>
>> Hi,
>>
>> add a line like this in src/Configuration.tmpl
>>
>> AddModule modules/jserv/mod_jserv.o
>>
>> Hope this helps
>>
>> Jean-Luc
>>
>>
>> "Adam H. Pendleton" wrote:
>>
>> > JServ 1.0b3
>> > Apache 1.3.4
>> > OS: Redhat 5.2, Linux 2.2.1
>> >
>> > I am trying to statically compile mod_jserv in with my Apache source
>code,
>> > and I am following all the instructions provided by the INSTALL docs =
>for
>> > both servers, and everything seems to go well when I compile, but when =
>i
>run
>> > the server I get this error:
>> >
>> > Cannot add module via name 'mod_jserv': not in list of loaded modules
>> >
>> > Doing a `find` for mod_jserv turns up nothing.
>> >
>> > what did i do wrong?
>> >
>> > Adam
>> >
>> > ----------------------------------------------------------------
>> > To subscribe:        [EMAIL PROTECTED]
>> > To unsubscribe:      [EMAIL PROTECTED]
>> > Archives and Other:  <http://java.apache.org/main/mail.html/>
>> > Problems?:           [EMAIL PROTECTED]
>>
>>
>>
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [Re: Setting up JServ as a DSO]
>From: Paul Lynch <[EMAIL PROTECTED]>
>Date: 23 Mar 99 07:46:28 EST
>
>"jon *" <[EMAIL PROTECTED]> wrote:
>> > --prefix=3D/proj/ftrs/3rdparty/apache_1.3.4
>> =
>
>> >    ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache
>> =
>
>> shouldn't that be:
>> =
>
>> >    ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache_1.3=
>=2E4
>> =
>
>
>I should have mentioned that "apache" is a soft-link to apache_1.3.4. =
>
>However, just to make sure that isn't the problem, I re-ran configure
>as:
>=2E/configure --with-apache-install=3D/proj/ftrs/3rdparty/apache_1.3.4
>  --prefix=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3
>
>and got the same error.  For reference, here's my orignal message again:
>
>
>  I'm attemping to configure Apache for DSO support, and to set up JServ =
>
>  as a DSO, and I'm having trouble. I am using the following: =
>
>  Apache: 1.3.4 =
>
>  JServ: 1.0 beta 3 =
>
>  Operating system: Solaris 2.6 =
>
>
>  I using the following "configure" for Apache: =
>
>  ./configure --enable-rule=3DSHARED_CORE --enable-module=3Dso =
>
>  --prefix=3D/proj/ftrs/3rdparty/apache_1.3.4 =
>
>  --add-module=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3/src/c/mod_jserv.c=
> =
>
>  --enable-shared=3Djserv =
>
>
>  This worked fine, and I did a "make install", which also worked. =
>
>  I then tried to run configure for JServ, using: =
>
>  ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache =
>
>  --prefix=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3 =
>
>  but after doing several checks, it said: =
>
>  checking for Apache directory... configure: error: does not have DSO =
>
>  support =
>
>
>  What am I missing? =
>
>  --Paul =
>
>
>____________________________________________________________________
>Get free e-mail and a permanent address at http://www.netaddress.com/?N=3D=
>1
>
>----------------------------------------------------------------------
>
>Subject: Re: [Re: Setting up JServ as a DSO]
>From: Stephane =?iso-8859-1?Q?Carri=E9?= 0144546977 <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 14:26:39 +0100
>
>Hi,
>I got the same error with  1.0b1/apache 1.3.3/solaris2.5
>
> It was coming from  the program  ./bin/apxs.
>apxs uses perl and requires a recent version.  (5.003)
>
>The problem is that the install program catches
>the error and reports wrongly that apxs is not installed.
>(In fact it is right, apxs is not installed correctly.)
>I believe apache configure should check that the level
>of perl is correct.
>>
>I installed the latest perl and everything worked OK for me.
>
>St=3DE9phane.
>
>
>Paul Lynch wrote:
>
>> "jon *" <[EMAIL PROTECTED]> wrote:
>> > > --prefix=3D/proj/ftrs/3rdparty/apache_1.3.4
>> >
>> > >    ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache
>> >
>> > shouldn't that be:
>> >
>> > >    ./configure =
>--with-apache-install=3D/proj/ftrs/3rdparty/apache_1.3.4
>> >
>>
>> I should have mentioned that "apache" is a soft-link to apache_1.3.4.
>> However, just to make sure that isn't the problem, I re-ran configure
>> as:
>> ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache_1.3.4
>>   --prefix=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3
>>
>> and got the same error.  For reference, here's my orignal message again:
>>
>>   I'm attemping to configure Apache for DSO support, and to set up JServ
>>   as a DSO, and I'm having trouble. I am using the following:
>>   Apache: 1.3.4
>>   JServ: 1.0 beta 3
>>   Operating system: Solaris 2.6
>>
>>   I using the following "configure" for Apache:
>>   ./configure --enable-rule=3DSHARED_CORE --enable-module=3Dso
>>   --prefix=3D/proj/ftrs/3rdparty/apache_1.3.4
>>   =
>--add-module=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3/src/c/mod_jserv.c
>>   --enable-shared=3Djserv
>>
>>   This worked fine, and I did a "make install", which also worked.
>>   I then tried to run configure for JServ, using:
>>   ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache
>>   --prefix=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3
>>   but after doing several checks, it said:
>>   checking for Apache directory... configure: error: does not have DSO
>>   support
>>
>>   What am I missing?
>>   --Paul
>>
>> ____________________________________________________________________
>> Get free e-mail and a permanent address at =
>http://www.netaddress.com/?N=3D1
>>
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [servlets] Getting JServ-SSI compiled
>From: "Christian Mack" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 15:12:06 +0100
>
>"Adam H. Pendleton" wrote:
>> 
>> Redhat 5.2, Linux 2.2.1
>> Apache 1.3.4
>> JDK 1.2
>> JServ 1.0b3
>> 
>> I figured out the earlier problem (sorry about the useless post).  I =
>have
>> another question, though.  I have JServ installed and running. I have =
>also
>> downloaded the JSDK, although I just read somewhere that it is included =
>with
>> JDK 1.2.  Is that true?  If so, how come when I try to compile JServ-SSI =
>do
>> I get errors saying that it can't find the javax.servlet classes?  I set
>> CLASSPATH to point to the jsdk.jar file which I can see using `jar` =
>contains
>> the classes for javax.servlet, so why do I keep getting this error?
>> 
>> Adam
>
>Hi Adam
>
>JSDK is _not_ included in Java 2 (aka JDK 1.2).
>You have to get it seperate from sun.
>
>Tschau
>Christian
>
>
>----------------------------------------------------------------------
>
>Subject: Re: problems getting JVM to run
>From: "Allan M. Wind" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 09:21:03 -0500
>
>On Mon, Mar 22, 1999 at 02:00:05PM -0800, jon * wrote:
>> > Hurm.  I was all about to send you an email telling you that I did
>> > have my config nearly the same as you and as I pasted my config line,
>> >
>> > wrapper.classpath=3D/web/JSDK2.0lib/jsdk.jar
>> >
>> > I noticed I missed a "/" after JSDK2.0.   Funny how a little thing =
>like
>> > that will kill you!
>> >
>> > Anyways, thanks everyone for your help today.
>> 
>> If you have any ideas of how to make the configuration easier (or you =
>would
>> like to write a nice GUI for configuration), please let us know.
>
>If we could catch more config problems when parsing the config file,
>it would be much easier to track down the problem.  How often are we
>parsing the config file - once? per vm? or worse?
>
>It would be nice to have a "config" object and let it contain all
>options. Config options could easily be re-read at run-time assuming
>that other code relies only on a reference to the config object.
>Might not be the fastest thing in the world though...
>
>
>/Allan
>-- 
>Allan M. Wind                  mailto:[EMAIL PROTECTED]
>Manager Information Systems    phone: 781.359.9791 (general)
>Integration Associates, Inc.   phone: 781.273.0195 ext. 205 (direct)
>55 Cambridge Street, Suite 301 fax:   781.359.9789
>Burlington, MA  01803          http://www.sap-help.com
>
>----------------------------------------------------------------------
>
>Subject: Re: [servlets] Oracle Connection
>From: "Christian Mack" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 15:21:12 +0100
>
>"Lam Kwok Wa, Computer Centre, HKU" wrote:
>> 
>> Dear all,
>> 
>> My apache server 1.3.3 and Jserv 0.9.11.
>> I got a problem with the jdbc connection to Oracle.
>> My servlet connects to Oracle databases via JDBC
>> > >(type 4).  When the page generated by the servlet
>> is loaded for the first time, it works properly even
>> it is reloaded again.
>> But, After 10 mins time, if the page is reloaded again,
>> part of data retrieved from the Oracle database are
>> lost.  I checked the execution of the servlet and  I
>> found that the servlet could not create "Statement"
>> class, so the sql statement could not be executed.
>> I suspected that the DB connection may have been
>> timeout. But, I found that the connection is not null.
>> (I am sure whether it is the right way to check it).
>> When it executes the "createStatement", it
>> throws exeception.
>> 
>> Please let me know if you can give me some suggestion
>> to fix it. Thanks
>> 
>> Eric
>
>Hi Eric
>
>What error message do you get?
>
>I had a problem with exceeding maximum cursors, which turned out, that I =
>had to explicitly close() all ResultSets immediately after
>use.
>
>BTW:
>Checking a connection is done via:
>Connection.isClosed()
>But this isn't always correct.
>
>Tschau
>Christian
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [servlets] Oracle Connection
>From: [EMAIL PROTECTED] (Adam Gifford)
>Date: Tue, 23 Mar 1999 09:53:23 -0500
>
>Christian Mack wrote:
>
>>
>>
>> BTW:
>> Checking a connection is done via:
>> Connection.isClosed()
>> But this isn't always correct.
>>
>>
>
>instead you should perform a select 1, or other simple operation that =
>requires a response from the database. (select 1 is not a
>standard statement, it works on sybase, but may not work on all rdbms')
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: Oracle Connection
>From: Pierpaolo Fumagalli <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 15:44:20 +0100
>
>"Lam Kwok Wa, Computer Centre, HKU" wrote:
>> 
>> Dear all,
>> 
>> My apache server 1.3.3 and Jserv 0.9.11.
>> I got a problem with the jdbc connection to Oracle.
>> 
>I heard something about oracle JDBC drivers not working properly...
>Try to upgrade 'em to the latest version...
>
>       Pier
>
>-- 
>Pierpaolo Fumagalli - Java Apache Project - <http://java.apache.org/>
>E-Mail  <mailto:[EMAIL PROTECTED]>  <mailto:[EMAIL PROTECTED]>
>---------------------------------------------------------------------
>You can't call yourself a real UNIX administrator until you've edited
>a sendmail.cf file. But others can call you crazy if you attempted to
>do it twice. What about moving to something smarter?
>---------------------------------------------------------------------
>
>----------------------------------------------------------------------
>
>Subject: Re: Oracle Connection
>From: Enrico Badella <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 17:53:35 +0100
>
>Pierpaolo Fumagalli wrote:
>> 
>> "Lam Kwok Wa, Computer Centre, HKU" wrote:
>> >
>> > Dear all,
>> >
>> > My apache server 1.3.3 and Jserv 0.9.11.
>> > I got a problem with the jdbc connection to Oracle.
>> >
>> I heard something about oracle JDBC drivers not working properly...
>> Try to upgrade 'em to the latest version...
>
>I just got on the thread now, but I can confirm that Apache 1.3.4 + 
>Jserv 1.b03 + Oracle JDBC + mod_ssl  work fine. I have an application
>in production that run without problem. I'm using the Clasee 3 (I
>think) native Java jdbc from Oracle classes111.zip
>
>e.
>
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>Enrico Badella                       email:   [EMAIL PROTECTED]
>Soft*Star srl                                 [EMAIL PROTECTED]
>InterNetworking Specialists          tel:     +39-011-746092            
>Via Camburzano 9                     fax:     +39-011-746487
>10143 Torino, Italy
>
>  Wanted, for hobbist use, any type of PDP and microVAX hardware,software,
>  manuals,schematics,etc. and DEC-10 docs or manuals
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>----------------------------------------------------------------------
>
>Subject: [jservssi] Configuration Question
>From: "Adam H. Pendleton" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 12:24:57 -0500
>
>Redhat 5.2, Linux 2.2.1
>Apache 1.3.4 + ssl
>JServ 1.0b3
>
>I have been trying to get JServ SSI to work with my setup, but I haven't
>quite got it right.  I got the JServSSI jar file made, and I've created a
>servlets zone.  All that works right.  I have added "AddType" and
>"AddHandler" statements for .jhtml files in both the Apache conf and JServ
>conf files but nothing I do seems to work.  I either get a 404 error, a =
>500
>error, or the connection times out.  My question is what is the proper
>configuration for the .jhtml setup?  Do I put the AddHandler statement =
>into
>my httpd.conf file and not into jserv.conf, do I put it both places?  The
>.jar file is included in the source path, but I get this 404 error when I
>try to get the .jhtml file "(ERROR) ajp11: Servlet Error:
>ClassNotFoundException: org.apache.ssi.SSIServlet".  Do I need to move the
>.jar file into the servlets directory?  Or do I have a different
>configuration error?
>
>Adam Pendleton
>
>
>----------------------------------------------------------------------
>
>Subject: Re: Oracle Connection
>From: Jean-Luc Rochat <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 18:38:05 +0100
>
>
>
>Enrico Badella wrote:
>
>> I just got on the thread now, but I can confirm that Apache 1.3.4 +
>> Jserv 1.b03 + Oracle JDBC + mod_ssl  work fine. I have an application
>> in production that run without problem. I'm using the Clasee 3 (I
>> think) native Java jdbc from Oracle classes111.zip
>>
>
>Type 4 for this one.
>
>Jean-Luc
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [jservssi] Configuration Question
>From: [EMAIL PROTECTED]
>Date: Tue, 23 Mar 1999 18:59:07
>
>In <002c01be7552$12b718f0$[EMAIL PROTECTED]>, on 03/23/99 
>   at 12:24 PM, "Adam H. Pendleton" <[EMAIL PROTECTED]> said:
>
>Hi !
>
>>both places?  The ..jar file is included in the source path, but I get
>>this 404 error when I try to get the .jhtml file "(ERROR) ajp11: Servlet
>>Error: ClassNotFoundException: org.apache.ssi.SSIServlet".  Do I need to =
>move
>>the ..jar file into the servlets directory?  Or do I have a different
>>configuration error?
>
>I had this problem today too...and I found that such a class doesn't exist =
>in the jar file...I had a look at the contents of the jar file (jar -xvf =
>..) and put in the appropiate class...
>
>At least the class is found yet...the only problem that remains is a =
>problem to connect to the port...
>
>   See ya
>    Udo
>----------------------------------------------------------
>Email:        [EMAIL PROTECTED]
>WWW-Pages:
>Programming pages: http://www.bielefeld.netsurf.de/~u_mueller/program.html
>Travel pages:         =
>http://www.crosswinds.net/bielefeld/~sicota/index.html
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [jservssi] Configuration Question
>From: "Adam H. Pendleton" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 13:09:18 -0500
>
>Where do I find that .class file?  There isn't a SSIServlet.java file.  =
>Did
>I get a bad copy of the JServSSI distribution?
>
>TIA,
>Adam
>
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: Java Apache Users <[EMAIL PROTECTED]>
>Cc: Adam H. Pendleton <[EMAIL PROTECTED]>
>Sent: Tuesday, March 23, 1999 18:59
>Subject: Re: [jservssi] Configuration Question
>
>
>> In <002c01be7552$12b718f0$[EMAIL PROTECTED]>, on 03/23/99
>>    at 12:24 PM, "Adam H. Pendleton" <[EMAIL PROTECTED]> said:
>>
>> Hi !
>>
>> >both places?  The ..jar file is included in the source path, but I get
>> >this 404 error when I try to get the .jhtml file "(ERROR) ajp11: =
>Servlet
>> >Error: ClassNotFoundException: org.apache.ssi.SSIServlet".  Do I need =
>to
>move
>> >the ..jar file into the servlets directory?  Or do I have a different
>> >configuration error?
>>
>> I had this problem today too...and I found that such a class doesn't =
>exist
>in the jar file...I had a look at the contents of the jar file (jar -xvf
>...) and put in the appropiate class...
>>
>> At least the class is found yet...the only problem that remains is a
>problem to connect to the port...
>>
>>    See ya
>>     Udo
>> ----------------------------------------------------------
>> Email:        [EMAIL PROTECTED]
>> WWW-Pages:
>> Programming pages: =
>http://www.bielefeld.netsurf.de/~u_mueller/program.html
>> Travel pages:
>http://www.crosswinds.net/bielefeld/~sicota/index.html
>>
>>
>>
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [jservssi] Configuration Question
>From: "Adam H. Pendleton" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 13:12:53 -0500
>
>Sorry to bother you with this.  I figured out what it was.  In the
>jserv.conf file the name of the class is org.apache.ssi.SSIServlet, but
>JServSSI uses org.apache.jservssi.JServSSI class.  I changed the name in =
>the
>jserv.conf file and it works now. Thanks for your help.
>
>Adam
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: Java Apache Users <[EMAIL PROTECTED]>
>Cc: Adam H. Pendleton <[EMAIL PROTECTED]>
>Sent: Tuesday, March 23, 1999 18:59
>Subject: Re: [jservssi] Configuration Question
>
>
>> In <002c01be7552$12b718f0$[EMAIL PROTECTED]>, on 03/23/99
>>    at 12:24 PM, "Adam H. Pendleton" <[EMAIL PROTECTED]> said:
>>
>> Hi !
>>
>> >both places?  The ..jar file is included in the source path, but I get
>> >this 404 error when I try to get the .jhtml file "(ERROR) ajp11: =
>Servlet
>> >Error: ClassNotFoundException: org.apache.ssi.SSIServlet".  Do I need =
>to
>move
>> >the ..jar file into the servlets directory?  Or do I have a different
>> >configuration error?
>>
>> I had this problem today too...and I found that such a class doesn't =
>exist
>in the jar file...I had a look at the contents of the jar file (jar -xvf
>...) and put in the appropiate class...
>>
>> At least the class is found yet...the only problem that remains is a
>problem to connect to the port...
>>
>>    See ya
>>     Udo
>> ----------------------------------------------------------
>> Email:        [EMAIL PROTECTED]
>> WWW-Pages:
>> Programming pages: =
>http://www.bielefeld.netsurf.de/~u_mueller/program.html
>> Travel pages:
>http://www.crosswinds.net/bielefeld/~sicota/index.html
>>
>>
>>
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [jservssi] Configuration Question
>From: Thad Humphries <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 12:59:56 -0500
>
>>Redhat 5.2, Linux 2.2.1
>>Apache 1.3.4 + ssl
>>JServ 1.0b3
>>
>>I have been trying to get JServ SSI to work with my setup, but I haven't
>>quite got it right.  I got the JServSSI jar file made, and I've created a
>>servlets zone.  All that works right.  I have added "AddType" and
>>"AddHandler" statements for .jhtml files in both the Apache conf and =
>JServ
>>conf files but nothing I do seems to work.  I either get a 404 error, a =
>500
>>error, or the connection times out.  My question is what is the proper
>>configuration for the .jhtml setup?  Do I put the AddHandler statement =
>into
>>my httpd.conf file and not into jserv.conf, do I put it both places?  The
>>.jar file is included in the source path, but I get this 404 error when I
>>try to get the .jhtml file "(ERROR) ajp11: Servlet Error:
>>ClassNotFoundException: org.apache.ssi.SSIServlet".  Do I need to move =
>the
>>.jar file into the servlets directory?  Or do I have a different
>>configuration error?
>
>I did this just days ago.  Maybe what I did will help.
>
>In jserv.conf, I added
>
>       ApJServAction .jhtml /servlet/org.apache.jservssi.JServSSI
>
>to point to my servlet zone.
>
>In jserv.properties, I added
>
>       wrapper.classpath=3D/usr/local/Apache-JServ-SSI/src/ApacheJServSSI.jar
>
>to add ApacheJServSSI to my classpath.
>
>I've tried that with Example 2-4 from Jason Hunter's book.  The =
>times.jhtml
>runs from a directory that does *not* have SSI privelages.  That *might* =
>be
>a bug.  Also, I get a NullExceptionPointer on the first <SERVLET> tag
>though I modified Hunter's code:
>
>From:
>
>    String zone =3D req.getParameter("zone");
>    if (zone !=3D null) {
>      TimeZone tz =3D TimeZone.getTimeZone(zone);
>      df.setTimeZone(tz);
>    }
>
>To:
>
>    String zone =3D req.getParameter("zone");
>    TimeZone tz;
>    if (zone !=3D null) {
>      tz =3D TimeZone.getTimeZone(zone);
>    }
>    else {
>      tz =3D TimeZone.getDefault();
>    }
>
>Finally, I see no signs of the "Known Bug" cited in the JServSSI docs:
>"Currently, the parameters set for the first servlet on a page will still
>be set in the next servlet."
>
>
>--------------------------------------------------------------------------
>Thad Humphries                       "'Open Systems' means no fences. And
>Software Engineer (aka, Nerd)          no fences means no need for Gates."
>Phone: 540/675-3015, ext. 225                           - Sun Microsystems
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [jservssi] Configuration Question
>From: [EMAIL PROTECTED]
>Date: Tue, 23 Mar 1999 19:13:41
>
>In <001a01be7558$46ec5da0$[EMAIL PROTECTED]>, on 03/23/99 
>   at 01:09 PM, "Adam H. Pendleton" <[EMAIL PROTECTED]> said:
>
>Hola !
>
>>Where do I find that .class file?  There isn't a SSIServlet.java file. 
>>Did I get a bad copy of the JServSSI distribution?
>
>Sorry...I should have said...put the appropriate class into the config...
>
>What I really did was to alter the name of the class which is called if a =
>jhtml file is accessed...I didn't found the class either, so I choose the =
>only one which seemed appropriate in the jar file...maybe that was =
>wrong...but it seems to be one step into the right direction...
>
>   See ya
>    Udo
>----------------------------------------------------------
>Email:        [EMAIL PROTECTED]
>WWW-Pages:
>Programming pages: http://www.bielefeld.netsurf.de/~u_mueller/program.html
>Travel pages:         =
>http://www.crosswinds.net/bielefeld/~sicota/index.html
>
>
>----------------------------------------------------------------------
>
>Subject: setting the X11 windows DISPLAY
>From: Thad Humphries <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 13:46:51 -0500
>
>I'm running JServ 1.0b3 with Apache 1.3.4 on a Sun 2.6 server.
>
>I'm trying the image generation examples in Jason Hunter's book,
>specifically Example 6-1, HelloWorldGraphics.java.  This servlet uses AWT
>and Hunter warns that you should either unset or set DISPLAY.   I have set
>my DISPLAY to :0.0, exported DISPLAY, ran xhosts +, and restarted Apache.
>But when I run my servlet, I get an internal server error and this in my
>jserv.log:
>
>[23/03/1999 13:21:37:735] (ERROR) ajp11: Servlet Error:
>java.lang.InternalError: Can't connect to X11 window server using ':0.0' =
>as
>the value of the DISPLAY variable.: Can't connect to X11 window server
>using ':0.0' as the value of the DISPLAY variable.
>[23/03/1999 13:21:37:736] (ERROR) an error returned handling request via
>protocol "ajpv11"
>
>I get the same response when I unset DISPLAY.
>
>So, who out there has done this?  How do I successfully set DISPLAY such
>that JServ can see it?
>
>--------------------------------------------------------------------------
>Thad Humphries                       "'Open Systems' means no fences. And
>Software Engineer (aka, Nerd)          no fences means no need for Gates."
>Phone: 540/675-3015, ext. 225                           - Sun Microsystems
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: [Re: [Re: Setting up JServ as a DSO]]
>From: Paul Lynch <[EMAIL PROTECTED]>
>Date: 23 Mar 99 14:55:57 EST
>
>Thank you!  The perl version was definitely part of the problem.
>We actually have perl version 5.004, but we also have a "perl5" around
>which is 5.001, and the configure script looks perl5 before it tries
>perl.  I can't blame the configure script for that, but it would be
>nice if there were a more appropriate message than "does not have DSO
>support."
>
>Now that that problem is solved, I am now having another.  The configure
>script now works okay, but when I try to run "make", I am getting
>another error.  It seems to make the shared library okay, but then
>it tries to make the static library and fails.   Here are the last few
>lines of make output, up to the error:
>
>(cd .libs && ln -s libjserv.so.0.0.0 libjserv.so.0)
>(cd .libs && ln -s libjserv.so.0.0.0 libjserv.so)
>ar cru .libs/libjserv.a
>ranlib .libs/libjserv.a
>ranlib: .libs/libjserv.a: No such file or directory
>
>The manual page for "ar" indicates that there are supposed to be a
>list of files after the archive name, so perhaps that is why "ar" fails.
>Does anyone have any suggestions?  Why is it even trying to make =
>
>a statically-linked library, when I am trying to set it up as a shared
>library?
>    --Paul
>
>Stephane Carri=E9 0144546977 <[EMAIL PROTECTED]> wrote:
>> Hi,
>> I got the same error with  1.0b1/apache 1.3.3/solaris2.5
>> =
>
>>  It was coming from  the program  ./bin/apxs.
>> apxs uses perl and requires a recent version.  (5.003)
>> =
>
>> The problem is that the install program catches
>> the error and reports wrongly that apxs is not installed.
>> (In fact it is right, apxs is not installed correctly.)
>> I believe apache configure should check that the level
>> of perl is correct.
>> >
>> I installed the latest perl and everything worked OK for me.
>> =
>
>> St=3DE9phane.
>> =
>
>> =
>
>> Paul Lynch wrote:
>> =
>
>> > "jon *" <[EMAIL PROTECTED]> wrote:
>> > > > --prefix=3D/proj/ftrs/3rdparty/apache_1.3.4
>> > >
>> > > >    ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache=
>
>> > >
>> > > shouldn't that be:
>> > >
>> > > >    ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache=
>_1.3.4
>> > >
>> >
>> > I should have mentioned that "apache" is a soft-link to apache_1.3.4.=
>
>> > However, just to make sure that isn't the problem, I re-ran configure=
>
>> > as:
>> > ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache_1.3.4
>> >   --prefix=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3
>> >
>> > and got the same error.  For reference, here's my orignal message aga=
>in:
>> >
>> >   I'm attemping to configure Apache for DSO support, and to set up JS=
>erv
>> >   as a DSO, and I'm having trouble. I am using the following:
>> >   Apache: 1.3.4
>> >   JServ: 1.0 beta 3
>> >   Operating system: Solaris 2.6
>> >
>> >   I using the following "configure" for Apache:
>> >   ./configure --enable-rule=3DSHARED_CORE --enable-module=3Dso
>> >   --prefix=3D/proj/ftrs/3rdparty/apache_1.3.4
>> >   --add-module=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3/src/c/mod_jse=
>rv.c
>> >   --enable-shared=3Djserv
>> >
>> >   This worked fine, and I did a "make install", which also worked.
>> >   I then tried to run configure for JServ, using:
>> >   ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache
>> >   --prefix=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3
>> >   but after doing several checks, it said:
>> >   checking for Apache directory... configure: error: does not have DS=
>O
>> >   support
>> >
>> >   What am I missing?
>> >   --Paul
>> >
>> > ____________________________________________________________________
>> > Get free e-mail and a permanent address at http://www.netaddress.com/=
>?N=3D1
>> >
>> > ----------------------------------------------------------------
>> > To subscribe:        [EMAIL PROTECTED]
>> > To unsubscribe:      [EMAIL PROTECTED]
>> > Archives and Other:  <http://java.apache.org/main/mail.html/>
>> > Problems?:           [EMAIL PROTECTED]
>> =
>
>> =
>
>> =
>
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>
>____________________________________________________________________
>Get free e-mail and a permanent address at http://www.netaddress.com/?N=3D=
>1
>
>----------------------------------------------------------------------
>
>Subject: Re: [Re: [Re: Setting up JServ as a DSO]]
>From: "jon *" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 12:42:42 -0800
>
>> (cd .libs && ln -s libjserv.so.0.0.0 libjserv.so.0)
>> (cd .libs && ln -s libjserv.so.0.0.0 libjserv.so)
>> ar cru .libs/libjserv.a
>> ranlib .libs/libjserv.a
>> ranlib: .libs/libjserv.a: No such file or directory
>
>start over again with your installation from the .tar files, something is
>confused. .a is for a static build and .so is for a DSO build...since
>something failed before, i think that is where the issue is.
>
>-jon
>
>
>----------------------------------------------------------------------
>
>Subject: JDBC and JServ
>From: Matt Choate <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 15:56:35 -0500
>
>I am trying to get a servlet to interact with a DB (Oracle 7.3) usng JDBC =
>on
>NT. Is there anything special I need to setup in the jserv.properties =
>file?
>I set the wrapper.classpath corretly. There is a DLL for Oracle JDBC, do I
>have to let JServ know about this or will it get picked up from my normal
>PATH settings.  Thanks in advance.
>
>Matt
>
>
>
>__________________________________________
>
>Matt Choate
>EMail: [EMAIL PROTECTED]
>Phone: (617)679-5444
>Senior Developer
>Enterprise Applications Group
>Cambridge Technology Partners
>304 Vassar Street Cambridge, MA 02139
>http://www.tiac.com/users/choate
>__________________________________________
>
>
>
>----------------------------------------------------------------------
>
>Subject: Weird delays.
>From: "Wygand, Robert" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 13:03:06 -0800
>
>Hi,
>
>I have JServ 1.0b1 installed on a linux box running Apache, and JServ =
>1.0b3
>installed on an NT machine where my servlets actually reside and execute.
>
>Quite often when I do a POST to the webserver there is a great delay =
>before
>the webserver sends a response back.  By great delay I mean 3-8 seconds.
>Since these machines are both on the same LAN and have no other =
>considerable
>load, I term the delay as great.
>
>Below I've attached a snippet of the logfile.  As you can see from the
>logfile, the servlet did not send the response headers until almost 3 full
>seconds after the doPost function exited.  This delay does not always =
>occur,
>and when it does, it does not always occur there.  I have also seen a
>similar delay between the 'Initializing servlet request' and 'Reading
>Request Data' log entries.
>
>Has anyone else experienced anything like this or have any ideas what =
>might
>be causing this?  It is my goal to scale this application to something =
>like
>10,000 concurrent users... I may be forced to abandon servlets altogether =
>if
>I can't get this delay eliminated.
>
>Thanks,
>Rob
>
>--- BEGIN LOGFILE SNIPPET ---
>[23/03/1999 12:57:08:964 PST] Connection from
>www.g2dev.thinklink.com/208.236.98.27
>[23/03/1999 12:57:08:964 PST] Initializing servlet request
>[23/03/1999 12:57:08:964 PST] Reading request data
>[23/03/1999 12:57:09:114 PST] Parsing cookies
>[23/03/1999 12:57:09:114 PST] Request is in session
>3fd991fe786bce1a.1.922222624017
>[23/03/1999 12:57:09:124 PST] Calling service()
>[23/03/1999 12:57:09:124 PST] WebApp/com.itc.webapp.WebApp: DEBUG [doPost]
>started
>[23/03/1999 12:57:09:124 PST] WebApp/com.itc.webapp.WebApp: DEBUG [doGet]
>started
>[23/03/1999 12:57:09:124 PST] WebApp/com.itc.webapp.WebApp: DEBUG
>[LogicLoginSubmit::execute] started
>[23/03/1999 12:57:09:124 PST] WebApp/com.itc.webapp.WebApp: DEBUG
>[LogicLoginSubmit::execute] authenticating
>[23/03/1999 12:57:09:134 PST] WebApp/com.itc.webapp.WebApp: DEBUG
>[LogicLoginSubmit::execute] failed authentication
>[23/03/1999 12:57:09:134 PST] WebApp/com.itc.webapp.WebApp: DEBUG
>[LogicLoginSubmit::execute] returning
>[23/03/1999 12:57:09:134 PST] WebApp/com.itc.webapp.WebApp: DEBUG [doGet]
>finished
>[23/03/1999 12:57:09:134 PST] WebApp/com.itc.webapp.WebApp: DEBUG [doPost]
>finished
>[23/03/1999 12:57:12:058 PST] Sending response headers.
>--- END LOGFILE SNIPPET ---
>
>----------------------------------------------------------------------
>
>Subject: Re: setting the X11 windows DISPLAY
>From: [EMAIL PROTECTED] (Adam Gifford)
>Date: Tue, 23 Mar 1999 16:39:52 -0500
>
>Thad Humphries wrote:
>
>> I'm running JServ 1.0b3 with Apache 1.3.4 on a Sun 2.6 server.
>>
>> I'm trying the image generation examples in Jason Hunter's book,
>> specifically Example 6-1, HelloWorldGraphics.java.  This servlet uses =
>AWT
>> and Hunter warns that you should either unset or set DISPLAY.   I have =
>set
>> my DISPLAY to :0.0, exported DISPLAY, ran xhosts +, and restarted =
>Apache.
>> But when I run my servlet, I get an internal server error and this in my
>> jserv.log:
>>
>> [23/03/1999 13:21:37:735] (ERROR) ajp11: Servlet Error:
>> java.lang.InternalError: Can't connect to X11 window server using ':0.0' =
>as
>> the value of the DISPLAY variable.: Can't connect to X11 window server
>> using ':0.0' as the value of the DISPLAY variable.
>> [23/03/1999 13:21:37:736] (ERROR) an error returned handling request via
>> protocol "ajpv11"
>>
>> I get the same response when I unset DISPLAY.
>>
>> So, who out there has done this?  How do I successfully set DISPLAY such
>> that JServ can see it?
>
>if you have a log file of a jvm crashing multiple times, jserv will give =
>up
>and dump some debugging info.  from this you can glean that the only
>environment variables set are the path and the classpath.  In order for
>display to be exported to the environment that the jvm is running in, you
>would have to set it in the same place the path & classpath are set, which =
>i
>suspect is taken care of by the binary module.  if there isn't such a
>configure option already, you might want to patch the jserv source to take =
>an
>additional configure option to define environment variables.
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: JDBC and JServ
>From: Frank <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 15:59:37 -0700
>
>Hi, Matt --
>
>I am using the MySQL JDBC on a HP-UX machine but I think the setup is
>the same. JServ only has to know where the servlet is located. The
>servlet has the information about where the JDBC driver is located;
>JServ does not care about the driver location. Put the driver path into
>the CLASSPATH.
>
>Let me know if you need help with your servlet and JDBC. Even though we
>have different systems, I may be of some help.
>
>Regards,
>Frank Goss
>Loveland Manufacturing Center
>Hewlett-Packard Company
>
>Matt Choate wrote:
>> 
>> I am trying to get a servlet to interact with a DB (Oracle 7.3) usng =
>JDBC on
>> NT. Is there anything special I need to setup in the jserv.properties =
>file?
>> I set the wrapper.classpath corretly. There is a DLL for Oracle JDBC, do =
>I
>> have to let JServ know about this or will it get picked up from my =
>normal
>> PATH settings.  Thanks in advance.
>> 
>> Matt
>> 
>> __________________________________________
>> 
>> Matt Choate
>> EMail: [EMAIL PROTECTED]
>> Phone: (617)679-5444
>> Senior Developer
>> Enterprise Applications Group
>> Cambridge Technology Partners
>> 304 Vassar Street Cambridge, MA 02139
>> http://www.tiac.com/users/choate
>> __________________________________________
>> 
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>----------------------------------------------------------------------
>
>Subject: RE: JDBC and JServ
>From: Matt Choate <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 18:05:56 -0500
>
>Thanks for the info. I figured it out FINALLY. I had to set
>
>wrapper.path=3Dc:\orant\bin
>wrapper.path=3Dc:\jdbc
>
>To let the DLLs be found when ORACLEs JDBC stuff is loaded.
>
>Matt
>
>> -----Original Message-----
>> From:        Frank [SMTP:[EMAIL PROTECTED]]
>> Sent:        Tuesday, March 23, 1999 6:00 PM
>> To:  Java Apache Users
>> Subject:     Re: JDBC and JServ
>> 
>> Hi, Matt --
>> 
>> I am using the MySQL JDBC on a HP-UX machine but I think the setup is
>> the same. JServ only has to know where the servlet is located. The
>> servlet has the information about where the JDBC driver is located;
>> JServ does not care about the driver location. Put the driver path into
>> the CLASSPATH.
>> 
>> Let me know if you need help with your servlet and JDBC. Even though we
>> have different systems, I may be of some help.
>> 
>> Regards,
>> Frank Goss
>> Loveland Manufacturing Center
>> Hewlett-Packard Company
>> 
>> Matt Choate wrote:
>> > 
>> > I am trying to get a servlet to interact with a DB (Oracle 7.3) usng
>> JDBC on
>> > NT. Is there anything special I need to setup in the jserv.properties
>> file?
>> > I set the wrapper.classpath corretly. There is a DLL for Oracle JDBC, =
>do
>> I
>> > have to let JServ know about this or will it get picked up from my
>> normal
>> > PATH settings.  Thanks in advance.
>> > 
>> > Matt
>> > 
>> > __________________________________________
>> > 
>> > Matt Choate
>> > EMail: [EMAIL PROTECTED]
>> > Phone: (617)679-5444
>> > Senior Developer
>> > Enterprise Applications Group
>> > Cambridge Technology Partners
>> > 304 Vassar Street Cambridge, MA 02139
>> > http://www.tiac.com/users/choate
>> > __________________________________________
>> > 
>> > ----------------------------------------------------------------
>> > To subscribe:        [EMAIL PROTECTED]
>> > To unsubscribe:      [EMAIL PROTECTED]
>> > Archives and Other:  <http://java.apache.org/main/mail.html/>
>> > Problems?:           [EMAIL PROTECTED]
>> 
>> 
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>----------------------------------------------------------------------
>
>Subject: Re: JDBC and JServ
>From: "jon *" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 15:11:23 -0800
>
>> Thanks for the info. I figured it out FINALLY. I had to set
>> 
>> wrapper.path=3Dc:\orant\bin
>> wrapper.path=3Dc:\jdbc
>>
>> To let the DLLs be found when ORACLEs JDBC stuff is loaded.
>
>thanks...i added it to the faq.
>
>-jon
>
>
>----------------------------------------------------------------------
>
>Subject: Re: Setting up JServ as a DSO
>From: Paul Lynch <[EMAIL PROTECTED]>
>Date: 23 Mar 99 18:15:16 EST
>
>"jon *" <[EMAIL PROTECTED]> wrote:
>> > (cd .libs && ln -s libjserv.so.0.0.0 libjserv.so.0)
>> > (cd .libs && ln -s libjserv.so.0.0.0 libjserv.so)
>> > ar cru .libs/libjserv.a
>> > ranlib .libs/libjserv.a
>> > ranlib: .libs/libjserv.a: No such file or directory
>> =
>
>> start over again with your installation from the .tar files, something =
>is
>> confused. .a is for a static build and .so is for a DSO build...since
>> something failed before, i think that is where the issue is.
>> =
>
>> -jon
>
>Okay, I deleted both my apache and jserv directories, untar'd new ones,
>and re-ran configure.  For apache I used:
>  ./configure --enable-rule=3DSHARED_CORE --enable-module=3Dso
>    --prefix=3D/proj/ftrs/3rdparty/apache_1.3.4 --with-perl=3D/depot/bin/=
>perl
>and for jserv I used:
>  ./configure --with-apache-install=3D/proj/ftrs/3rdparty/apache =
>
>    --prefix=3D/proj/ftrs/3rdparty/Apache-JServ-1.0b3
>      --with-jsdk=3D/proj/ftrs/3rdparty/jdk/jre/lib/ext/jsdk.jar
>(note that /proj/ftrs/3rdparty/apache is a link to apache_1.3.4)
>The configure scripts ran fine, but I still got the same error when I tri=
>ed
>to run make.  I there a file generated by configure that I could look
>at to help diagnose this problem?
>  --Paul
>
>____________________________________________________________________
>Get free e-mail and a permanent address at http://www.netaddress.com/?N=3D=
>1
>
>----------------------------------------------------------------------
>
>Subject: Re: Setting up JServ as a DSO
>From: "jon *" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 15:24:03 -0800
>
>> The configure scripts ran fine, but I still got the same error when I =
>tried
>> to run make.  I there a file generated by configure that I could look
>> at to help diagnose this problem?
>>   --Paul
>
>not that i know of...
>
>one question though (that unfortunately doesn't solve your problem), why =
>are
>you building for DSO? static is a much better option.
>
>-jon
>
>----------------------------------------------------------------------
>
>Subject: HTML Form
>From: Anil Amarakoon <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 17:48:08 -0600
>
>Hi All!
>
>I am using Apache 1.3.3 with JServ 1.0b1 on RedHat Linux 5.2.
>
>On my Html for I do have
>..
>Customer Number: <input type=3Dtext name=3D"cusnum" value=3D"1000">
>
>Sales Rep: <select name=3D"salesrep">
><option value=3D"10">Smith</option>
><option value=3D"20">Jones</option>
></select>
>...
>------------------------------------
>on my post java program
>
>int customerNumber =3D Integer.parseInt(request.getParameter("cusnum");
>This works fine.
>
>but
>int salesRepNumber =3D Integer.parseInt(request.getParameter("salesrep"));
>
>This creates parse Integer error on jserv.log.
>
>On
>out.print(request.getParameter("salesrep"));     returns 10.
>-----------------------------------------------
>This program compiles, but when I submit form it gives me a error. If I
>comment ->Integer.getInt(bla bla)<- for select
>fields, it goes fine.
>
>
>Can some one out there help me??
>
>Thank you
>
>Anil
>
>
>----------------------------------------------------------------------
>
>Subject: File access
>From: "John Brecht" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 18:53:20 -0500
>
>I am running Apache 1.3.3 and JServ on a Windows98 machine.  Once Apache =
>has
>been started, even after I shut it down, I cannot delete, rename, or move
>the Jar containing the class files for a client applet I am testing.  The
>system seems to think that the file is in use.  After rebooting the =
>system,
>I get access back.  Anybody have this problem?
>
>---
>John Brecht
>Department of Physics and Astronomy
>Michigan State University
>
>
>
>----------------------------------------------------------------------
>
>Subject: Servlets Alias -- Help !
>From: "Hu, Meng P (Meng Pei)" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 17:53:47 -0600
>
>I can make Servlet Alias work fine under Solaris, but not under NT. There
>must have certain configuration that I missed.
>
>Is the following configuration good enough for servlet alias ?
>zone.properties :
>servlet.session.code=3DSessionServlet
>
>I can linke to http://location/servlet/SessionServlet, but cannot link to 
>http://location/servlet/session
>
>I saw the following error in mod_jserv.log 
>[23/03/1999 22:27:51:409] (ERROR) ajp11: Servlet Error:
>ClassNotFoundException: session
>
>Please help !
>
>Thanks,
>Meng P. Hu
>
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: File access
>From: "jon *" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 16:05:35 -0800
>
>> I am running Apache 1.3.3 and JServ on a Windows98 machine.  Once Apache =
>has
>> been started, even after I shut it down, I cannot delete, rename, or =
>move
>> the Jar containing the class files for a client applet I am testing.  =
>The
>> system seems to think that the file is in use.  After rebooting the =
>system,
>> I get access back.  Anybody have this problem?
>
>are you sure that the jvm is being killed when you shut down apache?
>
>-jon
>
>
>----------------------------------------------------------------------
>
>Subject: Re: File access
>From: [EMAIL PROTECTED]
>Date: Tue, 23 Mar 1999 15:59:38 -0800
>
>John Brecht wrote:
>
>   I am running Apache 1.3.3 and JServ on a Windows98 machine.  Once =
>Apache
>   has been started, even after I shut it down, I cannot delete, rename, =
>or
>   move the Jar containing the class files for a client applet I am
>   testing.  The system seems to think that the file is in use.  After
>   rebooting the system, I get access back.  Anybody have this problem.
>
>Yes, but this has nothing to do with Apache or JServ (or, rather, it is
>tangentially related). It's a "feature" of Windoze. If the OS thinks the
>file is active, then it won't allow you to mess with it. Rebooting the
>machine clears the "in use" marker on the file. I've seen this on NT a =
>lot,
>with all sorts of programs. I can shut down every process (like a Netscape
>Server) so I can deal with a Netscape log file, and no luck. I have to
>reboot to clear the usage marker. No wonder I'm a Unix bigot....
>
>Isn't it a violation of some obsure Microsoft policy to be running server
>software on a client OS???? <just kidding>.
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: Weird delays.
>From: Matt Feiszli <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 16:27:41 -0800
>
>I've seen something like this but haven't had time to look into it.  I
>have a scenario where a servlet calls out to another process.  The
>second process returns a response, but then the servlet just sits there
>for a few seconds before sending any data out.  All communication is
>done over TCP ports on the same machine.
>
>-Matt
>
>"Wygand, Robert" wrote:
>
>> Below I've attached a snippet of the logfile.  As you can see from the
>> logfile, the servlet did not send the response headers until almost 3 =
>full
>> seconds after the doPost function exited.  This delay does not always =
>occur,
>> and when it does, it does not always occur there.  I have also seen a
>> similar delay between the 'Initializing servlet request' and 'Reading
>> Request Data' log entries.
>
>----------------------------------------------------------------------
>
>Subject: Re: HTML Form
>From: Damian Fauth <[EMAIL PROTECTED]>
>Date: Wed, 24 Mar 1999 11:23:23 +1100
>
>
>Anil Amarakoon wrote:
>> 
>> Hi All!
>> 
>> I am using Apache 1.3.3 with JServ 1.0b1 on RedHat Linux 5.2.
>> 
>> On my Html for I do have
>> ..
>> Customer Number: <input type=3Dtext name=3D"cusnum" value=3D"1000">
>> 
>> Sales Rep: <select name=3D"salesrep">
>> <option value=3D"10">Smith</option>
>> <option value=3D"20">Jones</option>
>> </select>
>> ...
>> ------------------------------------
>> on my post java program
>> 
>> int customerNumber =3D Integer.parseInt(request.getParameter("cusnum");
>> This works fine.
>> 
>> but
>> int salesRepNumber =3D =
>Integer.parseInt(request.getParameter("salesrep"));
>> 
>> This creates parse Integer error on jserv.log.
>> 
>> On
>> out.print(request.getParameter("salesrep"));     returns 10.
>> -----------------------------------------------
>> This program compiles, but when I submit form it gives me a error. If I
>> comment ->Integer.getInt(bla bla)<- for select
>> fields, it goes fine.
>
>Try instead:
>
>int salesRepNumber =3D
>Integer.parseInt(request.getParameter("salesrep").trim());
>
>Damian
>
>-- 
>Damian Fauth                     John Fairfax Holdings Ltd
>Software Engineer                        201 Sussex Street
>Ph: +61 2 9282 3528                      Sydney  NSW  2000
>Fax: +61 2 9282 2256          [EMAIL PROTECTED]
>
>----------------------------------------------------------------------
>
>Subject: Do I understand correctly?
>From: "Horace A. (Kicker) Vallas" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 18:38:26 -0600
>
>just a newbee question to make sure that I understand what's
>happening in terms of loading copies of a servlet.
>
>I have a servlet that loads certain initialization data from
>a file at initialization time (as loaded - right?) which is
>then stored in class vars.
>
>I have two zone aliases (same zone) for the same actual servlet code
>
>i.e.   servlet.tnn1.code=3DservletClass
>       servlet.tnn1.initArgs=3DrePostAddr=3Dhttp://.../servlets/tnn1
>       servlet.tnn1.initArgs=3DinitFile=3DcoefFile1
>             ... and ...
>       servlet.tnn2.code=3DservletClass
>       servlet.tnn2.initArgs=3DrePostAddr=3Dhttp://.../servlets/tnn2
>       servlet.tnn2.initArgs=3DinitFile=3DcoefFile2
>
>Now, when I access pages (1 for each of the two aliases), it looks to me 
>like there are actually two copies of the servlet code loaded - one =
>referenced
>by tnn1 and another referenced by tnn2. (I used different initFile =
>contents
>and see the expected (different) results both on the first access to each
>servlet alias and on successive rePosts of each servlet alias.
>
>I just want to make sure that this is the expected result (one loaded
>copy of the servlet for EACH alias of that class in a single zone)
>for servlet engines in general - or only for Jserv.
>
>OR is this perhaps some odd situation occurring on my server only?
>
>--
>ooba ooba,
>Horace                             ...once known as "Kicker" :-)
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>Horace Vallas    hav.Software                http://www.hav.com/     
>                 P.O. Box 354                        [EMAIL PROTECTED]
>                 Richmond, Tx.  77406-0354        (281) 341-5035 
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>...drop by and chat if I'm online       http://www.hav.com/chat/      
>=3D=3D=3D   =3D=3D=3D   =3D=3D=3D   =3D=3D=3D   =3D=3D=3D   =3D=3D=3D   =
>=3D=3D=3D   =3D=3D=3D   =3D=3D=3D   =3D=3D=3D   =3D=3D=3D=3D
>The probability of life originating from accident is comparable 
>to the probability of the Unabridged Dictionary resulting from 
>an explosion in a printing factory.   - Prof. Edwin Conklin
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>----------------------------------------------------------------------
>
>Subject: Re: File access
>From: "John Brecht" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 20:27:50 -0500
>
>>
>>  I noticed that unless I stop the server with the command
>>
>> net stop apache
>>
>> there would be a java.exe process running (I assus it is the JServ =
>servlet
>>itself) still. I had to manually kill this process. Or if you are using =
>IE
>>as the applet client it might be holding that jar in memory.
>>
>
>Do you know what the equivalent of the kind of shutdown would be on
>Windows98?  The command I use right now is:
>apache -k shutdown
>
>
>----------------------------------------------------------------------
>
>Subject: Re: File access
>From: "Serge Knystautas" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 20:28:54 -0500
>
>I'll second jon's suspicions.  I've had the same experience where I
>wanted to delete the log files but couldn't.  The trick was to shut down
>the JVM.  Either Ctrl-Alt-Del and look for the Java process and "End
>Task", or just shut down apache properly (not the Ctrl-C method I think
>most window's users use).
>
>I'll add this to the FAQ. :)
>
>Serge
>
>jon * wrote:
>> 
>> > I am running Apache 1.3.3 and JServ on a Windows98 machine.  Once =
>Apache has
>> > been started, even after I shut it down, I cannot delete, rename, or =
>move
>> > the Jar containing the class files for a client applet I am testing.  =
>The
>> > system seems to think that the file is in use.  After rebooting the =
>system,
>> > I get access back.  Anybody have this problem?
>> 
>> are you sure that the jvm is being killed when you shut down apache?
>> 
>> -jon
>> 
>> ----------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Archives and Other:  <http://java.apache.org/main/mail.html/>
>> Problems?:           [EMAIL PROTECTED]
>
>----------------------------------------------------------------------
>
>Subject: Re: File access
>From: "John Brecht" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 20:34:36 -0500
>
>>
>>are you sure that the jvm is being killed when you shut down apache?
>>
>>-jon
>
>How can I ensure that?  There is a program called "Java" that shows up in
>the task manager when I start Apache/JServ, but it goes away when I quit =
>it.
>I assume that's the JVM...
>
>Also, I CAN delete or rename my SERVLET class file.  Does the fact that =
>the
>file that get's "stuck" is a JAR make any difference here?
>
>
>john
>
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: File access
>From: "John Brecht" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 20:36:48 -0500
>
>
>
>>John Brecht wrote:
>>
>>   I am running Apache 1.3.3 and JServ on a Windows98 machine.  Once =
>Apache
>>   has been started, even after I shut it down, I cannot delete, rename, =
>or
>>   move the Jar containing the class files for a client applet I am
>>   testing.  The system seems to think that the file is in use.  After
>>   rebooting the system, I get access back.  Anybody have this problem.
>>
>>Yes, but this has nothing to do with Apache or JServ (or, rather, it is
>>tangentially related). It's a "feature" of Windoze. If the OS thinks the
>>file is active, then it won't allow you to mess with it. Rebooting the
>>machine clears the "in use" marker on the file. I've seen this on NT a =
>lot,
>>with all sorts of programs. I can shut down every process (like a =
>Netscape
>>Server) so I can deal with a Netscape log file, and no luck. I have to
>>reboot to clear the usage marker. No wonder I'm a Unix bigot....
>>
>>Isn't it a violation of some obsure Microsoft policy to be running server
>>software on a client OS???? <just kidding>.
>>
>
>Well, I've run a whole bunch of Java applets and applications over the =
>past
>few years on various Windows machines, and this has never happened.
>
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: File access
>From: "John Brecht" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 20:48:50 -0500
>
>OK, it looks like it's the Java Plugin that's not stopping.  When I try to
>run other applets locally that cause the plug-in to activate, they hang.
>That explains why my servlet class file was alterable, since it didn't use
>the plugin, but the client classes do.  So, the question is, what causes =
>the
>Java plug-in to decide to kill itself and why is that being prevented in
>this case?
>
>>
>>>John Brecht wrote:
>>>
>>>   I am running Apache 1.3.3 and JServ on a Windows98 machine.  Once
>Apache
>>>   has been started, even after I shut it down, I cannot delete, rename,
>or
>>>   move the Jar containing the class files for a client applet I am
>>>   testing.  The system seems to think that the file is in use.  After
>>>   rebooting the system, I get access back.  Anybody have this problem?
>
>
>
>----------------------------------------------------------------------
>
>Subject: Re: File access - solved
>From: "John Brecht" <[EMAIL PROTECTED]>
>Date: Tue, 23 Mar 1999 21:20:44 -0500
>
>OK
>
>Sorry I wasted everybody's time there.  What was happening was that I was
>running the applet locally, as opposed to actually through the server.
>(i.e. the URL started with "file://"  instead of "http://")  There was a
>thread (that happens to periodically query the server) that didn't die =
>when
>the browser died becuase the applet was local.  When I run the applet by
>using it's URL, then the Thread does die when the browser does.
>
>I convinced myself that it had to be a server problem basically because =
>I'm
>amazed I actually got it to run and process servlets at all.
>
>---
>John Brecht
>Department of Physics and Astronomy
>Michigan State University
>
>
>
>----------------------------------------------------------------------
>End of java-apache-users Digest
>
>
>----------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html/>
>Problems?:           [EMAIL PROTECTED]
>
>====================================================
= Reid M. Pinchback                                =
= I/T Delivery, MIT                                =
=                                                  =
= Email:   [EMAIL PROTECTED]                          =
= URL:     http://mit.edu/reidmp/www/home.html     =
====================================================



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to