JNDI

2009-05-18 Thread daniel steel
hi all, i am pretty sure this has been hashed out many times but i could not get clear guidelines on how to accomplish JNDI Realm + tomcat 6 + windows AD. I have got JNDI Realm + tomcat 6 + windows AD integration with basic authentication. as domain password is passed in clear text from

Reloading JNDI

2020-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I have a JNDI which is a JDBC DataSource. It is set to singleton="true" via defaults (not explicitly set). The JDBC Connections in this DataSource pool (using dbcp2 as provided by Tomcat) have TLS configuration including client ce

Tomcat JNDI

2008-08-29 Thread felix l
First time posting on a mailing list, hope I am doing this right. I just need to register JNDI datasource to Tomcat 6 and I followed http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html. I just couldn't make it work if I put the tag with my oracle connection info in conf/serve

JNDI config

2010-03-25 Thread Thufir
For a servlet to employ JNDI to access a JDBC database, Tomcat must be configured? JNDI won't work on a vanilla configuration of Tomcat? 1. Install Your JDBC Driver Use of the JDBC Data Sources JNDI Resource Factory requires that you make an appropriate JDBC driver available to both T

JNDI Realm

2008-05-28 Thread Jim Willeke
We had this working with Tomcat 5.5 and now with Tomcat 6 we are having issues. The Docs (http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm) "Place a copy of the JNDI driver you will be using (typically ldap.jar available with JNDI) inside the $CATALINA_HOME/lib dire

RE: JNDI

2009-05-18 Thread Martin Gainty
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 18 May 2009 16:19:53 -0700 > From: sec...@yahoo.com > Subject: JNDI > To: users@tomcat.apache.org > > hi all, > i am pretty sure this has been hashed out many times but i cou

JNDI Authentication

2009-08-03 Thread Geofrey Rainey
Does anyone know what type of authentication Tomcat uses by default to authenticate to an AD server using the JNDIRealm? (I haven't specified any particular authentication type on either the server (AD), or the client (Tomcat 6.0), it's working fine but I'm wondering If it's using SASL). R

JNDI authentication

2009-09-23 Thread daniel steel
All, we are using jndi authentication for authenticating the user against active directory. the user is hitting the load balancer and then the request is forwarded to the tomcat. at times we are seeing slowness and on analyzing the access log, the jsps having high execution duration do

Extending JNDI

2009-03-13 Thread Ron McNulty
Hello I am running Apache Jetspeed Portal server (which sits on top of Tomcat) as a development platform. We then deploy portlets to Websphere portal server for production. One area of incompatibility that I would like to fix is JNDI branches. Tomcat provides the standard java:comp/env

JNDI & Tomcat

2007-06-19 Thread Tom Miller
Any one have a better document on howto on JNDI & Tomcat than this link http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource- examples-howto.html? I am trying to set up JNDI to work with Tomcat 5.5.7 I had followed instructions on apache.org but have not able to get it work yet. Any h

JNDI caching

2007-08-28 Thread David Delbecq
Hello, we have several tools here that access a common JNDI structure for user listing / authentification / authorization. There is a LDAP tomcat realm + 2 tools that request direct access to List and properties of users/groups. Our problem is as follow 1) if the LDAP server change, we need to

JNDI datasource

2006-03-07 Thread David McMinn
I have both the manager and admin up and running. In the admin, I have no datasources under the admin menu. I am attempting to get a datasource showing up here. Can someone walk me through step by step in doing this. I am running tomcat 5.5.12. I have tried the tutorial but have had no luck. Tha

JNDI Problem

2007-04-23 Thread Aurélien Allienne
HI, I have a problem with JNDIRealm. I have this context.xml : ldap://ldapmasta:1389"; userBase="ou=people,dc=univ-lille2,dc=fr" userSearch="(supannAliasLogin={0})" roleBase="ou=appli,dc=univ-lille2,dc=fr"

JNDI Feedback

2013-01-29 Thread alan . farroll
s. I want to set up validation queries on the JNDI's for SQL server and also have the JNDI provide feedback to the Java application if the database is down. Can you advise how to do this please? If not possible, then what is an alternative? Thank you in advance for any assistance. Reg

tomcat jndi

2013-04-29 Thread Jakub 1983
I have read http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html 1)I would like to ask about essence of jndi a) jndi as a whole and b) jndi in tomcat In all known to me cases jndi in tomcat and in jboss is

Re: Reloading JNDI

2020-08-02 Thread Mark Thomas
On July 24, 2020 5:46:45 PM UTC, Christopher Schultz wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >All, > >I have a JNDI which is a JDBC DataSource. It is set to >singleton="true" via defaults (not explicitly set). > >The JDBC Connections in

Re: Reloading JNDI

2020-08-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/2/20 11:55, Mark Thomas wrote: > On July 24, 2020 5:46:45 PM UTC, Christopher Schultz wrote: > All, > > I have a JNDI which is a JDBC DataSource. It is set to > singleton="true" via defaults (not expl

Re: Reloading JNDI

2020-08-03 Thread Phil Steitz
On 7/24/20 10:46 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I have a JNDI which is a JDBC DataSource. It is set to singleton="true" via defaults (not explicitly set). The JDBC Connections in this DataSource pool (using dbcp2 as provided

Re: Reloading JNDI

2020-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phil, On 8/3/20 21:43, Phil Steitz wrote: > > > On 7/24/20 10:46 AM, Christopher Schultz wrote: All, > > I have a JNDI which is a JDBC DataSource. It is set to > singleton="true" via defaults (not explicitly set). >

JNDI configure question

2006-04-03 Thread red phoenix
I use tomcat 5.5.16,and my database is Microsoft Access 2000,and I have configured ODBC as SMS in windows,then I configure JNDI like follows: /*\tomcat\conf\server.xml*/ /*\tomcat\webapps\test\WEB-INF\web.xml*/ http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="htt

JNDI datasource failing

2006-05-30 Thread Dan Simmonds
I hope someone can help me with this problem. I have a webapp that used an JNDI datasource that runs fine on my local test environment. When I put it on my server it fails with the following error: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid

TNS entry JNDI

2006-06-07 Thread Scott Purcell
I am running Tomcat 5.x and have been using Oracle 9i. We are now running Oracle 10g and it only uses TNS names. Here is my context element: The one commented out used to work for 9i, and the other one is for the tns names. I am having trouble finding information about Tomcat and TNS names for c

Re: Tomcat JNDI

2008-08-29 Thread bhooshanpandit
I think you will need to configure realm in your server.xml. Plz refer http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html. -Original Message- From: felix l <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Fri, 29 Aug 2008 11:27 pm Subject: Tomcat JNDI

Re: Tomcat JNDI

2008-08-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, felix l wrote: > I just need to register JNDI datasource to Tomcat 6 and I followed > http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html. I just > couldn't make it work if I put the tag with my oracle connection

Configuring JNDI resources

2008-11-18 Thread Alexey Ousov
Hello All! I have a simple but important question about JNDI configuration in Tomcat 5.5. As I know, Tomcat 5.5 introduces new syntax, for example I have the following resource: scope="Shareable" factory="org.apache.naming.factory.Bea

JNDI Realm question

2010-03-08 Thread Leo Donahue - PLANDEVX
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm Using Tomcat 6.0.24 on Windows Server 2003 Standard R2 SP2 1. We use MS Active Directory, is the "uid" in the following example for userPattern the same as the "sAMAcco

RE: JNDI config

2010-03-25 Thread Caldarale, Charles R
> From: Thufir [mailto:hawat.thu...@gmail.com] > Subject: JNDI config > > For a servlet to employ JNDI to access a JDBC database, Tomcat must be > configured? Yes. > JNDI won't work on a vanilla configuration of Tomcat? How could it? JNDI is simply a registry of names

JNDI question/problem

2008-02-18 Thread Mindaugas Žakšauskas
Hi, I'm using Tomcat v5.5.25 with two webbaps deployed as plain files (not wars). Both of them use JNDI and do some initial binding upon webapp (context) startup. The "startup" event is determined by implementing a listener (javax.servlet.ServletContextListener's contextIni

Simultate Tomcat JNDI

2008-03-07 Thread Milanez, Marcus
Hi everyone, I'm trying to simulate tomcat's jndi mechanism, in order to test my DAO objects with junit. Does anybody knows how to do that? It seems to me that I need to bind the name java:/comp/env to a Context object and then bind my jdbc name to this context. Is this the way tomcat

jndi resource linking

2008-03-18 Thread Dustin Fortin
Hello, I am getting the following error when tomcat starts up: Cannot create JDBC driver of class ' ' or connect URL 'null' java.lang.NullPointerException at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507) at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476)

