SFTP error

Hi, i am using n software SFTP adapter. i am able to successfully connect to SFTP server from server A and using the same configurations i am not able to connect from server B. any idea what could be the reason . i am getting the following error
Transmission failed for message "xxxxxxxxx": Error uploading SFTP file: Connection failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection
failed because connected host has failed to respond xxxxx:22

I guess server B is not able to locate FTP server.
so check if you are able to ping that FTP server from server B.
open command prompt and ping the FTP server.
if the FTP server and Server B are in different domain, then you have to user fully qualifed domain name to ping that FTP server.
Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Similar Messages

  • Receiver SFTP Error

    Hi All,
    We are facing issue in receiver SFTP scenario, sender is a simple flat file and receiver is SFTP.
    In the receiver SFTP channel we are getting below error:
    Delivery of the message to the application using connection SFTP_http://sap.com/xi/XI/SFTP failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: 2: Putting /rbs.txt failed.
    Through winscp tool, I am able to open the SFTP location and place the file manually.But facing issue while trying to place the file through PI receiver SFTP channel.
    Thanks in advance.
    Best Regards,
    Vignesh

    Hi Venkat,
    I have tried your option but still I am getting same error.
    Hi Rudra,
    One more SFTP scenario is present in our landscape and it is working fine without any issues.
    Also, I am not getting any usefull link regarding this error.
    .MessagingException: javax.resource.ResourceException: 2
    Please provide your input.
    Best Regards,
    Vignesh.

  • Strange SFTP error message

    I can no longer connect using SFTP on one of my sites in Dreamweaver CS6 and I get this error message:
    Failed to Read the contents of XML Resource:
    IDD_SSH_KEY_CHANGE_DIALOG
    The password and paths  are correct and I am able to connect using other SFTP clients such as Cyberduck. I've deleted the site several times and recreated in Dreamweaver, but the error message remains the same.
    Somebody please point me in the right direction.
    Thanks.

    Yes!!! Step 12 worked. (Renaming the Configuration folder.) Thank you so much, you're a star.
    Anyone else trying this on Lion or Mountain Lion should note that the user Library that contains this folder is not visible by default:
    /Users/[username]/Library/Application Support/Adobe/Dreamweaver CS6/[language]/Configuration
    You have to go into Terminal to make it visible, see the tutorial here:
    http://macs.about.com/od/usingyourmac/qt/Os-X-Lion-Is-Hiding-Your-Library-Folder.htm
    Also note: there's another Configuration folder within the Dreamweaver Application itself: Macintosh HD/Applications/Adobe Dreamweaver/Configuration, however renaming is no help at all - it makes Dreamweaver crash!

  • SFTP error in OSB

    I have configured SFTP in proxy service by giving Request Message Type as text,*Protocol* : sftp *,Endpoint URI* :sftp://hostname:port//Filelocation
    SFTP Configuration User Autentication :username Password,*Service Account*: browsed the service account that i have created in the project
    I have created known_hosts text file and placed that text file in C:\Oracle\Middleware\user_projects\domains\base_domain\osb\config\transports\sftp
    and even i tried by placing the same text file in another location C:\Oracle\Middleware\user_projects\domains\base_domain\config\osb\transports\sftp
    I'm getting the following error in OSB_server.
    <Error> <SFTPTransport> <BEA-381841> <known_hosts file does not exist or it does not have read permissions.>
    <Error> <SFTPTransport> <BEA-381828> <SFTPClientException occured, message is :: known_hosts file does not exist or it does not have read permissions.>
    <Mar 28, 2013 4:41:07 PM IST> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$OSB_SFTP Project$Adapter$SFTP_ProxyService: com.bea.wli.sb.transports.TransportException: known_hosts file does not exist or it does not have read permissions.
    com.bea.wli.sb.transports.TransportException: known_hosts file does not exist or it does not have read permissions.
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)
    at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    Truncated. see log file for complete stacktrace
    Caused By: com.bea.wli.sb.transports.TransportException: known_hosts file does not exist or it does not have read permissions.
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.getSftpResource(SFTPWorkPartitioningAgent.java:165)
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:58)
    at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    Truncated. see log file for complete stacktrace
    Caused By: com.sshtools.j2ssh.transport.InvalidHostFileException: known_hosts file does not exist or it does not have read permissions.
    at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts(KnownHostVerifier.java:144)
    at com.bea.wli.sb.transports.sftp.client.SFTPClient.authenticate(SFTPClient.java:108)
    at com.bea.wli.sb.transports.sftp.connector.SFTPResource.<init>(SFTPResource.java:78)
    at com.bea.wli.sb.transports.sftp.resource.SFTPUtils.createSFTPResource(SFTPUtils.java:170)
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.getSftpResource(SFTPWorkPartitioningAgent.java:148)
    Truncated. see log file for complete stacktrace
    >
    Regards,
    Anusha
    Edited by: 996727 on Mar 28, 2013 4:37 AM
    Edited by: 996727 on Mar 28, 2013 4:43 AM

    Hi Patrick,
    thanks for your reply.
    Now that error is resolved and the new error is as shown below.
    <Apr 1, 2013 12:46:37 PM IST> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$OSB_SFTP Project$ProxyService$SFTP_ProxyService: com.bea.wli.sb.transports.TransportException
    com.bea.wli.sb.transports.TransportException
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)
    at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
    at com.sshtools.j2ssh.io.ByteArrayReader.<init>(Unknown Source)
    at com.sshtools.j2ssh.transport.publickey.SshKeyPairFactory.decodePublicKey(Unknown Source)
    at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts(KnownHostVerifier.java:111)
    at com.bea.wli.sb.transports.sftp.client.SFTPClient.authenticate(SFTPClient.java:108)
    Truncated. see log file for complete stacktrace
    >
    Bad Base64 input character at 3: 45(decimal)
    Regards,
    Anusha.

  • CS5 and CS6 SFTP error

    OS is Windows Vista HP SP2, using DW CS5 Ver 11.0 Build 4909. I have two websites I used to connect through SFTP, but all of a sudden stopped working, no visible reason. Getting the infamous "An FTP error occurred - cannot make connection to host. An error occurred. Please contact yoiur administrator."
    SFTP to either website using the same credentials from the same computer works with FileZilla, WinSCP.
    CS5, installed in a Win 7 Pro computer, on the same LAN, works correctly when trying to connect using SFTP.
    Uninstalled CS5 in the Vista machine using Revo uninstaller and following up with a manual search and delete of files, folders and registry entries for the program, then reinstalled the program, same problem.
    Repeated uninstall process and then Installed CS6 trial on the Vista machine. Tried SFTP - same error.
    Reset the TCP/IP stack on the Vista machine, just in case - no dice.
    Tried CS6 on the desktop Win 7 machine, worked no problem.
    Searched for the ssh_hosts file in %appdata%\Adobe\Dreamweaver CS5\en_US\Configuration in the Vista machine only to find there isn't one. Just in case I copied the one found in the Win 7 machine and placed it in the Vista machine - no difference in behavior. SFTP still doesn't work.
    Windows Firewall is turned off. Kaspersky Internet Security, the security software installed in the Vista machine, was disabled. No difference. Also same security software is installed in the Windows 7 machine, so that's not a variable.
    Used Process Monitor to log exactly what happens when each machine was told to establish the SFTP connection, and Dreamweaver.exe behaves differently in each machine, i.e. they don't perform the same steps.
    Any suggestions?

    Hello,
    It seems that you don't have updated version of Dreamweaver CS5. That update includes critical fix for the SFTP protocol.
    Please update your Dreamweaver CS5 using below link
    http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dwcs51104
    Please make sure you restart your computer after this.
    Regards,
    Devendra

  • SFTP errors after upgrade

    I've been trying to open SFTP connections to a known good OS X Tiger Server via BBEdit, CyberDuck and via command line on the terminal, and nothing is working. I get a "subsystem request failed on channel 0" error in Cyberduck and Terminal, but BBEdit just silently quits.
    I can successfully SSH to this server, and as I indicated above I was able to SFTP prior to the upgrade. I can also SFTP to another FreeBSD server at my 3rd party hosting provider. Any thoughts on how to troubleshoot this? Is there some arcane .plist file I need to delete, or is this something exclusive to Tiger Server and Snow Leopard somehow?
    Thankfully I have a web-based file browser as an alternative to securely transfer files to/from this server, but would far prefer a dedicated client if possible so curious if anybody else has experienced anything like this.

    Nothing in either file. The secure.log doesn't even log anything other than the SSH login I had to check the log files, even when I had opened a separate window and made a subsequent SFTP attempt. The system.log only registered the 2 sudo requests.
    I tried Fugu as well below, and got no love there either. At this stage I'm just wondering if there is some very strange corruption at somewhere along the way, but not sure even how I could verify that. I tried to troubleshoot it on the client side by going into a new user account that had never previously had any sftp/ssh activity at that server, and as expected I got the requests to confirm the identity of the host and password for my user account, but after entering the password I got the same result.
    This no longer appears to be a problem specific to Snow Leopard though, as just on a whim I logged into another Tiger Server (OS 10.4.11) on my local network and tried to sftp from there to the problem server, and got the same "subsystem request failed on channel 0" result.
    The only things that I can think of now that could be at issue would be something attached to my specific user account, but I don't know what since I can SSH successfully, or something unique to my network, but given that I can SFTP to other servers from my network, I don't know what that would be either.
    Whatever it is, I'm at a loss as to what to check from here.

  • An SFTP Error?

    I tried updating my website and it says it put the new files there but they aren't its displaying the Curtain Club poster on the events page when it should be displaying a House of Blues poster, and It also says that the website is update with the local version.

    Make sure your browser cache is clear.
    In Firefox, you can hit Ctrl + Shift + R.
    In IE9, hit F12, then Ctrl + R and click Yes when the pop up asks if you want to clear the cache.
    If it's still wrong, we could take a closer look if you have a link to your site available.

  • SFTP in Krusader as user: "Unknown error"

    Hello,
    I would like to connect to various sftp-servers using Krusader, but most* of my attempts fail, and I get the following error message:
    Unknown error:
    SFTP error: 1
    Execution of the ssh program didn't succeed.
    (1st line verbatim, 2nd and 3rd backtranslation.)
    Fish now seems to be working, but it was not always so, I used to get:
    The process for the fish://<myserver> protocol died unexpectedly.
    (verbatim)
    Command line ssh/sftp works flawlessly, smb through Krusader too.
    However, if I run Krusader as root, both sftp and fish works.
    Moving ~/.kde4 or ~/.ssh doesn't help.
    Maybe relevant: I use a non-default port for ssh.
    I have both kdebase-runtime and kdelibs installed (mentioned in this thread), however I don't have a full KDE installed, I use Openbox. After an sftp attempt, 'ps -e' lists kio_sftp.
    (It's possibly not some "recent Syu" bug, I have never tried it under Arch before.)
    I'm actually out of ideas how to continue debugging, anybody else?
    Thanks in advance.
    *Actually it succeeds if it is my very first ssh/sftp activity since the last reboot. So I can reenable sftp-ability in Krusader by rebooting; restarting just Krusader, X or remote sshd doesn't help.

    When you send mail to that "bad account", check the ldap access log. Suspect that there's a duplication of mail address with somebody having the same alternate address.
    Look at that access log, for the search, and note the result. If "nentries=2", that's the problem
    :

  • SFTP ; SSH_FX_FAILURE:

    Hi.
    I am trying to do a fsetstat on a file using sftp:
    fileAttributes = sftpClient.fstat(fileHandle);
    fileAttributes.permissions = new Integer(00777);
    sftpClient.fsetstat(fileHandle, fileAttributes);
    The files permission gets changed as requested on the server but an exception gets thrown, I can�t figure out why the exception is thrown :SSH_FX_FAILURE: An error occurred, but no specific error code exists to describe the failure.
    I am able to do createFile which indicates that my connection and file handle is working...
    Also the file gets created by the process and therefor I have all the neccesary permission to make changes to the file.
    Thanks

    This is not a permission problem but a problem between Contribute and the FTP server.  This is an issue that has been around for at least 5 years, best I can tell.  We are seeing the Contribute user log in just fine but when they want to edit a file Contribute immediately tries to read the .lck file which returns an "Access Denied" error. The .lck file does not exist at this point which is causing this whole problem. If I create a blank text file and name it "default.htm.lck" and then try to edit the default.htm things are just fine. The user clicks the edit button, Contribute makes a call to the file system to read the .lck file, finds it, it's blank and has no information to read so it goes ahead and lets the user edit the page. When the user finishes the edit and uploads the file Contribute deletes the .lck file and then back to the "Access Denied" error for the next time.
    To test this I have two sFTP servers and one web server.  The two FTP server authenticate via Active Directory and connect to the webserver via UNC paths.  The two FTP servers are running different software for the FTP part, one works the other does not.
    trying to get a nonexistent file from the working FTP server results in
    Code:
    psftp> get bla.htm
    /bla.htm: open for read: no such file or directory
    trying to get a nonexistent file from the other FTP server results in
    Code:
    psftp> get bla.htm
    /bla.htm: open for read: failure
    From what I can gather at http://www.justskins.com/forums/contribute-cannot-edit-files-over-sftp-4977.html the server is returning an error code 4, a general sftp error. what Contribute is expecting is a error code 2, file not found.  Why some FTP servers return the error code 4, I have no clue.  But who thought it would be a good idea to open a file that may or may not exist?  Wouldn't it have been easier to check for the lck file first?

  • Subcribers not sending CDR files to Publisher in the cluster.

    HI,
    We have call manager cluster 8.6 version and there are 5 nodes in the cluster.
    I could see CDR files generated in the subscriber nodes but it is not uploaded publisher node CDR repository .
    I am not seeing any CDR files in Publisher preserve folder.
    2014-05-06 19:43:41,517 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:213) - After failure to send files in the previous attempt. Creating new ftpClient object
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:148) - ftpClient constructor
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:150) - host = 166.98.48.155
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:151) - user = ccmservice
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:153) - localDir = null
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:154) - remoteDir = null
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:155) - secureFTP = true
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:156) - permKey = true
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:157) - Component Name : cdragent
    2014-05-06 19:43:41,518 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:216) - After creating the ftpClient object
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:179) - connect()-->
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:182) - connect(): connect for SFTP
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:94) - Inside the SFTPConnection Constructor
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:364) - checkConnection for Publisher using Key Authentication-->
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:365) - checkConnection: UserName : ccmservice
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:366) - checkConnection: hostname : 166.98.48.155
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:215) - getSshClient-->
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:272) - getSshConnector-->
    2014-05-06 19:43:41,520 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:227) - SSH Connection object obtained
    2014-05-06 19:43:41,566 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:405) - Trying to authenticate using Private Key File : /home/ccmservice/.ssh/id_dsa
    2014-05-06 19:43:41,576 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:428) - The User is Authenticated. Need to get the SftpClient
    2014-05-06 19:43:41,616 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:432) - SftpClient is obtained Successfully
    2014-05-06 19:43:41,617 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:453) - <--checkConnection for Publisher using Key Authentication
    2014-05-06 19:43:41,617 DEBUG [main] sftpapi.ftpClient (ftpClient.java:194) - The status of checkConnection : true
    2014-05-06 19:43:41,617 DEBUG [main] sftpapi.ftpClient (ftpClient.java:217) - connect():Successfully connect to 166.98.48.155
    2014-05-06 19:43:41,617 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:224) - After attempt to get ftpClient connection
    2014-05-06 19:43:41,617 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:237) - Sleeping for 60 seconds
    2014-05-06 19:44:41,628 INFO  [main] cdragent.cdrAgent (cdrAgent.java:199) - waking up
    2014-05-06 19:44:41,628 INFO  [main] cdragent.cdrAgent (cdrAgent.java:384) - handleCDRFiles -->
    2014-05-06 19:44:41,663 INFO  [main] cdragent.cdrAgent (cdrAgent.java:285) - At the moment, # of files ready to be transfered to Publisher is 14011
    2014-05-06 19:44:41,763 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:426) - sendFile(): Try bldSendFileCmds
    2014-05-06 19:44:41,763 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:430) - FtpManager - sendFile() : The Parent directory of the remote directory send the files : /var/log/active/cm/cdr_repository/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:849) - bldSendFileCmds(): -->
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:862) - bldSendFileCmds(): - no need to build command file
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:863) - local directory: /var/log/active/cm/cdr/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:864) - remote directory: /var/log/active/cm/cdr_repository/trans/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:865) - final remote directory: /var/log/active/cm/cdr_repository/tmp/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:867) - file: cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:869) - bldSendFileCmds(): return <--
    2014-05-06 19:44:41,764 DEBUG [main] cdrrep.Util (Util.java:102) - checkJVMFreeMemory(): -->
    2014-05-06 19:44:41,764 DEBUG [main] cdrrep.Util (Util.java:158) - checkJVMFreeMemory(): <--
    2014-05-06 19:44:41,764 INFO  [main] cdragent.cdrAgent (cdrAgent.java:433) - CDRAgent before sending the file: JVM status: [Max = 227.56MB, Total = 58.44MB, Free = 48.29MB (82.64%), Used = 10.15MB (17.36%)]
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:499) - sendFiles(): -->
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:510) - sendFiles(): file to send = /var/log/active/cm/cdr/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:511) - sendFiles(): remoteDirectory = /var/log/active/cm/cdr_repository/trans/
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:518) - sendFiles():remoteDirectoryFinal(NOT NULL)=/var/log/active/cm/cdr_repository/tmp/
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:519) - sendFiles():remoteFilePathFinal=/var/log/active/cm/cdr_repository/tmp/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:521) - sendFiles(): localFilePath = /var/log/active/cm/cdr/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:522) - sendFiles(): remoteFilePath = /var/log/active/cm/cdr_repository/trans/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:526) - sendFiles(): uploadFile
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:163) - sendFileThroughSFTP -->
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:174) - Running put command to copy the file
    2014-05-06 19:44:41,767 ERROR [main] sftpapi.SFTPConnection (SFTPConnection.java:194) - Sftp Status Exception : com.maverick.sftp.SftpStatusException: Permission denied.: Permission denied
    2014-05-06 19:44:41,768 DEBUG [main] sftpapi.ftpClient (ftpClient.java:538) - Sftp Status Exception
    2014-05-06 19:44:41,768 ERROR [main] sftpapi.ftpClient (ftpClient.java:539) - SFTP error in transferring file to another machine.
    2014-05-06 19:44:41,768 ERROR [main] sftpapi.ftpClient (ftpClient.java:540) - com.maverick.sftp.SftpStatusException: Permission denied.: Permission denied
    2014-05-06 19:44:41,768 ERROR [main] sftpapi.ftpClient (ftpClient.java:559) - Exception while sending files: com.maverick.sftp.SftpStatusException: Permission denied.: Permission denied
    2014-05-06 19:44:41,768 DEBUG [main] cdrrep.Util (Util.java:102) - checkJVMFreeMemory(): -->
    2014-05-06 19:44:41,768 DEBUG [main] cdrrep.Util (Util.java:158) - checkJVMFreeMemory(): <--
    2014-05-06 19:44:41,768 INFO  [main] cdragent.cdrAgent (cdrAgent.java:443) - CDRAgent after sending the file: JVM status: [Max = 227.56MB, Total = 58.44MB, Free = 47.77MB (81.74%), Used = 10.67MB (18.26%)]
    2014-05-06 19:44:41,768 ERROR [main] cdragent.cdrAgent (cdrAgent.java:509) - sftp failed for file cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,768 ERROR [main] cdragent.cdrAgent (cdrAgent.java:519) - Alarm: Unable to successfully send file to repository node.
    2014-05-06 19:44:41,768 INFO  [main] cdragent.cdrAgent (cdrAgent.java:548) - raising alarm CDRAgentSendFileFailureContinues
    2014-05-06 19:44:41,769 INFO  [main] alarmInf.AlarmSender (AlarmSender.java:107) - alarmName: CDRAgentSendFileFailureContinues
    2014-05-06 19:44:41,769 DEBUG [main] alarmInf.AlarmSender (AlarmSender.java:113) - paramName[0] = CDRRepositoryNodeAddress -> paramValue[0] = 166.98.48.155
    2014-05-06 19:44:41,769 DEBUG [main] alarmInf.AlarmSender (AlarmSender.java:113) - paramName[1] = CDRAgentNodeAddress -> paramValue[1] = DUB2IPTCCMPIN22/166.98.48.157
    2014-05-06 19:44:41,769 DEBUG [main] alarmInf.AlarmSender (AlarmSender.java:119) - sendAlarm ...
    2014-05-06 19:44:41,769 INFO  [main] cdragent.cdrAgent (cdrAgent.java:575) - <-- handleCDRFiles
    2014-05-06 19:44:41,769 DEBUG [main] sftpapi.ftpClient (ftpClient.java:283) - disconnect(): <-ftpClient->
    2014-05-06 19:44:41,769 DEBUG [main] sftpapi.ftpClient (ftpClient.java:287) - disconnect(): SFTP Connection -->
    2014-05-06 19:44:41,769 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:492) - disconnect(): SFTP Connection -->

    Could you please check with TAC whether your CUCM version is also affected by the bug CSCsz99841 as I see "ccmservice" user in your logs too?
    Description
    Symptom:
    Cluster Manager will update ccmservice user SSH security keys whenever a new node is added or removed from the cluster
    Conditions:
    CDR Agent cannot send CDR files from sub to pub using sftp.
    This is because SFTP is initiating a connection using the user 'ccmservice'
    Workaround:
    i) Stop CDR Agent service on Call Processing Node
    ii) Gain root access via remote access support account. And then
    Copy over the authorized keys in the specific user's SSH directory:
    /home/sftpuser/.ssh/authorized_keys file to
    /home/ccmservice/.ssh/authorized_keys
    Root CLI command:
    cp /home/sftpuser/.ssh/authorized_keys /home/ccmservice/.ssh/authorized_keys
    iii) Start CDR Agent service on Call Processing Node.
    Further Problem Description:
    This was caused by changes that were made to tighten up file permissions around the CUCM file structure

  • File not found error in SFTP channel

    Hi All,
    We are getting a "file not found error " while using a SFTP sender channel .
    Our Scenario :
    We are using SFTP as the source adapter .Presently we are using  two nodes for load balancing for all the sender channels.
    One of the node's of the  SFTP channel is picking the file , while the other node at the same time is throwing a "File not found error".
    The file is being picked and is placed at the target, but the channels are in error state as one of the nodes is in error state.
    Please let me know, if we did any mistake while configuring the adapter.
    Thanks,
    Yamunan

    Hi,
    Could you please check if you have provided right path in your sender communication channel...to pick the file from...
    Regards,
    Naveen.

  • Error while putting file in sftp location.

    Hi All,
    One of my BPEL process is using flow activity which has 5 flow in parallel, each flow has sftp invoke and we are writing file (put) to SFTP server. sometime bpel process is failing with below error message.
    Is someone has any idea to remove this error?
    Thanks in Advance.
    </part><part name="summary"><summary>file:/gembin/oracle/product/10.1.3/SOA/bpel/domains/gemptm/tmp/.bpel_SyncPlanDataASCPReqABCS_1.0_5678626ccda718f92a73c5656.tmp/plPutBookOrderTransit.wsdl [ Put_ptt::Put(Root-Element) ] - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
    Unable to send file to server. [Caused by: Unexpected termination: Connection reset]
    ; nested exception is:
    ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server. [Caused by: Unexpected termination: Connection reset]
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.

    Hi,
    I have got the same error, and late figured out why it is coming...actually i am appending the records to a file in remote server, the file was kept open by someone on their Desktop. Later after they closed the file, the error is not coming again.
    Hope this helps someone.
    Thanks,
    N

  • AIP-51505:  General Validation Error - SFTP transport - validation disabled

    Configuration :
    internal DC with SFTP
    external DC with SFTP (via proxy)
    Business Protocol          Custom Document over Generic Exchange
    MLR 12? (patch 8703404)
    3 environments have the same tip.properties
    2 environments pick up and send all files successfully.
    I cannot see a difference between the deployments that is causing the validation error.
    [also in all three B2B's are an ebXML and AS2 trading partner configuration]
    The 3rd generates validation errors for all files (14) in the b2b.log and sends some (1-7).
    Note that the sent ones change, if a failed one is retried in the source directory, sometimes it is sent successfully.
    In the failing/validating deployment there is no validation for (cut and pasted from UI screens) :
    Document Protocol Revision Details = Translation Enabled False Validation Enabled False
    Document Types (Document Definition Details for each document def) = Is Translation Enabled False Is Validation Enabled     False
    tip.properties (environment where error occurs) :
    #valid valudes for DiagnosticLevel:
    #DEBUG, INFORMATION, WARNING, ERROR, FATAL.
    #default logging level
    oracle.tip.DiagnosticLevel = ERROR
    #default component log level for B2B Engine
    b2b.oracle.tip.DiagnosticLevel = ERROR
    # following logging properties to be set back to false after resolving Sequence 98
    # oracle.tip.adapter.b2b.logPayload = true
    # oracle.tip.adapter.b2b.packaging.logDecryptMessage = true
    b2b.oracle.tip.DiagnosticLevel.Repository = ERROR
    b2b.oracle.tip.DiagnosticLevel.BusinessLogicLayer
    b2b.oracle.tip.DiagnosticLevel.B2B
    b2b.oracle.tip.DiagnosticLevel.ModelValidation
    b2b.oracle.tip.DiagnosticLevel.ValidationRule
    b2b.oracle.tip.DiagnosticLevel.TechStack
    b2b.oracle.tip.DiagnosticLevel.Deployment
    b2b.oracle.tip.DiagnosticLevel.Reports
    b2b.oracle.tip.DiagnosticLevel.UI
    #default component level logging for UI
    ui.oracle.tip.DiagnosticLevel = ERROR
    #specify component log leel to override default;
    ui.oracle.tip.DiagnosticLevel.Repository = ERROR
    ui.oracle.tip.DiagnosticLevel.BusinessLogicLayer
    ui.oracle.tip.DiagnosticLevel.B2B
    ui.oracle.tip.DiagnosticLevel.ModelValidation
    ui.oracle.tip.DiagnosticLevel.ValidationRule
    ui.oracle.tip.DiagnosticLevel.TechStack
    ui.oracle.tip.DiagnosticLevel.Deployment
    ui.oracle.tip.DiagnosticLevel.Reports
    ui.oracle.tip.DiagnosticLevel.UI
    oracle.tip.adapter.b2b.encoding=UTF-8
    # Diagnostic Service defaults
    oracle.core.ojdl.OrganizationId = oracle.com
    oracle.core.ojdl.ComponentId = tip
    oracle.core.ojdl.HostingClientId = beta
    oracle.core.ojdl.BufferSize = 100000
    oracle.core.ojdl.FlushInterval = 5000
    # Specific diagnostic settings
    oracle.tip.LogDirectory = /space/sw/oracle/products/ias/b2b/ip/log
    oracle.tip.LogMaxSegmentSize = 10000000
    oracle.tip.LogType = text
    # option to save old log when rebounding the service
    oracle.tip.LogSave = true
    # B2B Info
    oracle.tip.adapter.b2b.NumOfWFListeners = 1
    oracle.tip.adapter.b2b.NumOfIPListeners = 1
    oracle.tip.adapter.b2b.WFAgentName = OUTAGENT
    oracle.tip.adapter.b2b.RMIPort = 5111
    oracle.tip.adapter.b2b.RMIInstance = IP
    #oracle.tip.adapter.b2b.WalletLocation = file:/etc/ORACLE/WALLETS/oracle/ora_wallet.txt
    oracle.tip.adapter.b2b.ContinueValidationOnError = true
    oracle.tip.adapter.b2b.MultipleIdentifications=false
    oracle.tip.adapter.b2b.allTPInOneDirectory=true
    oracle.tip.adapter.b2b.DocumentRouting=false
    #oracle.tip.adapter.b2b.edi.identifyFromTP = Interchange | Group | Exchange
    #oracle.tip.adapter.b2b.transportTrace = /space/sw/oracle/products/ias/b2b/ip/log/transport.trc
    #oracle.tip.adapter.b2b.edi.ignoreValidation=InterchangeReceiverID,InterchangeSenderID,GroupReceiverID,GroupSenderID,GroupSenderQual,GroupReceiverQual,InterchangeSenderQual,InterchangeReceiverQual
    #report Certificate validation as ERROR or WARNING; default value is ERROR
    #oracle.tip.adapter.b2b.tpa.validateCertificate= ERROR | WARNING
    #oracle.tip.adapter.b2b.document.NoValidation = inbound | outbound
    # HTTP Proxy Host and Proxy Port
    oracle.tip.adapter.b2b.ProxyHost =
    oracle.tip.adapter.b2b.ProxyPort =
    # MaxCachedSessions is set to 0 means no ExecutionContext
    # is stored in HTTP session (IP cache is empty).Line below overwrites default
    # value equals to 5 when 5 concurrent users could store context in their sessions
    # By commenting that line you might turn IP cache on.
    oracle.tip.ui.MaxCachedSessions = 0
    # Suppression of Validation Warnings
    oracle.tip.buslogic.validation.SuppressWarnings=false
    # Callout directory
    oracle.tip.callout.directory=%s_calloutDirectory%
    # persistence directory
    oracle.tip.runtime.persistence.dirName=%s_persistenceDir%
    # enable ONS reverse ping
    enableONS=true
    # Optional property which user can set to specify saved report encoding e.g. UTF-8, UTF-16LE etc
    # By default this property is not set, in this case the saved report csv file
    # will be generated by using the native encoding
    # Users can set this parameter to change the encoding of the generated saved report csv file
    #savedReportEncoding=UTF-8
    # Please don't modify the following properties
    # Connection Info
    username=%s_intgDBUser%
    password=%s_intgDBPasswd%
    #connect=jdbc:oracle:thin:@%s_intgDBHost%:%s_intgDBPort%:%s_intgDBSid%
    drivertype = thin
    tnsentry = inst1
    host = %s_intgDBHost%
    port = %s_intgDBPort%
    sid = %s_intgDBSid%
    oracle.tip.connection.useRepositoryAPI=on
    oracle.tip.connection.oraclehome=/space/sw/oracle/products/ias/b2b
    # property specific to Deployment
    oracle.tip.deploy.workflow_username=%s_wfUsername%
    oracle.tip.deploy.workflow_passwd=%s_wfPasswd%
    oracle.tip.deploy.workflow_tnsname=%s_wfTnsname%
    # UI user authorization
    authorization = true
    # encryption key used for securing secrets in the schema.
    oracle.tip.security.key=Be8ejb7yOX3rSefEr5pxBl49WLc0Iej9VeI8jykdjRfv
    ##oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet
    #oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/101202/ib/Apache/Apache/conf/ssl.wlt/default/b2bwallet
    oracle.tip.adapter.b2b.WalletLocation =file:/sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet/ewallet.txt
    # performance best practices
    oracle.tip.adapter.b2b.sleepTimeout=1
    oracle.tip.repos.RowSize=100
    oracle.tip.adapter.b2b.receiveTimeout=1
    oracle.tip.adapter.b2b.TPACache=true
    The b2b.log from the failing environment has some lines not seen in the other two environments (the lines referring to MimePackaging:unpack) :
    2010.04.29 at 19:07:14:295: Thread-11: B2B - (DEBUG)
    Protocol = SFTP
    Version = 2.0
    Transport Header
    filename:SA_ENVSTATUSES.txt
    filesize:1
    file_ext:.txt
    filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    fullpath:/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt
    timestamp:Thu Jan 15 09:29:53 PST 1970
    2010.04.29 at 19:07:14:295: Thread-11: BusinessLogicLayer - (DEBUG) New ExecutionContext has been created
    2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) Recieve a new PersistencyService
    2010.04.29 at 19:07:14:299: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Design
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) A new PersistencyService is created
    2010.04.29 at 19:07:14:340: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListener:onMessage - Invoke inbound callout - null - null
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListenersyncAckEBMSchecking header names
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2010.04.29 at 19:07:14:342: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:343: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2010.04.29 at 19:07:14:345: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
    2010.04.29 at 19:07:14:348: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
    2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
    2010.04.29 at 19:07:14:359: Thread-11: B2B - (DEBUG) DBContext commit: Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:363: Thread-10: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
    2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryWireMessage
    2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Leave
    2010.04.29 at 19:07:14:365: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryWireMessage
    2010.04.29 at 19:07:14:365: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
    2010.04.29 at 19:07:14:366: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
    2010.04.29 at 19:07:14:367: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
    2010.04.29 at 19:07:14:367: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2010.04.29 at 19:07:14:369: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Exit
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange SOAPAction is [null]
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = UTF-8
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@391da0
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Exit
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_ENVSTATUSES.txt
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - ENVSTATUSES
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:408)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1477)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2576)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2446)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2401)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-51505: General Validation Error
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=SA_ENVSTATUSES.txt, filesize=1, file_ext=.txt, filename_format=%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt, fullpath=/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt, timestamp=Thu Jan 15 09:29:53 PST 1970}
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-51505: General Validation Error
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum0 not null
    2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information

    Thank you for the suggestion, unfortunately, I cannot get it to work.
    I've updated the IDC transport server to 3 different filename_formats, and tried the corresponding files, with correct names to match the filename_format.
    After updating the IDC I validated the trading partner (host).
    I then updated the agreement using the updated IDC, and validated the agreement.
    I then validated the host again.
    Then I created a new deployment.
    And still received the error.
    I then deleted the old IDC and created a new IDC and new agreement and new deployment, trying 3 different "Internal delivery channel filename format" values (updating and validating the agreement and host trading partner each time).
    And still received the error.
    No matter what I set EITHER the IDC "filename format" OR "Internal delivery channel filename format", the b2b.log always reports :
    filename_format = %TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    e.g.
    2010.05.16 at 18:05:02:758: Thread-15: B2B - (DEBUG)
    Protocol = SFTP
    Version = 2.0
    Transport Header
    filename:SA_DRUGS_10.txt
    filesize:1
    file_ext:.txt
    filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    fullpath:/mnt/maximage_prd/sa_transfer/SA_DRUGS_10.txt
    timestamp:Thu Jan 15 09:54:18 PST 1970
    When I try a file with a revision number, e.g. SA_DRUGS_10.txt the log shows :
    2010.05.16 at 18:05:03:602: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
    2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TIMESTAMP - 10
    2010.05.16 at 18:05:03:895: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
    which makes sense as "10" is not a timestamp.
    If I exclude the revision, using SA_DRUGS.txt the log shows :
    2010.05.16 at 18:27:03:543: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_DRUGS.txt
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
    2010.05.16 at 18:27:03:545: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
    So, the timestamp gets ignored (as there is no "_" delimiter), but it still fails, probably because there is no timestamp in the filename.
    So, why won't the UI correctly set the IDC filename_format or Internal filename_format ?

  • SFTP Issue in OSB invocation resulted in an error: java.util.NoSuchElement

    I created a Proxy Service to do SFTP Poll to read the file from abcserver and its working fine .
    (OSB is on abc server).
    known_hosts file is present on OSB server.
    It has abcserverhostname,IP ssh-rsa AA................. ==
    I created a business service to do SFTP Write to xyz server (remote) - Its not working.
    Error : The invocation resulted in an error: java.util.NoSuchElementException.
    My Business Service
    End Point URI : sftp://xyzserverhostname:22/directorypath
    Authetication Mode : user name, password.I have created a Service Account for xyz server and imported in Business Service.
    Later, I created business service to do SFTP Write on abc server (same server) and it failed.*
    Error : The invocation resulted in an error: java.util.NoSuchElementException
    Do I need to give anything else in known_hosts file ?
    OSBServer.log
    *<Error> <SFTPTransport> <OSBServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <db432d7c09c5a041:4295b211:1310705fe8e:-8000-000000000001f312> <1311176892037> <BEA-381801> <Error occured for endpoint java.util.NoSuchElementException*
    java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(StringTokenizer.java:183)
    at java.util.StringTokenizer.nextElement(StringTokenizer.java:149)
    at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts(KnownHostVerifier.java:102)
    at com.bea.wli.sb.transports.sftp.client.SFTPClient.authenticate(SFTPClient.java:104)
    at com.bea.wli.sb.transports.sftp.connector.SFTPResource.<init>(SFTPResource.java:77)
    at com.bea.wli.sb.transports.sftp.resource.SFTPUtils.createSFTPResource(SFTPUtils.java:170)
    at com.bea.wli.sb.transports.sftp.resource.SFTPConnectionPool.getResource(SFTPConnectionPool.java:104)
    at com.bea.wli.sb.transports.sftp.connector.SFTPTransportProvider.getSFTPResource(SFTPTransportProvider.java:958)
    at com.bea.wli.sb.transports.sftp.connector.SFTPTransportProvider.sendMessage(SFTPTransportProvider.java:145)
    at com.bea.wli.sb.transports.sftp.connector.SFTPTransportProvider.sendMessageAsync(SFTPTransportProvider.java:110)
    at sun.reflect.GeneratedMethodAccessor4031.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
    at $Proxy142.sendMessageAsync(Unknown Source)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:558)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:426)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:380)
    at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:79)
    at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:137)
    at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:135)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:140)
    at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
    at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
    at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(Unknown Source)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Thanks
    Edited by: soauser on Jul 25, 2011 3:22 PM

    Patrick,
    I apologize. polling was done by some other service, not my current OSB Service.
    OSB Proxy Service to poll/read data is not working.
    I enabled logging to Error in Proxy Service. and enable tracing
    If I test my Proxy Service from Console. I see this message
    <con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
         <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
         </con:metadata>
    tail -f OSBServer.log
    <Error> <WliSbTransports> <OSBServer> <pool-20-thread-1> <weblogic> <> <db432d7c09c5a041:1f5dbb0e:1314411cf6c:-8000-000000000000213c> <1311178504443> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$SFTPFileTesting$SFTPFilePoll: com.bea.wli.sb.transports.TransportException
    com.bea.wli.sb.transports.TransportException
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)
    at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
    at java.util.concurrent.FutureTask.run(FutureTask.java:149)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:215)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
    at java.lang.Thread.run(Thread.java:736)
    Caused By: java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(StringTokenizer.java:183)
    at java.util.StringTokenizer.nextElement(StringTokenizer.java:149)
    at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts(KnownHostVerifier.java:102)
    at com.bea.wli.sb.transports.sftp.client.SFTPClient.authenticate(SFTPClient.java:104)
    at com.bea.wli.sb.transports.sftp.connector.SFTPResource.<init>(SFTPResource.java:77)
    at com.bea.wli.sb.transports.sftp.resource.SFTPUtils.createSFTPResource(SFTPUtils.java:170)
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.getSftpResource(SFTPWorkPartitioningAgent.java:148)
    at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:58)
    at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
    at java.util.concurrent.FutureTask.run(FutureTask.java:149)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:215)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
    at java.lang.Thread.run(Thread.java:736)
    Edited by: soauser on Jul 20, 2011 9:36 AM
    Edited by: soauser on Jul 25, 2011 3:22 PM

  • SFTP: The invocation resulted in an error: java.util.NoSuchElementException

    I have created a business service using the SFTP protocol.
    When testing the BS, I received the "known_hosts doesn't exist or doesn't have read permission" error, which I resolve by placing the known_host file in $Domain_Home\config\osb\transports\sftp
    But now I have got another error "The invocation resulted in an error: java.util.NoSuchElementException". Does anyone know what this error refers to? I have already set the filename through the transport header.

    I have created a business service using the SFTP protocol.
    When testing the BS, I received the "known_hosts doesn't exist or doesn't have read permission" error, which I resolve by placing the known_host file in $Domain_Home\config\osb\transports\sftp
    But now I have got another error "The invocation resulted in an error: java.util.NoSuchElementException". Does anyone know what this error refers to? I have already set the filename through the transport header.

Maybe you are looking for

  • MDT and capture & sysprep existing machine

    Hi, In a few special situations I need to be able to capture and sysprep existing physical machine. In MDT there is this Sysprep & Capture task sequence template. I think it's just what I need, but I have read somewhere before that it shouldn't be us

  • Document Viewer Agent

    I have not done much with GroupWise 2012 so I apologize for this question, my customer is having an issue with the document viewer agent (gwdva) and I really do not know the answer, but I thought I would post here, please see the following, most loca

  • BSX-ACCOUNTING KEY

    HELLO EVERYONE, I HAVE ONE QUERY FOR WHICH HELP IS NEEDED. WE KNOW THAT THROUGH T/CODE <b>OMWN</b> WE MAINTAIN MOVEMENT TYPE WITH <b>ACCOUNTING/TRANACTION EVENT KEY</b>. FOR EXAMPLE MOVT. TYPE<b> 101</b> IS ASSIGNED WITH <b>GBB,PRD</b> ETC. BUT THERE

  • ZENworks 11 problem opening files

    we have a problem opening files that are located in folders with spaces in their names. for example; I am trying to open an excel file named test.xlsx located in "S:\Test Folder\Excel Files" I have created a bundle that opens the text.xlsx... our old

  • Andreas Finkler ,i have some questions to ask you ,i will go to germany, can i buy labview books in english in your country?

    thank you [email protected]