This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Jboss & SQL server 2008 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Jboss & SQL server 2008" Watch "Jboss & SQL server 2008" New topic

Jboss & SQL server 2008

Faraz Ali
Ranch Hand

Joined: May 15, 2008
Posts: 108
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, 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.


Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9912

Faraz Ali wrote:Hi Ranchers,

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

As per this documentation, you are using a wrong url pattern.

[My Blog] [JavaRanch Journal]
It is sorta covered in the JavaRanch Style Guide.
subject: Jboss & SQL server 2008
Similar Threads
Unable to deploy EJB application to JBoss when implementing persistence
InstanceAlreadyExistsException when creating new datasource
Connection Pooling in JBoss v5.0 with IBM DB2
Invalid character ':' in value part of property (JBoss-ds.xml)
Error in DB2 connection Pooling