You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Boris Kovalenko (JIRA)" <de...@myfaces.apache.org> on 2006/03/11 06:09:08 UTC

[jira] Created: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

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


[jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Boris Kovalenko (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1170?page=comments#action_12370168 ] 

Boris Kovalenko commented on MYFACES-1170:
------------------------------------------

Specification-Version: 1.5 from MANIFEST.MF



> 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


[jira] Closed: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1170?page=all ]
     
Dennis Byrne closed MYFACES-1170:
---------------------------------

    Resolution: Invalid

> 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


[jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Boris Kovalenko (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1170?page=comments#action_12369960 ] 

Boris Kovalenko commented on MYFACES-1170:
------------------------------------------

Oops, I'm wrong. Downgrading does not resolve the problem.

[10:14:46.341] WebApp[http://ubs-home.tagnet.ru] starting
[10:14:46.791] Reading standard config org/apache/myfaces/resource/standard-face
s-config.xml
[10:14:46.822] Digester.getParser:
[10:14:46.822] org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/feat
ures/validation/dynamic
[10:14:46.822]  at com.caucho.xml.parsers.XmlSAXParserFactory.setFeature(XmlSAXP
arserFactory.java:94)
[10:14:46.822]  at org.apache.commons.digester.parser.XercesParser.configureXerc
es(XercesParser.java:185)
[10:14:46.822]  at org.apache.commons.digester.parser.XercesParser.newSAXParser(
XercesParser.java:138)
[10:14:46.822]  at org.apache.commons.digester.ParserFeatureSetterFactory.newSAX
Parser(ParserFeatureSetterFactory.java:71)
[10:14:46.822]  at org.apache.commons.digester.Digester.getParser(Digester.java:
692)
[10:14:46.822]  at org.apache.commons.digester.Digester.getXMLReader(Digester.ja
va:899)
[10:14:46.822]  at org.apache.commons.digester.Digester.parse(Digester.java:1647
)
[10:14:46.822]  at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUn
marshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
[10:14:46.822]  at org.apache.myfaces.config.FacesConfigurator.feedStandardConfi
g(FacesConfigurator.java:141)
[10:14:46.822]  at org.apache.myfaces.config.FacesConfigurator.configure(FacesCo
nfigurator.java:115)
[10:14:46.822]  at org.apache.myfaces.webapp.StartupServletContextListener.initF
aces(StartupServletContextListener.java:63)
[10:14:46.822]  at org.apache.myfaces.webapp.StartupServletContextListener.conte
xtInitialized(StartupServletContextListener.java:46)
[10:14:46.822]  at com.caucho.server.webapp.Application.start(Application.java:1
592)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.822]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.822]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.822]  at com.caucho.server.webapp.ApplicationContainer.start(Applicati
onContainer.java:651)
[10:14:46.822]  at com.caucho.server.host.Host.start(Host.java:385)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.822]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.822]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.822]  at com.caucho.server.host.HostContainer.start(HostContainer.java
:467)
[10:14:46.822]  at com.caucho.server.resin.ServletServer.start(ServletServer.jav
a:945)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.822]  at com.caucho.server.deploy.AbstractDeployControllerStrategy.sta
rt(AbstractDeployControllerStrategy.java:56)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.start(DeployControl
ler.java:483)
[10:14:46.822]  at com.caucho.server.resin.ResinServer.start(ResinServer.java:47
8)
[10:14:46.822]  at com.caucho.server.resin.Resin.init(Resin.java)
[10:14:46.822]  at com.caucho.server.resin.Resin.main(Resin.java:623)
[10:14:46.822] Error initializing ServletContext
[10:14:46.822] java.lang.NullPointerException
[10:14:46.822]  at org.apache.commons.digester.Digester.getXMLReader(Digester.ja
va:899)
[10:14:46.822]  at org.apache.commons.digester.Digester.parse(Digester.java:1647
)
[10:14:46.822]  at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUn
marshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
[10:14:46.822]  at org.apache.myfaces.config.FacesConfigurator.feedStandardConfi
g(FacesConfigurator.java:141)
[10:14:46.822]  at org.apache.myfaces.config.FacesConfigurator.configure(FacesCo
nfigurator.java:115)
[10:14:46.822]  at org.apache.myfaces.webapp.StartupServletContextListener.initF
aces(StartupServletContextListener.java:63)
[10:14:46.822]  at org.apache.myfaces.webapp.StartupServletContextListener.conte
xtInitialized(StartupServletContextListener.java:46)
[10:14:46.822]  at com.caucho.server.webapp.Application.start(Application.java:1
592)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.822]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.822]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.822]  at com.caucho.server.webapp.ApplicationContainer.start(Applicati
onContainer.java:651)
[10:14:46.822]  at com.caucho.server.host.Host.start(Host.java:385)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.822]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.822]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.822]  at com.caucho.server.host.HostContainer.start(HostContainer.java
:467)
[10:14:46.822]  at com.caucho.server.resin.ServletServer.start(ServletServer.jav
a:945)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.822]  at com.caucho.server.deploy.AbstractDeployControllerStrategy.sta
rt(AbstractDeployControllerStrategy.java:56)
[10:14:46.822]  at com.caucho.server.deploy.DeployController.start(DeployControl
ler.java:483)
[10:14:46.822]  at com.caucho.server.resin.ResinServer.start(ResinServer.java:47
8)
[10:14:46.822]  at com.caucho.server.resin.Resin.init(Resin.java)
[10:14:46.822]  at com.caucho.server.resin.Resin.main(Resin.java:623)
[10:14:46.852] ServletContext 'C:\Development\Projects\Ubs\' initialized.
[10:14:46.872] java.lang.IllegalStateException: No Factories configured for this
 Application - typically this is because a context listener is not setup in your
 web.xml.
