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
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
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
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
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
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 {
}
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
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
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
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.
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 (
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
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
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
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
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
> 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
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
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
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
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
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
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
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
[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
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
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:
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
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)
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
>
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
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
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 ==
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
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
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
. 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
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
> 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
"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)
>
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
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
42 matches
Mail list logo