You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Carlos López M." <cl...@grupounika.com.mx> on 2001/03/06 21:35:40 UTC
Connection Pooling
Hi I want to implement conection pooling with jsp.
I have alreary read something about it. I khow i could make a servlet a load
it on startup but to be honest i dont have a clue about where to find info
on this.
Could anybody point me in a right direction, and where can i find examples.
I have Apache, Tomcat, and Sybase Runing already.
Thanks
RE: Connection Pooling
Posted by "Carlos López M." <cl...@grupounika.com.mx>.
Thanks a lot I would go there and se what I could find
-----Mensaje original-----
De: Ryan [mailto:rcdetert@ucdavis.edu]
Enviado el: Martes, 06 de Marzo de 2001 02:55 p.m.
Para: tomcat-user@jakarta.apache.org
Asunto: Re: Connection Pooling
go here: http://www.webdevelopersjournal.com/columns/connection_pool.html
and also look up threads and singleton patterns at www.javasoft.com
-ryan
----- Original Message -----
From: "Carlos López M." <cl...@grupounika.com.mx>
To: "Tomcat-User" <to...@jakarta.apache.org>
Sent: Tuesday, March 06, 2001 12:35 PM
Subject: Connection Pooling
> Hi I want to implement conection pooling with jsp.
>
> I have alreary read something about it. I khow i could make a servlet a
load
> it on startup but to be honest i dont have a clue about where to find info
> on this.
>
> Could anybody point me in a right direction, and where can i find
examples.
>
> I have Apache, Tomcat, and Sybase Runing already.
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org
Re: Connection Pooling
Posted by Ryan <rc...@ucdavis.edu>.
go here: http://www.webdevelopersjournal.com/columns/connection_pool.html
and also look up threads and singleton patterns at www.javasoft.com
-ryan
----- Original Message -----
From: "Carlos López M." <cl...@grupounika.com.mx>
To: "Tomcat-User" <to...@jakarta.apache.org>
Sent: Tuesday, March 06, 2001 12:35 PM
Subject: Connection Pooling
> Hi I want to implement conection pooling with jsp.
>
> I have alreary read something about it. I khow i could make a servlet a
load
> it on startup but to be honest i dont have a clue about where to find info
> on this.
>
> Could anybody point me in a right direction, and where can i find
examples.
>
> I have Apache, Tomcat, and Sybase Runing already.
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
>
Include files in Tomcat and Apache
Posted by Abdullah <ab...@oilgrains.com>.
> hi ,
I have apache 1.3.14 ( with Jserv) and Tomcat 3.2.1 running in the same machne
on linux.
All the html and images are in apache,
All the Jsp and Servlets are in tomcat
Here i have one problem .
I have a jsp called login.jsp which has an include statement like
<%@ include file="http://127.0.0.1/static/msFoot1.html" %>
or
<%@ include file="http://abdullah/static/msFoot1.html" %>
when i call this login.jsp , i am getting the following exception
Internal Servlet Error:
org.apache.jasper.compiler.CompileException:
/usr/local/jakarta-tomcat-3.2.1/webapps/Oilgrains/jsp/ login.jsp(9,0) Bad file
argument to include
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at javax.servlet.ServletException.(ServletException.java:107)
at org.apache.jasper.JasperException.(JasperException.java:73)
at org.apache.jasper.compiler.CompileException.(CompileException.java:73)
at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:730)
at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:498)
please ,anyone can help me?
Thanks
Abdullah
Re: Connection Pooling
Posted by Sebastian Schulz <se...@sebastian-schulz.com>.
hi,
take a look at PoolMan, its
a nice generic implementation for
datasources, special for jdbc-derived ones
like Connections.
the url is:
http://poolman.sourceforge.net/
by the way: this implementaion was mentioned
in the very helpful book: 'Profession JSP' from wrox
bAs T.
"Carlos López M." wrote:
> Hi I want to implement conection pooling with jsp.
>
> I have alreary read something about it. I khow i could make a servlet a load
> it on startup but to be honest i dont have a clue about where to find info
> on this.
>
> Could anybody point me in a right direction, and where can i find examples.
>
> I have Apache, Tomcat, and Sybase Runing already.
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org