tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikola Milutinovic" <Nikola.Milutino...@ev.co.yu>
Subject Re: PostgreSQL JNDI resource under Tomcat 4.1.12 problem
Date Thu, 10 Oct 2002 05:33:24 GMT
> Server.xml: This portion exists under the GlobalNamingResources element
> under Server; the only pieces changed are the username and password.-)
> 
>     <Resource name="jdbc/election" scope="Shareable"
> type="javax.sql.DataSource"/>
>     <ResourceParams name="jdbc/election">
>        <parameter>
>         <name>validationQuery</name>
>         <value></value>
>       </parameter>

Should this be empty? If you do not have a connection validation query, then remove this or
put something quick and small. I'm not saying that is the problem, but most of my expirience
(and others, too) can be described as getting "null" object from JNDI, not hanging.

Nix.
Mime
View raw message