----------------------------------------------------------------
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.
//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]