Tomcat JNDI datasource

2008-03-28 Thread Tom Henricksen
I have an application in Tomcat 5.0.30 that we are trying to get to use JDBC through JNDI. I am trying to follow along with akarta-tomcat-5.0.30/webapps/tomcat-docs/jndi-datasource-examples-howto. html. I have setup the context.xml

JNDI connection issue

2008-05-09 Thread Praful Sinha
Hi All, Getting an issues while creating JNDI connection javax.management.MalformedObjectNameException: Invalid character ':' in value part of property at javax.management.ObjectName.construct(Unknown Source) at javax.management.ObjectName.(Unkn

JNDI Connection Pooling

2008-05-20 Thread Hanmay Udgiri
Hi I am currently using connection pooling in tomcat. The code is as below I have a context.xml.default placed in /conf/[enginename]/[hostname]/ file which has below code. Where as in Java code i am setting the values of Userd,pwd driverclass and URL. *My question here is Is there any effect,If

Re: JNDI Realm

2008-05-28 Thread Johnny Kewl
- Original Message - From: "Jim Willeke" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, May 28, 2008 11:39 PM Subject: JNDI Realm We had this working with Tomcat 5.5 and now with Tomcat 6 we are having issues. The Docs (http://tomcat.apach

Tomcat6 JNDI Realm

2009-05-26 Thread Geofrey Rainey
Hi, I'm trying to setup a tomcat6 realm to authenticate against an active directory server. I got a JDBC realm working okay with a MySQL database. I'm receiving the following error and thought it might be wise to try and get ldapsearch working First. However I'm not having much luck with

Re: JNDI Authentication

2009-08-04 Thread Tim Funk
JNDIRealm is based on communicating to an LDAP server. (Which is one way AD can communicate) -Tim Geofrey Rainey wrote: Does anyone know what type of authentication Tomcat uses by default to authenticate to an AD server using the JNDIRealm? (I haven't specified any particular authenticati

RE: JNDI Authentication

2009-08-04 Thread Geofrey Rainey
uthentication); -Original Message- From: Tim Funk [mailto:funk...@apache.org] Sent: Tuesday, 4 August 2009 11:55 p.m. To: Tomcat Users List Subject: Re: JNDI Authentication JNDIRealm is based on communicating to an LDAP server. (Which is one way AD can communicate) -Tim Geofrey Raine

Re: JNDI Authentication

2009-08-04 Thread Tim Funk
http://java.sun.com/products/jndi/tutorial/ldap/security/auth.html http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm authentication A string specifying the type of authentication to use. "none", "simple", "strong" or a provider specific definiti

RE: JNDI Authentication

2009-08-04 Thread Geofrey Rainey
Thank you :) -Original Message- From: Tim Funk [mailto:funk...@apache.org] Sent: Wednesday, 5 August 2009 12:50 a.m. To: Tomcat Users List Subject: Re: JNDI Authentication http://java.sun.com/products/jndi/tutorial/ldap/security/auth.html http://tomcat.apache.org/tomcat-6.0-doc/realm

JNDI DataSource Leaks

2009-08-07 Thread Christopher Schultz
ted a listener class that would shut down a JNDI DataSource and installed it in my development environment. Satisfied that I was protected from the evils of JDBC connection pool leakage, I moved on with my life. This morning, as I did a live build-and-re-deploy of my webapp, I sa

Re: JNDI authentication

2009-09-25 Thread herbie324
We are having the same exact issue you are speaking of. We've gone through logs as well. I'd love to get some insight on this also. We are using tomcat with basic authentication. daniel steel wrote: > > All, > we are using jndi authentication for authenticating the us

Re: JNDI authentication

2009-09-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 9/23/2009 11:51 PM, daniel steel wrote: > we are using jndi authentication for authenticating the user against > active directory. the user is hitting the load balancer and then the > request is forwarded to the tomcat. > >

JNDI names mismatch

2009-02-08 Thread Anton Veretennikov
Hello, Tomcat users! I'm using Tomcat 6.0.18. Please, help me if you can. My first problem is with JavaMail (1.4.1) JNDI. I can't understand why my JNDI resource named "mail/OneName" in server.xml is got successfully as "mail/AnotherName" in web.xml when I make th

Re: Extending JNDI

2009-03-14 Thread Mark Thomas
Ron McNulty wrote: > Hello > > I am running Apache Jetspeed Portal server (which sits on top of Tomcat) as a > development platform. We then deploy portlets to Websphere portal server for > production. > > One area of incompatibility that I would like to fix is

Re: Extending JNDI

2009-03-14 Thread Ron McNulty
Thanks Mark That certainly looks like the place to start. Regards Ron - Original Message - From: "Mark Thomas" To: "Tomcat Users List" Sent: Saturday, March 14, 2009 11:38 PM Subject: Re: Extending JNDI Ron McNulty wrote: Hello I am running Apache Je

JNDI Connector Problem

2007-05-22 Thread John Morris
(login.jsp) to Active Directory for authentication. I have setup a JNDI relm in accordance to what my research told me; however, I am not completely convinced that this is the correct setup for the JNDI connector. On the surface everything appears to be functioning but no matter what I enter into my

JNDI and datasource

2007-06-07 Thread Mailing
Hi, I'm developing an Hibernate web application with jboss using a datasource named "java:/DefaultDS" java:/DefaultDS When I configure the same datasource with tomcat, I can't reach it with this name, but with java:comp/env/DefaultDS So my hibernate config file must be changed depending on witc

Re: JNDI & Tomcat

2007-06-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, 1. DO NOT hijack threads. 2. DO post the things you have already tried. - -chris Tom Miller wrote: > Any one have a better document on howto on JNDI & Tomcat > than this link > http://tomcat.apache.org/tomcat-5.5-doc/jn

Re: JNDI & Tomcat

2007-06-20 Thread Tom Miller
OK Chris, Thanks Tom Original message >Date: Tue, 19 Jun 2007 18:23:08 -0400 >From: Christopher Schultz <[EMAIL PROTECTED]> >Subject: Re: JNDI & Tomcat >To: Tomcat Users List > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Tom, > &g

Configure JNDI Realm

2007-06-27 Thread Eduardo del Bas
Hi all, I'm configuring a JNDI Realm with LDAP in Tomcat 5.5. The authentication process works fine but when Tomcat tries to check role this fails and it returns me a HTTP 403 page. Tomcat log is: DEBUG http-6060-Processor25 org.apache.catalina.authenticator.AuthenticatorBase - Ca

problem with JNDI

2006-02-03 Thread Hans Sowa
Hi I'm working on a webapplikation using JNDI to lookup for a database connection. Actually it works for several times and then it stopps and I don't get an connection. I analysed it and found out that Method getConnnection has a problem. Here is my code: protected

starting with JNDI

2006-02-09 Thread Marcelo Fukushima
Hello guys... its gonna sound really stupid, but i cant seen to configure JNDI to work (either global and context bound)... im getting this exception, wich sugested that something was wrong, maybe in the server.xml sintax or something, but even the tomcat manager cant make it work: Cannot create

JNDI Datasource Problem

2006-02-19 Thread Mark Whitby
Hey guys, Thanks for the help with the previous problem I had, I've managed to solve them now thanks to your help. But now I'm having a problem with setting up a DataSource connection. I've followed the example word for word and got the following error: javax.servlet.ServletException: Unable

JNDI Datasource Problem

2006-02-24 Thread lee hwaying
ERROR JDBCExceptionReporter - Cannot create JDBC driver of class '' for connect URL 'null' I still get the above error in Tomcat 5.5.15 after doing the below. Please help web.xml : ... jdbc/galleryDB javax.sql.DataSource Container

Re: JNDI datasource

2006-03-07 Thread (e==mc²)?
just a tip why dont you try creating a datasource manually since neuer Tomcat version dont provide the admin application you will be then confortable with laater versions and you will dig into knowing things better ? http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html

RE: JNDI datasource

2006-03-07 Thread Caldarale, Charles R
> From: (e==mc²)? [mailto:[EMAIL PROTECTED] > Subject: Re: JNDI datasource > > just a tip why dont you try creating a datasource manually since neuer > Tomcat version dont provide the admin application you will be then > confortable with laater versions and you will dig i

RE: JNDI datasource

2006-03-07 Thread David McMinn
vlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs. "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > From: (e==mc²)? [mailto:[EMAIL PROTECTED] > Subject: Re: JNDI datasource > > just a tip why don

RE: JNDI datasource

2006-03-07 Thread g . kelemen
t; org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > note The full stack trace of the root cause is available in the Apache > Tomcat/5.5.15 logs. > > > "Caldarale, Charles R" &l

RE: JNDI datasource

2006-03-07 Thread David McMinn
2) > > note The full stack trace of the root cause is available in the Apache > Tomcat/5.5.15 logs. > > > "Caldarale, Charles R" wrote: > > From: (e==mc²)? [mailto:[EMAIL PROTECTED] > > Subject: Re: JNDI datasource > > > > just a tip why dont y

JNDI datasource question

2006-03-08 Thread John Cherouvim
Hello I have a JNDI Datasource pooling 10 connections on a database of my mysql server. Why does it use only one process on the mysql server? I have set max active to 10 connections and I am accessing the application from different IPs at the same time. I then perform a SHOW PROCESSLIST on

MySQL JNDI resource

2007-01-16 Thread Hampson, Christopher (EXP)
Hi, I have a JNDI connection to a MySQL database, a new thread is started every n seconds which queries a web service and then returns with the response time or a timeout. Each of these threads has a connection to the database. If the server is responding very slowly or indeed not responding at

JNDI Datasource Problem

2007-04-02 Thread Melih Onvural
I've read through every archive that I can find, and I've tried every suggestion that I've seen including the tutorials on the Tomcat site. I'm using 5.5.x, and I can't connect to the database. This is killing me. I've pasted my server.xml, context.xml, and web.xml files here. Any help would be he

Re: JNDI Problem

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aurélien, Aurélien Allienne wrote: > roleSearch="(member={0})" Is this correct? Often, members of a group are "uniqueMember" attributes. Can you confirm that similar queries return what you are looking for when you issue them from

Re: JNDI Problem

2007-04-23 Thread Aurélien Allienne
I have this in phpLDAPadmin : * cn * required , rdntomcat admin agenda * member

Re: JNDI Problem

2007-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aurélien, Aurélien Allienne wrote: > member Looks like "member" /is/ the correct attribute. Can you execute that search independently to verify that you're not missing something? I'm trying to establish if LDAPRealm is broken (which is unlikely) or i

JNDI, Hibernate, Tomcat

2006-09-10 Thread Li
Hi all, I am using JNDI context in my hibernate (factory lookup). Any one knows how to setup JNDI for hibernate with tomcat. (I know how to use hibernate with tomcat, but it doesnt work when i use JNDI for my hibernate session factory lookup) Regards Li

configuring jndi datasource

2018-08-01 Thread Francesco Viscomi
Hi all, I'm using tomcat 8.5 and I need to configure a datasource in tomcat; If a configure it in the contex.xml file under conf directory using the tag everythings goes well. But if I configure it in the server.xml file under the conf directory, a message tell me that the resource that i have

Re: JNDI Feedback

2013-01-29 Thread Daniel Mikusa
t has 4 JNDI's set up, 2 Oracle and 2 SQL Server with validation > queries set up for the Oracle databases. Please include the configuration for your data sources. The tag, minus passwords should be sufficient. Dan > I want to set up validation > queries on the JNDI's fo

Re: JNDI Feedback

2013-01-29 Thread Christopher Schultz
former colleague and I > am still learning Java and Tomcat. Welcome to the community! > The project has 4 JNDI's set up Nomenclature nit: that's "has 4 JNDI /resources/". JNDI itself is just a directory interface where you stash stuff. > 2 Oracle and 2 SQL Server wit

Re: JNDI Feedback

2013-01-29 Thread alan . farroll
PA1 1HY 0141 618 7961 alan.farr...@renfrewshire.gov.uk www.renfrewshire.gov.uk From: Daniel Mikusa To: "Tomcat Users List" Date: 29/01/2013 17:06 Subject: Re: JNDI Feedback On Jan 29, 2013, at 11:54 AM, alan.farr...@renfrewshire.gov.uk wrote: > Hello, >

Re: JNDI Feedback

2013-01-29 Thread alan . farroll
Street Paisley PA1 1HY 0141 618 7961 alan.farr...@renfrewshire.gov.uk www.renfrewshire.gov.uk From: Christopher Schultz To: Tomcat Users List Date: 29/01/2013 17:11 Subject:Re: JNDI Feedback -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alan, On 1/29/13 11:54 AM

Re: JNDI Feedback

2013-01-29 Thread Daniel Mikusa
ot;javax.sql.DataSource" > url="jdbc:sqlserver://egovsql2005\p40010:1433;databaseName=AuditDEV" > username="username" /> This doesn't have a factory, so it'll use the default DBCP connection pool. See Chris' email for a link to the docs for DBCP.

Re: JNDI Feedback

2013-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alan, On 1/29/13 12:24 PM, alan.farr...@renfrewshire.gov.uk wrote: > Thanks for feedback. If a SQLException can be returned then I > could probably use that in the Java application to determine if an > exception occurred. Can you provide any guida

Re: tomcat jndi

2013-04-29 Thread Jakub 1983
3) and 4) are answered here http://stackoverflow.com/questions/1350816/what-is-the-purpose-of-jndi http://stackoverflow.com/questions/5143499/understanding-jndi http://www.javaworld.com/javaworld/jw-04-2002/jw-0419-jndi.html http://technotes.tostaky.biz/2013/01/what-is-jndi-spi-cci-ldap-and

