tomcat-5 jndi

2005-04-13 Thread Licinio Gomez Delgado
Hi, I´ve been reading examples and the mailing list, but I can´t configure correctly Tomcat 5.0.28 with Oracle 9, I´m a bit desperate. I think I´ve tried everything. this is what I got: in my Tomcat 5.0\common\lib folder I´ve got ojdbc14.jar

Tomcat 5/JNDI Realm Port 989

2004-07-30 Thread John Clisham
Hello All, I'm a total newbie to this stuff, but I think I have an easy question for everyone... I'm trying to get Tomcat 5 to use Basic Authentication using a JNDI Realm to our corporate LDAP server. Our server allows read access on port 389 and bind access on port 989. Here's the issue.

Tomcat 4: JNDI LDAP - Can't get single role name

2004-05-13 Thread Goerlich, Michael
Hello Tomcat-Users, I've got a problem and I don't know if it's my lack (...but I've already scanned this list). In my environment I want to authenticate the users against MS AD by JNDI LDAP. The user authentication is ok and also the roles found by getRoles() are the right ones. But the

RE: Bug in jndi implementation : Tomcat 5 - jndi problem

2003-12-11 Thread Shapira, Yoav
Shapira Millennium ChemInformatics -Original Message- From: Frank Renaers [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 3:04 AM To: [EMAIL PROTECTED] Subject: Bug in jndi implementation : Tomcat 5 - jndi problem Hi, I assume it's a bug in the Tomcat jndi implementation

Tomcat 5 - jndi problem

2003-12-10 Thread Frank Renaers
Hi, Is it possible to browse the Tomcat jndi context from within another vm. I wrote a small junit test to test this, but it always fails !! It always throws a javax.naming.NameNotFoundException: Name java:comp is not bound in this Context My jndi.properties contains the following settings

RE: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-19 Thread Euan Guttridge
: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' It could be related, but I'm not sure. I think the problem lies in the way the application gets deployed with this ant build file. Probably the docbase doesn't match (however that's just a wild guess) Still

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-19 Thread Ilja Hehenkamp
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' Date: Fri, 19 Sep 2003 19:37:46 +0200 Sorry, I don't really understand what you mean? Do you mean I shouldn't use the build file anymore? If so: that's too bad

Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja
) at foo.TestServlet.doGet(TestServlet.java:34) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) The code and examples are taken from http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Martin Jacobson
Ilja wrote: Ok, first some configuration information: Tomcat 5.09 MySQL Driver 3.08 stable OS: Mac OSX 10.2.6 J2SE 1.4.2 My config is not the same (TC 4.1.24, OSX 10.2.6, MySQL 3.07), and my parameters are different: ResourceParams name=jdbc/EuratomDB parameter namefactory/name

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
Jacobson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' Date: Mon, 15 Sep 2003 14:00:52 +0200 Ilja wrote: Ok, first some configuration information

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Remy Maucherat
Ilja Hehenkamp wrote: I think I know where lies the problem, however I still don't know how to fix it... I use the sample build.xml file from Tomcat: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt to install, reload and distribute my sample application. When I do an ant

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
deployed application? From: Remy Maucherat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' Date: Mon, 15 Sep 2003 15:17:53 +0200 Ilja Hehenkamp

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Remy Maucherat
Ilja Hehenkamp wrote: Sorry, I don't really understand what you mean? Do you mean I shouldn't use the build file anymore? If so: that's too bad, since I like the way of automated updating the tomcat manager... I'm sure you do. You seem to be stuck on that particular page of the docs, however,

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
? So for confirmation: I shouldn't use the old ant buildfile anymore? Ilja From: Remy Maucherat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Paul
p.s. i would be happy to report my server.xml or web.xml or jsp code for calling connection, if you think it may be of any use to you. - Original Message - From: Ilja Hehenkamp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 15, 2003 9:10 AM Subject: Re: Tomcat, MySQL JNDI

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
It could be related, but I'm not sure. I think the problem lies in the way the application gets deployed with this ant build file. Probably the docbase doesn't match (however that's just a wild guess) Still waiting for some confirmation from Remy Maucherat. He was talking about the client

RE: Problem connecting to mysql database with Tomcat and JNDI

2003-08-22 Thread Scott Stewart
. 56 E. Pine Street Suite 200 Orlando, FL 32801 USA -Original Message- From: Robert S. Jones [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 5:35 PM To: [EMAIL PROTECTED] Subject: Problem connecting to mysql database with Tomcat and JNDI Folks, I'm having trouble connecting

RE: Problem connecting to mysql database with Tomcat and JNDI

2003-08-22 Thread Robert S. Jones
PROTECTED] Subject: Problem connecting to mysql database with Tomcat and JNDI Folks, I'm having trouble connecting to a mysql database through Tomcat. I'm using Tomcat 5.0.9a with mysql 4.0.14. I have the mysql 3.0.8 JDBC driver in ${TOMCAT_HOME}/common/lib. I'm running RedHat 8.0

RE: Problem connecting to mysql database with Tomcat and JNDI

2003-08-22 Thread Robert S. Jones
with Tomcat and JNDI Folks, I'm having trouble connecting to a mysql database through Tomcat. I'm using Tomcat 5.0.9a with mysql 4.0.14. I have the mysql 3.0.8 JDBC driver in ${TOMCAT_HOME}/common/lib. I'm running RedHat 8.0 with a stock kernel. I've been able to connect

Problem connecting to mysql database with Tomcat and JNDI

2003-08-21 Thread Robert S. Jones
Folks, I'm having trouble connecting to a mysql database through Tomcat. I'm using Tomcat 5.0.9a with mysql 4.0.14. I have the mysql 3.0.8 JDBC driver in ${TOMCAT_HOME}/common/lib. I'm running RedHat 8.0 with a stock kernel. I've been able to connect to the database without JNDI services.

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
This works for me ... web.xml : resource-ref description Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. /description

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I tried this and it's not giving me the not found in Context message, but it's now trying to pass me a null connection. I think the problem is that it doesn't know where to get the connection from. With the ResourceLink in the server.xml Context, one specifies the name one wants to use

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Tim Shaw
The Resource is specified, in the server.xml, with a name. This is the JNDI name and is used to refer to the resource from wherever you like. The setup of the resource is done by the ResourceParams (I hope you didn't copy my example verbatim ;-) The web.xml is just abstracting that reference

Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I have defined a GlobalNamingResource for a database connection and that works great if I put a ResourceEnvRef in the Context in the server.xml. However, I have a problem. If I deploy my app using ant and it's deply task, it removes the ResourceEnvRef portion of my Context. I see two possible

RE: Tomcat/Ant/JNDI question

2003-06-17 Thread Shapira, Yoav
Howdy, - put the equivalent of ResourceEnvRef into the web.xml inside the web app See the env-entry element in the Servlet Specification, v2.3, SRC.13.1. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is

Re: Tomcat/Ant/JNDI question

2003-06-17 Thread Garrett Dangerfield
I tried this and it's not working. It's saying: Name jdbc not found in this context In my web.xml, I put in: env-entry env-entry-namejdbc/DataWarehouse/env-entry-name env-entry-valuejdbc/DataWarehouse/env-entry-value env-entry-typejavax.sql.DataSource/env-entry-type /env-entry In my

Tomcat and JNDI - Basic Question

2003-06-10 Thread Renato Romano
In the tomcat documentation it is said that to configure a new JNDI resource you should put a Resource entry in the Context portion of my app, and a following ResourceParams, indicating the java class name of the factory (the class that must implement ObjectFactory). This seems quite correct: in

Re: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-10 Thread Federico Spinazzi
James Lewis wrote: always perform such a lookup successfully, but when I try from a ContextListener contextInitialized method it fails: the same code WILL NOT FAIL contextDestroyed !!! Hmmm, odd. This is *exactly* what I do pretty much. I have a LifeCycleListener specified in the

Re: Tomcat and JNDI - Basic Question

2003-06-10 Thread Yoav Shapira
Howdy, It might be that the fallback behavior is to use a public no-args constructor, ala JavaBeans. Yoav Shapira --- Renato Romano [EMAIL PROTECTED] wrote: In the tomcat documentation it is said that to configure a new JNDI resource you should put a Resource entry in the Context portion of my

Re: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread Federico Spinazzi
James Lewis wrote: - define the resource in server.xml (this is a little 'limitating' for me) - deploy the applications in unpacked format (i.e. not from a war file: this is quite limiting, however) Yep, not good to stick them in server.xml. Your application.xml file containing your

RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread James Lewis
always perform such a lookup successfully, but when I try from a ContextListener contextInitialized method it fails: the same code WILL NOT FAIL contextDestroyed !!! Hmmm, odd. This is *exactly* what I do pretty much. I have a LifeCycleListener specified in the webapps/app/WEB-INF/web.xml like

RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread Shapira, Yoav
Subject: RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized always perform such a lookup successfully, but when I try from a ContextListener contextInitialized method it fails: the same code WILL NOT FAIL contextDestroyed !!! Hmmm, odd. This is *exactly* what

Tomcat and JNDI - Basic Question

2003-06-06 Thread Renato Romano
In the tomcat documentation it is said that to configure a new JNDI resource you shoul put a Resource entry in the Context portion of my app, and a following ResourceParams, indicating the java class name of the factory (the class that must implement ObjectFactory). This seems quite correct: in

Tomcat and JNDI

2003-01-13 Thread Randy Paries
Hello, I am trying to get tomcat and jndi working. I am just looking for some direction in troubleshooting. I have configured the server.xml and web.xml as given in the examples of the tomcat docs for oracle. In the code I am trying to get working. //snippet

Tomcat 3.3 , JNDI, DataSource, Web.xml, Server.xml

2002-11-22 Thread Jeovanny Mejia
Does anyone know how to get a DataSource configured in the Server.xml file, reference it in the web.xml as a resource, and pull the DataSource using JNDI in an external application? I am stumped. _ Add photos to your messages

Re: Tomcat 3.3 , JNDI, DataSource, Web.xml, Server.xml

2002-11-22 Thread Craig R. McClanahan
On Sat, 23 Nov 2002, Jeovanny Mejia wrote: Date: Sat, 23 Nov 2002 01:32:01 + From: Jeovanny Mejia [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 3.3 , JNDI, DataSource, Web.xml, Server.xml Does anyone know how to get a DataSource

Re: Tomcat 3.3 , JNDI, DataSource, Web.xml, Server.xml

2002-11-22 Thread Bill Barker
: [EMAIL PROTECTED] Subject: Tomcat 3.3 , JNDI, DataSource, Web.xml, Server.xml Does anyone know how to get a DataSource configured in the Server.xml file, reference it in the web.xml as a resource, and pull the DataSource using JNDI in an external application? I am stumped. AFAIK

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-30 Thread Martin Jacobson
[EMAIL PROTECTED] wrote: Vance, Good eye. It use to be driverName but got changed along the way to URL. Probably when I started following the 4.1 how-to. In any case, I changed back to driverName and, alas, same problem. Vance, do you get the same error?

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-30 Thread stevem
Subject Please respond to Re: Trouble configuring Tomcat 4.0.4 Tomcat Users JNDI connection to MySQL List

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-30 Thread stevem
to Re: Trouble configuring Tomcat 4.0.4 Tomcat Users JNDI connection to MySQL List tomcat-user@jakar ta.apache.org

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-30 Thread Craig R. McClanahan
On Fri, 30 Aug 2002, Martin Jacobson wrote: At this point, Craig will probably come in and say to move to tc 4.1, and I'd say, 'fine, as long as you don't use SSL with a standalone tomcat, because the Coyote connector is broken in this respect.' I hope you've reported your issues to the

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-30 Thread Vance Christiaanse
Tomcat 4.0.4 JNDI connection to MySQL Martin's advice made a difference. When I pulled in the tc 4.1 common/lib jars to my tc 4.04 common/lib I got past my problem for the first time. The new contents of common/lib are: activation.jar, commons-collections.jar, commons-dbcp.jar, commons

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-30 Thread stevem
: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, August 30, 2002 12:20 PM Subject: Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL Martin's advice made a difference. When I pulled in the tc 4.1 common/lib jars to my

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL ***PROBLEMSOLVED***

2002-08-30 Thread stevem
Thank you to everyone who helped with this. I am now able to use a JNDI MySQL DataSource. The last problem I had, after moving to 4.1.9, was caused by a typo in my closing /Context tag. I do not know if that was the problem all along with 4.0.4. -- To unsubscribe, e-mail: mailto:[EMAIL

Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-29 Thread stevem
After reading something in another post this morning I realized I was mixing instructions from the 4.1 JNDI How-to. I've reposted this message with updated information after making sure I was ONLY following the 4.0 JNDI How to. I have deleted my server.xml and started with a fresh copy. First,

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-29 Thread Vance Christiaanse
but you're trying to use 4.0. I don't know if this is significant or not. Vance - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 10:31 AM Subject: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL After reading

Re: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL

2002-08-29 Thread stevem
: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 10:31 AM Subject: Trouble configuring Tomcat 4.0.4 JNDI connection to MySQL After reading something in another post this morning I realized I was mixing instructions from the 4.1 JNDI How-to. I've reposted

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-11 Thread peter . catania
hello Przemyslaw, les, On Wed, 03 Jul 2002 05:11:44 -0700 , Przemyslaw wrote: On Tuesday 02 July 2002 16:27, Les Hughes wrote: Ok. Summary time. Martin reflects my experience - I dumped tyrex and used DBCP as well. But aren't we trying to go direct without a pool? Having said that I've only

tomcat 4.0.4, JNDI, Datasource.getConnection() - No suitable driver,[Oracle]

2002-07-05 Thread Pedro Salazar
Greetings, I'm moving a webservice from tomcat 4.1.2 (WSDP 1.0) -- tomcat 4.0.4 because I want to go to production environment and instead of using the tomcat bundled with WebServiceDevelopmentPack 1.0 (WSDP 1.0), I want to use a conventional/isolated tomcat. I choose the tomcat 4.0.4 (latest

RE: tomcat 4.0.4, JNDI, Datasource.getConnection() - No suitable driver, [Oracle]

2002-07-05 Thread Andrew Conrad
, 2002 7:00 AM To: [EMAIL PROTECTED] Subject: tomcat 4.0.4, JNDI, Datasource.getConnection() - No suitable driver, [Oracle] Greetings, I'm moving a webservice from tomcat 4.1.2 (WSDP 1.0) -- tomcat 4.0.4 because I want to go to production environment and instead of using the tomcat bundled

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-04 Thread Les Hughes
The model is very simple and as a coder you never see that DBCP is there instead of Tyrex or a direct connection. Let me know how you get on an I'll patch the documentation accordingly. Also I noticed that my howto has made it into CVS (thanks guys!) so if you grab a nightly build (probably

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-03 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 16:27, Les Hughes wrote: Ok. Summary time. Martin reflects my experience - I dumped tyrex and used DBCP as well. But aren't we trying to go direct without a pool? Having said that I've only ever managed to get datasources working when DBCP is being used... Check

Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
Hi I've just started to write servlets. Servlets that only do processing, without connecting to database work fine, but I have some problems to get the connection with postgresql via jdbc work. Tomcat: 4.0.4 (on linux) Postgresql: 7.2.1 (on linux) Jdbc: pgjdbc2.jar (from

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
:) -Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 11:09 To: 'Tomcat Users List' Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long] Hi I've just started to write servlets. Servlets that only do processing, without connecting

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 14:00, Les Hughes wrote: Two things, In your server.xml user I think should be username and driverName has been deprecated in favour of url which needs the servername and DB name as well (as in something like jdbc:postgresql://full.server.name/mybookdb - or

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread andre . powroznik
Would you have other applications running in tomcat? -Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 14:54 To: Tomcat Users List Subject: Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long] On Tuesday 02 July 2002 14:00, Les Hughes wrote: Two

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 14:53, Przemyslaw Kowalczyk wrote: I came to another conclusion. Even if there was some reference to hsql driver in my server.xml it shouldn't affect my own servlet, as it uses its own context. Am I right? przem -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread andre . powroznik
-Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 12:09 To: 'Tomcat Users List' Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long] Hi I've just started to write servlets. Servlets that only do processing, without connecting to database work fine

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
Yep :-) Oh, I think there's a typo in the URL - remove the two // - this is all driver specific so it's a case of RTM :-) -Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 14:00 To: Tomcat Users List Subject: Re: Tomcat 4.0.4, jndi, jdbc

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
this is optional) but other than that it's fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 14:00 To: [EMAIL PROTECTED] Subject: RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long] Is this normal : resource-ref res-ref

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 14:56, [EMAIL PROTECTED] wrote: Would you have other applications running in tomcat? No, I've just started to learn, so there are other apps. przem -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:00, [EMAIL PROTECTED] wrote: Is this normal : resource-ref res-ref-namejdbc/BookDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainter/res-auth /resource-ref More especially :

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
:[EMAIL PROTECTED]] Sent: 02 July 2002 14:13 To: Tomcat Users List Subject: Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long] On Tuesday 02 July 2002 15:00, [EMAIL PROTECTED] wrote: Is this normal : resource-ref res-ref-namejdbc/BookDB/res-ref-name

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:06, Les Hughes wrote: web-app resource-ref descriptionDB Connection/description res-ref-namejdbc/TestDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app The description is missing

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread andre . powroznik
]] Sent: 02 July 2002 12:09 To: 'Tomcat Users List' Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long] Hi I've just started to write servlets. Servlets that only do processing, without connecting to database work fine, but I have some problems to get the connection with postgresql via jdbc

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Martin Jacobson
Les Hughes wrote: Ignore the remove // comment - I was looking at my oracle notes :-) I really have no idea why it's trying to load the hsql driver if there's no ref in your server.xml Post your server.xml and web.xml and we'll both have a look. I struggled for weeks (on and off)

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:16, Les Hughes wrote: Ignore the remove // comment - I was looking at my oracle notes :-) I really have no idea why it's trying to load the hsql driver if there's no ref in your server.xml Ok, the full versions (I cut off all comments): przem server.xml

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 15:43, [EMAIL PROTECTED] wrote: Do you have already connected to a postgresql db using a java app? Are you sure the parameters are correct? What is public? Where did you put the postgresql.jar? Yes, without any problems from 'standalone' application. I'm able to query

