[jboss-user] [JBoss Seam] - Re: Help with examples

nwhite do-not-reply at jboss.com
Wed Jul 25 11:06:52 EDT 2007


I noticed the faces-config.xml file was empty so following the documentation I added 



  | <application>
  |         <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
  | </application>	
  | 
  | <lifecycle>
  |     <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
  | </lifecycle>
  | 

It appears that the phase listener is triggering the following error on deployment:

[#|2007-07-25T10:59:18.543-0500|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=10ab338e-4d03-4968-8a3d-a2f2e9974bb3;|WebModule[/seam-progressbar]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.UnsupportedOperationException
	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4493)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:5150)


Caused by: java.lang.UnsupportedOperationException
	at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
	at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
	at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
	at com.sun.faces.util.Util.createInstance(Util.java:477)
	at com.sun.faces.util.Util.createInstance(Util.java:436)
	at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:617)
	at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)

Thoughts? TIA

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067440#4067440

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067440



More information about the jboss-user mailing list