Operations Orchestration Practitioners Forum
cancel

Can't transfer large files over operation SFTP put

malvear77
Contributor.

Can't transfer large files over operation SFTP put

Hi everyone,

 

my problem is for transfering very large files (more than 1 GB) over the SFTP put Operation.

Anyone knows a way to configure it for large files or if exists a restriction for that in HPOO 9.0

 

The error for large file is:

Result=Unable to copy file over SFTP.;returnResult=Unable to copy file over SFTP.;returnCode=-1;sessionId=iconclude-4910842923885550707;exception=java.lang.Exception: Unable to copy file over SFTP.
    at com.opsware.pas.content.commons.remoteCopy.SftpCopier.putFile(SftpCopier.java:69)
    at com.opsware.pas.content.commons.remoteCopy.SimpleCopier.copyTo(SimpleCopier.java:16)
    at com.iconclude.content.actions.sftp.SFTPPut.execute(SFTPPut.java:171)
    at com.iconclude.webservices.ras.classLoadedIaction.execute(JavaExtensionService.java:575)
    at com.iconclude.webservices.ras.JavaExtensionService.executeFromThisDelegator(JavaExtensionService.java:257)
    at com.iconclude.webservices.ras.ExtensionServiceDelegator.execute(ExtensionServiceDelegator.java:58)
    at com.iconclude.webservices.ras.RCAgentServiceSoapBindingImpl.execute(RCAgentServiceSoapBindingImpl.java:48)
    at com.iconclude.webservices.ras.RCAgentServiceSoapBindingSkeleton.execute(RCAgentServiceSoapBindingSkeleton.java:238)
    at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
    at org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:138)
    at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
    at com.iconclude.dharma.commons.util.http.DharmaFilterToBeanProxy.doFilter(DharmaFilterToBeanProxy.java:49)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Caused by: 4: java.awt.HeadlessException
    at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:578)
    at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:389)
    at com.opsware.pas.content.commons.remoteCopy.sftp.SecureFtpAction.SFTPAction(SecureFtpAction.java:81)
    at com.opsware.pas.content.commons.remoteCopy.SftpCopier.putFile(SftpCopier.java:67)
    ... 44 more
Caused by: java.awt.HeadlessException
    at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
    at java.awt.Window.<init>(Unknown Source)
    at java.awt.Frame.<init>(Unknown Source)
    at java.awt.Frame.<init>(Unknown Source)
    at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(Unknown Source)
    at javax.swing.SwingUtilities.getSharedOwnerFrame(Unknown Source)
    at javax.swing.JOptionPane.getRootFrame(Unknown Source)
    at javax.swing.JOptionPane.getWindowForComponent(Unknown Source)
    at javax.swing.ProgressMonitor$ProgressOptionPane.createDialog(Unknown Source)
    at javax.swing.ProgressMonitor.setProgress(Unknown Source)
    at com.opsware.pas.content.commons.remoteCopy.sftp.MyProgressMonitor.count(MyProgressMonitor.java:30)
    at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:561)
    ... 47 more
;}

 

thanks a lot

1 REPLY
Highlighted
Daniel_Linsley
Trusted Contributor.

Re: Can't transfer large files over operation SFTP put

What Content Pack are you using?  The issue existed in the base 9.00 content pack but was fixed later.  Content Pack 7 or later will transfer large files.