Sorry. Please find the full URL below.
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#PostgreSQL
On Sun, Nov 14, 2010 at 10:44 AM, Konstantin Kolinko
wrote:
> 2010/11/14 Jayaprakash Ramsaran :
>> Sever: Springsource tc server-developer-2.1.0/ tomcat-6.0.29.B
>> O/S:
2010/11/14 Jayaprakash Ramsaran :
> Sever: Springsource tc server-developer-2.1.0/ tomcat-6.0.29.B
> O/S: Windows Vista
> I am using Springsource Tool Suite 2.5.1 and tc server 2.1. I am
> trying to configure a data source to PostgresSql. I followed the steps
> outlined in http://tomcat.apache.org/
I tried to debug using the below code. To obtain list of all context,
I used the below code. Please review and help
System.out.println("Before Context list");
Context ctx1 = (Context) new
InitialContext().lookup("java:comp/env");