Re: DataSource Casting Problem

2002-07-15 Thread anthony.dodd
You may find that there are multiple occurences of various classes and interfaces in your classpath e.g. javax.sql, these cause a ClassCastException to be thrown when trying to narrow a jndi context. Tony - Original Message - From: "Maier Holger, ITS-AKIS" <[EMAIL PROTECTED]> To: "'Tomca

RE: DataSource Access - Design Question

2002-07-15 Thread Jacob Hookom
Maier Holger wrote: Wouldn't it be better to read the data source once in a singleton class and then just get it back, i.e. I did the same thing with my application where I did a key/value storage object that was a singleton in my ServletContext. I did notice a slight speed improvement and I've

RE: DataSource Casting Problem

2002-07-11 Thread Meichun Li
I am using Tomcat 4.0.1 and JDK 1.3. I changed the server.xml as you said and get the error message as followed. But I have no idea what it is. What should I do if there is a class load issue? Thanks! -Meichun --- org.apache.jasper.JasperException: Unable to compile class for JSP

RE: DataSource Casting Problem

2002-07-11 Thread Andrew Conrad
If the jdbc2_0-stdext.jar is in the common/lib and no where else, and you can't see it from your JSP code, you have a class loading issue that probably relates to your problem. What version of TC? JDK? With TC 4.1.x (maybe older versions too...) you can see the class loading structure by tu

Re: DataSource from JNDI always null

2002-04-23 Thread James Williamson
Cynthia, Please find a snip of a mail I wrote a while ago about this problem: due to how the WarpConnector is configured it doesn't find your original deployed webapp (Context) with all the resources you've specified but it realises it needs a webapp (Context) so it creates a new one (Context)

Re: DataSource from JNDI always null

2002-04-23 Thread bm
Hi Anyone is successful in doing this combination so far windows2000 + apache 2.0.35 + tomcat 4.0.3 + SSL ( open + mod) Since apache is saying 2.0.35 is the most stable one on windows Reg bm Cynthia Jeness wrote: > I have also experienced 1. below. Does anyone know of there is any resolutio

Re: DataSource from JNDI always null

2002-04-23 Thread Cynthia Jeness
I have also experienced 1. below. Does anyone know of there is any resolution? We are temporarily running servlets which use this through Tomcat directly. Cynthia Jeness "Clearwater, Pete" wrote: > Hi Nick. > > I had similar problems, and have found out a couple of things: > > 1. I could no

RE: DataSource from JNDI always null

2002-04-23 Thread Clearwater, Pete
Hi Nick. I had similar problems, and have found out a couple of things: 1. I could not get my datasources to be found when using the WARP connector. Same thing as you - null DataSource. No idea what the problem was here. 2. Initially I could not get it to work at all, but found that if I u

Re: DataSource and Pooled Connection

2001-12-13 Thread Craig R. McClanahan
On Thu, 13 Dec 2001, christophe marcourt wrote: > Date: Thu, 13 Dec 2001 21:07:47 +0100 > From: christophe marcourt <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: DataSource and Pooled Connection > > I have a stupid q

Re: DataSource and Pooled Connection

2001-12-13 Thread Micael Padraig Og mac Grene
At 03:20 PM 12/13/01 -0500, you wrote: >At 09:07 PM 12/13/2001 +0100, you wrote: > >I have a stupid question ? > > > >in the JNDI tomcat how to, it says : > >" > >The J2EE Platform Specification requires J2EE Application Servers to make >available a DataSource implementation (that is, a connection

Re: DataSource and Pooled Connection

2001-12-13 Thread Mark
At 09:33 PM 12/13/2001 +0100, you wrote: >thanks. > >I've already read that. >So I do a ConnectionPoolDataSource with the use of JNDI in tomcat... >As simple as that ? > >Christophe The web page I forwarded has an example of setting up then getting a pooled connection using JNDI. I'm assuming you

Re: DataSource and Pooled Connection

2001-12-13 Thread christophe marcourt
thanks. I've already read that. So I do a ConnectionPoolDataSource with the use of JNDI in tomcat... As simple as that ? Christophe - Original Message - From: "Mark" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday,

Re: DataSource and Pooled Connection

2001-12-13 Thread Mark
At 09:07 PM 12/13/2001 +0100, you wrote: >I have a stupid question ? > >in the JNDI tomcat how to, it says : >" >The J2EE Platform Specification requires J2EE Application Servers to make available a DataSource implementation (that is, a connection pool for JDBC connections) for this purpose. Tomca

Re: datasource?

2001-10-23 Thread IService
Try this one: www.javaexchange.com Dimiter

Re: DataSource

2001-03-05 Thread Ben Flaumenhaft
Tomcat doesn't include a connection pooling facility by itself, so you need a provider for these data sources. App servers (whether free like jBoss or commercial like Weblogic) generally include sophisticated connection pools. There's a free one provided by Struts ... check out http://jakarta.ap

<    1   2