ColdFusion 10: run as command line

CF10 using on a unix system.  Try to use cfexecute on perl and batch processing of files do not work, but they work fine when run directly from command line.  Perl and bat file permissions are set so that someone can run the.  Does anyone know if I'm doing coldfusion executes the perl file or beats as if she was running as a command line?  May need to identify specific user the execute as.

< name = "" #EDRSDIR #/ uploadconvertwrapper.pl cfexecute "arguments =" #filedirectory # #finalfilename # #dcnflag # #splflag # outputFile = "/ dev/null" timeOut = "0" / >

< cfexecute name = "" #EDRSDIR #/ uploadconvert.bat "argumensts =" #filedirectory # #finalfilename # #dcnflag # #splflag # outputFile = "/ dev/null" timeout = "0" / >

"argumensts" has been a typo in my post on the forum.

I finally found the answer.  The coldfusion was running under a different account than what I was using for command line tests.  Once I tried the commmand with coldfusion account line, I found a few directories hidden which requires authorization updates.  Thanks for the comments, Alexandre.

Tags: ColdFusion

Similar Questions

  • Load plans being run/Scheduling command line ODI

    Here's our scenario

    (1) we have a several load plans that move on different schedules. These changes of schedules each month. For example, we have a defined business window (usually end of month process) which changes from month to month. This business window set is stored in a custom table.

    (2) in this window, we run load is considering either once a day or every hour or just only once in this window, etc.

    I looked in the Plan charge hourly, but that wasn't our goal because of the complexity in date, time, and frequency. Also, we do not have any third party planner. I think to launch Plans to load a command line (. / startloadplan.sh) using a programming language (PL/SQL or Unix script)

    However, I am struggling to find how can I reach annex to a charge by command line plan? for example if I want to execute the plan to charge for the next 3 days every hour, how can say I do it through command line?

    Any suggestions would be very helpful.

    You can simply create a schedule like that unfortunately. The schedule should be attached to the repository, then the agent must be updated.

    What you could do, is add a script using the SDK of ODI. Chantal Mangano wrote a great blog about this (ODI11g): http://dwteam.in/scheduling-in-odi-using-sdk/

  • Run the command line script AfterFX

    Hi all

    I'm trying to run a script from the command line AfterFX.exe and I get the message: "unable to run the script at line 1. Syntax error.

    If I run the same Script AE editor script file, it works perfectly

    Here is the command line that I use:

    "C:\Program Files\Adobe\Adobe after effects CS6\Support Files\AfterFX.exe" indefinite display - noui s 'D:\Product\Watermark\Rendering\WatermarkedSecuritySample.jsx '.

    Someone has an idea of what may cause this error? I tried to run the script directly from the command line like

    "C:\Program Files\Adobe\Adobe after effects CS6\Support Files\AfterFX.exe" indefinite display - noui s 'alert('1') '.

    and it works very well for small script but mine is way big to do

    As you can probably guess with the 'watermark' and 'Security' in the name of the file, I can't post here, the script file, all I can say is that line 1 is:

    {

    projectName = "D:\\Product\\WatermarkTemplate.aep"; var

    I tried to replace the entire script 'alert('1')'; and it causes the same error when running it from the command line

    Also, if anyone knows where I can find the command line arguments AfterFX.exe description, I'd be very happy... everybody talks about aerender.exe, but I need these options to AfterFX.exe

    Thanks for your help

    Have you tried using "-r" instead of "-s"?

    ("-s" argument is a script; and to "-r" argument is a path to the script)

  • Error of business rule when running the command line

    Hello

    I get following error when you try to run the business rule from the cmd prompt.

    C:\Hyperion\AnalyticAdministrationServices\console\bin > CmdLnLauncher.bat - Sservername - Uusername - Ppassword - rBRname
    The HBR logging configuration file:...... \HBRClient.properties
    Input method: com.hyperion.hbr.api.RuleManagerClient: getPromptVariablesForE
    says > to 1254147029953
    Input method: com.hyperion.hbr.api.RuleManagerClient: getPromptVariablesForE
    says > 06:10:29
    Output method: com.hyperion.hbr.api.RuleManagerClient: getPromptVariablesForEd
    It > at 06:10:30
    Duration: 125 millis for performance com.hyperion.hbr.api.RuleManagerClient: getPrompt
    VariablesForEdit
    Connect the missing channel or has an invalid format. Please specify a valid connection
    string value (Server/App/DB) for the launch.
    2009-09-28 06:10:30, 203 FATAL main com.hyperion.hbr.cmdlnlauncher.LaunchManager
    -Connect string is missing or has an invalid format. Please specify a valid connection
    value of string (Server/App/DB) t for the launch.

    This is the format that is given in the administration of BR. guide Could you please tell me where I'm wrong?

    Thank you
    Agnes

    Hello

    Here is an example of the use of the launcher command line > CmdLnLauncher.exe trade rules

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to run the command-line IDC services

    Hey guys,.
    is it possible that we can run IDC Services from the command prompt.
    all your pointers will be greatly appreciated.

    Kind regards
    Sicard

    Published by: stephane on March 9, 2009 07:26

    Hey sapan,.

    You can use IdcCommand to perform the services from the command line. The procedure is the following:

    1 create a text file with service calls, you want to do, the definitions are had in format:

    LocalData @Properties
    IdcService = UPDATE_DOCINFO
    dID = 1
    dDocName = 000001
    dDocType = MyType
    dSecurityGroup = Public
    dRevLabel = 1
    dDocAuthor = sysadmin
    dDocTitle = my title
    @end
    >

    (Note: for multiple entries in the file > is very important)

    2. run IdcCommand from the directory "/ bin" of :

    IdcCommand f image_update.hda u-l c:\idccommand.log sysadmin

    Options:
    f = with service definitions
    u = user to run as
    -l (lowercase L) = location for execution log

    There is more detailed documentation in the presentation of the Idc (idc_command_reference_10en.pdf) commands.

    Hope that helps,

    Andy Weaver - Software Consultant
    Fishbowl Solutions< http://www.fishbowlsolutions.com?wt.mc_id="L_Oracle_Consulting_amw">

  • XP does not start, unable to run the command line for the clean boot

    Hello

    For the last two weeks, I've been unable to boot XP, caused by a virus, I think. I can get into safe mode, but stopped to run antivirus software because I said that I don't have the appropriate privileges. There is no system restore points available, and I think that my computer is too old for me to ask the manufacturer (HP) for an OEM drive.

    Now that I found this forum, I decided to try the suggestion of the thread stickied for a clean boot, but I can't even click on RUN and load the command prompt. I click, but nothing happens. Many programs in safe mode did the same thing for me.

    Is there another way to enter the guest so I can try to get a clean boot? Is there another way to access msconfig? I read here that I can click on F10 to try HP and XP 'factory re - install', but the HP splash screen is no longer, perhaps due to a new card mother MSI, I put a few months ago. Any help?

    If all else fails, I buy a Windows 7 Upgrade disk and which will still work? Or would I need to buy the complete installation of W7 to "clean up" my system?

    Thank you.

    Jacob S.,.
    Thanks for posting with us.  Have you tried to run MSConfig from safe mode?  If the immediate window does not work, you can right click on your taskbar and start the Task Manager.  From there, you can select file > new task > and then type msconfig in the window.

    With respect to obtaining OEM disc, you may be able to buy them from HP, but since you have replaced the motherboard and then the OEM disc probably does not work.  You should check with HP on this one.

    If you buy the upgrade to Windows 7 you can do a clean install, but it should be started from Windows.  You insert the DVD in the drive so that the desktop, and then select the custom Setup to perform a clean installation.  It will validate your XP before you start the installation.

    Now if you think that your PC has a virus (which it sounds like it might) then you can try using a free online virus scan.  You should be able to run one of them without blocking.  Also, make sure that you log on with an administrator account.  Here is a link to a scan online, that you can try, or you can search bing for others that are out there.
    http://OneCare.live.com/site/en-us/default.htm Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Running command-line Windows (path problem)

    Hello

    It's kind of weird, but I can't run the command line in windows 7 due to the long way and spaces...

    I want to run the command:

    Hey,.

    Here is a link to a page that should help you figure the number of channel and fix it manually:

    http://superuser.com/questions/12695/javac-command-not-found

    the instructions are on Windows XP, but should be able to transfer to Windows 7. Good luck!

  • Error trying to run load test on OATS by using the command line

    Get the trial below the error message when you attempt to run the command line to start the OATS.

    log4j: WARN no appenders could be found for logger (oracle.oats.server.jndi.JndiL
    ookup).
    log4j: WARN Please initialize log4j correctly system.
    log4j: WARN see http://logging.apache.org/log4j/1.2/faq.html#noconfig to learn more
    FO.
    Error of initialization of the connection of the controller of t3://rws21410019.us.oracle.com:8088/
    weblogic\n\n (message id = ctl.initError)
    oracle.oats.client.controller.ControllerException: initialization of the error controller
    connection to t3://rws21410019.us.oracle.com:8088/weblogic\n\n (message id = ctl.i
    nitError)
    to oracle.oats.app.controller.client.ControllerClient.initController (Con
    trollerClient.java:268)
    to oracle.oats.app.controller.client.ControllerSyncedClient. < init > (control
    ollerSyncedClient.java:137)
    to oracle.oats.app.controller.client.OltCommandLine. < init > (OltCommandLin
    e.Java:43)
    at oracle.oats.client.CommandLine.initController(CommandLine.java:748)
    at oracle.oats.client.CommandLine.run(CommandLine.java:179)
    at oracle.oats.client.CommandLine.main(CommandLine.java:61)
    Related: javax.naming.AuthenticationException [root exception is java.lang.Sec
    [urityException: user: weblogic, could not be authenticated.]
    to weblogic.jndi.internal.ExceptionTranslator.toNamingException (Exceptio
    nTranslator.java:42)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException (WLIni
    tialContextFactoryDelegate.java:788)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject (WLInitialCo
    ntextFactoryDelegate.java:682)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext (WLInitialCon
    textFactoryDelegate.java:469)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext (WLIni
    tialContextFactoryDelegate.java:376)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext (WLInitialCont
    extFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext (unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx (unknown Source)
    at javax.naming.InitialContext.init (unknown Source)
    to javax.naming.InitialContext. < init >(Unknown Source)
    at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal (exercise
    WN Source)
    at oracle.oats.server.jndi.JndiLookup.createInitialContext (unknown source
    (e)
    at oracle.oats.server.jndi.JndiLookup.createInitialContext (unknown source
    (e)
    at oracle.oats.app.session.SessionClient.initSession(SessionClient.java:)
    104)
    to oracle.oats.app.controller.client.ControllerClient.initController (Con
    trollerClient.java:262)
    ... 5 more
    Caused by: java.lang.SecurityException: user: weblogic, couldn't be Authenticate
    Ed.
    at weblogic.common.internal.RMIBootServiceImpl.authenticate (RMIBootServi
    ceImpl.java:116)
    at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke (unknown Sou
    NCE)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)
    to weblogic.security.acl.internal.AuthenticatedSubject.doAs (Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:)
    146.)
    at weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.jav
    one: 518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run (WLSExecuteRequest.jav
    one: 118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Please make sure that the BTA server is running!

    Thank you

    This problem has been resolved after changing the user name for "oats", this is the user name of the weblogic server and not the console of OATS.

  • Query running Discoverer Desktop... via the command line

    Hello world

    Hope all is well,

    I learned how to operate the discoverer by using the command line.

    My question is:
    ===========
    When you connect manually in Discoverer, the values of parameters that were used last in the last series display when
    the query opens...

    When I run the command of discoverer line, I have to mention explicitly all parameter names and their values

    If I do not mention the settings, I get an error message: unresolve parameter...

    I would really like to run the command-line style WITHOUT mentioning query parameters and wish the discoverer of run
    the application with the default settings...

    Is this possible...

    Thx for your ideas and your advice, sandra

    Hello

    How parameters could be made optional in the Office?

    It can be made using desktop only, there is no functionality of optional parameters.
    If you have a single desktop, you will need to set the parameters in the command line.

    Tamir

  • Generic applications Java runs only within Jdeveloper, not at the command line

    JDeveloper 11gR1PS1

    I created a Java program which is autonomous - to be called via Unix scripting. I just chose Generic Application and adds the scope of Java and XML technology. I also have a POT that is provided by a 3rd party to be used as an API.

    When it is run through Jdeveloper (for example to do a right-click on the java class and choose run), the program works very well.

    When run via command line after the deployment of the application as a JAR, I get the following:
    java -jar myprogram.jar
    Value : 123.. Ok
    Exception in thread "main" java.lang.NoClassDefFoundError: com/customer/api/Auth
            at com.company.posauth.myprogram.main(myprogram.java:69)
    Caused by: java.lang.ClassNotFoundException: com.hyweb.posapi_npg.Auth
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
            ... 1 more
    He complains about my line by calling the Auth class, which is part of the JAR provided me by the 3rd party. But he runs the successful when run in Jdeveloper.

    The JAR is included as a dependency when you deploy the project.

    Ideas?

    If you want to include the 3rd pot of party in the jar that you produce then you must go into your deployment profile and create a new type library file group, and then select the JAR file in the contributors section.

  • I need to increase the memory available to an application from command line (DOS window)

    At the cmd prompt, I perform the mem command and get the following. I have 3gig of ram but the mem says I have 0 contiguous extended memory available? Is there a way to access this memeory?

    memory 655360 bytes total conventional
    655360 bytes available in MS-DOS mode
    578240 largest executable program size

    1048576 bytes total contiguous extended memory
    0 bytes available contiguous extended memory
    941056 bytes available XMS memory
    MS-DOS resident in high memory area

    This solution does not work, thanks for the reply but. I found that Vista locks going to the Command.pif running cmd from Windows users, so even if you terminate the process cmd it active again. I also found a mistake in one of the sons were he mentions emm396.exe as a way to check the emm on Vista memory. My Home Premium installation isn't emm386.exe.

    Anyway once again don't thanks for the help no wonder that many stores do not use Vista. There are a number of development tools that run from command line.

  • How to exclude indexing of a file by command line

    I want to exclude a specific file being indexed by running a command line...

    is this possible?

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the various Forums of Windows 7.

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

  • Groovy ODI command-line script

    I've been playing with ODI 12 c groovy script for a while now and it is a very powerful tool, but did someone knows if it is possible to run the command-line groovy scripts?

    I also think that the editor groovy in ODI is very limited. There are much better alternatives like InteliJ IDEA. Has anyone tried to use an external editor to write scripts groovy for ODI and how did you do?

    concerning

    Leon

    If yes go to the following Oracle\Middleware\Oracle_ODI1\modules\oracle.jps_11.1.1 location

    and get next to the jar jps - api .jar file and add it to your project / as appropriate classpath or search this jar file on your server ODI where the J2EE agent is installed

  • How to automate the process of CopyApplication using the HFMCMD command line shell

    Hello

    Can someone please explain the automation application copy process using HFMCMD command line shell.

    Detailed information on the use of this are here (pg 19 of the referenced PDF):

    https://support.Oracle.com/epmos/faces/DocContentDisplay?ID=968956.1

    Command line shell

    New in 11 versions is a copy request utility that takes the input from the command line. This utility allows scheduling copy operations using third party, planning of utilities such as the built in Windows Scheduler. The HFM copy App Command Line Utility in releases of the + 11.1.2 lies in EPM_ORACLE_HOME\Products\ FinancialManagement \Utilities and for all the previous versions of + 11.1.1, the location is % Hyperion_Home%\FinancialManagement\Server. The utility is named HfmCopyAppCmd.exe or HfmCopyAppCmd_x64.exe.

    The command line utility has the same options that the utility based GUI with the exception being that there is no progress window to watch tasks participated and no option to retry a failed task. In order to run the command line utility, the computer that runs the utility must have installed the Package redistributable Microsoft Visual C++ 2005 SP1. This package is installed by the installer of version 11 EMP, so it doesn't have to be installed manually when executing an HFM application server, but it may be necessary to install the copy utility is run on a server database directly.

    Use: S = HfmCopyAppCmd.exe"" s = d ="" d =

  • PL/SQL in Sql Developer 4 script, works not sqlplus command line.

    Hello guys, Xev here.

    I hope I meet new people there into that in this space. I hope this is the appropriate space to ask this, I see that others have asked about sqlplus and they where permitted to post...

    I have a pl/sql script that runs in sql developer 4, but the exact same script will not run in the sqlplus command line?

    When I run the script, it gives me this, but as you can see with this script that works fine with sql developer, he is not running sqlplus command line.

    ERROR at line 3:

    ORA-06550: line 3, column 28:

    PLS-00201: identifier 'DYNAMIC_COUNTS' must be declared.

    ORA-06550: line 3, column 4:

    PL/SQL: Ignored Element

    ORA-06550: line 39, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 39, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 41, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 41, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 43, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 43, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 45, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 45, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 82, column 15:

    PL/SQL: ORA-00942: table or view does not exist

    ORA-06550: line 82, column 3:

    PL/SQL: SQL statement ignored

    Here is the script I use... You define a type of thing in the sqlplus command line?

    Set serveroutput size unlimited

    run the DBMS_OUTPUT. ACTIVATE (buffer_size = > NULL);

    DECLARE

    TYPE nt_tab IS TABLE OF dynamic_counts % ROWTYPE;

    v_nttab nt_tab: = nt_tab();

    FND_LOOK INTEGER.

    v_incr NUMBER: = 0;

    ------------------------------------------------------------------------------------------------------------------------

    BEGIN

    FOR t IN (SELECT master, table_name, column_name

    From all_tab_columns

    Owner WHERE = UPPER ('& SCHEMA_NAME'))

    ------------------------------------------------------------------------------------------------------------------------

    LOOP

    BEGIN

    EXECUTE IMMEDIATE ' with an ACE (select case when REGEXP_LIKE (' | t.column_name |))

    -This search 1 letter and 12 figures-

    ', "^ ([[: alpha:]] |) [[: alpha:]] ({3}) [0-9] {12} $")

    then "match"

    another "no matches found" end up as output of ' | t.Owner | '.' || t.table_name | ')

    Select count (*) in a where a.output = "Match Found" clause '

    IN FND_LOOK;

    ------------------------------------------------------------------------------------------------------------------------

    IF FND_LOOK > 0 THEN

    v_incr: = v_incr + 1;

    v_nttab. EXTEND;

    v_nttab (v_incr) .t_owner: = t.owner;

    v_nttab (v_incr) .t_table_name: = t.table_name;

    v_nttab (v_incr) .t_column_name: = t.column_name;

    v_nttab (v_incr) .fnd_govids: = FND_LOOK;

    END IF;

    ------------------------------------------------------------------------------------------------------------------------

    / * This is for DBMS output, thus we have 2 different ways, one can see the results in the table dynamic_counts

    and in the dbms_output

    */

    IF FND_LOOK > 0 THEN

    Dbms_output.put_line (t.owner |) '.' || t.table_name | ' ' || t.column_name | ' ' || FND_LOOK);

    END IF;

    ------------------------------------------------------------------------------------------------------------------------

    / * Exception Handeling * /.

    EXCEPTION

    WHILE OTHERS

    THEN

    Dbms_output.put_line)

    "Generic error".

    || t.column_name

    || "from".

    || t.Owner

    || '.'

    || t.table_name);

    END;

    END LOOP;

    ------------------------------------------------------------------------------------------------------------------------

    FORALL i IN 1.v_nttab. COUNTY

    INSERT INTO dynamic_counts (t_owner,

    t_table_name,

    t_column_name,

    fnd_govids)

    VALUES (v_nttab (i) .t_owner,

    v_nttab (i) .t_table_name,

    v_nttab (i) .t_column_name,

    v_nttab (i) .fnd_govids);

    COMMIT;

    END;

    /

    Are you sure that you are connected to the database to the same user with both clients?

