Re: SQL Server Error - Cannot load JDBC driver class

2017-10-19 Thread ubaid
I have solved the issue over here, you can find the solution over here . The reason the messages are not storing in the database is that

Re: SQL Server Error - Cannot load JDBC driver class

2017-10-18 Thread Tim Bain
>From the logs, it looks like it's failing to drop the primary key and then failing to create it (because it failed to drop it). For now let's assume that we're ending up in a good place (the table exists, the index exists), though we may have to reexamine that assumption if we find evidence of pro

Re: SQL Server Error - Cannot load JDBC driver class

2017-10-18 Thread Tim Bain
The StackOverflow post I got it from indicated that Microsoft may have changed their package structure at some point, so the correct package may be tied to which version of the JAR you use. But I don't have any more info than that. On Oct 18, 2017 6:32 AM, "ubaid" wrote: > that was hell of an an

Re: SQL Server Error - Cannot load JDBC driver class

2017-10-18 Thread ubaid
Tim, Can you help me a little bit more: With the same configuration and with the change you told me earlier the connection has been made, the tables are created but I still got an error as follow: Could not create JDBC tables; they could already exist. Failure was: ALTER TABLE ACTIVEMQ_ACKS DROP P

Re: SQL Server Error - Cannot load JDBC driver class

2017-10-18 Thread ubaid
that was hell of an answer Thank you so much. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: SQL Server Error - Cannot load JDBC driver class

2017-10-18 Thread Tim Bain
Does that JAR contain a class named com.microsoft.jdbc.sqlserver.SQLServerDriver as you specified in your config file? Or is it actually com.microsoft.sqlserver.jdbc.SQLServerDriver? Tim On Oct 18, 2017 2:37 AM, "ubaid" wrote: > Following are my configurations for SQL server: > >

SQL Server Error - Cannot load JDBC driver class

2017-10-18 Thread ubaid
Following are my configurations for SQL server: com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=activedb sa pass@word1 true