Transferring a file using SFTP to specified target location: (Thanks to Jawahar who helped me in this article) A lot has been mentioned about sFTP support in PT 8.51. Below gives clear idea on SFTP. Are there any specific pre-requirements for using file transfer protocols? Yes. Though FTP can be used directly by giving the URL as a string to the peoplecode method, other protocols (ftps, sftp, http and https) require the URL to be passed as a URL identifier only. When an URL identifier is created, URL properties link on the page gets enabled. Users need to provide the URL properties specific to the protocol they are using on this "URL properties" page. The URL properties differ based on the protocol choosen. Once URL Identifier is ready, it can be used in any of the file attachment peoplecode methods just like the existing way. What are the authentication methods supported for sftp? Password and Public Key authentication are supported.
1. Open the setEnv.sh/cmd (On PT8.51 and lower, located in <PS_HOME>/webserv/<DOMAIN_NAME>/bin On PT8.52 and higher, located in <PS_CFG_HOME>/webserv/<DOMAIN_NAME>/bin) 2. Check JAVA_HOME variable if JAVA_HOME variable is commented out, Go to 3. set PS_HOME=C:/psft/ora/pt849 set BEA_HOME=C:/Bea set WL_HOME=c:/bea/weblogic92 set DOMAIN_NAME=peoplesoft1 @REM Set Javahome via commEnv.cmd call %WL_HOME%\common\bin\commEnv.cmd >nul 2>nul @REM JAVA_HOME is set via commEnv.sh, to override set it here. SET JAVA_HOME=%BEA_HOME%\jdk150_1 3. If JAVA_HOME variable is commented out, JAVA_HOME is set via commEnv.sh/cmd. Open the commEnv.sh/cmd (located in <WL_HOME>/common/bin) and check JAVA_HOME @rem Reset JAVA Home set JAVA_HOME=c:\bea\jrockit_150_12 FOR %%i IN ("%JAVA_HOME%") DO SET JAVA_HOME=%%~fsi 4. Go to directory path specified by JAVA_HOME. Run "java -version" command. -bash-3.2$ ./bin/java -ve
All Processing Suspended: Restart OPRID=PS, RUNID=RUN01, PI=5000(108,503) What is this about and what should be done? This error can occur when Application Engine programs are restartable and run via the Process Scheduler, and the last run was No Success - And an attempt re-run, rather than re-start will produce error as well The cause of this message is that previously this same AE program was run using the same OPRID=PS & RUNID=RUN01. It was not Successful on initial run, and now an attempt to RUN the same program has occurred, instead of an attempt to RESTART the original that failed. Whether this error Happened in Development??? This message happened while the Customer was in Development phase of this AE program. It could have happened when this AE was in Production as well. However, what to do would have completely different emphasis depending on if this happens in Development or Productions. During the development cycle, we would expect that this AE would have to run many tim
Comments
Post a Comment