RE: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Les Hughes
/parameter /ResourceParams -Original Message- From: Przemyslaw Kowalczyk [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 14:53 To: Tomcat Users List Subject: Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long] On Tuesday 02 July 2002 15:43, [EMAIL PROTECTED] wrote: Do you

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Brian P. Millett
On Tue, 2002-07-02 at 08:47, Przemyslaw Kowalczyk wrote: On Tuesday 02 July 2002 15:16, Les Hughes wrote: Ignore the remove // comment - I was looking at my oracle notes :-) I really have no idea why it's trying to load the hsql driver if there's no ref in your server.xml Ok, the full

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Arshad Mahmood
Kowalczyk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, July 02, 2002 11:08 AM Subject: Tomcat 4.0.4, jndi, jdbc and postgresql [long] Hi I've just started to write servlets. Servlets that only do processing, without connecting to database work fine, but I have some

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Nikola Milutinovic
Neither adding description nor removing slashes helped. I've checked the path in manual: jdbc:postgresql:database jdbc:postgresql://host/database jdbc:postgresql://host:port/database This last form is the most complete one. Anyway, that will not make a difference, since it is up to

Re: Tomcat 4 JNDI

2002-06-18 Thread giluka
:27 AM Subject: Re: Tomcat 4 JNDI In tomcat 4 you can also use the ejb-ref element in the server.xml look at the tomcat examples, hope it will work. good luck On Tuesday 18 June 2002 08:56, you wrote: I've a problem: i want to call my EJB resource (running on a remote machine on JBoss 3.0