[10:14:46.872] A typical config looks like this;
[10:14:46.872] <listener>
[10:14:46.872]   <listener-class>org.apache.myfaces.webapp.StartupServletContext
Listener</listener-class>
[10:14:46.872] </listener>
[10:14:46.872]
[10:14:46.872]  at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84)
[10:14:46.872]  at javax.faces.webapp.FacesServlet.init(FacesServlet.java:84)
[10:14:46.872]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:600)
[10:14:46.872]  at com.caucho.server.dispatch.ServletManager.init(ServletManager
.java:152)
[10:14:46.872]  at com.caucho.server.webapp.Application.start(Application.java:1
599)
[10:14:46.872]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.872]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.872]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.872]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.872]  at com.caucho.server.webapp.ApplicationContainer.start(Applicati
onContainer.java:651)
[10:14:46.872]  at com.caucho.server.host.Host.start(Host.java:385)
[10:14:46.872]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.872]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.872]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.872]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.872]  at com.caucho.server.host.HostContainer.start(HostContainer.java
:467)
[10:14:46.872]  at com.caucho.server.resin.ServletServer.start(ServletServer.jav
a:945)
[10:14:46.872]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.872]  at com.caucho.server.deploy.AbstractDeployControllerStrategy.sta
rt(AbstractDeployControllerStrategy.java:56)
[10:14:46.872]  at com.caucho.server.deploy.DeployController.start(DeployControl
ler.java:483)
[10:14:46.872]  at com.caucho.server.resin.ResinServer.start(ResinServer.java:47
8)
[10:14:46.872]  at com.caucho.server.resin.Resin.init(Resin.java)
[10:14:46.872]  at com.caucho.server.resin.Resin.main(Resin.java:623)
[10:14:46.882] javax.servlet.ServletException: java.lang.IllegalStateException:
No Factories configured for this Application - typically this is because a conte
xt listener is not setup in your web.xml.
[10:14:46.882] A typical config looks like this;
[10:14:46.882] <listener>
[10:14:46.882]   <listener-class>org.apache.myfaces.webapp.StartupServletContext
Listener</listener-class>
[10:14:46.882] </listener>
[10:14:46.882]
[10:14:46.882]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:632)
[10:14:46.882]  at com.caucho.server.dispatch.ServletManager.init(ServletManager
.java:152)
[10:14:46.882]  at com.caucho.server.webapp.Application.start(Application.java:1
599)
[10:14:46.882]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.882]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.882]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.882]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.882]  at com.caucho.server.webapp.ApplicationContainer.start(Applicati
onContainer.java:651)
[10:14:46.882]  at com.caucho.server.host.Host.start(Host.java:385)
[10:14:46.882]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.882]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.882]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.882]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.882]  at com.caucho.server.host.HostContainer.start(HostContainer.java
:467)
[10:14:46.882]  at com.caucho.server.resin.ServletServer.start(ServletServer.jav
a:945)
[10:14:46.882]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.882]  at com.caucho.server.deploy.AbstractDeployControllerStrategy.sta
rt(AbstractDeployControllerStrategy.java:56)
[10:14:46.882]  at com.caucho.server.deploy.DeployController.start(DeployControl
ler.java:483)
[10:14:46.882]  at com.caucho.server.resin.ResinServer.start(ResinServer.java:47
8)
[10:14:46.882]  at com.caucho.server.resin.Resin.init(Resin.java)
[10:14:46.882]  at com.caucho.server.resin.Resin.main(Resin.java:623)
[10:14:46.882] Caused by: java.lang.IllegalStateException: No Factories configur
ed for this Application - typically this is because a context listener is not se
tup in your web.xml.
[10:14:46.882] A typical config looks like this;
[10:14:46.882] <listener>
[10:14:46.882]   <listener-class>org.apache.myfaces.webapp.StartupServletContext
Listener</listener-class>
[10:14:46.882] </listener>
[10:14:46.882]
[10:14:46.882]  at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84)
[10:14:46.882]  at javax.faces.webapp.FacesServlet.init(FacesServlet.java:84)
[10:14:46.882]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:600)
[10:14:46.882]  ... 20 more
[10:14:46.902] javax.servlet.ServletException: java.lang.IllegalStateException:
No Factories configured for this Application - typically this is because a conte
xt listener is not setup in your web.xml.
[10:14:46.902] A typical config looks like this;
[10:14:46.902] <listener>
[10:14:46.902]   <listener-class>org.apache.myfaces.webapp.StartupServletContext
Listener</listener-class>
[10:14:46.902] </listener>
[10:14:46.902]
[10:14:46.902]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:632)
[10:14:46.902]  at com.caucho.server.dispatch.ServletManager.init(ServletManager
.java:152)
[10:14:46.902]  at com.caucho.server.webapp.Application.start(Application.java:1
599)
[10:14:46.902]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.902]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.902]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.902]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.902]  at com.caucho.server.webapp.ApplicationContainer.start(Applicati
onContainer.java:651)
[10:14:46.902]  at com.caucho.server.host.Host.start(Host.java:385)
[10:14:46.902]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.902]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startO
nInit(StartAutoRedeployAutoStrategy.java:72)
[10:14:46.902]  at com.caucho.server.deploy.DeployController.startOnInit(DeployC
ontroller.java:475)
[10:14:46.902]  at com.caucho.server.deploy.DeployContainer.start(DeployContaine
r.java:158)
[10:14:46.902]  at com.caucho.server.host.HostContainer.start(HostContainer.java
:467)
[10:14:46.902]  at com.caucho.server.resin.ServletServer.start(ServletServer.jav
a:945)
[10:14:46.902]  at com.caucho.server.deploy.DeployController.startImpl(DeployCon
troller.java:587)
[10:14:46.902]  at com.caucho.server.deploy.AbstractDeployControllerStrategy.sta
rt(AbstractDeployControllerStrategy.java:56)
[10:14:46.902]  at com.caucho.server.deploy.DeployController.start(DeployControl
ler.java:483)
[10:14:46.902]  at com.caucho.server.resin.ResinServer.start(ResinServer.java:47
8)
[10:14:46.902]  at com.caucho.server.resin.Resin.init(Resin.java)
[10:14:46.902]  at com.caucho.server.resin.Resin.main(Resin.java:623)
[10:14:46.902] Caused by: java.lang.IllegalStateException: No Factories configur
ed for this Application - typically this is because a context listener is not se
tup in your web.xml.
[10:14:46.902] A typical config looks like this;
[10:14:46.902] <listener>
[10:14:46.902]   <listener-class>org.apache.myfaces.webapp.StartupServletContext
Listener</listener-class>
[10:14:46.902] </listener>
[10:14:46.902]
[10:14:46.902]  at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84)
[10:14:46.902]  at javax.faces.webapp.FacesServlet.init(FacesServlet.java:84)
[10:14:46.902]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(Se
rvletConfigImpl.java:600)
[10:14:46.902]  ... 20 more

