[jboss-user] [JBoss Seam] - Seam-app not working with <loader-repository />

fhh do-not-reply at jboss.com
Wed Jun 13 19:15:38 EDT 2007


Hi!

I'm running Seam 1.2.1.GA on JBoss AS 4.2.0.GA. Everything works well unless I add class loading isolation. If I do I get the following stack trace:


  | <snip>
  | Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.faces.application.ApplicationImpl.addELResolver(javax.el.ELResolver)
  | 	at org.jboss.seam.jsf.SeamApplication12.<init>(SeamApplication12.java:46)
  | 	at org.jboss.seam.jsf.SeamApplicationFactory.getApplication(SeamApplicationFactory.java:29)
  | 	at com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:483)
  | 	at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:529)
  | 	at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
  | 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
  | 	... 91 more
  | Caused by: java.lang.NoSuchMethodException: com.sun.faces.application.ApplicationImpl.addELResolver(javax.el.ELResolver)
  | 	at java.lang.Class.getMethod(Class.java:1605)
  | 	at org.jboss.seam.jsf.SeamApplication12.<init>(SeamApplication12.java:35)
  | 	... 96 more
  | 

This looks to me as if a JSF version < 1.2 is used but I have no jsf jars in my ear and there is no myfaces etc in the jboss lib directory anymore. Or is this issue fixed in Seam 1.3.0?

Thanks

Felix

P.S.: Classloader-config looks like this:

  | <!DOCTYPE jboss-app
  |           PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN"
  |           "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd">
  | <jboss-app>          
  |  	<loader-repository>
  | 		seam.jboss.org:loader=go100-backoffice
  | 	</loader-repository>
  | </jboss-app>
  | 

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

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



More information about the jboss-user mailing list