Application can not start if xercesImpl-2.7.1.jar is present
------------------------------------------------------------
Key: MYFACES-1170
URL: http://issues.apache.org/jira/browse/MYFACES-1170
Project: MyFaces Core
Type: Bug
Versions: 1.1.2-SNAPSHOT
Environment: Any OS, Resin 3.0.18, JDK 1.4.2
Reporter: Boris Kovalenko
If xercesImpl-2.7.1.jar is present in application lib directory the application
can not start with exception:
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.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
at
org.apache.myfaces.config.FacesConfigurator.feedStandardConfig(FacesConfigurator.java:141)
at
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:115)
at
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
at
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
at com.caucho.server.webapp.Application.start(Application.java:1592)
at
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:587)
at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
at
com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:475)
at
com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:158)
at
com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:651)
at com.caucho.server.host.Host.start(Host.java:385)
at
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:587)
at
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
at
com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:475)
at
com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:158)
at com.caucho.server.host.HostContainer.start(HostContainer.java:467)
at com.caucho.server.resin.ServletServer.start(ServletServer.java:945)
at
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:587)
at
com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56)
at
com.caucho.server.deploy.DeployController.start(DeployController.java:483)
at com.caucho.server.resin.ResinServer.start(ResinServer.java:478)
at com.caucho.server.resin.Resin.init(Resin.java)
at com.caucho.server.resin.Resin.main(Resin.java:623)
I'm not sure this is MyFaces trouble, but with downgrade to 1.1.1 release the
problem has gone. I use commons-digester-1.7.jar
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira