myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Kovalenko (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1170) Application can not start if xercesImpl-2.7.1.jar is present
Date Sat, 11 Mar 2006 05:19:58 GMT
    [ 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


Mime
View raw message