Re: HOW DOES TOMCAT JNDI CONNECTION POOLING WORKS

2005-09-23 Thread David Smith
1. Does tomcat really look into the pool? Yes. The pool code is really the commons DBCP project code refactored slightly to avoid collisions with the real DBCP project code. 2. on conn.close(), are we really pushing the connection back into the pool? Yes. Sorry I can't help you on the Eclipse

HOW DOES TOMCAT JNDI CONNECTION POOLING WORKS

2005-09-23 Thread rahul
Hi all, My questing is derived from the sample code given at : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations If you can see the subsection 4(i.e. testcode) of section "MySQL DBCP Example", to get a conne

Tomcat JNDI / JMX port

2005-09-11 Thread Gurumoorthy
Hi, What is i am trying to do: Connect 4.1.27 tomcat to JMX client MC4J in a differenct port What is the issue:The port which tomcat uses be default is 1099 How can you help:Can you please let me know how to change the de

RE: Tomcat JNDI Realm + Active Directory Server

2005-07-20 Thread Kal Govindu
setup with "moretests". Hope this helps. Kal -Original Message- From: Luis Durán [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 6:23 PM To: tomcat-user@jakarta.apache.org Subject: Tomcat JNDI Realm + Active Directory Server I had a hard time

Tomcat JNDI Realm + Active Directory Server

2005-07-19 Thread Luis Durán
I had a hard time trying to configure Tomcat to authenticate with MS Active Directory Service, i tried a lot of samples, i edited them but i didn't get nothing. This is the last configuration i tried: /META-INF/context-xml: ldap://192.168.200.2:389"; referrals="follow" user

Embedded Tomcat JNDI/JDBC Configuration Questions

2005-05-29 Thread Joe Reger, Jr.
Hi! I've successfully created a project that embeds Tomcat. Excellent! I can see the sample page and the manager app, reporting Tomcat 5.5.9. Now I'm working on deploying a .war file programatically: public void registerWAR(String contextPath, String absolutePath) throws Exception {

RE: Tomcat, JNDI, Active Directory

2004-10-15 Thread khanaz
} catch( LDAPException e ) { System.out.println( "Error: " + e.toString() ); } return; } } --- END GetAuthenticated.java --- -Original Message- From: Roland Carlsson [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 10:49 AM To: T

Sv: Tomcat, JNDI, Active Directory

2004-10-15 Thread Roland Carlsson
Hello! Thanks for your answer! I'll try to find a tool that can help me but I appreciate some tips if anyone have used a good tool for this. Regards Roland Carlsson Den 04-10-15 15.16, skrev "QM" <[EMAIL PROTECTED]>: > On Fri, Oct 15, 2004 at 08:18:56AM +0200, Roland Carlsson wrote: > : Is the

Re: Tomcat, JNDI, Active Directory

2004-10-15 Thread QM
On Fri, Oct 15, 2004 at 08:18:56AM +0200, Roland Carlsson wrote: : Is there anyone out there who would like to figure out what I am doing wrong : when trying to create a realm in Tomcat that is supposed to authenitcate : users over JNDI against an Active Directory server. Why not try this: authent

Tomcat, JNDI, Active Directory

2004-10-14 Thread Roland Carlsson
Hi! Is there anyone out there who would like to figure out what I am doing wrong when trying to create a realm in Tomcat that is supposed to authenitcate users over JNDI against an Active Directory server. In my server.xml I have the following ldap://192.168.10.10:389"; alternateURL="ldap://192.

RE: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-09 Thread MARU, SOHIL (SBCSI)
AM To: Tomcat Users List Subject: Re: Known problem with tomcat, jndi datasourc - PLEASE HELP Hi Can pleae you give me pointers to solutions to the problem of a null for teh driverclass name, there seems to be no solution in the archives till date. Thanks. Prasad --- "MARU, SOHIL (

Re: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-09 Thread Parsons Technical Services
e use you system info: Tomcat=5 OS=? JDK=? Doug www.parsonstechnical.com - Original Message - From: "prasad chaturvedula" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, April 09, 2004 2:49 AM Subject: Re: Known problem with

Re: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-08 Thread prasad chaturvedula
Hi Can pleae you give me pointers to solutions to the problem of a null for teh driverclass name, there seems to be no solution in the archives till date. Thanks. Prasad --- "MARU, SOHIL (SBCSI)" <[EMAIL PROTECTED]> wrote: > Hello All, > I have been scouring the mailing list archives > and

Re: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-08 Thread Parsons Technical Services
HIL (SBCSI)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 08, 2004 6:56 PM Subject: Known problem with tomcat, jndi datasourc - PLEASE HELP Hello All, I have been scouring the mailing list archives and lot of other places. I am seeing a problem configuring a dat

Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-08 Thread MARU, SOHIL (SBCSI)
Hello All, I have been scouring the mailing list archives and lot of other places. I am seeing a problem configuring a datasource with Tomcat. I have put the following entry in my server.xml

Tomcat & JNDI

2004-03-22 Thread Anthony Smith
I have/had the two working together, but my only problem is this. When I blow away the webapp and its war and add a new war, my app does don't explode the war. I get a message in my tomcat log file that says: java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Group\Tomcat 4

Re: Tomcat JNDI - mapping a String

2004-02-26 Thread Ondra Nekola
> I have developed a small web-based aplication. I use an ant build script > to compile it and to generate a war. The application is used in several > servers with different settings (it uses different databases, connects to > different xml-rpc resources...) so it has to somehow read the > conf

Tomcat JNDI - mapping a String

2004-02-23 Thread Ondra Nekola
I have developed a small web-based aplication. I use an ant build script to compile it and to generate a war. The application is used in several servers with different settings (it uses different databases, connects to different xml-rpc resources...) so it has to somehow read the configuration

Re: howto federate tomcat JNDI to another JNDI context ?

2004-01-27 Thread Nicolas De Loof
Hi mark, I solved my JNDI federation problem and maybe you are interested to know how ? I want to get JMS ressources from JNDI. They're stored in a FileSystem JNDI and I need to federate it to Tomcat JNDI. I added a custom factory to tomcat (in commons/classes): i

Re: howto federate tomcat JNDI to another JNDI context ?

2004-01-14 Thread Mark R. Diggory
chat with someone having a similar problem. -Mark Diggory Nicolas De Loof wrote: Hello, I would like to use tomcat JNDI to lookup JMS Queues (MQSeries) that are registered in JNDI using a File System JNDI Context (com.sun.jndi.fscontext.RefFSContextFactory) My webapp refers to a JNDI resource na

howto federate tomcat JNDI to another JNDI context ?

2004-01-14 Thread Nicolas De Loof
Hello, I would like to use tomcat JNDI to lookup JMS Queues (MQSeries) that are registered in JNDI using a File System JNDI Context (com.sun.jndi.fscontext.RefFSContextFactory) My webapp refers to a JNDI resource named "jms/testQueueConnectionFactory", and I need to configure tomca

Referencing Tomcat JNDI datasource

2003-08-20 Thread Don Ross
Hello, I am using Tomcat 4.1.18 and have setup a JNDI datasource for database connection pooling. I would like to reference this datasource from another application that is not running under Tomcat. In searching the mailing list archive and other forums I found dated information that indicate

help needed regarding tomcat jndi database connection pooling

2003-01-17 Thread Prashanth Gane
Hi All, I have integrated tomcat 4.0.4 with apach 1.3.x. I have configured one of my tomcat contexts for database connection pooling and written a small jsp program to test the connection pooling by making use of jndi lookup.. The problem is when i access the context through port 8080 then I am

Re: RES: Is there a problem with tomcat JNDI resources (I don't thinkso)

2002-12-20 Thread Jon Eaves
Iran Marcius wrote: If I'm not mistaken, I read somewhere that using GlobalNamingResource with ResourceLink (inside Context) make unnecessary to put resource-ref in web.xml. Tomcat naming examples didn't use it too. I may have been the perpetrator of that particular piece of information. It was

ENC: Is there a problem with tomcat JNDI resources (I don't think so)

2002-12-20 Thread Iran Marcius
[mailto:[EMAIL PROTECTED]] Enviada em: sexta-feira, 20 de dezembro de 2002 13:52 Para: 'Tomcat Users List' Assunto: RES: Is there a problem with tomcat JNDI resources (I don't think so) If I'm not mistaken, I read somewhere that using GlobalNamingResource with ResourceLink (insi

RES: Is there a problem with tomcat JNDI resources (I don't think so)

2002-12-20 Thread Iran Marcius
PROTECTED]] Enviada em: sexta-feira, 20 de dezembro de 2002 12:09 Para: 'Tomcat Users List' Assunto: RE: Is there a problem with tomcat JNDI resources (I don't think so) Hi, I've got this in my web xml for the app..Not doing global though. - DB Connection jdbc/shi

RE: Is there a problem with tomcat JNDI resources (I don't think so)

2002-12-20 Thread Kevin Passey
bject: Is there a problem with tomcat JNDI resources (I don't think so) Hi fellows. I think I'm doing something wrong, but I can't get a JNDI Datasource configured in GlobalNamingResource section. Here is my configuration:

Is there a problem with tomcat JNDI resources (I don't think so)

2002-12-20 Thread Iran Marcius
Hi fellows. I think I'm doing something wrong, but I can't get a JNDI Datasource configured in GlobalNamingResource section. Here is my configuration: factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName

could not cast dbcp objects created using tomcat JNDI

2002-10-28 Thread pqin
I retrieved an object of DataSource using Tomcat's JNDI simulation. It is an instance of BasicDataSource. I tried to cast it to BasicDataSource and got a ClassCastException. Context ctx = new InitialContext() ; Context envCtx = (Context) ctx.lookup("java:comp/env") ; DataSource ds = (DataSource)

tomcat + jndi

2002-08-13 Thread Michael Delamere
Hi, I posted earlier but unfortunately got no response. I´ve also had a look at various mailing lists but found no answer. If I have tomcat installed on a seperate box and have some classes which I want to reach via JNDI, how would my tomcat specific jndi.properties look like? Any help would b

Re: Tomcat + JNDI

2002-07-27 Thread Michael Delamere
> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, July 27, 2002 6:09 PM Subject: Re: Tomcat + JNDI > Have you defined the resource itself in server.xml? You'll need to set up > the appropriate and elements there in order to > define how Tomcat is actu

Re: Tomcat + JNDI

2002-07-27 Thread Craig R. McClanahan
ories for your own beans. Craig On Sat, 27 Jul 2002, Michael Delamere wrote: > Date: Sat, 27 Jul 2002 16:10:44 +0200 > From: Michael Delamere <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Tomcat + JNDI > &g

Tomcat + JNDI

2002-07-27 Thread Michael Delamere
Hi, I´m trying to access a bean via JNDI using Tomcat. Unfortunately, reading documentation and mailing-lists hasn´t helped me very much. Could someone please expalin to me what is involved in accessing a bean in tomcat via JNDI. Here´s what I´ve done so far: == WEB.XML ==

tomcat / jndi

2002-06-30 Thread Centaur zeus
Hi all, i have some questions on jndi of tomcat : 1) if i put a class in tomcat jndi, and will the class constructor be exectued ? if it will, when will it be ? Once tomcat start up ? or first client get resources ? or will not execute constructor at all ? Since I go to tomcat doc and find

Passing a Tomcat JNDI context to a jCrontab task

2002-03-28 Thread Steven Elliott
Apologies if this is too off topic. I am looking at using the jCrontab servlet to do some task scheduling most of which has to do with mailing reports generated from data in the application's database. Although I could do this using the Class.forName() paradigm I would like to use the same Datas

Tomcat JNDI problem

2002-02-04 Thread Sergey Ponomarev
Hi, I have Tomcat 4.0.1 on one machine and BAS 4.5.1 on other. I need to get access to EJBs hosted on BAS. I have copied asrt.jar and vbjorb.jar files from BAS installation to {tomcat-web-app}\WEB-INF\lib. All works fine - I can get that EJBs. After that I have to get access to database from my s

Redirects when mailing to this list RE: tomcat, JNDI naming, and OracleDataSource

2001-05-14 Thread Jann VanOver
. I just delete all the bounce/redirect messages that I get after sending to this list. -Original Message- From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]] Sent: Monday, May 14, 2001 3:35 PM To: [EMAIL PROTECTED] Subject: tomcat, JNDI naming, and OracleDataSource I don't know if m

tomcat, JNDI naming, and OracleDataSource

2001-05-14 Thread Kevin HaleBoyes
I don't know if my original message made it to the list yet. I received the following error when I tried to send a question to tomcat-user list: - The following addresses had permanent fatal errors - <[EMAIL PROTECTED]> (reason: 550 User unknown) I'm not sure why it redirected to

Re: Tomcat & JNDI

2000-11-07 Thread cmanolache
> I have my own little in memory JNDI implementation with support for > java:comp URLs > and it works fine but provides one global JNDI for all contexts defined in > server.xml while it should be context specific. Basically the problem is how > to make InitialContext() tomcat context aware (to be

Re: Tomcat & JNDI

2000-11-06 Thread Craig R. McClanahan
"Roytman, Alex" wrote: > I am trying to tie Tomcat with JNDI to use J2EE pattern to obtain resources: > > Context context = new InitialContext(); > dataSource = (DataSource)context.lookup("java:comp/env/jdbc/myDataSource"); > > (I know Tomcat team is planning to have it for Tomcat 4 eventually) >

Tomcat & JNDI

2000-11-06 Thread Roytman, Alex
I am trying to tie Tomcat with JNDI to use J2EE pattern to obtain resources: Context context = new InitialContext(); dataSource = (DataSource)context.lookup("java:comp/env/jdbc/myDataSource"); (I know Tomcat team is planning to have it for Tomcat 4 eventually) I have my own little in memory JND

Tomcat & JNDI

2000-11-06 Thread Roytman, Alex
I am trying to tie Tomcat with JNDI to use J2EE pattern to obtain resources: Context context = new InitialContext(); dataSource = (DataSource)context.lookup("java:comp/env/jdbc/myDataSource"); (I know Tomcat team is planning to have it for Tomcat 4 eventually) I have my own little in memory JND