Re: Tomcat 4 JNDI

2002-06-18 Thread Richard Plukker
, June 18, 2002 9:27 AM Subject: Re: Tomcat 4 JNDI In tomcat 4 you can also use the ejb-ref element in the server.xml look at the tomcat examples, hope it will work. good luck On Tuesday 18 June 2002 08:56, you wrote: I've a problem: i want to call my EJB resource (running on a remote

Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Miller, Andy
I have seperate instances of Tomcat and JBoss running on the same machine. I'm trying to do a JNDI lookup of a JMS queue that's configured in JBoss from Tomcat but cannot get it to work. I can see the JNDI tree from the JBoss' JNDIView and all looks fine, here's a a snapshot of the Global JNDI

Re: Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Håkon Hansen
On Mon, 3 Jun 2002 11:48:14 -0500 Miller, Andy [EMAIL PROTECTED] wrote: I have seperate instances of Tomcat and JBoss running on the same machine. I'm trying to do a JNDI lookup of a JMS queue that's configured in JBoss from Tomcat but cannot get it to work. I have not taken the time to

RE: Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Miller, Andy
That was all it took! Thanks a million! -Original Message- From: Håkon Hansen [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:23 AM To: Tomcat Users List Subject: Re: Tomcat / JBoss / JNDI lookup not working - HELP! On Mon, 3 Jun 2002 11:48:14 -0500 Miller, Andy [EMAIL

Re: Tomcat / JBoss / JNDI lookup not working - HELP!

2002-06-03 Thread Håkon Hansen
On Mon, 3 Jun 2002 12:32:11 -0500 Miller, Andy [EMAIL PROTECTED] wrote: You are very welcome :-) Yours, Haakon Hansen, Norway -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Accessing Tomcat 4.03 JNDI service from LoginModule

2002-05-31 Thread Salonen, Aki
Hi! I'm following problem: I have JAAS LoginModule that uses JNDI to lookup DataSource object. My LoginModule and LoginConfiguration implementation classes are located in Tomcat's classpath. I tried first to put JAAS related classes under [TOMCAT-HOME]/common/lib, but that caused

Tomcat 4.1 JNDI Novell

2002-04-08 Thread todd tredeau
Hi; I am looking for a project participant to; Integrate our revision, NWJNDIRealm which is a modified 'JNDIRealm'; What I think is needed is; 1. Standardize compatiblized code 2. Implement a simpler way to manage virtual hosts ie:mulitple

Tomcat/Poolman/JNDI (was RMI/JNDI problem w/tomcat 3.3)

2001-12-07 Thread Mike Comb
OK, let me make this simpler since I have only received one response. Has anybody gotten poolman 2.04 to work with tomcat 3.3 using JNDI? How? Thanks, -Mike --On Friday, December 7, 2001 10:08 AM -0800 Mike Comb [EMAIL PROTECTED] wrote: Yes, I know it ignores the CLASSPATH. I tried

Re: Tomcat/Poolman/JNDI (was RMI/JNDI problem w/tomcat 3.3)

2001-12-07 Thread Mike Comb
. Has anybody gotten poolman 2.04 to work with tomcat 3.3 using JNDI? How? Thanks, -Mike --On Friday, December 7, 2001 10:08 AM -0800 Mike Comb [EMAIL PROTECTED] wrote: Yes, I know it ignores the CLASSPATH. I tried puting jndi.properties in my webapps classes directory as well

Re: Tomcat/Poolman/JNDI (was RMI/JNDI problem w/tomcat 3.3)

2001-12-07 Thread Mike Comb
7, 2001 11:48 AM -0800 Mike Comb [EMAIL PROTECTED] wrote: OK, let me make this simpler since I have only received one response. Has anybody gotten poolman 2.04 to work with tomcat 3.3 using JNDI? How? Thanks, -Mike --On Friday, December 7, 2001 10:08 AM -0800 Mike Comb [EMAIL PROTECTED

Apache, Tomcat and JNDI problem...

2001-10-23 Thread JTurner
Hi, I have been developing an application that does a JNDI lookup for a DataSource and then does a database query. Everything works great when I just use Tomcat 4.0.1. But when I use Apache as the front end and use the Warp Connector to connect Apache and Tomcat, I am then unable to retrieve the

Re: Tomcat / J2EE - JNDI Help!!!

2001-08-13 Thread Aditya Anand
Okie... just pondering if tomcat provides a directory service standalone i tried binding regular serializable java objects to the directory and get a security exception saying the context is read-only! --- Sophie [EMAIL PROTECTED] wrote: Hi, I am not working with your configuration, but

Adding contextPpath and realPath to tomcat environment jndi

2001-08-08 Thread Roytman, Alex
Hello I would like to propose to add several things to tomcat's context's environment jndi when a context gets created Specifically I am interested in context path, context real path and any other tomcat context runtime info If it will not violate security I would be happy if Context itself can

Re: Adding contextPpath and realPath to tomcat environment jndi

2001-08-08 Thread Craig R. McClanahan
On Wed, 8 Aug 2001, Roytman, Alex wrote: Hello I would like to propose to add several things to tomcat's context's environment jndi when a context gets created Sounds like a good discussion for TOMCAT-DEV ... Specifically I am interested in context path, context real path and any