FTP Output doesnt work

Hi, I'm trying to send a file via FTP using the following services rest: http://localhost:8080/jasperserver/rest_v2/jobs/ , with PUT method

The results from running this rest service call is:

2013-05-28 11:25:04,868 ERROR ReportExecutionJob,quartzScheduler_Worker-1:306 - report.scheduling.error.upload.to.ftp.server
javax.net.ssl.SSLException: 530 Please login with USER and PASS.

 

I tried accessing the FTP server using FileZilla, with data that are within the tag and connected properly. I'm using version 4.7.0 of jasper report.

apparently the service is incorrectly obtaining the username and password but do not know why, any ideas?

 

PD: Sorry for my english.

Regards.

 

 

 

 

 

 

 

 

 

chemiguel's picture
Joined: Apr 22 2013 - 7:34am
Last seen: 7 years 2 months ago

1 Answer:

try adding you username and pass to the htmlrequest like so:
 

"http://localhost:8080/jasperserver/rest_v2/jobs/restart/?j_username=jasp..."

sjoerd.jump's picture
Joined: Oct 29 2012 - 2:39pm
Last seen: 2 years 3 weeks ago

Hi, thanks for the reply. I am using REST client, an add on for firefox to access the rest service, and I have configured basic authentication plug-in. Is there any settings in the application to disable SSL?

chemiguel - 10 years 4 months ago

are you sure its the program that calls for ssl? And not your plugin trying to send ssl?

sjoerd.jump - 10 years 4 months ago

yes, I'm sure, it's a simple request, and the plug in only send to the server the basic authentication

chemiguel - 10 years 4 months ago
show 3 more...

Hmm, i think that setting would be somewhere in an XML under <tomcat-home>\webapps\jasperserver

sjoerd.jump - 10 years 4 months ago

The error was that missing a configuration of SSL in tomcat run jasper report.

chemiguel - 10 years 4 months ago

what SSL configuration change did you make and where? tomcat files? report xml file?

michaelvitale - 10 years 2 months ago
Feedback
randomness