Jasper report scheduler is not sending reports to a particular FTP.

0

I am scheduling the jasper reports from jasper server to FTP.  When i schedule i didn't get the files in particular FTP. other than that FTP i'm able schedue and i got the files in my FTP.
I got the below messages when i schedule for that FTP. i also checked with username  and password of  my FTP. It looks good.also i have write permission for that user. I tried to connect using the credentials using Fire FTP. i am able to connect it.. i am getting the following message when i schedule the report to FTP.

 

"

 
Subject:
 
The job failed to execute. Review its parameters.
Date:
 
Today
Component:
 
Report Scheduler
Message:
 
Job: ftpjob (ID: 3778558) Report unit: /Reports/Bair_Integration_Reports/Raids_Online_Report Quartz Job: ReportJobs.job_3778558 Quartz Trigger: ReportJobs.trigger_3778556_0 Exceptions: report.scheduling.error.upload.to.ftp.server java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:154) at java.io.BufferedReader.read(BufferedReader.java:175) at org.apache.commons.net.io.CRLFLineReader.readLine(CRLFLineReader.java:58) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:310) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:290) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:479) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:552) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:601) at org.apache.commons.net.ftp.FTP.pasv(FTP.java:952) at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:755) at org.apache.commons.net.ftp.FTPClient._storeFile(FTPClient.java:565) at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:557) at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1795) at com.jaspersoft.jasperserver.api.engine.common.util.impl.FTPUtil.putFile(FTPUtil.java:206) at com.jaspersoft.jasperserver.api.engine.common.util.impl.FTPUtil.access$400(FTPUtil.java:36) at com.jaspersoft.jasperserver.api.engine.common.util.impl.FTPUtil$FTPServiceClientImpl.putFile(FTPUtil.java:171) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobFileSavingImpl.saveToFTPServer(ReportExecutionJobFileSavingImpl.java:208) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobFileSavingImpl.save(ReportExecutionJobFileSavingImpl.java:92) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:562) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:222) at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:49) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) report.scheduling.error.upload.to.ftp.server java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:154) at java.io.BufferedReader.read(BufferedReader.java:175) at org.apache.commons.net.io.CRLFLineReader.readLine(CRLFLineReader.java:58) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:310) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:290) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:479) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:552) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:601) at org.apache.commons.net.ftp.FTP.pasv(FTP.java:952) at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:755) at org.apache.commons.net.ftp.FTPClient._storeFile(FTPClient.java:565) at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:557) at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1795) at com.jaspersoft.jasperserver.api.engine.common.util.impl.FTPUtil.putFile(FTPUtil.java:206) at com.jaspersoft.jasperserver.api.engine.common.util.impl.FTPUtil.access$400(FTPUtil.java:36) at com.jaspersoft.jasperserver.api.engine.common.util.impl.FTPUtil$FTPServiceClientImpl.putFile(FTPUtil.java:171) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobFileSavingImpl.saveToFTPServer(ReportExecutionJobFileSavingImpl.java:208) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobFileSavingImpl.save(ReportExecutionJobFileSavingImpl.java:92) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:562) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:222) at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:49) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)"
 
Please help me on this.....
raja.shekar's picture
Joined: Apr 21 2014 - 12:28am
Last seen: 4 years 10 months ago

Have you tried ftping a file manually to that server? Are you uploading the same file used with other ftp servers?

hozawa - 4 years 10 months ago

i didn't tried to fftping a file manuall to that server.. I am uploading the same file used with other ftp servers.

raja.shekar - 4 years 10 months ago

1 Answer:

0

Try to manually upload a file to the ftp server in question from your JasperReports Server. It seems there's a problem either with your network or with the ftp server setting.

hozawa's picture
52312
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 5 days ago

Thank you for you Reply..

I tried to upload a file manually to my ftp.. i found there is a problem with my ftp setting...
Once i fix i will post here on my fix.
Thank you once again.

raja.shekar - 4 years 10 months ago
Feedback