Reg: JNDI lookup

2013-10-30 Thread Anu Prab
Hi, In Tomcat 7.0.42, with Tomcat jdbc pool, I would like to list all the JNDI resources ( connection pool ) available. Is it possible to do so? If so, how or which api to use? -Anu

Tomcat JNDI Datasource

2014-02-06 Thread David Newman
I have defined a JNDI JDBC datasource as a resource in the global context.xml file. I was under the impression that what this does is to create a shared connection pool that is tomcat wide. But in practice what seems to happen is that a new instance of that connection pool is created for each

JNDI configuration with 6.0.29

2011-09-06 Thread Anjib Mulepati
Hi All, I am trying to setup JNDI mapping for oracle JDBC Connection Pooling with Tomcat 6.0.29. This is giving me following error javax.naming.NameNotFoundException: Name dynic is not bound in this Context org.apache.naming.NamingContext.lookup(NamingContext.java:770

JNDI configuration with 6.0.29

2011-09-07 Thread Anjib Mulepati
Hi All, I am trying to setup JNDI mapping for oracle JDBC Connection Pooling with Tomcat 6.0.29. This is giving me following error javax.naming.NameNotFoundException: Name dynic is not bound in this Context org.apache.naming.NamingContext.lookup(NamingContext.java:770

Re: Tomcat 6 JNDI

2012-02-27 Thread Pid
On 27/02/2012 11:46, Ziggy wrote: > Hi, > > I am really struggling with this problem described here - > http://stackoverflow.com/questions/9453109/using-jndi-to-share-servlet-session-objects-and-data-in-tomcat > I would really appreciate any pointers. A pointer: it's usuall

Re: Tomcat 6 JNDI

2012-02-27 Thread Daniel Mikusa
On Mon, 2012-02-27 at 04:04 -0800, Pid wrote: > On 27/02/2012 11:46, Ziggy wrote: > > Hi, > > > > I am really struggling with this problem described here - > > http://stackoverflow.com/questions/9453109/using-jndi-to-share-servlet-session-objects-and-data-in-tomcat &g

JNDI resourse name value

2022-11-07 Thread Rob Sargent
Are there any semantics to Resourse name attributes? Or is no more or less valid than - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

PostgreSQL access via JNDI

2006-04-04 Thread Mark Slater
I've been trying to get PostgreSQL set up to be accessed through JNDI in Tomcat 5.5.x. I found the docs page describing it, "jndi- datasource-examples-howto.html", and followed the example there, but it still doesn't work. I'm trying to provide access to PostgreSQL

Re: JNDI datasource failing

2006-05-31 Thread Martin Grogan
experiencing something like this? Martin Dan Simmonds wrote: I hope someone can help me with this problem. I have a webapp that used an JNDI datasource that runs fine on my local test environment. When I put it on my server it fails with the following error: javax.servlet.jsp.JspException: Unable to get

Re: JNDI datasource failing

2006-05-31 Thread Dan Simmonds
ncing something like this? Martin Dan Simmonds wrote: I hope someone can help me with this problem. I have a webapp that used an JNDI datasource that runs fine on my local test environment. When I put it on my server it fails with the following error: javax.servlet.jsp.JspException: Unable to

Re: JNDI datasource failing

2006-05-31 Thread Martin Grogan
n config. Maybe you are experiencing something like this? Martin Dan Simmonds wrote: I hope someone can help me with this problem. I have a webapp that used an JNDI datasource that runs fine on my local test environment. When I put it on my server it fails with the following error: javax.serv

Re: TNS entry JNDI

2006-06-07 Thread Marc Farrow
Are you having a database connection problem or problem getting the reference from JNDI in your code? On 6/7/06, Scott Purcell <[EMAIL PROTECTED]> wrote: I am running Tomcat 5.x and have been using Oracle 9i. We are now running Oracle 10g and it only uses TNS names. Here is my c

Re: TNS entry JNDI

2006-06-07 Thread Scott Purcell
I am having trouble connecting. That string does fine using JDBC, but when in the To: "Tomcat Users List" Sent: Wednesday, June 07, 2006 12:44 PM Subject: Re: TNS entry JNDI > Are you having a database connection problem or problem getting the > reference from JNDI in your cod

Re: TNS entry JNDI

2006-06-08 Thread Marc Farrow
7, 2006 12:44 PM Subject: Re: TNS entry JNDI > Are you having a database connection problem or problem getting the > reference from JNDI in your code? > > On 6/7/06, Scott Purcell <[EMAIL PROTECTED]> wrote: > > > > > > > > I am running Tomcat 5.x and have been

Re: TNS entry JNDI

2006-06-08 Thread Brian Buchanan
s the SID no longer applicable. (Still the TNS names for should still work) I HTH, Brian -Original Message- From: "Scott Purcell" <[EMAIL PROTECTED]> To: Date: Wed, 7 Jun 2006 12:39:20 -0500 Subject: TNS entry JNDI > > > I am running Tomcat 5.x and have be

Re: JNDI datasource failing

2006-06-08 Thread miGio
Hi, Have you solved it already ??... well JNDI datasource have been driving me nuts for a couple of days, with a similar problem, i.e. the output was the same (but for other JDBC driver...)... It turn out to be the docBase parameter of the Context entry, which HAS TO BE THE EXACT location of the

JNDI Resource Factories questions

2006-06-21 Thread Ludovic_Orban
Hi, I've fot a couple of questions regarding Tomcat's JNDI implementation. In the JNDI resources howto of Tomcat 5.5 (http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html) at paragraph 'Adding Custom Resource Factories', just under '1. Write A Resource Fa

Re: Configuring JNDI resources

2008-11-18 Thread Michael Ludwig
Alexey Ousov schrieb am 18.11.2008 um 16:19:23 (+0700): > JNDI configuration in > Tomcat 5.5 [...] > scope="Shareable" > factory="org.apache.naming.factory.BeanFactory" > type="org.firebirdsql.pool.FBConnectionPoolDataSource" > userName="**

RE: JNDI Realm question

2010-03-08 Thread Martin Gainty
he.org > Date: Mon, 8 Mar 2010 14:11:50 -0700 > Subject: JNDI Realm question > > http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm > <http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html> > > Using Tomcat 6.0.24 on Windows Server 2003 Standar

Re: JNDI Realm question

2010-03-09 Thread Felix Schumacher
Hi Leo, On Mon, 8 Mar 2010 14:11:50 -0700, Leo Donahue - PLANDEVX wrote: > http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm > > > Using Tomcat 6.0.24 on Windows Server 2003 Standard R2 SP2 > > 1. We use MS Active Dire

Re: JNDI Realm question

2010-03-09 Thread Stefan Zoerner
Hi Leo, in general I would recommend to use an LDAP tool like Apache Directory Studio in order to develop and verify the JNDI Realm specific parameters. http://directory.apache.org/studio/ If this works (authentication, authorization searches), add the parameters to your tomcat

RE: JNDI Realm question

2010-03-09 Thread Leo Donahue - PLANDEVX
rson) (sAMAccountName=*) (memberOf=CN=arcgisserver_reader,OU=Groups,OU=PLANDEV Dept,DC=plandev,DC=maricopa,DC=gov) ) This query returns the three user accounts with the role "arcgisserver_reader", which is right. I think my issue is that I don't understand what I'm supposed to be supp

RE: JNDI Realm question

2010-03-09 Thread Leo Donahue - PLANDEVX
https://servername:8080/sample welcome page. I don't have a lock icon which bothers me, but that is IE7 for you. The address bar is pink. What can I tell you. Firefox gives me a lock icon. -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent

RE: JNDI Realm question

2010-03-09 Thread Leo Donahue - PLANDEVX
And thank you everyone for your help! -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Tuesday, March 09, 2010 3:18 PM To: 'Tomcat Users List' Subject: RE: JNDI Realm question Ok, it's working. I changed too many things at o

no UserTransaction in jndi

2007-11-07 Thread Peter Fischer
Hello, I try to configure a tomcat 6.0.14 to provide a javax.transaction.UserTransaction in jndi "java:comp/UserTransaction". For this I added to the in the server.xml and to the global . I put the needed jars into the folder "$catalina_home$/lib". Listing all jndi-

JDBC connection through JNDI

2008-01-21 Thread Hehl, Thomas
I wish to create a JDBC connection and store it in a JNDI tree for use by a spring configuration file that usually runs my tomcat webapp. I'm trying to figure out how tomcat creates the connection pool from my config file and stores it in JNDI, but it is absolutely beyond me. I've g

  1   2   3   4   5   6   7   8   9   10   >