thanks for the reply it solved my problem
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4149723#4149723
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149723
___
jboss-user
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
mitali wrote : 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
16:16:26,765 WARN [JBossManagedConnectionPool] Throwable while attempting to
get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; -
nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong
driver class specified for URL: