Re: shale: jndi lookup error

2006-08-06 Thread vasiliy.kiryanov
>>What you are trying looks like it should work. If you try to look it up in >>the usual JNDI way, >>InitialContext initContext = new InitContext(); >>DataSource ds = (DataSource) initContext.lookup ("java:comp/env/jdbc/postgres"); >>does it actually work? Also, what servlet container

Re: shale: jndi lookup error

2006-08-05 Thread Craig McClanahan
On 8/5/06, vasiliy.kiryanov <[EMAIL PROTECTED]> wrote: Good afternoon. [http://shale.apache.org/features-jndi-integration.html] link says to me that I can aquire a java.sql.Connection from this data source .. but it constantly return null. from the myfaces BackBean this datasource resolves go