> 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


[jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1170?page=comments#action_12370162 ] 

Martin Marinschek commented on MYFACES-1170:
--------------------------------------------

Hi Boris,

can you find out which version Facelets has? Look into the META-INF directory of the jar-file, and you should find the version-number.

regards,

Martin

> 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


[jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Boris Kovalenko (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1170?page=comments#action_12369966 ] 

Boris Kovalenko commented on MYFACES-1170:
------------------------------------------

This is commons-digester problem at least with versions 1.6 & 1.7. Replacing it with common-digester from Facelets distributive (don't know what version of digester it contains) solved the problem.

> 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


[jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Simon Kitching (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1170?page=comments#action_12370234 ] 

Simon Kitching commented on MYFACES-1170:
-----------------------------------------

Yes, it is a digester bug introduced by r132533. I'll have it patched by the end of today.

However it only occurs in an unusual circumstance, as here.

The problem is that Xerces is in the classpath, but it is not the xml parser being used; the stacktrace shows that the SAXParserFactory class is from com.caucho.xml. Digester sees Xerces in the classpath, assumes Xerces is the xml parser being used, and tries to set a xerces-specific property on the parser factory which of course fails.

Either removing xerces from the classpath (it isn't being used) or actually forcing xerces to be used will resolve this issue.

I presume that Resin is being used as the container here...

> 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


[jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Boris Kovalenko (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1170?page=comments#action_12370169 ] 

Boris Kovalenko commented on MYFACES-1170:
------------------------------------------

Specification-Version: 1.5 from MANIFEST.MF



> 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


[jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1170?page=comments#action_12370172 ] 

Martin Marinschek commented on MYFACES-1170:
--------------------------------------------

Interesting - a bug in commons-digester versions after 1.5.

Can you tell that to our colleagues over at commons-digester?

Thanks,

regards,

Martin

> 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