[jboss-user] [JNDI/Naming/Network] - Re: JBossResourceException

2008-05-09 Thread mitali
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

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

2008-05-08 Thread mitali
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

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

2008-05-08 Thread mitali
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

[jboss-user] [JNDI/Naming/Network] - JBossResourceException

2008-05-08 Thread mitali
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: