The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded with jws

Hi,
When I execute my executable jar file, there is no problem but when I open my .jnlp with web start, I obtain my main frame but the queries don't work.
I have the error message below :
Java Web Start 1.2 Console, d�marr�e Fri Apr 25 14:55:59 CEST 2003
Environnement d'ex�cution Java 2 : version 1.3.1 par Sun Microsystems Inc.
See com.borland.dx.dataset.DataSetException error code: BASE+83
com.borland.dx.dataset.DataSetException: The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath.
     at com.borland.dx.dataset.DataSetException.a(Unknown Source)
     at com.borland.dx.dataset.DataSetException.driverNotLoadedAtRuntime(Unknown Source)
Anyone can help me please?

Almost certainly, you need to include the JAR file that contains the class in question as a resource in your JNLP. My personal preference for this kind of thing is to have an entry that actually points to another JNLP for the driver (database, e-mail, whatever you need).
In general, the whole application has to be packaged so that JWS is aware of all the pieces (other than the JRE)--one other thing I've done in some cases is put the driver JAR's into the jre/lib/ext directory.
HTH,
J M Craig

Similar Messages

  • The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded with I use jws

    Hi,
    I use Java web start and the problem is that java web start can't be loaded the driver.
    Here is my error message :
    See com.borland.dx.dataset.DataSetException error code: BASE+83
    com.borland.dx.dataset.DataSetException: The driver: sun.jdbc.odbc.JdbcOdbcDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath.
    at com.borland.dx.dataset.DataSetException.a(Unknown Source)
    at com.borland.dx.dataset.DataSetException.driverNotLoadedAtRuntime(Unknown Source)
    at ...
    In my .jnlp I put :
    <resources>
    <j2se version="1.3+" />
    <jar href="ManipulationLigneAS400.jar" /> it's my application
    <jar href="classes12.zip" />
    </resources>
    I don't know what .jar I have to put?
    Someone could help me please?

    Hi,
    see your thread http://forum.java.sun.com/thread.jsp?forum=31&thread=385994
    Ulrich

  • Where can i download (free) sun.jdbc.odbc.JdbcOdbcDriver?

    where can i download (free) sun.jdbc.odbc.JdbcOdbcDriver?... could u please give me the downlaod path...thanks...thanks million
    mag

    What if that code indicates you don't have it? i
    keep getting a ClassNotFound error for
    sun.jdbc.odbc.JdbcOdbcDriver. i can't d/l the JDK
    from Sun, i'm on OS X; i have downloaded it from
    Apple. i can't find the class anywhere, nor anywhere
    online. ODBC (not java) requires drivers which are OS specific. So it doesn't matter if you have the JDBC driver if you can't find the ODBC driver for the database that you want.
    i thought i was supposed to be able to code
    Java on OS X just fine?JDBC works. That is part of java.
    Drivers are not part of java. They are separate products.
    I suspect that, for example, if you want to connect to Oracle and you get the type 4 drivers from Oracle that they will work just fine on that OS.
    You might find that for the database that you are using that there is no driver (explicitly) for that OS though.

  • Use of sun.jdbc.odbc.JdbcOdbcDriver

    Hi, I'm starting to work with Java and I'm trying to connect to a SQL Server 2000 database using "sun.jdbc.odbc.JdbcOdbcDriver" driver but when I try to make the connection I get this error:
    "java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    Cannot get connection"
    Here is the my code:
    final static private String _driver = "sun.jdbc.odbc.JdbcOdbcDriver";
    final static private String _url = "jdbc:odbc:<databasename>";
    Class.forName(_driver);                    // Load Driver
    c = DriverManager.getConnection(_url, "<user>", "<passwd>");
    } catch (java.lang.ClassNotFoundException e){
    System.out.println(e.toString());
    System.out.println("Cannot find driver class");
    System.exit(1);
    } catch (java.sql.SQLException e) {
    System.out.println(e.toString());          
    System.out.println("Cannot get connection");
    System.exit(1);
    Someone can help me with this ?? I'm stuck !!
    Thanks !!

    Hi, I'm starting to work with Java and I'm trying to
    connect to a SQL Server 2000 database using
    "sun.jdbc.odbc.JdbcOdbcDriver" driver but when I try
    to make the connection I get this error:
    "java.sql.SQLException: [Microsoft][ODBC Driver
    Manager] Data source name not found and no default
    driver specified
    Cannot get connection"
    Here is the my code:
    final static private String _driver =
    "sun.jdbc.odbc.JdbcOdbcDriver";
    final static private String _url =
    "jdbc:odbc:<databasename>"; the DSN that you set up for connecting to your database. is it called <databasename>? somehow i doubt it.

  • What do I need to use sun.jdbc.odbc.jdbcOdbcDriver

    hi there
    what do I need to use sun.jdbc.odbc.jdbcOdbcDriver to access MS Access database?
    String sourceURL = "jdbc:odbc:mysource";
    String sqlQuery = "select ComsumerAccountNumber from EDS5";
    //getting a connection
    try {
    Class.forName(driverName);
    Connection databaseConnection = DriverManager.getConnection(sourceURL);
    Statement statement = databaseConnection.createStatement();
    ResultSet rs = statement.executeQuery(sqlQuery);
    while(rs.next()){
    ...some code to do with the results
    catch (ClassNotFoundException cnfe) {
    System.err.println(cnfe.getMessage());
    catch (SQLException sqle) {
    System.err.println(sqle.getMessage());}
    I got error and caught it in catch( classnotfoundexception). no driver. is this the correct way to use a driver. I have created a data source.

    make sure the driverName is "sun.jdbc.odbc.JdbcOdbcDriver"
    I noticed you typed in your message "sun.jdbc.odbc.jdbcOdbcDriver" with a lowercase 'j'

  • Do I need to download sun.jdbc.odbc.JdbcOdbcDriver ??

    Do I need to download sun.jdbc.odbc.JdbcOdbcDriver ??
    Thank you in advance.

    The JDBC/ODBC bridge comes with the JDK/JRE, at least since 1.2, I don't know about 1.1.
    Col

  • The data base DLL 'crdb_dao.dll' could not be loaded.

    This has  been posted in other threads but I've not seen a final resolution.
    I used VS2008 to create an application that includes Crystal Reports and One Click in VS2008 to create a runtime system to distribute my application.  The system installs and runs properly on a 32 bit system but fails to run on a 64 bit system.  I get a message on the 64  bit system that says
    The data base DLL 'crdb_dao.dll' could not be loaded.
    I cannot find the crdb-dao.dll module on the 64 bit system but can find it on the 32 bit system.   Can anyone tell me how to overcome this problem?
    Thanks!
    John

    Hi John,
    Moved to .NET Developer Forum. As noted in those other threads, there is no 64 bit version of the DAO driver. Your only option is to use ODBC or OLE DB.
    No plans to create one because I don't Microsoft does NOT support their Access driver in 64 bit modes. See this Microsoft article on the history and supportability of DAO:
    http://msdn.microsoft.com/en-us/library/ms810810.aspx
    In this article it states:
    There is no 64-bit version of the Jet Database Engine, the Jet OLEDB Driver, the Jet ODBC Drivers, or Jet DAO available. This is also documented in KB article 957570. On 64-bit versions of Windows, 32-bit Jet runs under the Windows WOW64 subsystem. For more information on WOW64, see http://msdn.microsoft.com/en-us/library/aa384249(VS.85).aspx. Native 64-bit applications cannot communicate with the 32-bit Jet drivers running in WOW64.
    Thank you
    Don
    Edited by: Don Williams on Apr 27, 2010 6:56 AM

  • HT201210 when i try to update to 6.0, itunes says "itunes could not back up the iphone "****** iphone" because a session could not be started with the iPhone? help?

    when i try to update to 6.0, itunes says "itunes could not back up the iphone "****** iphone" because a session could not be started with the iPhone? help?

    i hope you have 30 dollars to blow on top of what you already spent on your ipod....because thats what apple wants to answer your question ...if its out of warranty

  • How can i put a file into blob(using sun.jdbc.odbc.JdbcOdbcDriver)

    Hi
    i tried to put a file into blob , but got a problem.....
    My environment:windows 2000pro,JBuilder 5.0 enterprise,oracle 8.1.6,(not install oracle jdbc driver )
    a part of program(my program is very uglily,if anyone want,later i paste it ba....~_~)
    //Statement stmt2=null;
    //Resultset rs2;
    //opa1 is the blob data
    void saveBlobTableToDisk(Connection con) {
    try {
    stmt2=con.createStatement();
    sqlStr2="SELECT * FROM emp3 where id=1004";
    rs2=stmt2.executeQuery(sqlStr2);
    while (rs2.next()) {
    Blob aBlob=rs2.getBlob("opa1");
    i got the exception :
    " null
    java.lang.UnsupportedOperationException
         at sun.jdbc.odbc.JdbcOdbcResultSet.getBlob(JdbcOdbcResultSet.java:4174)
         at test3.Frame1.saveBlobTableToDisk(Frame1.java:48)
         at test3.Frame1.<init>(Frame1.java:26)
         at test3.Application1.<init>(Application1.java:5)
         at test3.Application1.main(Application1.java:8) "
    and the windows pop up a messagebox said that(about) my memory "0x09af007f" could not read, error in javaw.exe .
    Later i used (ResultSet)getBinaryStream() to solve it. but getBinaryStream() only return a InputStream,so that i can make blob to a file,but i can't make a file to blob using jdbc.....
    I am very stupid that installing sun java, oracle jdbc driver etc....(because i must set a lot of thing such as classpath,java_home etc), Can i only use JBuilder to do that ?
    Or i must install oracle jdbc driver ?
    Thanks.

    My guess here is that Sun's JDBC-ODBC bridge doesn't handle the BLOB datatype. Most ODBC drivers don't support that datatype, so I wouldn't expect the bridge to.
    Is there a reason that you can't use the Oracle driver?
    Justin

  • Installing sun.jdbc.odbc.JdbcOdbcDriver

    Hi, how do you install this driver?

    a DSN is a database source name correct? How do you
    make a System DSN? I think this might solve the
    problem as i found someone else with the same problem
    with me and after someone suggested that there was no
    response.No.
    DSN is a Data Source Name.
    A data source is an ODBC construct that includes the path etc. to the database in question.
    What you are putting in is just the name of the database which is not the same at all.
    If you don't want or don't know how to set up a DSN you can use what is called a dynamic DSN in which you specify the database.
    Look at the first reply in this thread.
    http://forum.java.sun.com/thread.jspa?forumID=48&threadID=440387

  • The class or interface 'URL Variables' could not be loaded

    what should i do for this problem is my action scripts...
    my scripts is....
    import mx.transitions.Tween;
    import mx.transitions.Zoom.*;
    import caurina.transitions.*;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    var myGalleryXML = new XML();
    myGalleryXML.ignoreWhite = true;
    /*new*/
    var search = 'all';
    var filter = 'all';
    var search:String = ExternalInterface.call("window.location.search");
    var vars:URLVariables = new URLVariables(search);
    trace(vars.search);
    trace(vars.filter);
    if(vars.search!='all' and vars.filter!='all')
        search= vars.search;
        filter=vars.filter;
    myGalleryXML.load("http://supremeinv.in/demo/index.php/"+search+"/"+filter);

    First you need to decide which version of Actionscript you are going to use, then use the code that agrees with that decision.  URLVariables (and URLRequest) are AS3 code elements.
    Elsewhere, you will end up with conflicts if you continue to declare the same variable multiple times.  In this case you are declaring var search at least twice.

  • The database sql generation parameters file could not be loaded. (MS Analysis Services 2012, OLEDB, OLAP)

    I am facing this error while creating a report in BI launchpad.It is working fine in rich client.I am using BO 4.1 and ms sql server 2012
    Thanks
    Riaz

    Hi amit,
    Do I need to create DSN for cube or data base?
    I am working on sql server cube
    By UDT i have selected OLE DB to create connection.
    While creating DSN what i have to select in the list

  • Error message "iTunes could not restore the iPhone "___" because a session could not be started with the iPhone"

    Dear Sir/ Madam,
    I have the error message appeared when i tried to restore to previous backup. I had recently upgraded my iPhone 4S to IOS 7.0, and at the same time upgraded iTunes to version 11.1.0.126 (snapshot below). Mind to know how do i get rid of it?
    Hope to hear from you soon.
    Thanks.
    Regards
    Kiah Siong Ng

    Read this
    http://support.apple.com/kb/HT1414

  • How do I get the SUN jdbc-odbc bridge to work?

    Hi,
    I'm trying to us the SUN 1.2 jdbc-odbc bridge on Oracle 8.
    I have installed the ODBC driver from www.intersolv.com
    (Merant) and have successfully tested it.
    I have SUN 1.2 installed and verified that
    the sun JdbdOdbcDriver is in my CLASSPATH.
    My driver path is:
    sun.jdbc.odbc.JdbcOdbcDriver
    My url is
    jdbc:odbc:Oracle8
    my odbc.ini is correct, and my ODBCINI is set.
    when I try to connect I get "No suitable driver".
    The SUN documentation indicates this error means
    my shared libraries aren't correct, but I have
    verified my ODBC setup with a odbc demo app.
    Any suggestions on how to form my url?
    Has anyone used the bridge on Solaris?
    null

    The display is just too dim.  I tried the brightness and backlight settings and these do not work.  This has been like this since I bought it.  Never bothered to deal with it before and just made do with reading a very dim menu.

  • DB2 Issue - The specificed library could not be loaded

    When we start our application, we are getting the following error:-
    +sun-appserver-ee8.1_02|STC.eWay.DB.UDB.com.stc.connector.db2adapter.base.PreparedStatementAgentImpl|_ThreadID=11;|execute() failed - [SeeBeyond][DB2 JDBC Driver][DB2]The Specified library "<Stored Proc Name>" could not be loaded.|#]+*
    Database is up and running. Stored Proc is being used by another application, in websphere. What else could be the issue?
    Thanks in advance for your replies.

    I did not post the full error message. It is:-
    [SeeBeyond][DB2 JDBC Driver][DB2]The Specified library "storedproc name" could not be loaded.

Maybe you are looking for

  • BlackBerry Desktop Software doesn't support the BlackBerry 10 OS

    a feuniquely useful and unique to BB.w years ago I upgraded to a OS 10 device and owned for less than 24 hours before paying to get my OS7 bold 9930 back. Currently debating on getting a classic, but believe that OS10 still does not support BB deskto

  • Hyperlinks in BI Publisher 11g report

    Hi, I've a report requirement to build a BIP report in integration with OBIEE. In my dashboard, I've a dashboard prompt, obiee reports and a BIP report. BIP report contains hyperlinks (created in template builder) which direct me to the obiee report

  • No special G/L acct defined for acct type K sp.G/L ind. Y recon.acct

    Hello Friends, When we used transaction F-48 for down payment of supplier, but on process we found error " No special G/L acct defined for acct type K sp.G/L ind. Y recon.acct XXXXXX. I have checked transactions FBKP & OBYR and entries are maintained

  • How to create a copy cube from Business content statistics cube

    Dear Experts,        I got a requirement to create the new cubes which is a copy of Business content statistics cubes. Request you to let me know how can i create a copy cube from Business content cube. My doubt is,weather is't the same as normal cus

  • Integration Builder BPEL import... Documentation?

    Hi, Has anyone come across any documentation on exactly which features of BPEL are and are not supported for the import functionality in Integration Repository? I am getting errors whilst trying to import a bpel and the error messages are brief (e.g.