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

jaikiran pai do-not-reply at jboss.com
Fri May 6 09:40:09 EDT 2011


jaikiran pai [http://community.jboss.org/people/jaikiran] created the discussion

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

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

--------------------------------------------------------------
> amber jboss1999 wrote:
> 
>  If I used provided scope and put the jar back in lib/<subfolder>, I'd get ClassNotFoundException. It's WEIRD.
> 
> 
The driver jar should be in JBOSS_HOME/server/<servername>/lib folder (and +not+ any subfolder).


> amber jboss1999 wrote:
> . 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>".
> 
Please post the entire exception stacktrace and the latest *-ds.xml file that you are using.
--------------------------------------------------------------

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

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/20110506/ba5ef116/attachment-0001.html 


More information about the jboss-user mailing list