Solved

Unable to retrive records using JDBC SQLSERVER

Posted on 2010-11-17
3
343 Views
Last Modified: 2012-05-10
I have written one applicating using JDBC Type 3 SQLSERVER driver. The application is running fine when I run it from command prompt and retriving the data from remote data base. When I am trying to run the application from JNLP the form is opening but when trying to retrive the records from database, system doesn't do any thing. I am unable to trace the problem in java application. System is throwing exception "No suitable driver found for jdbc:sqlserver"

Please Help.

Regards

Milind
0
Comment
Question by:MILIND_JOG
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 500 total points
ID: 34179274
did you add jdbc driver file into your jnlp ? you need to provide jar reference in your jnlp file
<resources>
 <jar href="yourjdbcdriver.jar"/>

</resources>

you can check http://www.coderanch.com/t/200533/JNLP-Web-Start/java/JDBC-Web-Start for more info
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question