Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027321 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS Hardware Manager | critical | always | 2014-08-13 12:54 | 2014-08-26 13:50 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | umartirena | |||||||
Priority | high | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | RR14Q3 | SCM revision | ||||||
Review Assigned To | umartirena | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027321: Print PDF from WebPOS does not work on Windows | |||||||
Description | Print PDF from WebPOS does not work on Windows. On a Linux environment it works properly, also the xml print works without problem in any environment. | |||||||
Steps To Reproduce | Create a pdf template for print tickets. Add it on Organization window on Ticket Template field. On windows OS open the HWM and try to print a ticket from WebPOS. The following error appears on the HWM: net.sf.jasperreports.engine.JRException: Error compiling report java source files : C:\Users\Jon Setuain\Downloads\poshw-1.0.2010\report1_1407848472985_274846.java at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:89) at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:63) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:188) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:215) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:201) at com.openbravo.poshw.TicketPdfServlet.doProcess(TicketPdfServlet.java:167) at com.openbravo.poshw.TicketPdfServlet.doPost(TicketPdfServlet.java:89) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:925) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Cannot run program "javac": CreateProcess error=2, the system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:58) ... 28 more Caused by: java.io.IOException: CreateProcess error=2, the system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 32 more | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0069760) umartirena (reporter) 2014-08-26 13:50 |
The issue was that in Windows machines the javac folder path is was not added to PATH environment variable. After configuring it it worked properly. The Wiki page has been updated in order to explain this. http://wiki.openbravo.com/wiki/Retail:Developers_Guide/How-to/How_to_create_and_modify_new_receipt_documents_from_other_module#Configure_PDF_templates [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2014-08-13 12:54 | guillermogil | New Issue | |
2014-08-13 12:54 | guillermogil | Assigned To | => marvintm |
2014-08-13 12:54 | guillermogil | Triggers an Emergency Pack | => No |
2014-08-13 12:57 | guillermogil | Steps to Reproduce Updated | View Revisions |
2014-08-13 13:40 | guillermogil | Description Updated | View Revisions |
2014-08-13 14:22 | guillermogil | Assigned To | marvintm => umartirena |
2014-08-26 13:48 | umartirena | Status | new => scheduled |
2014-08-26 13:48 | umartirena | Status | scheduled => resolved |
2014-08-26 13:48 | umartirena | Fixed in Version | => pi |
2014-08-26 13:48 | umartirena | Resolution | open => fixed |
2014-08-26 13:50 | umartirena | Review Assigned To | => umartirena |
2014-08-26 13:50 | umartirena | Note Added: 0069760 | |
2014-08-26 13:50 | umartirena | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |