SQLLDR run command line fails:  ORA-03114: not connected to ORACLE

We moved our db (11.2.0.3) to a new server (VM) and cannot get sql loader direct load to run for a non-oracle db owner account without specifying a connection string (@DB). I have the environment set up correctly for this user and can connect to the database via sqlplus.
sqlldr dba1 control=test.ctl direct=yes <==FAILS
Password:
SQL*Loader: Release 11.2.0.3.0 - Production on Fri May 17 13:00:32 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
SQL*Loader-925: Error while uldlfca: OCIStmtExecute (ptc_hp)
ORA-03114: not connected to ORACLE
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
sqlldr dba1@DB control=test.ctl direct=yes <==SUCCESSFUL
Password:
SQL*Loader: Release 11.2.0.3.0 - Production on Fri May 17 12:59:11 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

My thoughts were along the line that the environment for user x not set up correctly but I verified ORACLE_SID & ORACLE_HOME prior to posting. This user's environment references TNS_ADMIN so I'm sending you the tnsnames.ora from that location.
Please note that I can execute this logged in as the db binary owner (environment set the same as user x).
DWQ1 =
(DESCRIPTION =
(ENABLE = BROKEN)
(ADDRESS = (HOST = xxxx)(PORT = 1521)(PROTOCOL = TCP) )
(CONNECT_DATA =
(SERVICE_NAME = DWQ1)
)

Similar Messages

  • Error: ORA-03114: not connected to ORACLE

    While executing the database creation at the middle it is asking for password even if i give password (first attempt ) or empty enter (Last attempt)i'm unable to connect the database.
    Password for DBSNMP user:
    null [ORA-03114: not connected to ORACLE
    Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    in my lsnrctl i am unable to see the database
    H:\lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:10:31
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                01-FEB-2013 19:01:09
    Uptime                    0 days 0 hr. 9 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\listener.ora
    Listener Log File         e:\app\username\diag\tnslsnr\mysystem\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))
    Services Summary...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Service "First" has 1 instance(s).
      Instance "First", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyi am able to see the all the database which running under this instances
    After that i pingged the database
    H:\>tnsping First
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:13:47
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\Oracle\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost
    )(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = FIRST)))
    OK (30 msec)where as in tnsping Last i am able to see the database
    H:\>tnsping Last
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-FEB-2013 19:13:47
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\Oracle\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost
    )(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = LAST)))
    OK (30 msec)Last database is in oracleserviceLast
    What is wrong with the process.

  • SQLPlus COPY error: ORA-03114: not connected to ORACLE

    This is what I'm trying to do:
    I'm logged into an Oracle 8.1.6 database on a Windows 2000 Professional box and trying to copy data and tables from an Oracle 7.3.4 database on an HP/UX box.
    I log into my 8.1.6 SQLPlus as:
    scott/tiger@testdb
    Then I run the following:
    SQL> set copycommit 1
    SQL> set arraysize 1000
    SQL> copy from user/user1@devp1 -
    create reps_t -
    using -
    select * from reps_tThis is my error:
    ORA-03114: not connected to ORACLE
    Can someone give me a better understand how SQLPlus COPY works and give me an idea how to locate the problems.
    Thanks,
    Laith E.H.
    null

    I think this combination user/user1@devp1
    is not ok.
    U can get good material about copy command
    from technet itself. Just search for Copy

  • Bugfixes in ODP 10.2.0.2? 10.2.0.1:ORA-03114 not connected to oracle

    where can I get a list of bugs fixed in ODP 10.2.0.2 ? We have sporadic problems in ODP 10.2.0.1 (Oracle.DataAccess.Client.OracleException ORA-03114: not connected to ORACLE).
    Thanks for the information
    Patrik

    Hi Patrik,
    I posted the bug fixes in 10.2.0.2.20 in Differences between 10.2.0.1 and 10.2.0.2 ?
    Cheers,
    Greg

  • ORA-03114 not connected with Oracle when  I execute Query

    Hi!
    I have a Problem with Oracle 9 but I don't know what wrong.
    When I execute this query I get an error everytime:
    select * from
    perleist pl
    left outer join leikat l on pl.lsnr = l.lsnr
    where pl.von < sysdate
    and
    pl.id not in
    select idperleist from rechaus
    where buch_schl <> 'STRN'
    It's not the complete select but the point is I use
    "left outer join leikat l on pl.lsnr = l.lsnr"
    ( not the (+) - Opoerator) and a "not in" -Clausel.
    Without the "not in" -Clausel the select runs fine.
    Sorry for my bad english g
    Thx for help :)
    Michael

    Hi!
    My Selection doesn't run :((
    The Selection runs with (+) -Join and not with "left outer join" .
    i need the "left outer join" couse the Application runs on Oracle
    and Interbase with same Selections. Other Selections with "left outer Join"
    are running under my Oracle 9.2 Database.
    Here something I tested:
    Selection runs with (+)- Join and count ():
    select count(pl.id) anz
    from perleist pl , leikat l
    where
    pl.lsnr = l.lsnr (+)
    --left outer join leikat l on  l.lsnr = pl.lsnr
    and (pl.von <= to_date('30.09.2002', 'DD.MM.YYYY')) and (pl.bis >= to_date('01.09.2002', 'DD.MM.YYYY'))
    and (l.RelAbr = 1)
    and (pl.AufnNr = 13464)
    and (pl.id not in (select idperleist from rechaus where ((BuchSchluessel <> 'STRN') or (BuchSchluessel is null)) and (StornoDat = to_date('30.12.1899', 'DD.MM.YYYY')) and (AbrJahr = 2002) and (AbrMonat = 9)))
    Runs without count() and with "left outer join" :
    select --count(pl.id) anz
    from perleist pl
    left outer join leikat l on pl.lsnr = l.lsnr
    where (pl.von <= to_date('30.09.2002', 'DD.MM.YYYY')) and (pl.bis >= to_date('01.09.2002', 'DD.MM.YYYY'))
    and (l.RelAbr = 1)
    and (pl.AufnNr = 13464)
    and (pl.id not in (select idperleist from rechaus where ((BuchSchluessel <> 'STRN') or (BuchSchluessel is null)) and (StornoDat = to_date('30.12.1899', 'DD.MM.YYYY')) and (AbrJahr = 2002) and (AbrMonat = 9)))
    Error ORA-03114 when usinf count () and
    "left outer join":
    select count(pl.id) anz
    from perleist pl
    left outer join leikat l on l.lsnr = pl.lsnr
    where
    (pl.von <= to_date('30.09.2002', 'DD.MM.YYYY')) and (pl.bis >= to_date('01.09.2002', 'DD.MM.YYYY'))
    and (l.RelAbr = 1)
    and (pl.AufnNr = 13464)
    and (pl.id not in (select idperleist from rechaus where ((BuchSchluessel <> 'STRN') or (BuchSchluessel is null)) and (StornoDat = to_date('30.12.1899', 'DD.MM.YYYY')) and (AbrJahr = 2002) and (AbrMonat = 9)))
    Selection runs without "not in"
    Selection runs without count()
    Selection runs with (+) and not with
    "left outer join"
    Thx for help :)
    MD

  • ORA-03114: not connected to ORACLE

    hi all,
    while connecting to the db ,useras are not able to connect to the primary db thru TOAD,we have two RAC instance at primary db of oracle 9.2.0.6 on solaris platform......
    this error generally occurs....

    i am able to connect thru comand prompt by changing the ipaddress at the tnsnames.ora but i am not able to connect to TOAD,it is correctly poniting to tnsnames.ora....

  • ORA-93114 Not connected to Oracle when using hsodbc

    Hi,
    I am trying to transfer data from SQLServer 2000 to Oracle 8.1.6 on Sun.
    I have configured my ODBC on Sun and it works fine.
    Now I am trying to get the data in Oracle.
    These are my settings in hsodbc.ora,tnsnames.ora and listener.ora.
    HS_FDS_CONNECT_INFO = nj050149
    HS_FDS_TRACE_LEVEL = 2
    HS_FDS_TRACE_FILE_NAME = $ORACLE_HOME/hssql.trc
    HS_FDS_SHAREABLE_NAME = /opt/odbc/lib/ivmsss18.so
    # ODBC specific environment variables
    set ODBCINI=/opt/odbc/odbc.ini
    ===============================
    tnsnames.ora
    hsodbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.css.mot.com)(PORT = 1521))
    (CONNECT_DATA =
    (SID = hsodbc)
    ===============
    listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.css.mot.com)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.css.mot.com)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/product/8.1.6)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = oradev.css.mot.com)
    (ORACLE_HOME = /home/oracle/product/8.1.6)
    (SID_NAME = NJ05DEV)
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = /home/oracle/product/8.1.6)
    (PROGRAM = hsodbc)
    ==========
    I have set up a dblink pointing to hsodbc.
    But when I try to select from a table in SQLServer
    I get the error message
    ERROR at line 1:
    ORA-02068: following severe error from HSODBC
    ORA-03114: not connected to ORACLE
    Can you please help. I could not identify the problem.
    Thanks
    Ana

    Hi,
    I am trying to transfer data from SQLServer 2000 to Oracle 8.1.6 on Sun.
    I have configured my ODBC on Sun and it works fine.
    Now I am trying to get the data in Oracle.
    These are my settings in hsodbc.ora,tnsnames.ora and listener.ora.
    HS_FDS_CONNECT_INFO = nj050149
    HS_FDS_TRACE_LEVEL = 2
    HS_FDS_TRACE_FILE_NAME = $ORACLE_HOME/hssql.trc
    HS_FDS_SHAREABLE_NAME = /opt/odbc/lib/ivmsss18.so
    # ODBC specific environment variables
    set ODBCINI=/opt/odbc/odbc.ini
    ===============================
    tnsnames.ora
    hsodbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.css.mot.com)(PORT = 1521))
    (CONNECT_DATA =
    (SID = hsodbc)
    ===============
    listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.css.mot.com)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = oradev.css.mot.com)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/product/8.1.6)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = oradev.css.mot.com)
    (ORACLE_HOME = /home/oracle/product/8.1.6)
    (SID_NAME = NJ05DEV)
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = /home/oracle/product/8.1.6)
    (PROGRAM = hsodbc)
    ==========
    I have set up a dblink pointing to hsodbc.
    But when I try to select from a table in SQLServer
    I get the error message
    ERROR at line 1:
    ORA-02068: following severe error from HSODBC
    ORA-03114: not connected to ORACLE
    Can you please help. I could not identify the problem.
    Thanks
    Ana ==============================================
    I modified the tnsnames.ora to say
    hsodbc.css.mot.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nj050149)(PORT = 1521))
    (CONNECT_DATA =
    (SID = hsodbc)
    and now I get an error message saying
    ORA-12545: Connect failed because target host or object does not exist
    Please help.
    Ana

  • [Oracle][ODBC][Ora]ORA-03114 not connected

    I' have oracle 10g express edition.
    I use a c++ windows service administration connections and a Visual Basic program.
    Vb invoke to c++ service, this create the connection and keep.
    Vb invoke the interface exposed to c++ service to execute sentence and when c++ service want execute, this error appears [Oracle][ODBC][Ora]ORA-03114 not connected.
    What happens???
    Thanks..

    Are you using a Vb .net ?
    if yes look for this link http://support.microsoft.com/default.aspx?scid=kb;en-us;830173
    If no, the connection when using sqlplus works fine ?
    cheers

  • Launching of reports,inconsistent error comes,not connected to oracle.

    Hi experts,
    Upon launch of any report-- Receive error: Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 3114 message: [Oracle][ODBC][Ora]ORA-03114: not connected to ORACLE. [nQSError: 16001] ODBC error state: S1000 code: 3114 message: [Oracle][ODBC][Ora]ORA-03114: not connected to ORACLE. [nQSError: 16015] SQL statement execution failed. (HY000)
    Strangely this error is not consistent,it goes when we refresh the screen.Please suggest me something.

    Are you using 'Enable connection pooling' in your connection pool for Oracle ?
    - from help "Allows a single database connection to remain open for the specified time for use by future query requests. Connection pooling saves the overhead of opening and closing a new connection for every query. If you do not select this option, each query sent to the database opens a new connection."
    Maybe the database is dropping the connection before OBIEE closes it if your using this option.
    Is your database or BI Server clustered ? (Rac or OBIEE Clustering)
    Maybe one of the nodes cannot connect, and you get success from one and failure from another
    Is your TNS Listener 'stable' ie its not dropping connections for anything else ?

  • Not connect to oracle error

    Hi
    I made a procedure to make invoice for the customer which is very
    important.
    but when i execute it from two places at the same time one of it
    is completed and other gives me error like.
    Not Connected to Oracle.
    Any suggestions
    Thanks

    Hello Sir,
    I call this procedure from Sql plus its a lengthy procedure used cursors and object types
    it is like that when execute
    SQL> DECLARE
    2 RETURNPARAMETER NUMBER;
    3 SESSION_00 VARCHAR2(200);
    4 TBL_CUSTOMER_MASTER_01 VARCHAR2(200);
    5 TBL_AFFILIATE_02 VARCHAR2(200);
    6 TBL_SALES_SHIP_ADDRESS_04 VARCHAR2(200);
    7 TBLINVOICE_05 VARCHAR2(200);
    8 STOREID VARCHAR2(200);
    9 SEPARATOR VARCHAR2(200);
    10 TBL_INVOICE_PAY_BY_CHECK_06 VARCHAR2(200);
    11
    12 BEGIN
    13 RETURNPARAMETER := NULL;
    14 SESSION_00 := '+111330,1~#111330^1^79^~2~0~79~79~SP5569~~~~~0~~';
    15 TBL_CUSTOMER_MASTER_01 := '~Pamela~Strope~~38 Garfield [email protected]~driverse~';
    16 TBL_AFFILIATE_02 := NULL;
    17 TBL_SALES_SHIP_ADDRESS_04 := 'Pamela~Strope~~38 Garfield Street~~Westover~US~WV~26501~304-296-9040~~';
    18 TBLINVOICE_05 := '~Credit Card~Visa~4111111111111111~Pamela S Strope~5~2008~186~30-Jan-2008~~';
    19 STOREID := '5030';
    20 SEPARATOR := '~';
    21 TBL_INVOICE_PAY_BY_CHECK_06 := '~~~~~ ';
    22
    23 UMESH.PROC_ADDSALESINVOICE ( RETURNPARAMETER, SESSION_00, TBL_CUSTOMER_MASTER_01, TBL_AFFILIATE_02, TBL_SALES_SHIP_ADDRESS_04, TBLINVOICE_05, STOREID, SEPARATOR, TBL_INVOICE_PAY_
    24 END;
    25 /
    +111330,1~#111330^1^79^~2~0~79~79~SP5569~~~~~0~~
    cur_Line RowBound=13
    Session_ItemID=+111330,1
    cur_Line RowBound=10
    tbl_Customer_Master_01 cur_Line RowBound=14
    Cust_Email= [email protected]
    UPDATED @tbl_Customer_Master Cust_ID= CI20089
    @affliate_Id =
    @Order_No =OD22799
    Session_ItemID RowBound=2
    cur_CustItem RowBound=0
    cur_CustItem =0
    111330,1
    111330^1^79^
    cur_CustItem RowBound=3
    cur_CustItem RowBound=3
    cur_CustItem Cart_CustPrice=79
    cur_CustItem Cart_CustPIDs=
    cur_CustItem =3
    StoreId : = 5030 Invoice_No := 118278
    SUB_INVOICE_NO : = 5613
    @Invoice_No = 118278
    PL/SQL procedure successfully completed.
    SQL> /
    ERROR:
    ORA-03114: not connected to ORACLE
    DECLARE
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error%s
    SQL> /
    ERROR:
    ORA-03114: not connected to ORACLE
    I think it is because the resources used in this procedure are busy may be.
    but i am not sure.
    any solutions
    thanks

  • ERROR at line 1:ORA-01012: not logged on

    Hi ,i installed OID and the owner of the binaries and database(repository ) is Oracle and then i cahnged the permissions to 775 and now when i am trying to logon to a db(locally) using a different user x who is member of DBA group its saying not logged on .Is something wrong with permissions?
    env|grep ORA
    ORACLE_SID=oidtest
    PS1=[${ME}:${UNAME}:${ORACLE_SID}] ${PWD} >
    ORACLE_HOME=/amoidts1/OID
    [amoidts1:panther:oidtest] /home/amoidts1 > sqlplus
    SQL*Plus: Release 10.1.0.5.0 - Production on Wed Nov 21 19:24:37 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: / as sysdba
    Connected.
    SQL> select * from v$database;
    select * from v$database
    ERROR at line 1:
    ORA-01012: not logged on

    What oracle version?
    Probably there is not enough OS resources.
    *Process J000 died, kkjcre1p: unable to spawn jobq slave process [ID 833613.1]*

  • Task Sequence Command Line to Unregister DLL Not Working...Won't Run As Administrator

    Hi All,
    I'm trying to unregister a dll by creating a Custom Task Sequence using the command line "%SystemRoot%\System32\regsvr32.exe" /s -u "%CommonProgramFiles%\Microsoft Shared\VGX\vgx.dll"
    SCCM is reporting success, however the DLL isn't being unregistered on the client machines.  If I manually run the command on a client machine as administrator it works.  I have specified that same administrative user in the Custom Task Sequence. 
    These are Windows 7 machines, so my hunch is it has something to do with UAC, but I'm kind of stumped what to do here but feel like I'm missing something obvious.
    Thanks!

    Thanks again Jason for sticking with me here.  We are running this on 64-bit Windows.  Okay, I fixed the command line so it now is: %windir%\sysnative\regsvr32.exe /s -u "%CommonProgramFiles%\Microsoft Shared\VGX\vgx.dll"
    Once again, SCCM shows it successfully executed the task sequence, however the dll still didn't unregister.
    Any other ideas what might be going on?  I really appreciate the help.
    Here are the events for the advertisement from old to new in case they help:
    Program started for advertisement "SEA2011B" ("SEA000E8" - "*").
    Command line: "C:\Windows\SysWOW64\CCM\TSLauncher.exe"
    Working directory: C:\Windows\system32\
    User context: NT AUTHORITY\SYSTEM
    The task sequence execution engine started execution of a task sequence.
    The task sequence execution engine successfully completed the action (Run Command Line) in the group () with exit code 0
    Action output: =======================[ smsswd.exe ] =======================
    PackageID = ''
    BaseVar   = '', ContinueOnError=''
    SwdAction = '0001'
    Command line for extension .exe is "%1" %*
    Set command line: Run command line
    Working dir 'not set'
    Executing commandline: Run command line
    Process completed with exit code 0
    Command line returned 0.
    The task sequence execution engine successfully completed a task sequence.

  • Using computer variables in task sequence "Run Command Line"

    I am attempting to deploy VMs through VMware's vRealize Automation tool using CM. The process creates a CM computer object then creates a direct rule on a CM collection for the new computer object. During the creation of the computer object vRA creates computer
    variables provided by me on the computer object. I see the computer object built and i see the custom variables on the computer object:
    Name Value
    dns1 10.10.10.10
    dns2 10.10.10.11
    gateway 10.10.10.1
    ipAddress 10.10.10.2
    netMask 255.255.255.0
    In the task sequence the last step is to "Run Command Line":
    cmd /c netsh int ip set address name="Ethernet0" static %ipAddress% %netMask% %gateway% & cmd /c netsh int ip set dns name="Ethernet0" static %dns1% & cmd /c netsh int ip set dns name="Ethernet0" static %dns2% index=2
    When the TS gets to that step it doesn't substitute the variables in the command with the computer variables listed above. Looking at the smsts logs after the deployment is complete I see lines stating:
    Set Command Line:...
    Start executing command line:...
    Executing command line:...
    ProgramName = ...
    All of those lines show the command exactly as it is above with the %variables% intact.
    The command immediately fails with the error:
    Invalid address parameter (%ipAddress%). It should be a valid IPv4 address.
    Does anyone have a suggestion on why the TS isn't using the variables? I found this article https://technet.microsoft.com/en-us/library/bb693541.aspx but its for 2007 not 2012. I wasn't able to find something comparable for 2012.

    I don't know why anyone here thinks you *need* sccm osd to achieve fully automated customizations.
    Customer selects base image (2008 r2 core, 2008r2 gui, 2012 r2 core, 2012 r2 gui), which should be thin and with zero customizations anyway,
    vaai accelerated clone creates vm,
    ip addr/gateway/dns config is injected with powercli,
    customers config management engine agent of choice is installed via powercli script injection/execution (we have puppet users, ConfigMgr users, saltstack users, IEM users, Cheff users),
    the clone completes in ~2 minutes and a VM is presented to the customer in less than 5 minutes 
    Deploying windows VMs via SCCM OSD is not only slow, but requires dev work on the customer side to get things rolling which wastes everyone's cycles including your own

  • WebSphere ServerRepository.xml / Deployed WAR Works, LH Command Line Fails

    Anyone deploying to WebSphere that has gotten the LH Command Line tool to function with a ServerRepository.xml pointing to a DataSource within WebSphere?
    We created a ServerRepository.xml that utilizes the WebSphere DataSource as the Performance is significantly greater for the idm.war deployed to WAS. The idm.war file works & performs better using this.
    LH Command line fails with a ServerRepository.xml pointing to a WebSphere DataSource. I've been troubleshooting with SUN support & so far we have not made any progress to resolve this. LH fails trying to execute anything...see below for example & partial cut/pasted error message.
    **set WSHOME, JAVA_HOME, & WAS_HOME 1st
    $WSHOME/bin/lh -Djava.ext.dirs=$JAVA_HOME/jre/lib/ext:$WAS_HOME/lib:/ebiz/sim/dev/lib console -u configurator
    Error:
    com.waveset.util.InternalError:
    ==> com.waveset.util.ConfigurationError:
    ==> java.sql.SQLException: invalid arguments in callDSRA0010E: SQL State = null, Error Code = 17,433DSRA0010E: SQL State = null, Error Code = 17,433
    at com.waveset.repository.ServerRepository.initDataStore(ServerRepository.java:1527)
    at com.waveset.repository.ServerRepository.getPrimaryDataStore(ServerRepository.java:1343)
    at com.waveset.repository.ServerRepository.getPrimaryDataStore(ServerRepository.java:1309)
    at com.waveset.repository.ServerRepository.init(ServerRepository.java:717)
    at com.waveset.repository.ServerRepository.<init>(ServerRepository.java:693)
    at com.waveset.repository.ServerRepository.getRepository(ServerRepository.java:134)
    at com.waveset.server.Server.init(Server.java:251)
    at com.waveset.server.Server.start(Server.java:217)
    at com.waveset.server.Server.getServer(Server.java:807)
    at com.waveset.server.Server.getServer(Server.java:784)
    at com.waveset.session.SessionFactory.getLoginConfigInfo(SessionFactory.java:849)
    at com.waveset.session.SessionFactory.startupMode(SessionFactory.java:916)
    at com.waveset.session.SessionFactory.getLoginModGrp(SessionFactory.java:885)
    at com.waveset.session.SessionFactory.getSession(SessionFactory.java:170)
    at com.waveset.session.SessionFactory.getSession(SessionFactory.java:390)
    at com.waveset.session.SessionFactory.getSession(SessionFactory.java:456)
    at com.waveset.session.WavesetConsole.newSession(WavesetConsole.java:361)
    at com.waveset.session.WavesetConsole.start(WavesetConsole.java:331)
    at com.waveset.session.WavesetConsole.main(WavesetConsole.java:218)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.waveset.util.CommandProcess.invokeMain(CommandProcess.java:212)
    at com.waveset.util.CommandProcess.launch(CommandProcess.java:162)
    at com.waveset.util.CommandProcess.run(CommandProcess.java:300)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.waveset.util.Command.main(Command.java:96)
    Wrapped exception:
    Architecture:
    IDM 7.0
    WebSphere 6.x
    Oracle THIN Driver ojdbc14.jar - 10.2.0.x
    AIX 5.3 ML3

    To get the WAR deployed within WebSphere to function, I found the IDM Doc (IDM 7.0 Installation - "Configuring a WebSphere DataSource for Identity Manager" - Pgs 117 - 134) to be pretty decent for creating the actual JDBC DataSource.
    My recommendation is to setup the DataSource at the Scope=Cell Level & use a WAS J2C Auth Entry for the DataSource so you do not need to use the -U or -P options in your setRepo command...this also helps ensure its truly connecting using WAS.
    Looking at what you had, try this modified...
    $WSHOME/bin/lh -Djava.ext.dirs=$JAVA_HOME/jre/lib/ext:$WAS_HOME/lib setRepo -n -tSQLServer -icom.ibm.websphere.naming.WsnInitialContextFactory -fjdbc/idm -uiiop://localhost:9810 -o"D:\apps\temp.xml"
    *Additional comments
    -n will bypass any checking and ignore any error message.
    -f must be identical to the WAS JDBC DataSource Name jdbc/idm
    **You do not need to redeploy after replacing the ServerRepository.xml; however, you do need to bounce the WAS AppServer & should monitor the AppServer SystemOut.log on startup to ensure the IDM WAR starts up successfully
    ***This is all assuming the DataSource you have within WAS is working (you can validate via the TestConnection)

  • How we run command line commands in oracle

    Hi,
    In sql server i have an option "xp_cmdshell" i can run windows commands e.g "dir " using query analyzer.
    How can i do same thing in oracle
    Thanks in advance.
    Regards
    Faheem

    > MY SELECT:select OSexec('dir') as STDOUT from dual;
    ERROR:-1command[dir] The handle is invalid.
    In the sample code, I've executed a Linux/Unix program called date, physical file /usr/bin/date.
    Is there a DATE.EXE or a DIR.EXE program that you can execute on Windows?
    No. Both DATE and DIR are commands of a program - a 32bit console program called CMD.EXE.
    Your confusion stems from thinking that OSEXEC is calling the Windows shell command line. It is not. It is not calling CMD.EXE and passing Window Shell Commands to CMD.EXE.
    OSEXEC is calling, via Java, the Win32 API call called CreateProcess(). This is a call to the Win32 kernel. It requests the kernel to load an executable program as a process image.
    The kernel expects an EXE (or executable) file to load. You are passing it a command from a program. You just as well can pass it a Java command, a MS Access Basic Command, an Excel Macro, etc... Same thing. The kernel has no idea that this "command" needs another program to be loaded, and that command be "passed" somehow to that program.
    So, you need to call CMD.EXE via OSEXEC. And you can pass parameters to it. Open a Command Console and type cmd /? for help on the command line switches and parameters for CMD.EXE.
    I believe the following should work:
    SQL> select OSEXEC( 'c:\windows\system32\cmd.exe /c date /t') from dual;

Maybe you are looking for