[
http://jira.jboss.com/jira/browse/JBSEAM-1608?page=all ]
Pete Muir resolved JBSEAM-1608.
-------------------------------
Resolution: Partially Completed
I'm resolving this as partially completed as although there is a bug in order in which
the CDK outputs elements to the faces-config.xml (see linked issue) (o we need to wait for
a new release of the CDK which incorporates this fix) I can't reproduce on the jee5
example (using Glassfish v2 b53) (as long as you don't ask JSF to validate xml the app
will run as normal.)
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