Maybe you are looking for

  • I can't open an email in 'search '.

    I can't open an e-mail after I did a search for it. I type in the keyword or e-mail I am looking for. This opens a separate tab. When I find what I'm looking for, I double click on the email to open it but it does not open. I also tried to open the e

  • Satellite L10: Mat * a DVD - RAM UJ - 831 S - update the driver or firmware

    HelloI bought a Toshiba Satellite L10-194 with a carpet * a DVD - RAM UJ-831 S and I'd like to update. My driver version is 5.1.2535.0 Microsoft (07/01/2001). I have a game I want to install it on my laptop but the CD doesn't recognize is not my DVD-

  • Mobile phone prices is most competitive

    Through regulations of the EU roaming for mobile calls rates have significantly declined in recent years. While Skype has been an easy and obvious choice for many years, when I wanted to make mobile calls to other European countries, I must now pay m

  • Error number: 0 x 80040707 Description: DLL function call crashed: BRADDPRT. CheckLocalPort.

    ... The installation program will end now. For some reason, I lost my printers. None appear as installed. When I try an installation, I get this message.

  • Cannot delete files from office.

    Original title: remove Iqons Office. I copied CD books and created a new folder and copied to the desktop - but only wanted to copy the folder, but instead, he saved all the tittles book separately - there are thousands - whenever I try to the delte