[OFBiz] Users - Return pdf items not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - Return pdf items not working

Ashish Hareet
Thanks for the response David.

We checked up the resources used by OfBiz & everything seems to be ok.
There is enuff hd space available & the process doesn't hog the system either.

But there was one thing I noticed in the logs when I start up OfBiz(see below).
Could this be one of the reasons why...

Appreciate your feedback.

classes:
    [javac] Compiling 81 source files to /home/ahareet/ofbiz/framework/webapp/build/classes
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:38: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
    [javac] import net.sf.jasperreports.engine.JasperManager;
    [javac]                                    ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:114: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
    [javac]                     jp = JasperManager.fillReport(report, parameters, ConnectionFactory.getConnection(datasourceName));
    [javac]                          ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:114: warning: fillReport(net.sf.jasperreports.engine.JasperReport,java.util.Map,java.sql.Connection) in net.sf.jasperreports.engine.JasperManager has been deprecated
    [javac]                     jp = JasperManager.fillReport(report, parameters, ConnectionFactory.getConnection(datasourceName));
    [javac]                                       ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:117: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
    [javac]                     jp = JasperManager.fillReport(report, parameters, new JREmptyDataSource());
    [javac]                          ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:117: warning: fillReport(net.sf.jasperreports.engine.JasperReport,java.util.Map,net.sf.jasperreports.engine.JRDataSource) in net.sf.jasperreports.engine.JasperManager has been deprecated
    [javac]                     jp = JasperManager.fillReport(report, parameters, new JREmptyDataSource());
    [javac]                                       ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:121: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
    [javac]                 jp = JasperManager.fillReport(report, parameters, jrDataSource);
    [javac]                      ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:121: warning: fillReport(net.sf.jasperreports.engine.JasperReport,java.util.Map,net.sf.jasperreports.engine.JRDataSource) in net.sf.jasperreports.engine.JasperManager has been deprecated
    [javac]                 jp = JasperManager.fillReport(report, parameters, jrDataSource);
    [javac]                                   ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:129: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
    [javac]             JasperManager.printReportToPdfStream(jp, response.getOutputStream());
    [javac]             ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:129: warning: printReportToPdfStream(net.sf.jasperreports.engine.JasperPrint,java.io.OutputStream) in net.sf.jasperreports.engine.JasperManager has been deprecated
    [javac]             JasperManager.printReportToPdfStream(jp, response.getOutputStream());
    [javac]                          ^
    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java:106: warning: printReportToXmlStream(java.io.InputStream,java.io.OutputStream) in net.sf.jasperreports.engine.JasperPrintManager has been deprecated
    [javac]             JasperPrintManager.printReportToXmlStream(fillToPrintInputStream, response.getOutputStream());
    [javac]                               ^
    [javac] 10 warnings

-----Original Message-----
Even with a slow processor it shouldn't take this long. My guess in  
the light of total ignorance of your setup is that you're running out  
of memory, so your hard disk is probably getting quite busy during  
this....

-David
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - Return pdf items not working

Si Chen-2
The return PDF is made XSL:FO so jasper reports shouldn't have anything
to do it.  I have no idea why you might be having these problems.  I
just tried it, and it works fine for us.  Sorry...  Don't know what else
I can tell you.

Si

Ashish Hareet wrote:

>Thanks for the response David.
>
>We checked up the resources used by OfBiz & everything seems to be ok.
>There is enuff hd space available & the process doesn't hog the system either.
>
>But there was one thing I noticed in the logs when I start up OfBiz(see below).
>Could this be one of the reasons why...
>
>Appreciate your feedback.
>
>classes:
>    [javac] Compiling 81 source files to /home/ahareet/ofbiz/framework/webapp/build/classes
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:38: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
>    [javac] import net.sf.jasperreports.engine.JasperManager;
>    [javac]                                    ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:114: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
>    [javac]                     jp = JasperManager.fillReport(report, parameters, ConnectionFactory.getConnection(datasourceName));
>    [javac]                          ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:114: warning: fillReport(net.sf.jasperreports.engine.JasperReport,java.util.Map,java.sql.Connection) in net.sf.jasperreports.engine.JasperManager has been deprecated
>    [javac]                     jp = JasperManager.fillReport(report, parameters, ConnectionFactory.getConnection(datasourceName));
>    [javac]                                       ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:117: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
>    [javac]                     jp = JasperManager.fillReport(report, parameters, new JREmptyDataSource());
>    [javac]                          ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:117: warning: fillReport(net.sf.jasperreports.engine.JasperReport,java.util.Map,net.sf.jasperreports.engine.JRDataSource) in net.sf.jasperreports.engine.JasperManager has been deprecated
>    [javac]                     jp = JasperManager.fillReport(report, parameters, new JREmptyDataSource());
>    [javac]                                       ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:121: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
>    [javac]                 jp = JasperManager.fillReport(report, parameters, jrDataSource);
>    [javac]                      ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:121: warning: fillReport(net.sf.jasperreports.engine.JasperReport,java.util.Map,net.sf.jasperreports.engine.JRDataSource) in net.sf.jasperreports.engine.JasperManager has been deprecated
>    [javac]                 jp = JasperManager.fillReport(report, parameters, jrDataSource);
>    [javac]                                   ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:129: warning: net.sf.jasperreports.engine.JasperManager in net.sf.jasperreports.engine has been deprecated
>    [javac]             JasperManager.printReportToPdfStream(jp, response.getOutputStream());
>    [javac]             ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java:129: warning: printReportToPdfStream(net.sf.jasperreports.engine.JasperPrint,java.io.OutputStream) in net.sf.jasperreports.engine.JasperManager has been deprecated
>    [javac]             JasperManager.printReportToPdfStream(jp, response.getOutputStream());
>    [javac]                          ^
>    [javac] /home/ahareet/ofbiz/framework/webapp/src/org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java:106: warning: printReportToXmlStream(java.io.InputStream,java.io.OutputStream) in net.sf.jasperreports.engine.JasperPrintManager has been deprecated
>    [javac]             JasperPrintManager.printReportToXmlStream(fillToPrintInputStream, response.getOutputStream());
>    [javac]                               ^
>    [javac] 10 warnings
>
>-----Original Message-----
>Even with a slow processor it shouldn't take this long. My guess in  
>the light of total ignorance of your setup is that you're running out  
>of memory, so your hard disk is probably getting quite busy during  
>this....
>
>-David
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>  
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users