Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2008
    Location
    casablanca
    Posts
    8

    error jdbc Oracle

    Hi,

    I have modified the class ExternalFeedSimulator.java so that data com of database Oracle,
    when i start the server from Eclipse i have no problem, but when i start the server Lightstreamer from the file Start_LS_as_Application.bat t have the error :

    Erreur de chargement du driver :java.lang.ClassNotFoundException: oracle.jdbc.dr
    iver.OracleDriver
    java.sql.SQLException: No suitable driver found for jdbc: oracle:thin:@1.1.52.56:1521:cfg.

    cant you help my.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    Ensure that all jars needed are available to the Server.
    You can make your jars visible to the Server by placing them in the adapters/<your_adapter_dir>/lib directory; alternatively you can place some of them in the shared/lib directory, if they are in common to multiple adapters.
    The two places are equivalent, because a single classloader is used.
    If any jar needed to be loaded at startup, then you would have to modify the Start_LS_as_Application.bat script manually.

  3. #3
    Member
    Join Date
    Mar 2008
    Location
    casablanca
    Posts
    8
    i put the jar ojdbc in the folder Lightstreamer\adapters\StockList\lib and it work fine.

    tks DarioCrivelli

 

 

Similar Threads

  1. JDBC Data Adapter [Java]
    By Alessandro in forum Adapter APIs
    Replies: 0
    Last Post: January 27th, 2012, 04:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:58 PM.