dimOn писал(а):
вангую: сервер headless
ну и падает на сервере, см. логи
так и есть на клиенте дебаг логи пустые, а на сервере
Код:
06-18/15:52:48 ERROR ["http-bio-/0.0.0.0-80"-exec-5] CommonExecuter - Exception in Executer (null)
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color
at net.sf.jasperreports.engine.util.JRColorUtil.getColor(JRColorUtil.java:64)
at net.sf.jasperreports.engine.xml.JRElementFactory.createObject(JRElementFactory.java:136)
at org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:390)
at org.apache.commons.digester.Digester.startElement(Digester.java:1453)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1745)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:241)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216)
at bitel.billing.server.admin.reports.BGReportTemplate.newJasperReport(BGReportTemplate.java:220)
at bitel.billing.server.admin.reports.BGReportTemplate.getJasperReport(BGReportTemplate.java:205)
at bitel.billing.server.admin.reports.BGReportTemplate.getJasperReport(BGReportTemplate.java:187)
at bitel.billing.server.admin.reports.BGReportTemplate.getJasperReport(BGReportTemplate.java:175)
at bitel.billing.server.reports.BGJasperReport.getJasperReport(BGJasperReport.java:64)
at bitel.billing.server.reports.BGJasperReport.fillReportToStream(BGJasperReport.java:146)
at bitel.billing.server.reports.Report_AccountDetail.fillReportToStream(Report_AccountDetail.java:87)
at bitel.billing.server.reports.action.ActionReport.doAction(ActionReport.java:56)
at bitel.billing.server.Executer.doModule(Unknown Source)
at bitel.billing.server.Executer$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at bitel.billing.server.Executer.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at bitel.billing.server.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:140)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Как я понимаю на сервере в строке запуска добавить надо -Djava.awt.headless=true"?
UPD: Ну в принципе зараработало, но появился другой вопрос что случилось, если до недавнего времени отчеты работали нормально?