Error when running a bat file

Can someone tell me what this error means; "ORA-12560: TNS:protocol adapter error"
I had Oracle XE on my Windows XP Pro SP3, but I also install the EE of Oracle which I haven't setup yet. Originally when I run this .bat file by double clicking on it, "setup_distran_database.bat", everything worked fine. But now, I am getting tghe above error. Not sure if it was because I installed Oracle EE.
This is the .bat file:
*@ECHO off*
*:: Ayo Ojikutu*
*:: Using Murach's Oracle SQL and PL/SQL*
*:: and Mike Murach & Associates, Inc. example*
*:: Nov 11, 2011*
*:: Uses SQL*Plus utility to run the SQL scripts that create*
*:: and populate the tables in the AP, OM, and EX schemas.*
*:: If necessary, edit the username/password*
sqlplus system/passwordhere @setup_distran_database*
*:: Display a message about the log file*
ECHO.
ECHO For details, check the setup_distran_database.log file in the current directory.
ECHO.
*:: Display 'press any key to continue' message*
PAUSE

"ORA-12560: TNS:protocol adapter error"
Not sure if it was because I installed Oracle EE.Most probably yes, Windows has the last installed product environment. Try setting XE environment before running sqlplus, something likeset ORACLE_SID=XE
set ORACLE_HOME=<XE Oracle Home>
set PATH=<XE Oracle Home\bin>;%PATH%
sqlplus .....

