struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patil, Sheetal" <pati...@diebold.com>
Subject RE: Problem with struts and jfree chart
Date Tue, 06 Mar 2007 13:10:43 GMT
Before a long I face such kind of problem, and I resolve it. I don't
remember exactly but it was something regarding to
jcommon.jar/common.jar. Just search on it. I don't remember much.

Shital

-----Original Message-----
From: GulliGulli Bob [mailto:gulligullibob@gmx.de] 
Sent: Tuesday, March 06, 2007 6:37 PM
To: user@struts.apache.org
Subject: Problem with struts and jfree chart

Hi,

my struts application works fine before I put the jfree-chart jars
(jfreechart-1.0.4.jar, jcommon-1.0.8.jar, gnujaxp.jar) in the classpath.
Now I get the following errors:

INFO: validateJarFile(C:\workspace\struts\WEB-INF\lib\servlet.jar) - jar
not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
06.03.2007 14:05:40 org.apache.struts.action.ActionServlet initChain
INFO: Loading chain catalog from
jar:file:/C:/workspace/struts/WEB-INF/lib/struts-core-1.3.5.jar!/org/apa
che/struts/chain/chain-config.xml
06.03.2007 14:05:41 org.apache.commons.digester.Digester getParser
SCHWERWIEGEND: Digester.getParser: 
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(XercesPa
rser.java:185)
	at
org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParse
r.java:138)
	at
org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(Pars
erFeatureSetterFactory.java:73)
	at
org.apache.commons.digester.Digester.getParser(Digester.java:682)
	at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1572)
	at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:745)
	at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja
va:686)
	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:353)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1044)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3948)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4271
)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
06.03.2007 14:05:41 org.apache.struts.action.ActionServlet init
SCHWERWIEGEND: Unable to initialize Struts ActionServlet due to an
unexpected exception or error thrown, so marking the servlet as
unavailable.  Most likely, this is due to an incorrect or missing
library dependency.
java.lang.NullPointerException
	at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1572)
	at
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServl
et.java:745)
	at
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.ja
va:686)
	at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:353)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1044)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3948)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4271
)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
06.03.2007 14:05:42 org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
06.03.2007 14:05:42 org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Programme\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
06.03.2007 14:05:42 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
06.03.2007 14:05:42 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
06.03.2007 14:05:44 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
06.03.2007 14:05:48 org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Programme\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
06.03.2007 14:05:49 org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL file:C:\Programme\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
06.03.2007 14:05:49 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /jsp-examples from URL
file:C:\Programme\Apache Software Foundation\Tomcat
5.0\webapps\jsp-examples
06.03.2007 14:05:50 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path  from URL
file:C:\Programme\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
06.03.2007 14:05:50 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /servlets-examples from
URL file:C:\Programme\Apache Software Foundation\Tomcat
5.0\webapps\servlets-examples
06.03.2007 14:05:50 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /tomcat-docs from URL
file:C:\Programme\Apache Software Foundation\Tomcat
5.0\webapps\tomcat-docs
06.03.2007 14:05:50 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
06.03.2007 14:05:51 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
06.03.2007 14:05:51 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=31/47  config=C:\Programme\Apache Software
Foundation\Tomcat 5.0\conf\jk2.properties
06.03.2007 14:05:51 org.apache.catalina.startup.Catalina start


Any ideas?

Greetings

Gulliume


-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message