Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 7900 invoked from network); 19 Apr 2005 20:51:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2005 20:51:48 -0000 Received: (qmail 32233 invoked by uid 500); 19 Apr 2005 20:51:05 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 32198 invoked by uid 500); 19 Apr 2005 20:51:04 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 32050 invoked by uid 99); 19 Apr 2005 20:51:03 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ftrdmzsmtp2.jdstg.com (HELO ftrdmzsmtp2.JDGlobalAg.net) (207.3.86.77) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 13:51:00 -0700 Received: from 204.54.89.36 by ftrdmzsmtp2.JDGlobalAg.net with ESMTP ( Tumbleweed MMS SMTP Relay (MMS v5.6.0)); Tue, 19 Apr 2005 15:50:48 -0500 X-Server-Uuid: 23E1BC42-1962-4FBA-B3DA-824F1DC78D9D Received: from etrmb1.jdnet.deere.com ([204.54.89.29]) by etrbridge1.jdnet.deere.com with Microsoft SMTPSVC(5.0.2195.6747); Tue, 19 Apr 2005 15:50:47 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: [SPAM2] - RE: Problems with DataSourceRealm Tomcat 5.5 - Found word(s) list error in the Text body Date: Tue, 19 Apr 2005 15:50:47 -0500 Message-ID: <58219B9E373C964681A59C6DD048722E01A1E8B0@etrmb1.jdnet.deere.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [SPAM2] - RE: Problems with DataSourceRealm Tomcat 5.5 - Found word(s) list error in the Text body Thread-Index: AcVFAGBaI6LR1rdHSLyvLpddI0/iPgAAHYkwAAC4s7AAAUsEUAAE0s+QAAFHueA= From: "Kanda Upendra" To: "Tomcat Users List" X-OriginalArrivalTime: 19 Apr 2005 20:50:47.0747 (UTC) FILETIME=[76B0E930:01C54521] X-WSS-ID: 6E7BB0A20VG2822484-01-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Thanks for the suggestion. It works now. As Hassan had suggested, the = resource params are listed as XML attributes in for Tomcat 5.5.=20 Thanks again, -----Original Message----- From: Lorenzo Jim=E9nez [mailto:ljimenez@nacion.co.cr]=20 Sent: Tuesday, April 19, 2005 4:17 PM To: Tomcat Users List Subject: RE: [SPAM2] - RE: Problems with DataSourceRealm Tomcat 5.5 - = Found word(s) list error in the Text body Importance: High This is my context.xml =20 factory org.apache.commons.dbcp.BasicDataSourceFactory url jdbc:sybase:Tds:172.16.19.11:5000/WEB driverClassName com.sybase.jdbc2.jdbc.SybDriver username WEB123 password 456PASSW initialSize 1 minIdle 1 maxActive 2 maxIdle 2 maxWait 30000 =20 WEB-INF/web.xml META-INF/context.xml -----Original Message----- From: Kanda Upendra [mailto:UKanda@agris.com]=20 Sent: Martes, 19 de Abril de 2005 11:57 a.m. To: Tomcat Users List Subject: [SPAM2] - RE: Problems with DataSourceRealm Tomcat 5.5 - Found = word(s) list error in the Text body Hi, Thanks for the quick response. I have the defined in my = web.xml and it still doesn't work. Throws me the same error. "Name jdbc not bound in this context" Thanks Upendra -----Original Message----- From: Lorenzo Jim=E9nez [mailto:ljimenez@nacion.co.cr]=20 Sent: Tuesday, April 19, 2005 1:20 PM To: Tomcat Users List Subject: RE: Problems with DataSourceRealm Tomcat 5.5 Importance: High On the web.xml you have also to write down after ther welcome files: jdbc/myDB javax.sql.DataSource Container <-- optional.if you like --> Shareable =20 Lorenzo -----Original Message----- From: Kanda Upendra [mailto:UKanda@agris.com]=20 Sent: Martes, 19 de Abril de 2005 11:06 a.m. To: Tomcat Users List Subject: Problems with DataSourceRealm Tomcat 5.5 Hi, I am using Tomcat 5.5 and having problems with the DataSourceRealm finding the data source in the JNDI.=20 Here is the configuration of my context.xml, I get this error "Name jdbc not bound in this context". I tried moving the Resource configuration under in server.xml, but I get the same error. JDBCRealm works, but I want it use a connection pool and hence I am trying to change it to a DataSourceRealm. Also, interestingly, when I try to access the data source from a jsp in my webapplication it works. The problem seems to be with the DataSourceRealm looking up for the resource using JNDI. Any help will be appreciated. Thanks, Upendra --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org ------------------------------------------------------------- Si usted no es el destinatario indicado en este mensaje o responsable = como persona=20 de la entrega del mensaje, no debe copiar o reenviar este mensaje, por = favor notifique=20 al correo infosegura@nacion.com. Para m=E1s referencia sobre t=E9rminos = importantes=20 relacionados a este correo visite = http://www.nacion.com/disclaimer/index_es2.htm If you are not the addressee indicated in this message (or responsible = for delivery of the=20 message to such person), you may not copy or send this message to = anyone, please notify to infosegura@nacion.com. Click here for important additional terms = relating to this e-mail.=20 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org