-
1. Re: Seam 2.2.0.GA
bharatm Aug 7, 2009 12:27 PM (in response to norman)I am using the Seam 2.2.0.GA. But it does not get loaded in eclipse. It cribs about verion incompatibility. Any clue on how to solve the same.
Thanks.
B -
2. Re: Seam 2.2.0.GA
clerum Aug 7, 2009 5:33 PM (in response to norman)As of right now (8/7/09) there is an issue with JBAS 5.1.0GA that prevents Seam from reliably deploying/hot-deploying
See:
Issues with Seam 2.2.0 and JBAS 5.1.0GA
Seam deployments and hot deployments in AS 5.1.0
and
-
3. Re: Seam 2.2.0.GA
lpiccoli.lucio.asteriski.com Aug 10, 2009 7:29 AM (in response to norman)is the jboss tooling working for the seam 2.2GA release?
i am unable to set the seam runtime in the jboss tools 3.01 or 3.1.0 without getting the error 'Incompatible version of Seam...'
any help are appreciated.
-lp
-
4. Re: Seam 2.2.0.GA
marcelomagno Aug 16, 2009 8:19 PM (in response to norman)I am having problems with
<page conversation-required="true" no-conversation-view-id="home.xhtml">
The conversation is being propagated normaly, and this piece of code worked well in 2.1, but this tag is not correctily identifing the conversation and redirecting the page to the home in the wrong way.
Is this a Bug or something? Please help.
Also published this as a topic when tring to reply this tread... but I was no able to delete that...
http://seamframework.org/Community/Conversationrequiredtrue#comment91260 -
5. Re: Seam 2.2.0.GA
aozoren Aug 26, 2009 1:10 PM (in response to norman)instead of upgrading just seam or other components, i'd rather download a giant bundle of jboss+eclipse+jboss tools+seam+etc. i am literally spending days to get a combination working if they are released piece by piece.. this is a really big problem with open source movement i think.. pieces work by themselves in unit tests but there is no authority to test the combination.. my hd is full of trashed devxx directories each with its own jboss, eclipse, tools combination.. without jboss tools support, seam 2.2 is not a venture i'd dive into.. -
6. Re: Seam 2.2.0.GA
clerum Aug 26, 2009 4:19 PM (in response to norman)What is missing is a compatibly matrix that can be updated to show what version on seam works with
- RichFaces
- Hibernate
- JBoss AS
That way we could let everyone know that maybe RichFaces 3.3.1 works with Seam 2.0...or that it doesn't.
Also so that people know Seam doesn't work on JBAS 5.1 currently.
Is this something we could setup in the wiki?
-
7. Re: Seam 2.2.0.GA
jamesjmp Aug 26, 2009 4:51 PM (in response to norman)That´s a really good idea. The matrix could cover Eclipse and Netbeans (other IDEs..) compatibility too.
-
8. Re: Seam 2.2.0.GA
clerum Aug 26, 2009 5:24 PM (in response to norman)Any experts with the wiki that want to take a first crack at this?
-
9. Re: Seam 2.2.0.GA
petermg Aug 27, 2009 9:16 PM (in response to norman)I need to upgrade a couple of projects I built with seam-gen in Seam version 2.1.2. Is there a set of instructions on how to do that? What files need replacement/merging?
Thanks.
--Peter
-
10. Re: Seam 2.2.0.GA
waltbarrow Oct 22, 2009 10:40 PM (in response to norman)Hello. We have a simple Seam application using Wicket which attempts to start a Quartz timer task (using @Asynchronous annotation) in the init() method of the main application (a subclass of SeamWebApplication). We first built this application using Seam 2.1.1.GA and we had no problem and the timer got activated properly. We recently upgraded to Seam 2.2.0.GA and this functionality stopped working. Instead, when we try to activate the timer task (inital call), we get a NPE thrown in the AsynchronousInterceptor when it attempts to access the EventContext, which is null (see log exerpt, below). When I put calls to Lifecycle.beginCall() and Lifecycle.endCall() around this code, the timer is activated with no apparent errors. My question is this: Is this something broken in 2.2.0.GA? If not, is my workaround an appropriate solution? I will be happy to provide my code if you want to look at it.
Thanks!
Walt Barrow
Here is the log snippet:
ERROR [com.afscn.itapps.wicketapp.UIDApplication] Cannot start verification timer task
ERROR [STDERR] java.lang.NullPointerException
ERROR [STDERR] at org.jboss.seam.async.AsynchronousInterceptor.isExecutingAsynchronousCall(AsynchronousInterceptor.java:63)
ERROR [STDERR] at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:31)
ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
ERROR [STDERR] at com.afscn.itapps.uid.timer.VerificationTimerTask_$$_javassist_seam_2.scheduleTask(VerificationTimerTask_$$_javassist_seam_2.java)
ERROR [STDERR] at com.afscn.itapps.uid.timer.VerificationTimerManager.start(VerificationTimerManager.java:63)
ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
ERROR [STDERR] at com.afscn.itapps.uid.timer.VerificationTimerManager_$$_javassist_seam_1.start(VerificationTimerManager_$$_javassist_seam_1.java)
ERROR [STDERR] at com.afscn.itapps.wicketapp.UIDApplication.init100(UIDApplication.java:77)
ERROR [STDERR] at com.afscn.itapps.wicketapp.UIDApplication.init(UIDApplication.java)
ERROR [STDERR] at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:570)
ERROR [STDERR] at org.jboss.seam.wicket.web.WicketFilterInstantiator$1.init(WicketFilterInstantiator.java:111)
ERROR [STDERR] at org.jboss.seam.web.WicketFilter.doFilter(WicketFilter.java:124)
ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
ERROR [STDERR] at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) -
11. Re: Seam 2.2.0.GA
cpopetz Oct 23, 2009 12:00 AM (in response to norman)
Walter Barrow wrote on Oct 22, 2009 22:40:
Hello. We have a simple Seam application using Wicket which attempts to start a Quartz timer task (using @Asynchronous annotation) in the init() method of the main application (a subclass of SeamWebApplication). We first built this application using Seam 2.1.1.GA and we had no problem and the timer got activated properly. We recently upgraded to Seam 2.2.0.GA and this functionality stopped working. Instead, when we try to activate the timer task (inital call), we get a NPE thrown in the AsynchronousInterceptor when it attempts to access the EventContext, which is null (see log exerpt, below). When I put calls to Lifecycle.beginCall() and Lifecycle.endCall() around this code, the timer is activated with no apparent errors. My question is this: Is this something broken in 2.2.0.GA? If not, is my workaround an appropriate solution? I will be happy to provide my code if you want to look at it.I changed the way that wicket/seam initialized itself for the 2.2.x branch. You don't get a full set of seam contexts at wicket init() time. The seam-recommended approach to starting things at app-startup time, independent of view framework choice, is:
@Observer("org.jboss.seam.postInitialization")
public void setupTasks() { /*do things here*/
}-Clint
-
12. Re: Seam 2.2.0.GA
waltbarrow Oct 26, 2009 11:26 PM (in response to norman)Thanks! I'll give that a try.
-
13. Re: Seam 2.2.0.GA
waltbarrow Oct 31, 2009 6:31 PM (in response to norman)Hello,
I have a simple Wicket application built to run with Seam that I use to demonstrate conversations to my co-workers. This application worked fine with Seam 2.1.1.GA, but no longer works with 2.2.0.GA. It seems that my @Begin and @End tags placed on callback methods are being ignored. I tried injecting the Conversation component and manually starting/stopping conversations, but that failed, too. Are there known problems with 2.2.0.GA, Wicket, and conversations? If so, are there any workarounds?
Thanks!
Walt Barrow
-
14. Re: Seam 2.2.0.GA
cpopetz Oct 31, 2009 6:41 PM (in response to norman)I feel like we're hijacking this thread...can you post anew, with a code sample of what you're doing, and also a description of how you are approaching instrumentation of the seam components (i.e. WEB-INF/wicket vs. @SeamWicketComponent, runtime vs. compile-time instrumentation.)
Thanks,
-Clint