[00:38:20] *** aslak has quit IRC [01:49:54] *** johnament has joined #seam-dev [02:10:26] *** johnament has quit IRC [04:05:42] *** mbg has quit IRC [04:07:39] *** lightguard_jp has joined #seam-dev [04:09:00] *** lightguard_jp has quit IRC [06:29:19] *** Nik_ has joined #seam-dev [07:29:57] *** oskutka has joined #seam-dev [08:01:34] *** rruss has quit IRC [08:17:32] <sbryzak> stuartdouglas: ping [08:24:56] *** plenyi has joined #seam-dev [08:42:53] <stuartdouglas> sbryzak: pong [08:43:45] *** marekn has joined #seam-dev [08:49:51] <sbryzak> stuartdouglas: sorry was afk [08:49:55] <sbryzak> i have a problem with the xml module [08:50:14] <sbryzak> i updated to latest and now my configuration isn't working [09:18:35] *** aslak has joined #seam-dev [09:24:15] *** jharting has joined #seam-dev [09:31:03] *** kpiwko has joined #seam-dev [09:32:58] <stuartdouglas> sbryzak: sorry, got distracted [09:33:04] <stuartdouglas> what does it say in the logs? [09:33:16] <sbryzak> stuartdouglas: np [09:33:18] <sbryzak> let me check [09:34:13] <sbryzak> it's finding all the beans.xml files in my libs [09:34:20] <sbryzak> but not the one from my app [09:35:55] <stuartdouglas> where is the one in your app? [09:36:05] <stuartdouglas> is it in web-inf/lib? [09:36:09] <sbryzak> i have a beans.xml in WEB-INF, and a seam-beans.xml in WEB-INF/classes [09:36:25] <stuartdouglas> are either of them picked up? [09:36:35] <sbryzak> i can't see them in the log [09:36:40] <sbryzak> should they all be listed together? [09:37:03] <stuartdouglas> yes [09:37:11] <sbryzak> here's a log snippet: http://pastebin.com/MFCEdHzh [09:37:37] <stuartdouglas> what platform? EAP? [09:37:46] <sbryzak> no, latest jboss as [09:38:08] <stuartdouglas> hmm [09:40:04] <stuartdouglas> Ah, you now need seam beans in META-INF/seam-bean.xml [09:40:18] <sbryzak> ah, bugger [09:40:26] <stuartdouglas> pete did not want it picked up directly from the classpath [09:40:30] <sbryzak> btw i tried putting the config in WEB-INF/beans.xml, but it doesn't work [09:40:38] <stuartdouglas> not sure why it is not being picked up from WEB-INF though [09:40:51] <stuartdouglas> did you add the resource listener in web.xml? [09:40:54] <sbryzak> i'll move seam-beans.xml to META-INF then [09:41:22] <sbryzak> no, nothing in web.xml [09:41:34] <sbryzak> what do i need to put there? [09:42:15] <stuartdouglas> try putting add org.jboss.weld.extensions.resourceLoader.servlet.ResourceListener [09:42:42] <sbryzak> is that in the docs? [09:42:45] <stuartdouglas> as a sevlet context listener [09:43:01] <stuartdouglas> I think so, although on the latest AS it should not be nessesary [09:43:13] <stuartdouglas> as it should be picked up by a web fragment [09:43:17] <sbryzak> and that will allow the config to go in beans.xml? [09:43:24] <sbryzak> i've got latest svn trunk of jboss as [09:43:43] <stuartdouglas> hopefully, although loading from WEB-INF can be problematic [09:44:22] <sbryzak> ok trying that [09:44:24] <stuartdouglas> As far as I know the startup order is not specified, so if weld is booted before ServletContextListeners are called there is no portable way to get hold of beans.xml [09:45:45] <sbryzak> hmm that didn't work [09:45:52] <sbryzak> i'll try putting seam-beans.xml in META-INF now [09:46:45] <stuartdouglas> can you put a breakpoint in ResourceListener and see if it is getting called after seam-xml has started? [09:46:56] <sbryzak> sure [09:47:17] <sbryzak> yay, putting it in META-INF worked [09:47:20] <sbryzak> ok i'll set the breakpoint now [09:47:51] <sbryzak> just in contextInitialized() ? [09:48:31] <stuartdouglas> yep [09:48:44] <stuartdouglas> see if seam-xml has already shown up it the logs [09:48:53] <stuartdouglas> buy the time it hits the brakpoint [09:48:59] <sbryzak> ok it's hit it [09:49:16] *** shervin_a has joined #seam-dev [09:49:16] <sbryzak> and seam-xml has already done its thing [09:49:23] <stuartdouglas> gah [09:49:54] <sbryzak> http://pastebin.com/vQKX1CsC [09:49:59] <stuartdouglas> not much I can do about that, its hard to read from the ServletContext when it has not been created yet :-( [09:50:06] <sbryzak> that's what it had logged up to where it hits the breakpoint [09:51:19] <sbryzak> i still had a problem with the transaction interceptor too, but i hit this config problem in the meantime ;) [09:52:03] <stuartdouglas> That is something that is probably going to have to be brought up with the AS team [09:52:05] <sbryzak> i just checked, transactions still not working [09:52:49] <sbryzak> the servlet context issue? [09:52:55] <stuartdouglas> yea [09:53:06] <stuartdouglas> although there are probably other issues to do with the ordering [09:53:43] <stuartdouglas> so I don't know if we can get it changed just to support this :-( [09:54:14] <sbryzak> i think a lot of people might be caught out by this when they try putting their config in WEB-INF/beans.xml [09:54:50] <sbryzak> any ideas on the transaction interceptor? [09:56:44] <stuartdouglas> not yet, I'll have dinner and then have a look [09:56:49] <sbryzak> thanks [09:57:17] <sbryzak> it's being hit 14 times per request also.. i think the interceptor is being applied to the whole class, not just the @Transactional-annotated methods [10:09:40] <stuartdouglas> sbryzak: when you say latest AS is this from trunck or from the integration branch? [10:09:47] <sbryzak> trunk [10:13:38] <stuartdouglas> have you commited the stuff you are working with to seam-security? [10:14:05] <sbryzak> yes it's up to date [10:22:01] <shervin_a> Has christian quit JBoss? Heard some rumor... [10:22:28] <sbryzak> shervin_a: yes, at the beginning of the year [10:23:52] <stuartdouglas> what do I need to do to get the error? [10:24:15] <sbryzak> it's not an exception, it's a behavioural issue ;) [10:24:22] <sbryzak> click Manage users [10:24:36] <stuartdouglas> ok [10:24:41] <sbryzak> then edit a user [10:24:47] <sbryzak> add a new role, click save [10:24:51] <sbryzak> the new role doesn't get persisted [10:26:54] <sbryzak> if you set a breakpoint in org.jboss.seam.security.management.picketlink.JpaIdentityStore.createRelationship() (line 1117) and call em.flush() in that method you get an exception [10:27:27] <sbryzak> 19:26:51,451 ERROR [STDERR] Caused by: javax.persistence.TransactionRequiredException: no transaction is in progress [10:27:29] <shervin_a> aah thats a shame... [10:28:34] <stuartdouglas> sbryzak: You don't seem to be calling em.flush() ? [10:28:44] <sbryzak> i'm calling it from the debugger [10:30:08] <stuartdouglas> and then you get a TransactionNotActiveException ? [10:30:25] <sbryzak> TransactionRequiredException, the one i just pasted [10:31:20] <stuartdouglas> ah, sorry, missed that [10:35:46] *** TrevorReznik has joined #seam-dev [10:36:18] *** TrevorReznik has quit IRC [10:42:07] <stuartdouglas> I can't even get to that point [10:42:21] <sbryzak> do you get a different exception? [10:42:48] <stuartdouglas> http://pastebin.com/zC2zd2e9 [10:43:27] <sbryzak> hmm, i wonder what that means [10:44:55] <sbryzak> can't find EjbSynchronizations ? [10:46:14] <sbryzak> do you have any other apps deployed? [10:46:37] <stuartdouglas> nope [10:46:59] <sbryzak> and you're on jboss as trunk? [10:47:41] <sbryzak> marius was going to merge the integration branch with trunk today, perhaps i should wait for that to happen [10:47:49] <sbryzak> it might give us a more stable container [10:50:24] <stuartdouglas> hmm, even though the transaction interceptor gets called every time, it only actually starts a transaction if the annotation is present [10:51:04] <stuartdouglas> When it tries to start the transaction the whole thing just blows up with that exception [10:51:06] <sbryzak> any idea why it's not working for UserAction.save() ? [10:51:21] <sbryzak> ah [10:51:51] <sbryzak> weird i don't get the same exception, it just doesn't work [10:52:02] <stuartdouglas> The reason why I did the interceptor that way was because if you have an @Transactional on the bean level [10:52:17] <stuartdouglas> you can't override it on the method level using standard weld interceptors [10:52:41] <stuartdouglas> so I just applied the interceptor to the class, and only start the transaction when needed [10:53:18] <stuartdouglas> I think waiting for the integration branch to be merged is probably a good idea [10:53:30] <sbryzak> do you think that might have performance implications where something like jsf invokes the bean properties heaps of times per request? [10:54:24] <stuartdouglas> possibly, although it still has to pass through the proxy anyway [10:54:46] <sbryzak> i guess we can look at performance improvements later, important thing is to get it working first [10:54:54] <sbryzak> ok let's put it on hold for now until marius does the merge [10:54:55] <stuartdouglas> but I think I will change it so that if there is no bean level annotation it just applies the interceptor to the methods directly [10:55:15] <sbryzak> hopefully tomorrow we can get this sorted out :) [10:55:30] <stuartdouglas> hopefully it just works :-) [10:55:53] <sbryzak> that would be nice [10:57:38] <stuartdouglas> I'm kinda busy this week, but hopefully I will have time to look at it if there are still problems tomorrow [10:57:59] <sbryzak> thanks, it's much appreciated [11:19:12] <stuartdouglas> sbryzak: Could you try one last thing? Try doing an em.joinTransaction() before the em.flush() ? [11:19:38] <sbryzak> stuartdouglas: sure thing [11:21:54] <sbryzak> wow, that worked [11:22:00] <stuartdouglas> gah [11:22:12] <sbryzak> i take it you know what the problem is then ;) [11:22:13] <stuartdouglas> that means there is a problem with the syncronizations [11:22:26] <stuartdouglas> i.e. the same class that was giving me an exception [11:22:36] <sbryzak> is it easy to fix? [11:22:55] <stuartdouglas> no idea, it may still be an AS problem [11:23:05] <stuartdouglas> I'll see what happens after the merge [11:23:23] <stuartdouglas> I have been testing seam-persistence against Pete's snapshots [11:23:30] <stuartdouglas> and it has been working [11:27:12] <sbryzak> last snapshot of pete's that i used gave me all sorts of exceptions [11:42:07] *** aslak has quit IRC [11:42:36] *** aslak has joined #seam-dev [11:56:30] <Nik_> BTW, are Pete's builds still required or have they been merged already? [13:15:30] *** kpiwko has quit IRC [13:17:59] *** kpiwko has joined #seam-dev [13:36:35] *** kpiwko has quit IRC [13:37:07] *** kpiwko has joined #seam-dev [14:00:19] *** balunasj has joined #seam-dev [14:11:19] *** balunasj has quit IRC [14:15:14] *** lightguard_jp has joined #seam-dev [14:47:13] *** rruss has joined #seam-dev [14:48:02] <jbossbot> git [faces] push master 09a7817.. Lincoln Baxter, III Updated to Seam Parent 4 and Seam BOM 3.0.0.b03 [14:48:02] <jbossbot> git [faces] push master URL: http://github.com/seam/faces/compare/e7e7aa9...09a7817 [14:48:35] *** lincolnthree has joined #seam-dev [15:30:31] <jbossbot> git [faces] push master 72a2692.. Lincoln Baxter, III Fixed bug with partial state-saving disabled on UIFormValidator [15:30:31] <jbossbot> git [faces] push master URL: http://github.com/seam/faces/compare/09a7817...72a2692 [15:41:29] *** plenyi has quit IRC [15:43:15] *** plenyi has joined #seam-dev [15:49:39] *** bleathem has joined #seam-dev [15:57:32] *** plenyi has quit IRC [16:14:36] <jbossbot> git [faces] push master 8f0e468.. Lincoln Baxter, III Updated reference docs for @Inject'able validators/converters - reorganized chapters [16:14:36] <jbossbot> git [faces] push master URL: http://github.com/seam/faces/compare/72a2692...8f0e468 [16:18:47] *** johnament has joined #seam-dev [16:19:11] *** jharting has quit IRC [16:23:12] <jbossbot> git [faces] push master 1dd868b.. Lincoln Baxter, III [maven-release-plugin] prepare release 3.0.0.Beta1 [16:23:13] <jbossbot> git [faces] push master URL: http://github.com/seam/faces/compare/8f0e468...1dd868b [16:23:16] <jbossbot> git [faces] push master 5f21066.. Lincoln Baxter, III [maven-release-plugin] prepare for next development iteration [16:23:16] <jbossbot> git [faces] push master URL: http://github.com/seam/faces/compare/1dd868b...5f21066 [16:24:27] <johnament> utoh, is today going to be a big release date? [16:27:45] *** marekn has quit IRC [16:32:06] *** shervin_a has quit IRC [16:38:27] *** mbg has joined #seam-dev [17:03:49] *** oskutka has quit IRC [17:20:15] <lincolnthree> johnament: for faces ;) [17:20:40] <lincolnthree> although. i did the release, but I'm not seeing it in the repo, it looks like seam-faces got skipped somehow when I released the repository [17:20:40] <lincolnthree> https://repository.jboss.org/nexus/content/groups/public/org/jboss/seam/faces/seam-faces/ [17:20:45] <lincolnthree> do you see a Beta1 there? [17:21:11] <johnament> lincolnthree: yep its there [17:21:15] <lincolnthree> ok good [17:21:21] <lincolnthree> i must be getting a cached dir [17:21:27] <lincolnthree> thanks! [17:21:34] <johnament> CTRL + SHIFT + R Is your friend maybe? [17:21:38] <lincolnthree> yep, then Faces Beta1 was just released :) [17:21:41] <lincolnthree> yeah been trying [17:21:44] <lincolnthree> must be some proxy in between [17:21:57] <lincolnthree> there it is [17:22:03] <lincolnthree> they all sort of popped up one after another [17:22:08] <lincolnthree> but this was taking a looong time [17:22:15] <lincolnthree> awesome [17:22:31] <lincolnthree> bleathem: you've got Beta1 ? https://repository.jboss.org/nexus/content/groups/public/org/jboss/seam/faces/seam-faces/ [17:30:12] *** kpiwko1 has joined #seam-dev [17:30:20] *** kpiwko has quit IRC [17:31:44] <bleathem> lincolnthree: Sweet! Now if only I could use it... Time to start the GF 3.1 countdown [17:32:00] <lincolnthree> lol, man you just get the short end of the stick dont you [17:32:33] <bleathem> It's the cross that I bear for being bleeding edge all the time :P [17:32:48] <lincolnthree> Hey, at least you get apps done [17:32:56] <bleathem> I should just use a stagnant framweork like Spring :P [17:33:03] <lincolnthree> I can't get anything done because I'm always "being" the bleeding edge. [17:33:22] <lincolnthree> I have to use all the new stuff and then fix it if its broken [17:33:25] *** johnament has quit IRC [17:33:28] <lincolnthree> so i never get to actually make software [17:33:43] <bleathem> That's ok though, you get paid to do that! [17:33:51] <lincolnthree> hehe, I do now [17:37:33] *** johnament has joined #seam-dev [17:47:56] *** kpiwko1 has quit IRC [17:48:42] *** kpiwko has joined #seam-dev [18:19:55] <lincolnthree> %help [18:24:20] *** kpiwko has quit IRC [18:32:00] *** lincolnthree has quit IRC [18:46:16] *** johnament has quit IRC [18:54:15] *** johnament has joined #seam-dev [19:28:26] *** johnament has quit IRC [20:03:25] *** oskutka has joined #seam-dev [20:03:38] *** oskutka has quit IRC [20:07:02] *** aslak has quit IRC [20:08:39] *** lincolnthree has joined #seam-dev [20:24:52] *** aslak has joined #seam-dev [21:12:47] *** rruss has quit IRC [21:26:49] *** mbg has quit IRC [22:12:33] *** lincolnthree has quit IRC [22:37:22] *** rruss has joined #seam-dev