[
http://jira.jboss.com/jira/browse/JBSEAM-1608?page=comments#action_12369657 ]
Guy Veraghtert commented on JBSEAM-1608:
----------------------------------------
Setting com.sun.faces.validateXml in the web.xml of your application doesn't work,
because this parameter is set to true in the default-web.xml of Glassfish: see
APPSERV_HOME/domains/domain1/config/default-web.xml (this last one takes precedence).
Modifying the default-web.xml will enable you to deploy the applications without having to
patch the faces-config.xml in jboss-seam-ui.jar.
I'can't reproduce it myself on the jee5 example, but I have a minimal ear
reproducing the problem.
Pete, I will send it to you by mail, because I don't have permissions to add it to the
closed issue.
Until
http://jira.jboss.org/jira/browse/AJSF-98 is resolved, one can remove the
description tag from /jboss-seam/ui/src/main/config/component/conver*.xml and
/jboss-seam/ui/src/main/config/component/validate*.xml and rebuild jboss-seam-ui.jar or,
as said above, set com.sun.faces.validateXml to false in the default-web.xml.
Seam application can not start because of faces-config configuration
in seam-ui.jar
------------------------------------------------------------------------------------
Key: JBSEAM-1608
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1608
Project: JBoss Seam
Issue Type: Bug
Components: JSF
Affects Versions: 2.0.0.BETA1
Environment: Glassfish build b53-rc
Reporter: Joshua Jackson
Assigned To: Pete Muir
Fix For: 2.0.0.CR1
Attachments: faces-config.xml
Here is the stacktrace:
Exception sending context initialized event to listener instance of class
com.sun.faces.config.ConfigureListener javax.faces.FacesException: Can't parse
configuration file:
jar:file:/D:/javastuff/glassfish/domains/domain1/applications/j2ee-apps/seam/seam_war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml:
Error at line 12 column 18: The content of element type "validator" must match
"(description*,display-name*,icon*,validator-id,validator-class,attribute*,property*)".
at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438) at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348) at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4515) at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5176) at
com.sun.enterprise.web.WebModule.start(WebModule.java:324) at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973) at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957) at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688) at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1576) at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1217) at
com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1142)
at
com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:141)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:243) at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:918)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:902)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:458)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:173)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:223)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:905)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:577)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:621)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
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:585) at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375) at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358) at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464) at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784) at
sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:585) at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90) at
$Proxy1.invoke(Unknown Source) at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145)
at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537) at
java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira