External command is not working in File Receiver Adapter
Hi,
I have tried to copy the file which is mentioned in my File Adapter (Receiver) to 3 different folders thru OS command. The purpose is to save time. I have created one CC for Source(File) and one CC for target(File). After the target file is created, I want to copy this file in 3 folders. For this I have written one batch file in my system.
File Name: copy1.bat
@ECHO OFF
COPY %1 C:\TEST1\arch_t1
COPY %1 C:\TEST2\arch_t2
COPY %1 C:\TEST3\arch_t3
DEL %1
The command which I entered in the Receiver CC (File Adatper is)
Run Operating System Command After Message Processing
Command Line: C:\FILES\copy1.bat %F %f
Timeout(secs): 60
Terminate Program After Timeout - Check box is selected.
But, this external command is not working. (because the target files are not created in those directories C:\TEST1, C:\TEST2, C:\TEST3)
I did this scenario by refering the Michael'w weblog:
/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
In this blog, he has also given how to troubleshoot external command. I tried this also. It is not working.
I use Windows XP OS. XI 3.0 SP 18.
Friends, Could you kindly tell why this external command is not working? What could be the problem?
Thanks in advance.
Kind Regards,
Jeg P.
Hi, Jeg.
As the note says, please check the java Runtime.exec behavior
with the proper user.
If in doubt, check if the command can be successfully run through
the Java Runtime.exec(...) API. Also note that the command is run
as user "<sid>adm" (Unix) / "SAPService<SID>" (Windows).
So, Could you check the following(very dirty one!) Java in your
XI server and check if it works? For simulating %F, create a test
file C:\FILES\test.txt whatever the content is.
import java.util.*;
import java.io.*;
public class ExecJava {
public static void main(String args[]) {
try {
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("C:/FILES/copy1.bat C:
FILES
test.txt");
} catch (Exception e) {
e.printStackTrace();
Good Luck.
Sejoon
Similar Messages
-
Adobe AIR - java is not recognized as an internal or external command operable program or batch file
Hi,
I've done everything as in the HelloWorld tutorial but when i run this cmd: adt
it gives me the following error java is not recognized as an internal or external command operable program or batch file
I've installed the AIR runtime v2
Downloaded the SDK v2 and placed in D:\Www\air
Modified the path variable with D:\Www\air\bin
And then i open a new cmd console and simply write adt and gives me that error.
I've updated to the latest version of Java, but it did solve it.
But what's strage it's that the adl command work, but i'm not being able to pack my application.
I'm running Windows 7 on x64 platform.
Sincerely,
AlexI think the 32bit version will work, but it sounds like you'll need to add the Java bin folder to your system path. This is usually done by the Java installer, so I'm not sure what failed, did you run the installer located at www.java.com? Either way, this document might be able to help you out:
How do I set or change the PATH system variable
Add the Java "bin" folder to your path, you might also need to add the CLASSPATH.
Please let me know how it goes! -
Win 2003 Sevver Command Prompt not working
Hi,
It seems somehow the command prompt are not working on my server and hence one of my software installation is failing on the server.
it seems the CLI commands work fine when the Command prompt is executed directly from the /system32 dir. But when we use it from Start>run>cmd, the commands don't respond.
For Example:
C:\>ping
'ping' is not recognized as an internal or external command,
operable program or batch file.
C:\>nslookup
'nslookup' is not recognized as an internal or external command,
operable program or batch file.
And when I execute it from the /system32 :
C:\WINDOWS\system32>ping
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name
Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet (IPv4-only).
-i TTL Time To Live.
-v TOS Type Of Service (IPv4-only).
-r count Record route for count hops (IPv4-only).
-s count Timestamp for count hops (IPv4-only).
-j host-list Loose source route along host-list (IPv4-only).
-k host-list Strict source route along host-list (IPv4-only).
-w timeout Timeout in milliseconds to wait for each reply.
-R Trace round-trip path (IPv6-only).
-S srcaddr Source address to use (IPv6-only).
-4 Force using IPv4.
-6 Force using IPv6.
C:\WINDOWS\system32>nslookup
Default Server: dns-blr2.cisco.com
Address: 72.163.128.140
Please check and suggest!Hi Aryanadonis ,
Thanks for posting here
According what you mentioned, I thought system can’t located command programs path when you perform this command .
Seems that you can perform these command with assign path, what I thought is this issue occurred because wrong environment variable setting.
I noticed that you have posted the Environment Variable result here, I checked and highlight wrong values that could cause this issue. please correct it and try perform
command again.
C:\WINDOWS;
C:\WINDOWS\system32;
C:\WINDOWS\system32\\wbem;
C:\PROGRA~1\CSCOpx\objects\smarts\lib;
C:\PROGRA~1\CSCOpx\objects\smarts\bin;
C:\PROGRA~1\CSCOpx\campus\bin;
C:\PROGRA~1\CSCOpx\MDC\tomcat\bin;
C:\PROGRA~1\CSCOpx\MDC\Apache;
C:\PROGRA~1\CSCOpx\MDC\Apache\bin;
C:\PROGRA~1\CSCOpx\MDC\jre\bin;
C:\PROGRA~1\CSCOpx\MDC\bin;
C:\PROGRA~1\CSCOpx\lib\jre\bin\server;
C:\PROGRA~1\CSCOpx\objects\db\win32;
C:\PROGRA~1\CSCOpx\bin;
C:\WINDOWS\system32\\wbems\smarts\binPROGRA~1\CSCOpx\MDC\ApacheOGRA~1\CSCOpx\lib\jre\bin\serverCOpx\lib\jrebin\serveremRoot%\System32\Wbem;
C:\Other Programs\net snmp\bin
This article below introduce how to modify environment variables in windows XP , but you may also reference to it and modify environment variable on you windows 2003:
How To Manage Environment Variables in Windows XP
http://support.microsoft.com/kb/310519
Thanks.
Tiger Li
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Java command still not working - please help
i have installed jdk1.6.0_05. The javac command works fine but the java command does not work at all. even when i try java HelloWorld i receive this exception message
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
Caused by: java.lang.ClassNotFoundException: HelloWorld
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
please help (you to SUN)!!bart@kerberos:~$ javac -help
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files and annotation processors
-cp <path> Specify where to find user class files and annotation processors
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-proc:{none,only} Control whether annotation processing and/or compilation is done.
-processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
-processorpath <path> Specify where to find annotation processors
-d <directory> Specify where to place generated class files
-s <directory> Specify where to place generated source files
-implicit:{none,class} Specify whether or not to generate class files for implicitly referenced files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-Akey[=value] Options to pass to annotation processors
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime systemSee the bold part.
More information: [http://java.sun.com/docs/books/tutorial/java/package/managingfiles.html] -
Illustrator is not fuctioning at 100%, some commands do not work ( eg - command open, nor place etc ) and same with photoshop....
Any advicepcmyhre,
You may try the list, possibly starting with item 7) in 5), which is a list of the usual suspects, which may disturb and confuse Illy so she fails to do even simple things.
The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media, see below. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
If possible/applicable, you should save current artwork first, of course.
1) Close down Illy and open again;
2) Restart the computer (you may do that up to at least 5 times);
3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html
External media: It is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky (for a while), but the chances of file corruption and other unpleasantnesses are immensely greater when you use anything but the harddisk, and it is better to be safe than sorry.
In addition to the (far greater) risk of file corruption, some issues are mentioned here:
http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html -
DACP commands are not working on Ipv6 enabled Airplay ITune service on MAC book.
DACP commands are not working on Ipv6 enabled Airplay ITune service on MAC book.
As we have gone through the source code(Airplay
Audio POSIX receiver v190.9.p6) in dnssd_clientshim.c file and in API DNSServiceGetAddrInfoResponse has provided the implementation for ipv4 only.
The test setup to test the DACP over IPV6 is by disabling the IPV4
from MAC book and only enabling the Ipv6 .
We are not sure if the test procedure is correct, please clarify the same.Hi,
It is because of the license. In WS-C3750X-48P-L, you have a LANBASE license whereas in WS-C3750X-24P-S you have an IPSERVICES license.
FDR_SW#show version
Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 12.2(55)SE5, RELEASE SOFTWARE (fc1)
License Level: lanbase
License Type: Permanent
Next reload license Level: lanbase
In a LANBASE license, ip routing and ip multicast commands are not supported.
Hope this helps.
Thanks,
Arun -
Host command is not working on linux
Hi
I m using linux for application server n windows for client. I need to create folder from client machine by cliking a button of forms10g runtime.HOST command is not working which was working fine in windows.
Any help is appriciateable.
kazi mokaremHi
I had the same issue on linux a few weeks back. What tuned out was, when you install the Oracle app svr it does not include the system paths by default.
The path where mkdir is located may not be visible to the app.
Try to hardcode the path for mkdir as /bin/mkdir .... and seee if that works.
If the above statement works then add that path in the paths variable in default.env file located in $ORACLE_HOME/forms/server directory
HTH
Arvind -
Error in file receiver adapter (Directory does not exist / cannot be create
I have a NFS reiceiver file NFS adapter with target directory:
10.128.68.38\arbo2000\UploadPinfos\arbodev
if I run this line in windows, windows access to this folder.
Full Error log:
Receiver Adapter v2123 for Party '', Service 'BS_0000_ARBO_DEV':
Configured at 2006-04-06 18:08:26 CEST
History:
- 2006-04-06 18:08:35 CEST: Error: Message processing failed: Exception: Message processing failed - configuration error in file receiver adapter (Directory does not exist / cannot be created)
Can somebody help me please??Hi Alvaro,
If your XI server is running on Unix platform then you'll get the access only after mounting 10.128.68.38 this system as a drive. This is equivalent to the windows network mapping.
Next thing is that once that is done then you can access the path /arbo2000/UploadPinfos/arbodev by mentioning it in your directory path.
To check whether the above mentioned is the problem then pls do try by doing it with FTP protocol. If it works then for acting as a local directory for NFS you need to mount the drive.
Cheers
JK -
Operating system command in file receiver adapter
Hi,
How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter.
I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system.
So how do i invoke this batch file from the file reciever adapter ( Run Operating system command after message processing ).Hi,
did you see this page?
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/556cb799c93677e10000000a114a6b/content.htm
it shows all you need to know
Regards,
Michal KRawczyk -
File receive adapter command line error handling
Hi,
This is our requirement - After the file receive adapter, we need to run a script. Based on the return code of the script, we need to handle the error handling of the interface (i.e. send an email about the error).
I have looked at the operating system command line in the file adapter. How does XI handle return codes for the command line? If the command line has a error return code, how to send an email from XI?
If anyone has ideas on this topic, please respond!!
thanks,
lasyaHi,
I don't think so, it is possible directly. You can not get the Response back to XI pipeline from the shell script.
But you can think, if you are able to call this from Mapping.
And one more option is using Transport Acknowledgement ( with BPM) if the file is not able to write into the target directory you can raise an alert-
Blog on this-
/people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
Regards,
moorthy -
Command S not working in Dreamweaver CS6
Command S not working in Dreamweaver CS6
Every time I've run into an issue like this, clearing the cache file has repaired it...
http://forums.adobe.com/thread/494811
As long as it's not a system wide issue that is. -
Sqlplus -prelim command is not working.
Hi ,
sqlplus -prelim command is not working for me. It is giving me the below error.
oracle@xyz: /app/oracle/product/10.2.0/bin $*sqlplus -prelim*
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Aug 7 10:31:54 2009
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Enter user-name: oracle
Enter password:
ERROR:
ORA-24300: bad value for mode.
I am solaris 5.10 and database is 10g.
Thanks
Naveen.what -prelim command?
sqlplus -help
SQL*Plus: Release 10.2.0.4.0 - Production
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
<logon> is: (<username>[/<password>][@<connect_identifier>] | /)
[AS SYSDBA | AS SYSOPER] | /NOLOG
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA and AS SYSOPER options are database administration
privileges.
The /NOLOG option starts SQL*Plus without connecting to a
database.
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information. -
Since I have up dated my Macbook pro, my external monitor does not work. Who can help me
It was working untill i did the update
-
My IPad 2 external speaker does not work and the original headphones have popping sound when used. This all occurred at the same time as my IPhone and IPod headphones only plays mono (and no, the "mono" option is not on) with the original headphones, as well as, other headphones tested. How can there be audio issue for all these devices at the same time?
As you may have noted from the list of Apple devices I own, I believed in the Apple and the products it was producing; but it is hard to believe from my experience and the other voices within the Apple Community that we are all experiencing the same hardware issues. Especially since I recently, I upgraded to an IPhone 4g (no, my faith in IPhone 5 series is very little) and is experiencing the same audio problem as described above. So now, I am off to the Apple store again to be told that it’s a hardware problem on new IPhone. Really? Apple, what happen to the pride in the product you were producing?Everyone does things a little differently. I love to "jam " along with iTunes ( or old Lp's) . Always have. That's where/how I've learned to play .
I'm sure leonieDF is giving a proper way to jam along on a keyboard with an iTune. He blows my mind all the time with what he knows. Nuff respects to him !
What I do is make a GB project I call "Jam With". I'll make several new tracks that are blank. Just has a few instruments named in the blank tracks. You can change those per song ...
Because I'm not concerned about changing the pitch / key.... of the iTune or the tempo ... I can simply play along with it.
Peace,
P. Dreadie -
External mouse scrolling not working
The scrolling function of my external mouse does not work when the MacBook Pro is not plugged in with its powercord. The mouse buttons seem to be functioning. So does as an external keyboard. My wife has the same problem (using 10.6.2 OS). There are no options in the System Preferences that deal with this. Is this just an oversight by Apple? This basically makes using an external keyboard and mouse a nonviable option for a laptop unless you are near an electric outlet. If you know of a workaround I would appreciate the information. If not, it is something Apple will have to correct as it a pretty obvious oversight.
Thanks in advance for any advice.
TonyCheck your settings when it is unplugged to make sure they are still properly configured. You might even want to try and disable the trackpad when a mouse is being used. I would also check out USB Overdrive (Shareware).
Maybe you are looking for
-
Hi guys I have this error message when installing new Itunes updates: HResult: 0x800736FD. Can anyone help me? thanks
-
Substitution rule does not work in SAP CRM
Hi, In our client, we have work flow set up for substitutions. Manager A has specified B as his substitute for approving work flow items during his absence. I checked the table T77S0, WFLOW AUTOF is set to 'X'. I checked the table HRUS_D2, here the e
-
SprintTV and Apple TV mirroring
I got the SprintTV app for my Sprint iPhone 5. Seems like a good app, works well on WiFi, and all that. But as best as I can figure out, I am unable to make it the video mirror through my AppleTV. Some of my other apps, like YouTube have that little
-
HRSM_D : Error in Upload of time data
Hi all, We are trying to post data in Infotype 2001 via HRSM_D01 Idoc . But we are getting the following error "data record could not be added to table PTEXDIR" We also executed the report RPTEXTPT . Please guide. Shikha
-
Updating my Adobe Software and I keep getting an error - Adobe Media Encoder CS6 6.0.2 Update There was an error downloading this update. Please quit and try again later. Error Code: U43M1D207 How do I solve this?