Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss & SQL server 2008

 
Faraz Ali
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am unable to deploy my beans on jboss. The database i am using is SQL server 2008. Driver file is sqljdbc.jar, driver class is com.microsoft.sqlserver.jdbc.SQLServerDriver, the url is jdbc:microsoft:sqlserver://myMachine/mytestdb. The persistence.xml file is below:



Where to put the driver jar file. And below is the exception i am getting:



Please help to fix above issues.


Thanks,



 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Faraz Ali wrote:Hi Ranchers,

the url is jdbc:microsoft:sqlserver://myMachine/mytestdb.


As per this documentation, you are using a wrong url pattern.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic