Jump to content
We've recently updated our Privacy Statement, available here ×

m_ilio

Members
  • Posts

    9
  • Joined

  • Last visited

m_ilio's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. This works for me: String.format("%02d:%02d:%02d", (int)($F{seconds}/3600),(int)(($F{seconds}%3600)/60),(int)($F{seconds}%60))
  2. The answer provided by yama818, solved my problem, but is neccesary add this another entry: /fileview/**" access="ROLE_ANONYMOUS,ROLE_USER,ROLE_ADMINISTRATOR" To the following section of the post provided: JasperReports Server Professional 5.5 and above, additional steps
  3. Jasperserver version: 7 (Community Edition) Hello, I am trying to configure the report delivery option as link in the email body. When the report arrives and I clicked on the link, Jaspersersver ask for user login and password. Create an user for all email address is not feasible. There is any way to avoid asking for the login page when the delivery option is set to send as link in the email body? Regards
  4. Hi I am using jasperserver-comunity 5.5.0 I have this configuration for microsoft exchange: js.quartz.propertiesreport.scheduler.mail.sender.host=server.comreport.scheduler.mail.sender.username=user@server.comreport.scheduler.mail.sender.password=passwordreport.scheduler.mail.sender.from=user@server.comreport.scheduler.mail.sender.protocol=smtpreport.scheduler.mail.sender.port=25 applicationContext-report-scheduling.xml <property name="javaMailProperties"> <props> <prop key="mail.smtp.auth">true</prop> <prop key="mail.smtp.starttls.enable">true</prop> </props> </property> All works fine sending reports to our exchange's account, but when I try send the reports to outside address... I am getting this error: Component: Report Scheduler Message:Job: Immediate Execution (ID: 2748) Report unit: /Myreport Quartz Job: ReportJobs.job_2748 Quartz Trigger: ReportJobs.trigger_2745_0 Exceptions: The job error notification was not completed. An error occurred while sending it. org.springframework.mail.MailSendException: Failed messages: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay ; message exception details (1) are: Failed message 1: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584) at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:416) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:336) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJobMailNotificationImpl.sendMailNotification(ReportExecutionJobMailNotificationImpl.java:135) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.sendMailNotification(ReportExecutionJob.java:953) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:549) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:217) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047) ... 10 more
  5. Hi !! How can I protect the exported worksheet with password? I search in jasperserver/WEB-INF/applicationContext properties, but I have not found any parameter for do it
  6. Hi !! I have a report with 4 barcodes for each page. The report shows all pages for the print preview, but when print the report only print 33 pages. How can solve this problem?
  7. Hi... I am new in jasper report+ireport and I am testing. I made a test report from a table without parameters, but when I want show the report, the command JasperFillManager.FillReport(), do nothing this is the code that I am implementing: try { String report = "C:\reportes\test.jasper"; Map parameters = null; Connection conn =DataBase.conexion; JasperPrint print = JasperFillManager.fillReport(report, parameters, conn); JasperViewer.viewReport(report, false); } catch (JRException ex) { JOptionPane.showMessageDialog(this,"Internal error to show the report","Error!",1); return; } What is the problem?
×
×
  • Create New...