Hi,
I am no expert, but your lookup looks strange. (Empty string in lookup).
Furthermore these two contextes seem strange to me.
This works great for me:
@Override
public void init() throws ServletException {
LOGGER.info(INIT has been called);
try
{
final
Mike Baranski wrote:
Resource name=proteus auth=Container
type=org.apache.commons.dbcp.BasicDataSource
Why not to use jdbc/proteus? Just to follow convention. I'd also rather
use javax.sql.DataSource as type attribute.
resource-env-ref-name
OK, thanks, what does your context.xml look like for the jdbc/progress?
-Original Message-
From: Carsten Pohl [mailto:p...@tyntec.com]
Sent: Tuesday, November 03, 2009 9:03 AM
To: Tomcat Users List
Subject: Re: Trouble with context and JNDI resource
Hi,
I am no expert, but your lookup
That worked, thanks.
-Original Message-
From: Mikolaj Rydzewski [mailto:m...@ceti.pl]
Sent: Tuesday, November 03, 2009 9:11 AM
To: Tomcat Users List
Subject: Re: Trouble with context and JNDI resource
Mike Baranski wrote:
Resource name=proteus auth=Container
type
...@tyntec.com
Sent: Tuesday, 3 November, 2009 15:15:45 GMT +01:00 Amsterdam / Berlin / Bern /
Rome / Stockholm / Vienna
Subject: RE: Trouble with context and JNDI resource
OK, thanks, what does your context.xml look like for the jdbc/progress?
-Original Message-
From: Carsten Pohl [mailto:p
Yes, I know, what's the convention for doing this without changing the
context.xml and restarting tomcat?
-Original Message-
From: Carsten Pohl [mailto:p...@tyntec.com]
Sent: Tuesday, November 03, 2009 9:30 AM
To: Tomcat Users List
Subject: Re: Trouble with context and JNDI resource
My
Mike Baranski wrote:
Yes, I know, what's the convention for doing this without changing the
context.xml and restarting tomcat?
Put context.xml in META-INF directory of your webapp.
--
Mikolaj Rydzewski m...@ceti.pl
-
To
accepter aucune responsabilité
pour le contenu fourni.
Date: Tue, 3 Nov 2009 15:30:12 +0100
From: p...@tyntec.com
To: users@tomcat.apache.org
Subject: Re: Trouble with context and JNDI resource
My context.xml is quite straightforward.
?xml version=1.0 encoding=UTF-8?
Context
Martin Gainty wrote:
i would set the PGDATA environment var to point to exact location of Postgres
Database directory e.g (pg_ctl -D, --pgdata DATADIR) before attempting connect
to Postgres
Since we use TCP/IP to talk to postgres PGDATA is irrevelant (at client
side).
--
Mikolaj
with context and JNDI resource
Mike Baranski wrote:
Yes, I know, what's the convention for doing this without changing the
context.xml and restarting tomcat?
Put context.xml in META-INF directory of your webapp.
--
Mikolaj Rydzewski m...@ceti.pl
10 matches
Mail list logo