File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jasper Reports Error

 
Deep Kumar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting the below error while I am trying to run the Jasper report in Tomcat. Could anybody help me out in this? More surprisingly, this application is running fine on one System (e.g win2k), but not on some other like (XP). Any clue.???


log4j:WARN No appenders could be found for logger (org.apache.commons.digester.D
igester.sax).
log4j:WARN Please initialize the log4j system properly.
org.xml.sax.SAXParseException: Attribute "" bound to namespace "null" was alread
y specified for element "jasperReport".
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1591)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:
400)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:384
)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:338
)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:322
)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(Jasper
CompileManager.java:186)
at net.sf.jasperreports.engine.JasperManager.compileReport(JasperManager
.java:932)
at RunReport.service(RunReport.java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

Regards
Deep Kumar
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was not gettin this kind of error.

Anyways its an open source, you can open the source code and then try each and every step yourself. I hope the problem would become more clear.

cheers.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic