session invalidation problem
by Dan Allen
I was doing some session size research today in my application and I
uncovered what appears to be a pretty nasty bug in Seam during the
post-session invalidation routine. If you call #{session.invalidate}
(which is also called by #{identity.logout} it leads to an *explosion*
of sessions. (~50)
To observe this behavior, install a servlet context listener that
watches for session creation. Then run one of these two action
listener methods. You can run Thread.dumpStack() in the listener to
see that it is happening as a result of attribute reads on the
ServerConversationContext. I guess because the session was
invalidated, Seam attempts to recreate the session over and over as it
works with the conversation within that request.
-Dan
--
Dan Allen
Software consultant | Author of Seam in Action
http://www.mojavelinux.com
http://manning.com/dallen
NOTE: While I make a strong effort to keep up with my email on a daily
basis, life and work come first and, at times, keep me away from my mail
for a while. If you contact me, then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.
16 years, 6 months
Re: [seam-dev] Google Summer of Code
by Daniel Roth
Hi,
Niclas Karlsson and I have discussed a bit on an Excel exporter. Niclas have
proposed a quite nice jsf component structure you might want to have a look
at.
Currently whe are both fed up with quite a lot of commercial work, and
haven't had time to work on it too much. Personally I think there will be
plenty of time for me to write the JSF components when the "industry summer"
of Sweden kicks in(July).
Daniel
--
Daniel Roth
M.Sc. Computer Science
daniel(a)danielroth.se
www.danielroth.se
+46 736 36 29 46
16 years, 6 months
Re: Seam 2.0 GA Reference have been translated into Chinese
by Gavin King
Oops, wrong mailing list!
On Wed, Apr 2, 2008 at 9:36 PM, Gavin King <gavin(a)hibernate.org> wrote:
> Cool, that's awesome! Thanks for your hard work!
>
> Folks, what do you want to do with this translation?
>
>
>
> On Wed, Apr 2, 2008 at 8:10 PM, Xiaogang Cao <xiaogang(a)gmail.com> wrote:
> > Hi, Dear Gavin:
> > We have cafually released Seam 2.0 GA Reference Chinese version in our
> > translate team site : http://www.redsaga.com/opendoc/Seam2.0/html/ (The
> > leader is Yu Limin, and more than 20 people was involved.)
> >
> > Actually the whole translation was completed 3 months before, and we use
> > another 3 months to invite people to review it. The reviewer include me and
> > Ma Yue, you must know him before :)
> >
> > So, how do you want to publish it in Seam site? include into the
> > distribution is more directly, but will increase the tarball size. Or public
> > it in the seam site?
> >
> > Thanks.
> > Xiaogang :)
> >
> >
> >
>
>
>
> --
> Gavin King
> gavin.king(a)gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
>
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
16 years, 7 months
Trunk build
by Pete Muir
People,
Seam trunk should build ok, but due to moving some from the svn
checkout to maven, and also moving entirely to repository.jboss.org
(and not using central) some of the "sub builds" e.g. seam-gen,
examples may be a bit broken.
Please email me off list if you spot any problems.
I'm out over the weekend so I'll get on it first thing on monday.
Apologies in advance ;-)
--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete
16 years, 7 months
Fwd: Send my way any news on WebBeans... and I'll give it visibility
by Gavin King
---------- Forwarded message ----------
From: Eduardo Pelegri-Llopart <pelegri(a)sun.com>
Date: Sun, Mar 16, 2008 at 11:14 AM
Subject: Send my way any news on WebBeans... and I'll give it visibility
To: Sacha Labourey <sacha.labourey(a)jboss.com>, Gavin King <
gavin(a)hibernate.org>
Cc: Eduardo Pelegri-Llopart <Eduardo.Pelegrillopart(a)sun.com>
I normally catch references to GlassFIsh in my daily crawl through the RSS
feeds, but sometimes I miss them, so, if you have new developments, please
send them my way and I'll spotlight them at TheAquarium.
In particular, if you had new WebBeans / Seam on GF news, I'd be interested
as I've just done some EJB3.1lite posts.
- eduard/o
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
16 years, 7 months
Fwd: Contributing of Tapestry - Seam - integration
by Gavin King
Not sure if you guys saw this at the time...
---------- Forwarded message ----------
From: Igor Drobiazko <igor.drobiazko(a)gmail.com>
Date: Wed, Jan 23, 2008 at 8:19 PM
Subject: Re: Contributing of Tapestry - Seam - integration
To: Gavin King <gavin(a)hibernate.org>
Cc: christian.bauer(a)gmail.com, thomas.heute(a)jboss.com
Hello guys,
now Seam integration is also available for T5.
http://tacos.sourceforge.net/tacos5/tacos-seam/
I create a simplified clone of http://seam.demo.jboss.com/home.seam using
Tapestry+Seam
http://tacos.svn.sourceforge.net/viewvc/tacos/tacos-5/trunk/tacos-seam/bo...
Regards
On Jan 16, 2008 10:26 PM, Igor Drobiazko <igor.drobiazko(a)gmail.com> wrote:
> You can download the war file from here:
> http://freebookie.org:8090/tacos-seam-demo.war
> Please don't post this URL anywhere. Don't want to use the server as
> download for the demo :)
> When the project is released, the demo will be available on sourceforge
> server.
>
> The docs can be found here:
> http://tacos.sourceforge.net/tacos4.1/tacos-seam/index.html
>
> In the next day integration with Tapestry 5 will be available as well.
>
>
>
>
> On Jan 16, 2008 4:29 AM, Gavin King < gavin(a)hibernate.org > wrote:
>
> > Cool, do you have an example application somewhere that we could take a
> > look at?
> >
> > On Jan 4, 2008 9:24 PM, Igor Drobiazko <igor.drobiazko(a)gmail.com> wrote:
> > > Hi Gavin, Thomas and Christian,
> > >
> > > in the last days I spent some time for Tapestry - Seam - integration.
> > > So far following is realized for both: T5 and T4
> > > - Bijection of Seam components into Tapestry pages via Seam
> > annotations:
> > > @In and @Out
> > > - Binding for EL to be used in Tapestry templates to reference Seam
> >
> > > components.
> > >
> > > I'm looking for the project to contribute the code. See this thread
> > > http://www.nabble.com/Seam-Integration-for-T5-and-T4-to14512545.html
> > >
> > > I'm a committer to Tacos project (
> > http://tacos.sourceforge.net/tacos4.1/),
> > > so I could commit the code into Tacos.
> > > But maybe you would like to have the code in your project. In this
> > case I
> > > still would be responsible for code maintenance.
> > > So what do you think? Your comments would be appreciated.
> > >
> > > --
> > > Best regards,
> > >
> > > Igor Drobiazko
> >
> >
> >
> > --
> > Gavin King
> > gavin.king(a)gmail.com
> > http://hibernate.org
> > http://jboss.com/products/seam
> > http://in.relation.to/Bloggers/Gavin
> >
>
>
>
> --
> Best regards,
>
> Igor Drobiazko
--
Best regards,
Igor Drobiazko
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
16 years, 7 months
Fwd: Release of a business object library under Seam
by Gavin King
---------- Forwarded message ----------
From: Marco Pancotti <marco.pancotti(a)mclink.it>
Date: Thu, Feb 7, 2008 at 9:20 PM
Subject: Release of a business object library under Seam
To: gavin.king(a)gmail.com
Dear Gavin
I'm the manager of the Open Source project named Tyl (www.tyl-project.org).
Tyl is a library of Business Objects built using Hibernate, JPA and Seam.
Even if the scope of Tyl is only the Domain Model, we produced a Web
application (TylWeb) as a "proof of concept" on how you can use Tyl inside a
JSF/Richfaces/Seam environment. TylWeb is a seam-generated project that uses
Seam 2.0 and JBoss 4.2. The "dev" environment is set to be used with an
embedded Derby database. The source is released as a JBDS project.
Tyl is already used "in production" by two Italians companies. One of them
is the Italian National Standardization Body (named UNI, www.uni.com) where
it is used, together with another Seam/Hibernate/JSF application, to
coordinate all the regulation development process (a complex workflow,
implemented using jBpm, that involves about 15.000 persons organized in
hundred of Technical Commitee)
Tyl sources are available at sourceforge.net under an Apache 2.0 licence (
sourceforge.net/project/tyl).
I hope you will find five minutes to look at the Tyl web site and at the Tyl
wiki (http://www.tyl-project.org/trac) where you can find some detailed
information about Tyl architecture. Tyl would not exist without Hibernate
and Seam, so if I am its father, you are at least its uncle!
I will attend JBoss convention in Orlando. I hope, in that occasion, to have
the possibility to meet you and to be able to do a small (and fast)
presentation "live" of what Tyl is and how it can enrich the Seam and
Hibernate community.
See you in Orlando
Marco Pancotti
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
16 years, 7 months
important RichFaces issue
by Dan Allen
I feel that the following RichFaces issue is important to the
perception of Seam's performance (although obviously Seam should not
be judged on the basis of RichFaces, but people still perceive it that
way).
http://jira.jboss.org/jira/browse/RF-3273
To give a brief summary, use seam-gen to create a RichFaces-based
application, click to edit an entity, change a field, then look at the
response in FireBug. You will see that the Ajax response is
ridiculously large due to the fact that RichFaces/Ajax4jsf is
incorrectly sending the entire <head> tag each time. This is faulty
behavior and really takes away a lot of the Ajax value when
considering bandwidth. The fix is stupidly easy.
-Dan
--
Dan Allen
Software consultant | Author of Seam in Action
http://www.mojavelinux.com
http://manning.com/dallen
NOTE: While I make a strong effort to keep up with my email on a daily
basis, life and work come first and, at times, keep me away from my mail
for a while. If you contact me, then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.
16 years, 7 months