Jump to content
Changes to the Jaspersoft community edition download ×

Cannot run on Tomcat 4.1.31  


Recommended Posts

By: bmajor - bmajor2

Cannot run on Tomcat 4.1.31 Â

2006-01-10 10:13

Hi there,Â

Â

I am having problems running JasperReports 1.1.1 on jakarta-tomcat 4.1.31. I believe the older digester jar file in tomcat/server/lib is conflicting with the one in my app /app/WEB-INF/lib/commons-digester-1.7.jar, but I cannot find a work around. The exception I see on startup is:Â

Â

org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamicÂ

at gnu.xml.aelfred2.JAXPFactory.setFeature(JAXPFactory.java:102)Â

at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185)Â

at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)Â

at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.java:71)Â

at org.apache.commons.digester.Digester.getParser(Digester.java:692)Â

at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)Â

at org.apache.commons.digester.Digester.parse(Digester.java:1647)Â

at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)Â

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)Â

at javax.servlet.GenericServlet.init(GenericServlet.java:212)Â

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)Â

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)Â

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3363)Â

at org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)Â

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)Â

at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)Â

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)Â

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)Â

at org.apache.catalina.core.StandardService.start(StandardService.java:450)Â

at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)Â

at org.apache.catalina.startup.Catalina.start(Catalina.java:463)Â

at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)Â

at org.apache.catalina.startup.Catalina.process(Catalina.java:129)Â

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)Â

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)Â

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)Â

at java.lang.reflect.Method.invoke(Method.java:324)Â

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)Â

Jan 10, 2006 10:09:53 AM org.apache.struts.action.ActionServlet initModuleConfigÂ

SEVERE: Parsing error processing resource pathÂ

java.lang.NullPointerExceptionÂ

at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)Â

at org.apache.commons.digester.Digester.parse(Digester.java:1647)Â

at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)Â

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)Â

at javax.servlet.GenericServlet.init(GenericServlet.java:212)Â

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)Â

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)Â

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3363)Â

at org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)Â

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)Â

at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)Â

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)Â

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)Â

at org.apache.catalina.core.StandardService.start(StandardService.java:450)Â

at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)Â

at org.apache.catalina.startup.Catalina.start(Catalina.java:463)Â

at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)Â

at org.apache.catalina.startup.Catalina.process(Catalina.java:129)Â

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)Â

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)Â

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)Â

at java.lang.reflect.Method.invoke(Method.java:324)Â

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)Â

Â

I have tried moving the jar files around to the different tomcat lib directories (shared, common) but to no avail. I am starting to believe that JasperReports simply cannot run on Tomcat 4.1.x. Does anyone know of a way around this problem? Your help would be much appreciated.Â

Â

Brian

 

 

 

 

By: bmajor - bmajor2

RE: Cannot run on Tomcat 4.1.31 Â

2006-01-12 11:36

For those who are experiencing this issue, I found my problem and it may be yours:Â

Â

My app contained an older version gnujaxp.jar which was causing conflicts with the tomcat classloaders. Removing this jar file fixed the startup problems.

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...