----------------------------------------------------------------
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!
On the road right now ...but
Did You ever try to use the pool with jserv *before* your changes to
the pool?
//OLAS
PS. I found out that we actually using the KM pool in production. And it works
great.
"G. Jesse Kuhnert" skrev:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Thanks for the reply's everyone. Ola, regarding Karl Moss's DB-pooling
> system. I have changed the code to use only getContext() instead of the
> getServlet() methods, as documented in the book. What pooling-system are
> you guys using? And, how did you get Karl Moss's system to work with Apache?
> I am at the end of a lengthy project, and have just now discovered all of
> these problems, which means that I won't have enough time to integrate
> another pooling-system. Too bad for me I guess, is there any chance you
> could send me any hints on getting it to work on Apache?
>
> Jesse
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Ola Samuelson" <[EMAIL PROTECTED]>
> To: "Java Apache Users" <[EMAIL PROTECTED]>
> Sent: Thursday, March 09, 2000 11:55 AM
> Subject: Re: Connection-Pooling
>
> > ----------------------------------------------------------------
> > 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!
> > We HAD Karl Moss pool working perfectly, but as someone(from Apache group)
> > pointed out:
> > the methods you have to use with this pool to get the connection:
> getservlet
> > context etc
> > are all depreceated and it is not likely that they will work with future
> servlet
> > engines.
> >
> > What You should take a look at is a singleton based pool such as the one
> in
> > turbine project.
> > file://OLAS
> >
> >
> > "G. Jesse Kuhnert" skrev:
> >
> > > ----------------------------------------------------------------
> > > 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!!!
> > > ----------------------------------------------------------------
> > >
> > > Hello All,
> > >
> > > I have been having a very hard time integrating Karl Moss's
> > > Connection-Pooling servlet into my Apache setup, and was wondering if
> anyone
> > > had any suggestions. Here are my specs:
> > >
> > > 1. Windows 98
> > > 2. Latest Apache web-server release (1.3.something)
> > > 3. JServe 1.1
> > > 4. MySQL
> > >
> > > I have been using Karl Mosses ConnectionPooling servlet successfully
> while I
> > > was developing using JRun Pro, but when I tried to move it over to
> JServe,
> > > it doesn't seem to work correctly anymore.
> > >
> > > Steps taken:
> > >
> > > I edited the zone.properties file under my servlets directory and added
> the
> > > line:
> > >
> > > servlet.startup=ConnectionServlet
> > >
> > > Results:
> > >
> > > Everything appears to be running fine at first, no errors and such, but
> if I
> > > make a request to any servlet(even the "IsItWorking" demo) it is all
> frozen.
> > > I can see that the servlet has made the initial pool of connections
> under
> > > MySQL by running the "mysqladmin processlist" command, but the
> > > servlet-engine appears to be frozen for any requests.
> > >
> > > Error Log(apache/logs/error.log):
> > >
> > > Wed Mar 08 21:19:02 2000] [error] [client 127.0.0.1] client denied by
> server
> > > configuration: c:/program files/apache group/apache/htdocs/jserv
> > >
> > > [Wed Mar 08 22:06:02 2000] [error] [client 127.0.0.1] File does not
> exist:
> > > c:/program files/apache group/apache/htdocs/jserv
> > >
> > > When I leave out the "servlet.startup=ConnectionServlet" line, the
> > > "IsItWorking" servlet works just fine, but after I include it, it of
> course
> > > freezes up again.
> > >
> > > Can anyone reccomend another connection-pooling system, or what I might
> be
> > > doing wrong here? I can provide the source-code if needed, or it can be
> > > downloaded from www.servletguru.com. Any help would of course be greatly
> > > appreciated.
> > >
> > > Jesse Kuhnert
> > > [EMAIL PROTECTED]
> > >
> > > --
> > > --------------------------------------------------------------
> > > Please read the FAQ! <http://java.apache.org/faq/>
> > > To subscribe: [EMAIL PROTECTED]
> > > To unsubscribe: [EMAIL PROTECTED]
> > > Archives and Other: <http://java.apache.org/main/mail.html>
> > > Problems?: [EMAIL PROTECTED]
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Archives and Other: <http://java.apache.org/main/mail.html>
> > Problems?: [EMAIL PROTECTED]
> >
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]