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
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,
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
, July 19, 2005 6:23 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat JNDI Realm + Active Directory Server
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
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:
?xml version=1.0 encoding=UTF-8?
Context path=/moretests
Realm
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 {
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
Realm className=org.apache.catalina.realm.JNDIRealm
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:
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 there
) {
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: TomcatUsers
Subject: Sv: Tomcat, JNDI, Active Directory
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 lot of
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 tomcat, jndi datasourc - PLEASE HELP
Hi
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 (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
Context path=/loa
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 datasource with Tomcat. I
have put
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
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
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 ?
JustToRememberMyProblem
I want to get JMS ressources from JNDI. They're stored in a FileSystem JNDI
and I need to federate it to Tomcat JNDI.
/JustToRememberMyProblem
I added a custom factory
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 tomcat internal
/factory/reference.html
http://java.sun.com/products/jndi/tutorial/beyond/fed/index.html
Good Luck, I'm glad to 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
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
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
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:
Resource name=jdbc/global type=javax.sql.DataSource
auth=Container scope=Shareable/
ResourceParams name=jdbc/global
parameter
-
From: Iran Marcius [mailto:[EMAIL PROTECTED]]
Sent: 20 December 2002 14:06
To: [EMAIL PROTECTED]
Subject: 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
]]
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.
- resource-ref
descriptionDB Connection/description
res-ref
[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 (inside Context) make
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
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
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
on
creating object factories 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
Hi,
I´m trying to access
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 Resource and ResourceParams elements there in order to
define how Tomcat is actually supposed to create the object
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
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
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 my original
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
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
"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)
40 matches
Mail list logo