Jump to content
Changes to the Jaspersoft community edition download ×

JasperReport under Linux


2005 IR Help

Recommended Posts

By: Nelson Cravo Junior - nelson-nit

JasperReport under Linux

2004-04-07 06:02

Hi everybody,

My reports are running with Tomcat and when under Windows it works fine, but when I put it under Linux it doesn't work.

I put -Djava.awt.headless=true, and also installed PJA, but I give up for a while.

I tried to pass the path to the report as "/home/user/jakarta-tomcat-4.0.4/webapps/project/WEB-INF/reports" and as "http://www.url.com/reports"

But under Windows, I put "c:jakarta-tomcat-4.0.4webappsprojectWEB-INFreports" and "http://localhost:8080/reports" and it was ok.

Please help me, guys

Nelson

 

 

 

 

By: Nelson Cravo Junior - nelson-nit

RE: JasperReport under Linux

2004-04-07 06:07

I forgot to post the exception:

 

java.lang.NullPointerException

at dori.jasper.engine.util.JRLoader.loadObjectFromLocation(JRLoader.java:292)

at dori.jasper.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:336)

at dori.jasper.engine.fill.JRFillBand.evaluate(JRFillBand.java:382)

at dori.jasper.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1122)

at dori.jasper.engine.fill.JRVerticalFiller.fillGroupHeader(JRVerticalFiller.java:552)

at dori.jasper.engine.fill.JRVerticalFiller.fillGroupHeaders(JRVerticalFiller.java:491)

at dori.jasper.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:264)

at dori.jasper.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:174)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:542)

at dori.jasper.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:459)

at dori.jasper.engine.fill.JRFiller.fillReport(JRFiller.java:119)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:219)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:159)

at dori.jasper.engine.JasperRunManager.runReportToPdf(JasperRunManager.java:165)

at prj_panteon.mod_contas_apagar.apl_doc_entrada.RnotaEntradaAction.geraRelatorio(RnotaEntradaAction.java:96)

at prj_panteon.mod_contas_apagar.apl_doc_entrada.RnotaEntradaAction.perform(RnotaEntradaAction.java:60)

at prj_acol._generico.ControllerAcolServlet.service(ControllerAcolServlet.java:40)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)

at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)

at java.lang.Thread.run(Thread.java:534)

 

 

 

 

 

 

By: Chuck Deal - cdeal

RE: JasperReport under Linux

2004-04-07 12:28

Could it be a permissions issue on the Linux side?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...