Errors loading MS SQL drivers to DB using loadjava

we have a Oracle9iDB running in linux.
From Pl/SQl we need to connect to an SQL server DB. To do that we invoked a java class to connect from SQL Server. When loading the MSSQL drivers
mssqlserver.jar, msutil.jar, msbase.jar to the DB, there were many errors.
whats wrong?
regards,
Anton

we need to connect Oracle on Linux to MSSQL via JDBC. Some way or another heterogeneous services is not available with our DB setup.
In a command line, my class executes normally it can connect to the MSSQL server because im setting the msbase.jar, mssqlserver.jar, etc in the CLASSPATH.
Now in the case of running my class on the DB, my class is looking for msbase.jar, and the other jar files in the DB, which are not there since i havent loaded it. Now when i load the jar files in the DB. i have many errors.
i think the problem with this is that msbase.jar, and the other jar files, are looking
for the java jars i.e. classes12.zip and rt.jar, etc. in the DB which is not loaded by default on the OracleDB. I did try to load the classes12.zip and rt.jar first but i have access permissions denied errors. I think this is part of the Security of Oracle not to expose the DB to all Java classes.
Do you think I should continue with this approach?
regards,
Anton
Message was edited by:
user450391

Similar Messages

  • Error loading data from an XML file using HTTPService

    Hello All,
    I have a runtime error that has got me beat at the moment   I am building an App in Flash Builder 4 to run on AIR.
    The error is as follows: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    What i'm Trying to Do:
    I have 2 DropDownList controls, the first is populated with country names and the other with language options.  All the 1st DropDownList control does
    is set an image control to display the country flag and enable the 2nd DropDownList.
    The 2nd DropDownList sets the langCode variable equal to the chosen language code.  I then call the language function and pass it langCode.  Using this variable, I build up the string
    so that langFilePath will be equal to the XML file (which is "Lang_GBR.xml") location on my desktop and then call the HTTPService.
    As soon as the language function is called, the runtime error occurs and highlights the line with btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
    where I try to assign the button label with a new value from the XML file.
    I suspect this may be a trivial error but I just can't see it at the moment. 
    Any help or guidance would be appreciated.  Thanks
    Code:
    <fx:Script>
            <![CDATA[
                   [Bindable]
                   public var langFilePath:String;
                   public var langDir:File = File.desktopDirectory;
                   public var langCode:String;
                   public function countrySelect_changeHandler(event:IndexChangeEvent):void
                        switch (countrySelect.selectedItem)
                             case ('United Kingdom'): 
                                  trace("Item Selected was: "+ countrySelect.selectedItem);
                                  img_countryFlag.source = AngolaFlag;
                             break;
                             case ('France'): 
                                   trace("Item Selected was: "+ countrySelect.selectedItem);
                                   img_countryFlag.source = AustraliaFlag;
                             break;
                             default: 
                             break;
                        langSelect.enabled = true;
                        trace("1st dropdownbox");
                   public function langSelect_changeHandler(event:IndexChangeEvent):void
                        switch (langSelect.selectedItem)
                             case ('English'): 
                                 trace("Language Selected was: "+ langSelect.selectedItem);
                                 langCode = "Lang_GBR"; 
                             break;
                             case ('French'): 
                                 trace("Language Selected was: "+ langSelect.selectedItem);
                                 langCode = "Lang_FRA"; 
                             break;
                        language(langCode);
                   public function language(aParam:String):void
                        trace("Code Was: " + aParam);
                        trace("Lang dir: " + langDir.nativePath);
                        langFilePath = langDir.nativePath + "/" + aParam + ".xml";
                        trace("File to load: " + langFilePath);
                        trace("loadLangFile.url: " + loadLangService.url);
                        loadLangService.send();
                        btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
              ]]>
    </fx:Script>
    <fx:Declarations>
         <s:HTTPService id="loadLangService" url="{langFilePath}"/>
    </fx:Declarations>
    <s:DropDownList x="10" y="201" id="countrySelect" prompt="Please Select Your Country" width="274" enabled="true" change="countrySelect_changeHandler(event)">
    <s:DropDownList x="10" y="348" id="langSelect" prompt="Please Select Your Language" width="274" enabled="false" change="langSelect_changeHandler(event)">

    Don't sure about your XML structure, but for now i see the problem here between this 2 lines of code:
    loadLangService.send();
    btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
    Think data that your httpService should receive just can't go so fast to populate the lastResult before you call it in the next line
    Try adding a result listener to your service before you send it:
    loadLangService.addEventListener(ResultEvent.RESULT, handler);
    loadLangService.send();
    function handler(event:ResultEvent):void {
         btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

  • Error loading/saving PDF presets

    Error loading/saving pdf presets
    I am using CS4 and Windows 7. I have a .joboptions file I want to load in InDesign, but when I try, I get the error message: Cannot create the file. The folder may be write protected.
    I am a local administrator on the computer.
    I have tried manually copying the .joboptions file into the folder C:\Users\<my profile>\AppData\Roaming\Adobe\Adobe PDF\Settings, but it doesn’t show up in the list of available presets.
    I used the same version of InDesign with Windows XP and was able to load and save presets this way just fine.

    Thank for the tip. But unfortunately it is only a partial solution.
    When I 'run as administrator' in Windows 7 I have no problems, that is a bit of a solution, but for me it is a mere workaround.
    I want to find out how I can load and save PDF export settings without running as Adminstrator, since we have 7 people using the presets and they don't want to run InDesign everytime as an Administrator.
    I have all the rights (local admin) to all folders, therefore I was hoping somebody already fixed this in his/her system...
    Hope Adobe comes up with some sort of solution for this apperently Windows 7 problem.

  • 11.5.10.2 to R12.1.1 upgrade: Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called

    Hello,
    EBS version : 11.5.10.2
    DB version : 11.2.0.3
    OS version : AIX 6.1
    As a part of 11.5.10.2 to R12.1.1 upgrade, while applying merged 12.1.1 upgrade driver(u6678700.drv), we got below error :
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ATTENTION: All workers either have failed or are waiting:
               FAILED: file glsupdas.ldt on worker  3.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 adwork003.log
    Restarting job that failed and was fixed.
    Time when worker restarted job: Wed Aug 07 2013 10:36:14
    Loading data using  FNDLOAD function.
    FNDLOAD APPS/***** 0 Y UPLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -
    Connecting to APPS......Connected successfully.
    Calling FNDLOAD function.
    Returned from FNDLOAD function.
    Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
    Error calling FNDLOAD function.
    Time when worker failed: Wed Aug 07 2013 10:36:14
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log>tail -20 US_glsupdas_ldt.log
    Current system time is Wed Aug  7 10:36:14 2013
    Uploading from the data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
    Altering database NLS_LANGUAGE environment to AMERICAN
    Dumping from LCT/LDT files (/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to staging tables
    Dumping LCT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0) into FND_SEED_STAGE_CONFIG
    Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt into FND_SEED_STAGE_ENTITY
    Dumped the batch (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS , GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS ) into FND_SEED_STAGE_ENTITY
    Uploading from staging tables
      Error loading seed data for GL_DEFAS_ACCESS_SETS:  DEFINITION_ACCESS_SET = SUPER_USER_DEFAS,  ORA-06508: PL/SQL: could not find program unit being called
    Concurrent request completed
    Current system time is Wed Aug  7 10:36:14 2013
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Below is info about file versions and INVALID packages related to GL.
    PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG is invalid with error component 'GL_DEFAS_DBNAME_S' must be declared.
    I can see GL_DEFAS_DBNAME_S is a VALID sequence accessible by apps user with or without specifying GL as owner.
    SQL> select text from dba_source where name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG') and line=2;
     TEXT
    /* $Header: glistdds.pls 120.4 2005/05/05 01:23:16 kvora ship $ */
    /* $Header: glistddb.pls 120.16 2006/04/10 21:28:48 cma ship $ */
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */ 
    SQL> select * from all_objects where object_name in ('GL_DEFAS_ACCESS_DETAILS_PKG','GL_DEFAS_ACCESS_SETS_PKG')
      2 ; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1118545 PACKAGE 05-AUG-13 05-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1118548 PACKAGE 05-AUG-13 06-AUG-13 2013-08-05:18:54:51 VALID N N N 1 
    APPS GL_DEFAS_ACCESS_SETS_PKG 1128507 PACKAGE BODY 05-AUG-13 06-AUG-13 2013-08-06:12:56:50 INVALID N N N 2 
    APPS GL_DEFAS_ACCESS_DETAILS_PKG 1128508 PACKAGE BODY 05-AUG-13 05-AUG-13 2013-08-05:19:43:51 VALID N N N 2 
    SQL> select * from all_objects where object_name='GL_DEFAS_DBNAME_S'; OWNER OBJECT_NAME SUBOBJECT_NAM OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS T G S NAMESPACE
    EDITION_NAME
    GL GL_DEFAS_DBNAME_S 1087285 SEQUENCE 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    APPS GL_DEFAS_DBNAME_S 1087299 SYNONYM 05-AUG-13 05-AUG-13 2013-08-05:17:34:43 VALIDN N N 1 
    SQL> conn apps/apps
    Connected.
    SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE, STATUS
    FROM DBA_OBJECTS
    WHERE OBJECT_NAME = 'GL_DEFAS_ACCESS_SETS_PKG'; 2 3 OWNER OBJECT_NAME OBJECT_TYPE STATUS
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE VALID
    APPS GL_DEFAS_ACCESS_SETS_PKG PACKAGE BODY INVALID SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE; Warning: Package altered with compilation errors. SQL> show error
    No errors.
    SQL> ALTER PACKAGE GL_DEFAS_ACCESS_SETS_PKG COMPILE BODY; Warning: Package Body altered with compilation errors. SQL> show error
    Errors for PACKAGE BODY GL_DEFAS_ACCESS_SETS_PKG: LINE/COL ERROR
    39/17 PLS-00302: component 'GL_DEFAS_DBNAME_S' must be declared 
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>cat $GL_TOP/patch/115/sql/glistdab.pls|grep -n GL_DEFAS_DBNAME_S
    68: SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
    81: fnd_message.set_token('SEQUENCE', 'GL_DEFAS_DBNAME_S');
    SQL> show user
    USER is "APPS"
    SQL> SELECT GL.GL_DEFAS_DBNAME_S.NEXTVAL
      FROM dual; 2                         -- with GL.
      NEXTVAL
      1002
    SQL> SELECT GL_DEFAS_DBNAME_S.NEXTVAL from dual;               --without GL. or using synonym.
      NEXTVAL
      1003
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdab.pls|grep '$Header'
    REM | $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ |
    /* $Header: glistdab.pls 120.5 2006/03/13 19:56:21 cma ship $ */
    drix10:/fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/odf>strings -a $GL_TOP/patch/115/sql/glistdas.pls |grep '$Header'
    REM | $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ |
    /* $Header: glistdas.pls 120.4 2005/05/05 01:23:02 kvora ship $ */

  • ORA-06520: PL/SQL: Error loading external library

    Hi
    I am trying to use an external C program from sql using following steps.
    copy the dll in dir ORACLE/806/BIN
    create or replace library outs as
    'e$/ORACLE/806/BIN/SmlCrcChecking.dll'
    create or replace FUNCTION plsCheck_File_CRC (fname Varchar2)
    return boolean
    AS LANGUAGE C
    library outs
    name "Check_File_CRC";
    and call the dll using
    select plsCheck_File_CRC('c:\mttest.txt') from dual;
    The dll is notc alled the message is
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unable to load DLL
    Please help
    Prashant

    I am trying to create a Pl/SQL test env using
    create or replace procedure file_test
    (fname in varchar2,
    status out number)
    is
    begin
    If Check_File_CRC (fname) then
    status:=0;
    else
    status:=1;
    end if;
    end;
    However the following errros are displayed
    Errors for PROCEDURE FILE_TEST
    6/1 PL/SQL: Statement ignored
    6/4 PLS-00382: expression is of wrong type
    mY TNSNAMES.ORA contains following
    additions
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO))
    extproc_connection_data.world =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = extproc))
    (CONNECT_DATA =
    (SID = extproc)
    AND LISTNER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora81)
    (PROGRAM = extproc)
    Message was edited by:
    prashant13

  • ORA-02374: conversion error loading table during import using IMPDP

    HI All,
    We are trying to migrate the data from one database to an other database.
    The source database is having character set
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    US7ASCII
    The destination database is having character set
    SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    VALUE
    AL32UTF8
    We took an export of the whole database using expdp and when we try to import to the destination database using impdp. We are getting the following error.
    ORA-02374: conversion error loading table <TABLE_NAME>
    ORA-12899: value too large for column <COLUMN NAME> (actual: 42, maximum: 40)
    ORA-02372: data for row:<COLUMN NAME> : 0X'4944454E5449464943414349E44E204445204C4C414D414441'
    Kindly let me know how to overcome this issue in destination.
    Thanks & Regards,
    Vikas Krishna

    Hi,
    You can overcome this issue by increasing the column width in the target database for the max value required for all data to be imported successfully in the table.
    Regards

  • Projects error out when loading more then 1500 projects, while using api

    Hello,
    I am haivng problem while loading more then 1500 projects, when using api, PA_PROJECT_PUB.CREATE_PROJECT.
    We are on 12.1.3.
    It throws error message ORA-6502 pl/sql numberic error.
    I have changed PA:Debug Mode to No at Resp level also
    FND:Debug Mode to No
    But still encountering same problem. Appreciate any help.
    Regards,
    Sanjay

    I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)

  • The MAC OSX v10.4 just comes up with the grey apple which alternates with ?. Tried pressing "apple key"  S. Black screen appears Error Loading Drivers. No discs. Any ideas?

    My son has been deleting files. Now when he turns on the MAC OSX v10.4 it just comes up with the grey apple keywhich alternates with a NO ENTRY symbo and ? symbol. Tried pressing "apple key"  S. Black screen appears Error Loading Drivers.
    We have no discs. Any ideas?

    You should have given your son access to a Parental Controlled Account only.   Unfortunately without the disks, and from the sounds of it, no backup, you are stuck.   You might be able to recover the information with an external hard drive and an appropriate data recovery program, but getting the 10.4 original discs is increasingly difficult.  If a Mac is Intel, only the original discs can be used to install 10.4 which you would need to call AppleCare for and hope they still have a copy of, or a cloned backup.   If it is PowerPC G3, G4, or G5, you can probably find the 10.4.6 retail disc, discussed here to Archive and install 10.4.
    Before Archive and Installing, which you can do with either the original 10.4 or retail disc, be sure to attempt that data recovery.  If you choose to try to Archive and Install 10.5, and you have PowerPC, you'll lose access to Classic Applications.   You could upgrade to 10.6 if you have Intel and 1 GB of RAM, or 10.7 if you have 2 GB of RAM, but some application compatibility might be lost the further you upgrade.

  • Error in converting SQL 2014 Trial to Full version using VLKey

    Hi,
    I am currently trying to upgrade my SQL 2014 evaluation version to the full version.
    I have purchased a Volume License for SQL Server 2014 Server/CAL and have extracted the product key from the ISO File.
    I have verified this product key with the product activation department and it is confirmed that it is a valid product key "ProdKey3 SQL Svr Standard Edtn 2014 00204 PA/BP VL:GVLK Pre Pidded"
    However, when i input the product key in to the server, it is showing me the error message:
    The SQL product key is not valid, enter key from certificate of authenticity or SQL server packaging
    Checked on the version of the evaluation and this is the edition - Microsoft SQL Server 2014.0120.2000.08
    The site that I am activating the server on does not have any internet connection, does this affect the activation?
    Would there be an alternate phone activation method for converting to Trial to Full?
    Kindly Assist. Thank you.

    Hi Julian,
    Firstly, according to the error message, please ensure that your SQL Server installation file is not corrupt, and make sure you use corresponding license key matched the edition and version of SQL Server. For more details about the error, please review the
    similar
    thread.
    Secondly, in addition to Ed’s post, you can also use the following command lines to upgrade SQL Server 2014 Trial to a full version.
    Setup.exe /q /ACTION=editionupgrade /INSTANCENAME=<MSSQLSERVER or instancename> /PID=<PID key for new edition>" /IACCEPTSQLSERVERLICENSETERMS
    Thirdly, for more detailed information regarding to the license issue, please call
    1-800-426-9400,
    Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide to Worldwide Microsoft Licensing Sites to find contact information in your locations.
    Thanks,
    Lydia Zhang

  • How to load data from sysbase to oracle using sysbase odbc drivers??

    Hi ,
    I am trying to create an interface from sysbase to oracle, using LKM sql to orcle and IKM SQL control append, IKM SQL incremental append,CKM oracle . when we are running the interface we are getting below error
    com.sunopsis.sql.SnpsMissingParametersException: Missing parameter: C1_WORKGROUP_ID
    SQL: insert into ODIUSER.C$_0AGENTLOGINLOGOUT (      C1_WORKGROUP_ID,      C2_USER_ID,      C3_CREATEDT,      C4_UPDATEDT,      C5_REASONID,      C6_LOGOUTDT,      C7_LOGINDT,      C8_SERVICE_ID ) values (      :C1_WORKGROUP_ID,      :C2_USER_ID,      :C3_CREATEDT,      :C4_UPDATEDT,      :C5_REASONID,      :C6_LOGOUTDT,      :C7_LOGINDT,      :C8_SERVICE_ID )
         at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java:439)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java:1926)
         at com.sunopsis.sql.SnpsQuery.addBatch(SnpsQuery.java:122)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3034)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:729)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)

    Hi all,
    Can any one help me in doing interface from sysbase to oracle??

  • Why do we use only dynamic class loading for JDBC drivers

    Hi,
    My JDBC experience is that we always use dynamic class loader for drivers.
    If we have a well defined package from a vendor, why do we use this dynamic class loading feature for drivers??

    chandunitw wrote:
    Hi,
    My JDBC experience is that we always use dynamic class loader for drivers.
    If we have a well defined package from a vendor, why do we use this dynamic class loading feature for drivers??Oftentimes, the driver class name is set in a configuration file, not in code. So the thing which processes the configuration file has no idea ahead of time which driver or drivers it will support, so it is not coded specifically for any. So it loads the driver by reflection, since it is given the class name as a string it can use with the reflection API.

  • Error loading large field with sql loader for 8i

    I want to load a large field (30K) to a database, where I use "long" datatype for it. But I can't because it loads hexadecimal characters, or it get stuck in a loop and does not load anything. I have tried using clob and long in the database and using char(40000), char, and log varraw in the control file. Any idea or suggestion?
    Thanks a lot.

    Hi,
    from what I see you are running sqllldr in Windows and your database server is on AIX. Is it a remote server or a local network server?
    The ORA-12170 error can be raised for many reasons: firewall issue, database down, listener down, bad sqlnet.ora parm, network trouble, etc
    If your network is slow maybe that is the reason. You may post also SQLNET.ORa configuration and try to reconfigure parameters SQLNET.INBOUND_CONNECT_TIMEOUT, SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values.
    If your problem is not solved, please post your SQLNET.ORA configuration.
    You can check here for details about setting it: Profile Parameters.
    Regards.
    Al

  • Error loading control. a newer version needed. the default settings will be used

    Hi I am using LabVIEW DSC 7.1 for programming my application. My VI contains NI hypertrend which I am publishing on a browser using the web publishing tool. When I open the web browser on a different computer I get this error- Component works  Error loading Control. A newer version needed. The default settings for the control will be used. I have disabled firewall, pop up blocker etc...but for some reason it keeps giving me the same error. I read the knowledge base and it talks something about the .OCX file. I am not sure what I am supposed to do..I also have the DSC runtime installed in my machine. I'd appreciate it if someone could help me with this.

    If you're on a 64-bit OS, OCX files  must be in the folder: %windir% \ SysWOW64 
    and not in %windir% \ System32 (only for 32 bits OS)
    >> %windir% is  the environment variable that defines the Windows folder! (eg: C:\Windows)
    French version:
    Si tu es sur un OS en 64 bits, les fichiers .ocx doivent se trouver dans le dossier : %windir%\SysWOW64\
    et non pas dans %windir%\System32
    >> %windir% étant bien sur la variable d'environnement qui défini le dossier de Windows ! (par ex: C:\Windows)

  • I can't watch shopnbc on my iPad from their website. I used to be able to watch it live, but now it says error loading file. Help?

    Having issues with watching shopnbc live, from their website, on my iPad 4. I used to be able to watch it live, but for some reason, when I select the play button, it tells me "error loading file" . That's it. Anyone know a fix for this, or what may be going on here?

    My guess is that they recently changed how the videos work. I logged in on my MacBook and the stream worked fine, but it is Flash content in a JW Player video player. From what I see on the website. This video player works with html5 as well as Flash so I'm not sure why it isn't working, unless the site has not updated the content for html5 and is only using Flash right now. But you should get the message on the iPad that the content is in Flash and can't be viewed on the iPad.
    I tried it with three different browsers identifying as mobile and as desktop browsers and I get the same results as you no matter what I do. So my assumption is that the site content was recently changed and it has to be updated. But that is just a guess.
    The message about the website having issues when I used iCab Mobile and identified as a desktop browser. The issue has to be on their end.

  • Error msg at launch says "Registry settings used by the iTunes drivers for importing and burning CDs and DVDs are missing. ... Please reinstall iTunes."

    Each time I launch iTunes (latest version) on Windows 7 (w/ latest system updates) I receive the following error msg:
    "Warning! The registry settings used by the iTunes drivers for importing and burning CDs and DVDs are missing.  This can happen as a result of installing other CD burning software.  Please reinstall iTunes."
    When I click on "OK" iTunes completes the launch process and the application functions properly.  This error msg appears without fail every time I launch the app.
    I have reinstalled iTunes four times and continue to receive this message.  iTunes is set in the system Control Panel as the default program for all functions that iTunes uses.  I never burn CDs or DVDs and have never attempted to do so on this machine.  I have had iTunes on this computer since I bought it last November and never had a problem with it until 2 months ago when this message began popping up.  I did not notice any action I took that caused this, in terms of creating conflicts.
    I hope someone can assist me in finding a way to stop this annoying error!  Thanks!
    David

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

Maybe you are looking for