[jboss-user] [JNDI/Naming/Network] - database connection error

mitali do-not-reply at jboss.com
Thu May 8 03:16:55 EDT 2008

In Spring when I use datasource as -

<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryB ean" destroy-method="close">

it gives me connection=null for first hit to database at second hit it works fine.

And, when I use datasource as -

there is no problem.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149324#4149324

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149324

More information about the jboss-user mailing list