[jboss-user] [Datasource Configuration] - Re: Jboss6: Unable to get managed connection for jdbc with Spring

amber jboss1999 do-not-reply at jboss.com
Thu May 5 16:26:26 EDT 2011


amber jboss1999 [http://community.jboss.org/people/amberjboss1999] created the discussion

"Re: Jboss6: Unable to get managed connection for jdbc with Spring"

To view the discussion, visit: http://community.jboss.org/message/603782#603782

--------------------------------------------------------------
ok. The app seems to be working after I changed jtds.jar to compile time dependency and removed the server/lib/<subfolder>/jtds.jar from server path. But it's not perfect, b/c jBoss6 is still throwing exceptions, saying
 "
Caused by: org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: net.sourceforge.jtds.jdbc.Driver, url: jdbc:jtds:sqlserver://<server>:<port>;database=<db>".

If I used provided scope and put the jar back in lib/<subfolder>, I'd get ClassNotFoundException. It's WEIRD.

Any insight is appreciated,  http://community.jboss.org/people/jaikiran jaikiran pai!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/603782#603782]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110505/717ed986/attachment-0001.html 


More information about the jboss-user mailing list