[JBoss Seam] - Seam-app not working with <loader-repository />
by fhh
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
18Â years, 11Â months
[JBoss Seam] - Re: Simplest <s:fileUpload> usage
by evl123
"shane.bryzak(a)jboss.com" wrote : MultipartRequest now throws a FileUploadException instead of a RuntimeException, you can configure an exception handler for this in pages.xml.
Shane,
I'm running JBoss-4.0.5.GA and using JBoss-Seam-1.2.0.PATCH1 which are compatible and are working ok - only issue is the Multipart Request Runtime Exception.
>From the JIRA tracker, looks like this fix goes into Seam 1.3.0.ALPHA, and 1.3.0.ALPHA's readme file recommends install JBoss 4.2.0.GA which would need certain degree of adjustments to my workspace (e.g. jar files). I tried but saw a lot fo exceptions including faces-config.xml Digester parse error, etc.
My question is what versions of JBoss and Seam would you recommend to get this fix. And if I stay with JBoss-4.0.5.GA and JBoss-Seam-1.2.0.PATCH1, what jar files should I replace to get this fix without breaking the compatibilty.
Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054162#4054162
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054162
18Â years, 11Â months
[EJB 3.0] - Re: Create timer -
by nlmarco
"wolfc" wrote : [...] It is possible to set a property in the transaction service to allow multiple one phase resources, but that could lead to transaction problems. [...]
Hello wolfc,
I upgraded from 4.0.4.GA to 4.2.0.GA and I now have the same problem. After having read your response, I started searching for docs about this property. It seems that the file server/default/conf/jbossjta-properties.xml is responsible for this configuration (is this correct?). Unfortunately, I didn't find any documentation about which property needs to be set. And - as far as I understand it - the jbossjta-properties.xml doesn't contain a default property or comment that could help.
I browsed the jboss.org site and the web, but either I used the wrong keywords or there is no table of the supported properties (with details like their meaning and possible values).
Could you please give me a hint where I could find out how to switch this error to be only a warning (like it was in JBoss 4.0.4)?
Best regards, Marco :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054160#4054160
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054160
18Â years, 11Â months