Similar Messages

  • Getting error while running ua.bat file of Oracle Data Integrator 12cR1 (12.1.2.0.0) version

    Hi,
    I am using windows 7 professional(service pack 1) 64 bit operating system.
    After installing the odi 12c (enterprise edition) by executing the odi_121200.jar file I am getting the following error while trying to run the ua.bat file.
    [2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [UPGAST-00056] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] error initializing upgrade plug-in for ODI.ODI1
    [2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Cause: An unexpected error occurred initializing an upgrade plug-in.
    [2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Action: Contact Oracle Support Services.  See the secondary error message for additional details.
    [2013-10-24T16:49:07.861+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] [[
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at oracle.ias.update.plugin.Plugin.instantiatePlugin(Plugin.java:248)
      at oracle.ias.update.plugin.Plugin.<init>(Plugin.java:229)
      at oracle.ias.update.plugin.Plugin.getPlugin(Plugin.java:180)
      at oracle.ias.update.plan.PlanStep.getPlugin(PlanStep.java:335)
      at oracle.ias.update.plan.PlanString.<init>(PlanString.java:66)
      at oracle.ias.update.plan.PlanCustom.<init>(PlanCustom.java:74)
      at oracle.ias.update.plan.PlanStep.<init>(PlanStep.java:189)
      at oracle.ias.update.plan.PlanComponent.<init>(PlanComponent.java:203)
      at oracle.ias.update.plan.Template.load(Template.java:161)
      at oracle.ias.update.plan.Template.loadAllTemplates(Template.java:102)
      at oracle.ias.update.UpgradeDriver.loadConfiguration(UpgradeDriver.java:838)
      at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:257)
      at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:175)
    Caused by: java.util.MissingResourceException: Can't find oracle.ias.update.plugin.odi.bundle.ODIResourceBundle bundle
      at java.util.logging.Logger.setupResourceInfo(Logger.java:1518)
      at java.util.logging.Logger.<init>(Logger.java:265)
      at java.util.logging.Logger.<init>(Logger.java:260)
      at oracle.ias.update.UpgradeLogger.<init>(UpgradeLogger.java:60)
      at oracle.ias.update.UpgradeLogger.getLogger(UpgradeLogger.java:93)
      at oracle.ias.update.LoggingManager.create(LoggingManager.java:249)
      at oracle.ias.update.plugin.UpgradePlugin.createPluginLogger(UpgradePlugin.java:195)
      at oracle.ias.update.plugin.UpgradePlugin.<init>(UpgradePlugin.java:181)
      at oracle.ias.update.plugin.odi.ODIPlugin.<init>(ODIPlugin.java:136)
      ... 17 more
    [2013-10-24T16:49:07.869+05:30] [Framework] [ERROR] [UPGAST-00259] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] The getInitialValue method for plug-in ODI.ODI1 will not be called due to a previous error.
    [2013-10-24T16:49:07.869+05:30] [Framework] [ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Cause: An error occurred when loading or initializing the plug-in which prevents the getInitialValue method from executing.
    [2013-10-24T16:49:07.869+05:30] [Framework] [ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] Action: Review the log file for additional details.
    [2013-10-24T16:49:07.870+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] UPGAST-00251: An error occured reading Upgrade Descriptor file ODI\INSTALLATION\odi12cInstallation_1\odi\plugins\upgrade\odi.xml
    [2013-10-24T16:49:07.870+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] The file does not conform to the expected syntax.
    [2013-10-24T16:49:07.870+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] See the secondary message for additional information. Contact Oracle Support.
    [2013-10-24T16:49:07.871+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] UPGAST-00259: The getInitialValue method for plug-in ODI.ODI1 will not be called due to a previous error.
    [2013-10-24T16:49:07.871+05:30] [Framework] [INCIDENT_ERROR] [] [upgrade.Framework] [tid: 1] [ecid: e9250ad8-50dc-45fe-83f5-5c01e7a7dcb4-00000001,0] [[
    oracle.ias.update.exception.UpgradeException: UPGAST-00259: The getInitialValue method for plug-in ODI.ODI1 will not be called due to a previous error.
      at oracle.ias.update.plugin.Plugin.getInitialValue(Plugin.java:317)
      at oracle.ias.update.plan.PlanString.<init>(PlanString.java:67)
      at oracle.ias.update.plan.PlanCustom.<init>(PlanCustom.java:74)
      at oracle.ias.update.plan.PlanStep.<init>(PlanStep.java:189)
      at oracle.ias.update.plan.PlanComponent.<init>(PlanComponent.java:203)
      at oracle.ias.update.plan.Template.load(Template.java:161)
      at oracle.ias.update.plan.Template.loadAllTemplates(Template.java:102)
      at oracle.ias.update.UpgradeDriver.loadConfiguration(UpgradeDriver.java:838)
      at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:257)
      at oracle.ias.update.UpgradeDriver.main(UpgradeDriver.java:175)
    Thanks and Regards
    Sunil

    ok - I think I've got it figured.  Appears to be a known issue.  You need to apply patch p17073913_121200.
    I downloaded that and applied to my Linux version - then re-ran the UA.  This time the GUI started and so now I'm going through the upgrade steps.
    The patch is generic, so should work for your windows environment too.  Good luck.

  • Error when running reset.bat

    Hello,
    I used to get an error while re-deploying some ESB projects on SOA Suite 10.1.3.4.
    This installation is with olite database. To solve this problem,
    I wanted to run reset.bat which is in \OracleAS_1\integration\esb\bin folder.
    reset.bat file gave the below error.
    C:\product\10.1.3.1\OracleAS_1\integration\esb\bin>reset.bat
    Buildfile: build.xml
         [echo] ${env.PCHOME}
    reset-esb:
        [mkdir] Created dir: C:\product\10.1.3.1\OracleAS_1\integration\esb\bkup\201
    01007_1245
         [java] Creating database connection with DB_URL=jdbc:[email protected]:1531
    :oraesb, DB_USER=system DB_PASSWORD=any DB_DRIVER=oracle.lite.poljdbc.POLJDBCDri
    ver.
         [java] Running this Command will reset all the metadata. Existing metadata
    will be backed up. Press y to continue and any other key to exit.
    y
         [java] 7-Oct-2010 12:45:52 PM oracle.tip.esb.lifecycle.HttpHandler logInfo
         [java] INFO: Exporting metadata from the server [host=BCFSL21903,port=8888,
    user=oc4jadmin] to file "C:\product\10.1.3.1\OracleAS_1\integration\esb\bkup\201
    01007_1245\metadata.zip"
         [java] Exported metadata to File C:\product\10.1.3.1\OracleAS_1\integration
    \esb\bkup\20101007_1245\metadata.zip.
         [java] Exported parameters to File C:\product\10.1.3.1\OracleAS_1\integrati
    on\esb\bkup\20101007_1245\esbparam.properties.
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\dro
    p_esb_tables.sql
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_message_map
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_messages
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_group_status
         [java] 7-Oct-2010 12:45:59 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_containerid_lease
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\wfe
    ventc.sql
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\see
    d_service_types.sql
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\see
    d_default_system.sql
         [java] Running:C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other\upg
    rade_10133_10134_oracle.sql
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_message_map
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_messages
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_group_status
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeErrorToLog
         [java] SEVERE: Failure:drop table ESB_containerid_lease
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeToLog
         [java] INFO: [POL-5128] duplicate table name SYSTEM.XREF_DATA
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeToLog
         [java] INFO: WorkflowCA: SQLException during execution: java.sql.SQLExcepti
    on: [POL-5128] duplicate table name SYSTEM.XREF_DATA: CREATE TABLE XREF_DATA
         [java] (
         [java]   XREF_TABLE_NAME   VARCHAR2(2000)    NOT NULL,
         [java]   XREF_COLUMN_NAME VARCHAR2(2000)    NOT NULL,
         [java]   ROW_NUMBER        VARCHAR2(48)    NOT NULL,
         [java]   VALUE             VARCHAR2(2000)  NOT NULL,
         [java]   IS_DELETED        VARCHAR2(1)     NOT NULL,
         [java]   LAST_MODIFIED     VARCHAR2(100)   NOT NULL,
         [java]   LAST_ACCESSED     VARCHAR2(100)   NOT NULL
         [java] )
         [java] 7-Oct-2010 12:46:01 PM oracle.tip.esb.install.db.SQLProcessor$Contex
    t writeToLog
         [java] INFO: File: C:\product\10.1.3.1\OracleAS_1\integration\esb\sql\other
    \upgrade_10133_10134_oracle.sql.
         [java] Exception in thread "main" oracle.tip.esb.install.exception.Installa
    tionDBException: Failed to execute sql file"C:\product\10.1.3.1\OracleAS_1\integ
    ration\esb\sql\other\upgrade_10133_10134_oracle.sql"
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:337)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:302)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:259)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScriptListInternal(
    RunSQLScript.java:123)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScriptList(RunSQLSc
    ript.java:89)
         [java]     at oracle.tip.esb.install.reset.ResetRepository.runSQLScripts(Re
    setRepository.java:327)
         [java]     at oracle.tip.esb.install.reset.ResetRepository.actionReset(Rese
    tRepository.java:275)
         [java]     at oracle.tip.esb.install.reset.ResetRepository.main(ResetReposi
    tory.java:210)
         [java] Caused by: oracle.tip.esb.install.db.SQLProcessorException: SQLExcep
    tion during execution: java.sql.SQLException: [POL-5128] duplicate table name SY
    STEM.XREF_DATA: CREATE TABLE XREF_DATA
         [java] (
         [java]   XREF_TABLE_NAME   VARCHAR2(2000)    NOT NULL,
         [java]   XREF_COLUMN_NAME VARCHAR2(2000)    NOT NULL,
         [java]   ROW_NUMBER        VARCHAR2(48)    NOT NULL,
         [java]   VALUE             VARCHAR2(2000)  NOT NULL,
         [java]   IS_DELETED        VARCHAR2(1)     NOT NULL,
         [java]   LAST_MODIFIED     VARCHAR2(100)   NOT NULL,
         [java]   LAST_ACCESSED     VARCHAR2(100)   NOT NULL
         [java] )
         [java]     at oracle.tip.esb.install.db.SQLProcessor.processLine(SQLProcess
    or.java:1537)
         [java]     at oracle.tip.esb.install.db.SQLProcessor.executeSQLFile(SQLProc
    essor.java:1683)
         [java]     at oracle.tip.esb.install.db.SQLProcessor.runSQLFile(SQLProcesso
    r.java:315)
         [java]     at oracle.tip.esb.install.db.RunSQLScript.runScript(RunSQLScript
    .java:331)
         [java]     ... 7 more
    BUILD FAILED
    C:\product\10.1.3.1\OracleAS_1\integration\esb\bin\build.xml:607: Java returned:
    1   What is the reason for this error?
    Any ideas please.
    Thank You,
    sandaruwan

    Its not dropping the tables so when it recreates if fails. You may need to drop table manually by running the drop_esb_tables.sql script.
    cheers
    James

  • Getting error when running the jar file..

    Hi All,
    I am new to executing jar file..Actually i have one class which contains the following code.
    import com.documentum.fc.client.DfClient;
    import com.documentum.fc.client.IDfClient;
    import com.documentum.fc.client.IDfSession;
    import com.documentum.fc.client.IDfSessionManager;
    import com.documentum.fc.common.DfLoginInfo;
    import com.documentum.fc.common.IDfLoginInfo;
    import com.documentum.fc.common.DfException;
    import com.fidelity.ftg.ereviewg2.migration.util.MigrationResource;
    * This class is used for creating docbase connection
    * *@type* DocbaseConnection
    * *@author* a405304
    * *@see*
    public *class *DocbaseConnection {
    //public static ResourceBundle resource;
    IDfSessionManager sMgr = *null*;
    IDfSession session = *null*;
    String docbaseName;
    *private* *static* DocbaseConnection +docbaseCon+;
    * Constructor for DocbaseConnection
    * *@throws* DfException
    * *@throws* Exception
    *private* DocbaseConnection()*throws* DfException, Exception{
    //ResourceBundle bundle = ResourceBundle.getBundle(Constants.RESOURCE_PATH,Locale.getDefault());
    MigrationResource bundle = MigrationResource.+getBundle+();
    String userId = bundle.getString("DOCBASE_USERID");
    String password = bundle.getString("DOCBASE_PASSWORD");
    docbaseName = bundle.getString("DOCBASE_NAME");
    IDfClient client = DfClient.+getLocalClient+();
    sMgr = client.newSessionManager();
    IDfLoginInfo loginInfo = *new* DfLoginInfo();
    loginInfo.setUser( userId );
    loginInfo.setPassword( password );
    loginInfo.setDomain("");
    sMgr.setIdentity( docbaseName, loginInfo );
    session= sMgr.getSession( docbaseName );
    System.+out+.println("# Connected to Docbase: "+session);
    }Now i create the jar file whose name is docbaseconnection.jar
    Now when i am running this jar file by using the following command then i am getting the following error..
    C:\JAR_FILES>java -jar docbaseconnection.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: com/documentum/fc/client/DfQuery
    For running this docbaseconnection.jar file i need the following thing in classpath...
    C:\Program Files\Documentum\dctm.jar;C:\Program Files\Documentum\Shared\dfc.jar;C:\Program Files\Documentum\Shared\log4j.jar
    I already add this jar files in the classpath of environment variables..Then also i am getting the same error..
    Kindly help me...........

    Well, let´s supose your manifest is defined as I did in my previous post. So, your directory base should be something like:
    C:\dir
    docbaseconnection.jar
    dctm.jar
    dfc.jar
    anotherlibraries.jar
    But, let´s supose you want something like
    C:\dir
    docbaseconnection.jar
    lib (folder, which contains dctm.jar, dfc.jar, etc)
    Then you should change the class-path of your manifest to
    Class-Path: ./lib/dctm.jar ./lib/dfc.jar
    That´s what I meant

  • Error when running a  .sql file

    hello all.
    i keep getting an error when i try to install sample schemes for APEX on XE.
    I was wondering if any could help
    thank you:)
    ================
    ================
    SQL> @oehr_sample_objects_installer.sql
    APPLICATION 543 - OEHR Sample Objects
    Set Credentials...
    Check Compatibility...
    API Last Extended:20090112
    Your Current Version:20090112
    This import is compatible with version: 20060224
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-02291: integrity constraint (APEX_030200.WWV_FLOWS_FK) violated - parent
    key not found
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 555
    ORA-06512: at line 3
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Produ
    ction
    C:\TEMP\apex>

    i went to that link and tried to insert MOS Doc 949429.1
    as a support identifier and it does not recognize it.
    i tried just 949429.1 and 949429 and still success.
    what is the right code for this support identifier?
    thank you :)

  • Error when running:    startup.bat -fixdirectory= T:\usr\sap\ABC\upg

    I am trying to start a SAP PI 7/0 to 7.1 installation.
    I have performed all of the prerequisite steps and am now trying to run the startup.bat file from the Installation Master CD.
    I am entering:
    STARTUP.bat -fixdirectory= T:\usr\sap\ABC\upg
    and it runs:
    H:\SAPup\SAPNWAS_ABAP71_UpgMstr>STARTUP.bat -fixdirectory= T:\usr\sap\ABC\upg
    SAP directory - T:\usr\sap
    ABC directory - T:\usr\sap\ABC
    UPG directory - T:\usr\sap\ABC\upg\
    Using SAPCAR from  H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPCAR_WINDOWS_
    X86_64
    Using SAP JVM from H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPJVM5_WINDOWS
    X8664
    Creating upgrade directory structure...
    Found runtime H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPCAR_WINDOWS_X86_6
    4\vcredist_x64.msi
    Installing runtime (msiexec /qn /i H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM
    SAPCARWINDOWS_X86_64\vcredist_x64.msi)...
    Coping SAPCAR.EXE to T:\usr\sap\ABC\upg\sdt\exe\SAPCAR.EXE...
    Coping STARTUP.BAT to T:\usr\sap\ABC\upg\STARTUP.BAT...
    Coping STARTUP.JS to T:\usr\sap\ABC\upg\STARTUP.JS...
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SAPJVM5_WINDOWS_X86_64\S
    APJVM5.SAR ...
    Found H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCNTRL\DSU_SLCTRL.SAR
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCNTRL\DSU_SLCTRL.SAR .
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCFG\DSU_SLCFG.SAR ...
    Unpacking H:\SAPup\SAPNWAS_ABAP71_UpgMstr\DATA_UNITS\UM_SLCFG_NW07\DSU_SLCFG_NW0
    7.SAR ...
    Starting DSUService (T:\usr\sap\ABC\upg\sdt\exe\DSUService.bat -srvarg=/DSUServi
    ce/cdpath=H:\SAPup\SAPNWAS_ABAP71_UpgMstr\ -fixdirectory= T:\usr\sap\ABC\upg )..
    And then stops. During this time, a second command window quickly appears and disappears and tries to start.
    No log files are created in:
    H:\SAPup\SAPNWAS_ABAP71_UpgMstr
    or:
    T:\usr\sap\ABC\upg
    Any ideas?
    Thanks.

    Hi Srinivas and Paul,
    How did you solve this issue? I'm facing the same issue
    Thanks andkind regards,
    Angel

  • Package giving error when executed through bat file

    The packages successfully execute in SQL Server Data Tools but when I use DTEXEC to execute it gives me the following error:
    "To run a SSIS package outside of SQL Server Data Tools you must install Send Mail Task of Integration Services or higher .
    I tried 5 different packages and all of them showed similar error except the send mail task is replaced by different other tasks of those packages.

    Go to start-> run
    Type Services.msc. It will launch services window.
    Check for a service named SQL Server Integration Services with or without version number. If its present it means SSIS is installed. Also make sure its started and is in running state.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Alchemy installation error when running alchemy-setup file

    I went through all the setup steps to install Adobe Alchemy but when my .bashrc file ran alchemy-setup I got errors.  I tried to keep going through the steps, but I got more errors when I got to the compile step.
    Here's the error I got when it ran alchemy-setup
    bash: $'\r': command not found
    ':not a valid identifier
    ':not a valid identifier
    ':not a valid identifier
    ':not a valid identifier
    bash: $'\r': command not found
    bash: $'\r': command not found
    bash: $'\r': command not found
    bash: $'\r': command not found
    bash: $'\r': command not found
    bash: $'\r': command not found
    Here's the uncommented portions of my alchemy-setup file
    export ALCHEMY_HOME=/cygdrive/c/alchemy
    export ALCHEMY_VER=0.4a
    export PATH=$ALCHEMY_HOME/bin:$PATH
    export ASC=$(cygpath -m -s -p $ALCHEMY_HOME/bin/asc.jar)
    export SWFBRIDGE=$ALCHEMY_HOME/bin/swfbridge.exe
    export ADL=/cygdrive/c/flex/bin/adl.exe
    I have flex sdk 4.5.1 in my c:/flex directory and alchemy in my c:\alchemy directory
    when I tried compiling a file I got errors saying gcc: unrecognized option '-03'
    when I type which gcc command I get the return /usr/bin/gcc which I'm guessing is the default gcc and not the correct one for alchemy, but I'm not well versed in Cygwin and could figure out how to change the settings to use the alchemy gcc
    Any feedback on how to eliminate these errors would be greatly appreciated.
    Thanks,
    Daniel

    Hi Daniel,
    Just use text editor supporting Unix-style line endings. (only \n). Windows notepad and similar tools use 2 symbols - \r\n for line ending.
    I'm using Crimson Editor, for example.

  • ERROR:when running runcluvfy.bat command.

    Hi
    When i tried to run the runcluvify.bat command its showing that it is failed.i have given the command C:\clusterware\cluvfy\runcluvfy.bat stage -pre crsinst -nRAC1,RAC2;.Is there any prob: with the name of the iscsi initator.What should i do to solve the prob: after this get solved i can install the cluster. i am looking for the solution for the past 3 days.CAn anyone help me.Plz...Thanks for the help.
    Edited by: user12119634(bobs) on Dec 6, 2009 8:28 PM

    Not sure if that is a typo :
    C:\clusterware\cluvfy\runcluvfy.bat stage -pre crsinst -n RAC1,RAC2 ( a space between -n and RAC1)
    WHat error you get?

  • Error while running C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\build.bat

    Hello
    I am a flex beginner, when i run the  C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\build.bat file the following error is displayed
    Loading Configuration file C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\flex-config.xml
    C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\samples\explorer\loaderPanel.mxml
    Error :-1
    Please help me to run the bat file, as it will help me to learn flex independently.
    error message is attached as bmp.
    Thanks in advance.

    Hi,
    Take a look at this report: https://bugs.adobe.com/jira/browse/FB-11626 It might be of help.
    With best regards,
    Barna Biro
    Blog: http://blog.wisebisoft.com

  • JAXB - When running xjc.bat got error

    When running xjc.bat with proper parameters, got the below error.
    The system cannot find the path specified.I have included the following to the PATH
    C:\Program Files\Java\jwsdp-1.3\jwsdp-shared\binand below to CLASSPATH
    C:\Program Files\Java\jwsdp-1.3\jwsdp-shared\lib
    C:\Program Files\Java\jwsdp-1.3\jaxb\libAm I missing something ? Appreciate if anyone could help to get rid of the above error. Thanks a lot.

    Guys,
    I have found a way to get rid of the xjc.bat error.
    Below should help
    java -jar "full path of jaxb-xjc.jar" -d "target folder" -p package_name "xsd schema file"for Example:
    java -jar "C:\Program Files\Java\jwsdp-1.3\jaxb\lib\jaxb-xjc.jar" -d "C:\target_folder" -p com.books.jaxb "C:\DATA\IBM\wsappdev51\workspace\Books\WebContent\xml\books.xsd"

  • Not able to view the window when I run cim.bat file

    I have installed ATG web Commerce 10.0.3 and I need to configure MySql. For that I need to Start CIM by running the following file: <ATGdir>\home\bin\cim.bat and later I have to Type P to choose the products to configure, at a minimum ATG Platform and ATG Content Administration. But when I am not able to view the window to proceed further when I run thecim.bat file.Please let me know if anyone has any idea about this.

    Hi,
    Please find the error log while running in the command prompt.
    C:\Documents and Settings\******>c:\ATG\ATG10.0.3\home\bin\cim.bat
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
    umber in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at atg.core.util.BeanUtils.instantiate(BeanUtils.java:427)
    at atg.core.util.BeanUtils.getBeanInfo(BeanUtils.java:395)
    at atg.nucleus.SimpleComponentState.getComponentClassDescriptor(SimpleCo
    mponentState.java:547)
    at atg.nucleus.SimpleComponentState.<init>(SimpleComponentState.java:91)
    at atg.nucleus.SimpleConfigurationState.<init>(SimpleConfigurationState.
    java:93)
    at atg.nucleus.PropertyConfiguration.configureService(PropertyConfigurat
    ion.java:756)
    at atg.nucleus.Nucleus.<init>(Nucleus.java:832)
    at atg.nucleus.Nucleus.<init>(Nucleus.java:717)
    at atg.nucleus.Nucleus.startNucleusCheckLicense(Nucleus.java:4144)
    at atg.nucleus.Nucleus.startNucleus(Nucleus.java:4021)
    at atg.cim.SessionContext.startNucleus(SessionContext.java:632)
    at atg.cim.SessionContext.startNucleus(SessionContext.java:610)
    at atg.cim.flow.CimFlowCreator.startDefaultCimFlow(CimFlowCreator.java:7
    4)
    at atg.cim.Launcher.startCimFlow(Launcher.java:168)
    at atg.cim.Launcher.main(Launcher.java:68)

  • SQL serever 2012 Setup has encountered an error when running a windows installer file

    I am trying to install SQL server 2012 Express on a windows 7 PC for 2 days now. I feel like banging my head against the wall.
    I keep getting the following errors here's the full log
    The following error has occurred:
    SQL Server Setup has encountered an error when running a Windows Installer file.
    Windows Installer error message: An error occurred during the installation of assembly 'Microsoft.VC80.ATL,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer
    to Help and Support for more information. HRESULT: 0x8007054F. Windows Installer file: C:\Users\Receno\AppData\Local\Temp\SQL Server 2012\Setup\1033_ENU_LP\x64\setup\sqlsupport_msi\SqlSupport.msi Windows Installer log file: C:\Program Files\Microsoft SQL Server\110\Setup
    Bootstrap\Log\20150109_213740\SqlSupport_Cpu64_1_ComponentUpdate_1.log
    Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.2100.60&EvtType=0xDC80C325

    hmmm..so which hotfix do I apply ?
    SQL Server 2012
    All (Global) x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86

  • Running a Bat file from a stored procedure

    This is part II of Re: Need to run bat file from application express
    I thought I would open a new thread
    I thought I had this fiqured out but it still doesn't work
    1) I granted CREATE EXTERNAL JOB to my user
    2) startup the OracleJobScheduler Service
    3)
    create or replace
    PROCEDURE RUN_OS_COMMAND(p_cmd IN varchar2)
    is
    v_job_exists pls_integer:=0;
    begin
      select count(1)
      into  v_job_exists
      from  all_scheduler_jobs
      where job_name='JAVA_EXE';
      if v_job_exists>0 then 
        dbms_scheduler.drop_job(job_name =>'JAVA_EXE');
      end if;
      dbms_scheduler.create_job
      (   job_name          =>'JAVA_EXE'
        , job_action        =>p_cmd
        , job_type          =>'executable'
        , enabled           =>false
        , auto_drop         =>false
        , start_date        =>systimestamp
      dbms_scheduler.run_job(job_name =>'JAVA_EXE');
    end;test.bat is del test.csv
    I run this
    begin
      RUN_OS_COMMAND('C:\temp\test.bat');
    end;
    / anonymous block completed
    It runs with no errors but does not run the bat file... what am i missing, thanks Doug

    LLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\wblincoe\Application Data
    CLASSPATH=.;[ORACLE_HOME]\jdbc\lib\ojdbc6.jar;c:\myjar\xdocore.jar;c:\myjar\i18nAPI_v3.jar;c:\myjar\xdoparser.jar;c:\myjar\xmlparserv2.jar
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=WBLINCOELT
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\wblincoe
    LDMS_LOCAL_DIR=C:\Program Files\LANDesk\LDClient\Data
    LOGONSERVER=\\03N-DAYT-DC01
    NUMBER_OF_PROCESSORS=2
    OS=Windows_NT
    Path=C:\OraHome_1\jre\1.4.2\bin\client;C:\OraHome_1\jre\1.4.2\bin;C:\app\wblincoe\product\11.1.0\db_1\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB=C:\oracle\product\10.2.0\http_1\sysman\admin\scripts;C:\oracle\product\10.2.0\http_1\perl\site\5.6.1\lib;C:\oracle\product\10.2.0\http_1\perl\site\5.6.1;C:\oracle\product\10.2.0\http_1\perl\5.6.1\lib\MSWin32-x86;C:\oracle\product\10.2.0\http_1\perl\lib\5.6.1;C:\oracle\product\10.2.0\http_1\perl\lib\5.6.1\MSWin32-x86;
    PHPRC=C:\Program Files\PHP\
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 2, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f02
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\wblincoe\LOCALS~1\Temp
    TMP=C:\DOCUME~1\wblincoe\LOCALS~1\Temp
    USERDNSDOMAIN=CACI.COM
    USERDOMAIN=CACI
    USERNAME=wblincoe
    USERPROFILE=C:\Documents and Settings\wblincoe
    VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
    windir=C:\WINDOWS

  • Getting an Error When Running Server 2012 R2 adprep /forest prep on a 2012 DC

    I am getting an error when running adprep /forest prep on a Server 2012 domain controller. The main parts of my domain are as follows:
    2 - Domain Controllers running Server 2012
    1 - Exchange Server 2013 running on Server 2012
    I am trying to either do an in-place upgrade to my domain controllers to Server 2012 R2 or even introduce a Server 2012 R2 domain controller into the domain. The error I am getting is as follows:
    [Status/Consequence]
    The operation GUID already exists so Adprep did not attempt to rerun this operation but is continuing.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_search_s() finished, return code is 0x20
    [2014/04/05:09:12:38.873]
    Adprep verified the state of operation cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [Status/Consequence]
    The operation has not run or is not currently running. It will be run next.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_modify_s(). The entry to modify is CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_modify_s() finished, return code is 0x13
    [2014/04/05:09:12:38.905]
    Adprep was unable to modify some attributes on object CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [User Action]
    Check the log file ADPrep.log in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    [2014/04/05:09:12:38.936]
    Adprep encountered an LDAP error.
    Error code: 0x13. Server extended error code: 0x20b1, Server error message: 000020B1: AtrErr: DSID-030F112A, #1:
     0: 000020B1: DSID-030F112A, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9086f (msDS-ClaimIsValueSpaceRestricted)
    DSID Info:
    DSID: 0x181112dd
    ldap error = 0x13
    NT BUILD: 9600
    NT BUILD: 16384
    [2014/04/05:09:12:38.967]
    Adprep was unable to update forest information.
    [Status/Consequence]
    Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
    [User Action]
    Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    Any Help would be appreciated. Thanks!

    Hi,
    did you check which servers has FSMO roles?
    You can do that via command prompt: netdom query fsmo
    For forestprep you must do that on DC which have Schema Operations marter role.
    Command
    Domain controller
    Number of times to run the command
    adprep /forestprep
    Must be run on the schema operations master for the forest.
    Once for the entire forest
    adprep /domainprep
    Must be run on the infrastructure operations master for the domain.
    Once in each domain where you plan to install an additional domain controller that runs a later version of Windows Server than the latest version that is running in the domain.
    Note
    Domains where you will not add a new domain controller will be affected by adprep /forestprep, but they do not require you to run adprep /domainprep.
    http://technet.microsoft.com/en-us/library/dd464018(v=ws.10).aspx

Maybe you are looking for

  • Boot Camp Windows 7 do not recognise wifi, ethernet, USB ports and has a scary red light in audio jack output!

    Hi! I have just tried to install Windows 7 x86 version on my MacBook Pro running Mountain Lion and a couple of strange things start appearing:     1. On the Boot Camp Assistant first screen, I tried to download the drivers and after about 15min the s

  • Windows or Linux

    Hello, I've been doing all my OCS test setups under Linux, but the time for actually rolling a production setup to the company is approaching. Oracle just released OCS 9.0.4.1.1 for Windows, and having no particular loyalties to either Windows or Lin

  • Auto Fill Freezes and Malfunctions

    This is the 2nd or 3rd time I have asked up on this problem. No responses previously, although several others wrote to say that they are experiencing the same problem with Safari Auto Fill with Mountain Lion. Here's problem: I have autofill set on Sa

  • Sp3 and pdf export with diadem

    Dear all; We use Diadem 11 with windows XP SP2, and we use the functions PDF and Html Export . After upgrading from pack 2 to windows xp pack 3 we could no longer use these functions. We now the recieve error message : Access Violation r The printer

  • Rename PDF retains original file name?

    I'm doing a forensic analysis of a PDF file sent from a multi-function printer. The PDF was renamed in Windows by the user but I need to determine the original PDF name as it was sent from the printer. I have used a PDF parsing tool to try and determ