October 3, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[03:01:53] *** rruss has joined #weld-dev
[03:04:50] *** rruss has quit IRC
[04:46:07] *** alesj has joined #weld-dev
[04:48:39] *** alesj has quit IRC
[07:30:38] *** magesh has joined #weld-dev
[07:40:53] *** ge0ffrey has joined #weld-dev
[08:13:29] *** emmanuel has quit IRC
[08:19:28] *** oskutka has joined #weld-dev
[08:23:19] *** mkouba has joined #weld-dev
[08:27:09] *** struberg has joined #weld-dev
[08:31:37] *** struberg has quit IRC
[08:33:39] *** jharting has joined #weld-dev
[08:37:22] *** struberg has joined #weld-dev
[08:47:27] *** kevinpollet has joined #weld-dev
[08:55:41] *** maschmid has joined #weld-dev
[09:03:34] *** alesj has joined #weld-dev
[09:30:23] *** kevinpollet has quit IRC
[09:30:38] *** kevinpollet has joined #weld-dev
[09:32:44] <ge0ffrey> stuartdouglas: Jboss 7.0.2 uses jboss-vfs 2, but that breaks seam 3.1.0.Beta2. Any idea how I can workaround that? https://issues.jboss.org/browse/WELD-979
[09:32:46] <jbossbot> jira [WELD-979] Weld 1.1.3-SNAPSHOT and 1.1.2.AS7 fail on JBoss AS 7 with FileNotFoundException on an existing file [Open (Unresolved) Bug, Blocker, Unassigned] https://issues.jboss.org/browse/WELD-979
[09:35:25] <stuartdouglas> ge0ffrey: is VFSbeing packaged in your app?
[09:35:32] <stuartdouglas> VFS v2 is not part of AS7
[09:35:50] <ge0ffrey> stuartdouglas: VFS is not packaged in my app
[09:35:56] <ge0ffrey> only in my arq test code
[09:36:12] <ge0ffrey> but I get the same error when deploying my war to jboss
[09:36:53] <ge0ffrey> hmmm
[09:37:13] <ge0ffrey> stuartdouglas: It looks like jboss-vfs 2 is in my WEB-INF/lib
[09:37:44] <ge0ffrey> so that could be why arq is getting hte wrong version too
[09:38:14] *** alesj has quit IRC
[09:38:49] <stuartdouglas> that is why you are having the problem
[09:39:11] <ge0ffrey> jboss-as-arquillian-container-managed is not a test scope dependency but a default (= compile)
[09:39:42] <ge0ffrey> tnx for the tip
[09:39:50] <ge0ffrey> I 'll fix that first, see if its still relevant then
[09:57:53] <ge0ffrey> it's jboss-as-arquillian-container-managed that's pulling jboss-vfs 2
[10:02:13] <ge0ffrey> weld-core:jar:1.1.3-SNAPSHOT depends on weld-spi:jar:1.1.Beta2. Is that normal?
[10:08:17] <ge0ffrey> stuartdouglas: weld-core 1.1.3-SNAPSHOT depends on weld-spi 1.1.Beta2, while weld-spi 1.1.Final is 4 months younger. The problem is in weld-core-parent: <weld.api.version>1.1.Beta2</weld.api.version>
[11:06:47] <ge0ffrey> stuartdouglas: I think I 've narrowed down the problem in this comment: https://issues.jboss.org/browse/WELD-979?focusedCommentId=12631725
[11:06:49] <jbossbot> jira [WELD-979] Weld 1.1.3-SNAPSHOT and 1.1.2.AS7 fail on JBoss AS 7 with FileNotFoundException on an existing file [Open (Unresolved) Bug, Blocker, Unassigned] https://issues.jboss.org/browse/WELD-979
[11:07:00] <ge0ffrey> Could you take a look?
[11:49:06] *** mathieuancelin has joined #weld-dev
[11:51:24] *** magesh has left #weld-dev
[12:28:54] *** magesh has joined #weld-dev
[12:46:33] *** davidrallen has joined #weld-dev
[13:09:40] *** struberg has quit IRC
[13:19:20] *** rmartinelli has joined #weld-dev
[13:59:58] <ge0ffrey> Has anyone seen this before? ZipException when deploying seam/weld to JBoss 7 on /content/guvnor-webapp-5.4.0-SNAPSHOT.war/WEB-INF/lib/seam-transaction-3.1.0.Beta2.jar
[14:31:21] *** struberg has joined #weld-dev
[15:23:01] <ge0ffrey> jharting: hi, might you have an idea? We've been trying to migrate JBoss Guvnor to seam 3 and weld for weeks now. Any help is very appreciated
[15:25:22] <jharting> ge0ffrey: sorry, haven't seen that before
[15:28:30] <ge0ffrey> jharting: tnx for looking. Any idea who could help me get any progress? I debugged deep and found the issues is in between AS7 classloading and weld's URLScanner: https://issues.jboss.org/browse/WELD-979?focusedCommentId=12631725
[15:28:32] <jbossbot> jira [WELD-979] Weld 1.1.3-SNAPSHOT and 1.1.2.AS7 fail on JBoss AS 7 with FileNotFoundException on an existing file [Open (Unresolved) Bug, Blocker, Unassigned] https://issues.jboss.org/browse/WELD-979
[15:50:49] *** mbg has joined #weld-dev
[15:50:49] *** mbg has joined #weld-dev
[16:15:16] *** mbg has quit IRC
[16:16:00] *** mbg has joined #weld-dev
[16:16:00] *** mbg has joined #weld-dev
[16:16:32] *** mbg has quit IRC
[16:16:45] *** mbg has joined #weld-dev
[16:16:45] *** mbg has joined #weld-dev
[16:51:31] *** jharting has quit IRC
[17:00:07] *** magesh has quit IRC
[17:09:25] *** mkouba has quit IRC
[17:29:01] *** rruss has joined #weld-dev
[17:36:36] *** mathieuancelin has quit IRC
[17:40:16] *** alesj has joined #weld-dev
[17:41:55] *** epbernard has joined #weld-dev
[17:41:55] *** epbernard is now known as emmanuel
[17:48:41] <ge0ffrey> alesj: hi
[17:49:12] <alesj> ge0ffrey: hey
[17:49:37] <ge0ffrey> alesj: about WELD-979, I am now using the correct jboss-vfs, but I still have the issue of the ZipException
[17:49:38] <jbossbot> jira [WELD-979] Weld 1.1.3-SNAPSHOT and 1.1.2.AS7 fail on JBoss AS 7 with FileNotFoundException on an existing file [Open (Unresolved) Bug, Blocker, Unassigned] https://issues.jboss.org/browse/WELD-979
[17:50:03] <alesj> you shouldn't need to package VFS in no way
[17:50:08] <ge0ffrey> I don't
[17:50:40] <ge0ffrey> I did so in the past, but it's fixed, and the issue is still there
[17:51:02] <ge0ffrey> even deploying to a jboss as 7.0.2 server, so without arquillian
[17:51:10] <ge0ffrey> This comment explains best what's going on: https://issues.jboss.org/browse/WELD-979?focusedCommentId=12631725
[17:51:12] <jbossbot> jira [WELD-979] Weld 1.1.3-SNAPSHOT and 1.1.2.AS7 fail on JBoss AS 7 with FileNotFoundException on an existing file [Open (Unresolved) Bug, Blocker, Unassigned] https://issues.jboss.org/browse/WELD-979
[17:51:29] <alesj> still the same?
[17:51:35] <alesj> org.jboss.virtual?
[17:51:42] <alesj> or is it org.jboss.vfs?
[17:52:14] <ge0ffrey> the artifact is org.jboss:jboss-vfs:3.0.1.GA
[17:52:22] <ge0ffrey> but I am not deploying it as part of the war, so it doesn't matter
[17:52:44] <ge0ffrey> its a full AS 7.0.2 (so not just web profile)
[17:53:01] <ge0ffrey> the exception now always is the ZipException
[17:53:33] <ge0ffrey> which is caused by "urlEnum.nextElement() // returns "vfs:/content/..." and the vfs gets stripped and the file "/content/..." doesn't exist
[17:54:18] <alesj> 	at org.jboss.weld.environment.servlet.deployment.URLScanner.handleArchiveByFile(URLScanner.java:174) [weld-servlet-core-1.1.2.Final.jar:]
[17:54:18] <alesj> 	... 15 more
[17:54:34] <alesj> the VFS scanner doesn't kick in
[17:54:56] <ge0ffrey> how or what should make it kick in?
[17:55:08] <alesj> seam marker file(s)
[17:55:21] <alesj> place empty seam.properties
[17:55:21] <ge0ffrey> META-INF/beans.xml?
[17:55:29] <alesj> no, that's CDI ;-)
[17:55:30] <ge0ffrey> that's still needed in seam 3?
[17:55:40] <alesj> no
[17:55:48] <alesj> seam3 doesn't need the scanner
[17:55:54] <ge0ffrey> I am using seam 3
[17:55:54] <alesj> it should just work inside AS7
[17:56:02] <ge0ffrey> seam 3 and weld
[17:56:11] <ge0ffrey> it doesn't just work :/
[17:56:37] <alesj> you don't need to explicitly add Weld Listener then
[17:56:41] <alesj> it should just work
[17:56:44] <ge0ffrey> Dinner's ready - gotta go, damn. I 'll be back as soon as I can. This issue is a real blocker for me
[17:56:52] <alesj> no weld-servlet.jar in your .war
[17:57:06] <alesj> remove it
[17:57:11] <ge0ffrey> k, I 'll try that, tnx
[17:57:12] <ge0ffrey> brb
[17:59:43] *** kevinpollet has quit IRC
[18:11:04] <struberg> anyone seen lightguard_jp or aslak lately?
[18:11:33] <struberg> try to get some feedback for my arquillian fix https://github.com/struberg/arquillian-container-openwebbeans
[18:15:45] *** alesj has quit IRC
[18:17:26] *** alesj has joined #weld-dev
[18:22:52] *** emmanuel has quit IRC
[18:24:39] *** maschmid has quit IRC
[18:36:05] <ge0ffrey> for deployments on other webservers, we need to add the weld-servlet.jar in the .war. Is there anyway to satisfy that and jboss 7 at the same time?
[18:40:07] <alesj> hmmm ? don't think so
[18:40:21] <alesj> you're basically adding an integration layer on top of existing integration layer
[18:40:35] <ge0ffrey> Deleting weld-servlet.jar results in ClassNotFoundException: org.jboss.weld.environment.servlet.Listener
[18:41:07] *** oskutka has quit IRC
[18:41:26] <ge0ffrey> alesj: in seam 2 it works?
[18:41:56] <ge0ffrey> alesj: I mean, creating a war that runs on jboss 7 and tomcat and jetty alike
[18:42:03] <alesj> no need for Listener
[18:45:01] *** kevinpollet has joined #weld-dev
[18:45:11] <ge0ffrey> alesj: so how do we make a web.xml that works on jboss 7 and tomcat and jetty alike?
[18:46:11] <ge0ffrey> removing the WeldListener and the weld-servlet.jar kinda makes deployment work
[18:46:37] <ge0ffrey> but the first thing I do, already creates "Allocate exception for servlet securityService: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null"
[18:46:45] <ge0ffrey> the same app works fine on tomcat and jetty
[18:47:42] *** struberg has quit IRC
[18:50:32] <ge0ffrey> https://gist.github.com/1259570
[18:56:35] <alesj> hmm ? no idea
[18:56:43] <alesj> stuartdouglas: any idea?
[19:00:40] <ge0ffrey> alesj: is there anyway to keep the WeldListener in the pom.xml (and possibly even the weld-servlet.jar in the war), and still make it work on jboss as 7?
[19:00:52] <ge0ffrey> put differently, is there any way to make a portable war?
[19:01:09] <alesj> 2 diff maven pofiles? :-)
[19:01:15] <alesj> profiles
[19:01:23] <ge0ffrey> you can only build one profile at a time
[19:01:24] <alesj> i don't see any other way
[19:01:30] <ge0ffrey> that sux :(
[19:02:08] <ge0ffrey> the problem is we do developer testing in GWT-hosted mode
[19:02:11] <ge0ffrey> so that's jetty 6
[19:02:48] <ge0ffrey> and I 'd like to do unit testing in arquillian-jboss7, because the other arquillian containers don't work or aren't reliable (they crash after 10 tests or so)
[19:03:22] <ge0ffrey> so I 'd have to setup a whole spagetti of profiles to make this work
[19:04:31] <ge0ffrey> when dev testing, use full web.xml, when unit testing don't, when building on hudson do so you can build the distribution wars for all appservers and also don't because otherwise the tests will fail
[19:07:47] *** epbernard has joined #weld-dev
[19:07:47] *** epbernard is now known as emmanuel
[19:08:41] *** emmanuel has quit IRC
[19:10:33] <ge0ffrey> alesj: Can't WeldListener have some code like this "if (onJbossAS7) do nothing"
[19:10:50] *** davidrallen has quit IRC
[19:15:26] *** davidrallen has joined #weld-dev
[19:15:27] <alesj> ge0ffrey: it would then probably have to have the same code for all app servers
[19:15:36] <alesj> AS6, GF3, GF31, ...
[19:16:15] <ge0ffrey> alesj: good idea
[19:16:35] <ge0ffrey> or the other way around, only when on jetty, tomcat, jboss EAP 5.1, do something
[19:17:46] <ge0ffrey> alesj: whatever takes the pain away from the users of weld who try to use weld on different app servers and don't like jumping through hoops (so people who are used to spring :)
[19:18:36] <ge0ffrey> I like weld's core and design a lot, except for the bootstrap :/ too many hoops that are appserver dependent
[19:22:03] <alesj> hmmm, i'll think about what can be done
[19:22:07] <alesj> and grab Pete as well
[19:22:13] <alesj> since he's here as well
[19:25:14] <ge0ffrey> alesj, PeteRoyle: I created an issue for it https://issues.jboss.org/browse/WELD-983
[19:25:15] <jbossbot> jira [WELD-983] Portable war: Weld deployment on JBoss AS 7 should not require to remove the WeldListener line from the web.xml [Open (Unresolved) Bug, Critical, Unassigned] https://issues.jboss.org/browse/WELD-983
[19:25:27] *** struberg has joined #weld-dev
[19:27:56] <alesj> ge0ffrey: i meant pmuir :-)
[19:29:12] <ge0ffrey> ow :)
[19:30:06] <ge0ffrey> gotta go
[19:30:24] <ge0ffrey> alesj: tnx for all your help
[19:30:33] <ge0ffrey> I am glad I am a few steps forward
[19:32:35] *** ge0ffrey has quit IRC
[19:35:22] *** davidrallen has quit IRC
[20:02:24] *** struberg has quit IRC
[20:14:28] *** kevinpollet has quit IRC
[20:42:15] *** alesj has quit IRC
[20:45:14] *** mathieuancelin has joined #weld-dev
[21:25:17] *** rruss has quit IRC
[22:40:42] *** sbryzak has quit IRC
[22:49:13] *** sbryzak has joined #weld-dev
[22:49:13] *** sbryzak has joined #weld-dev
[23:04:44] *** emmanuel has joined #weld-dev
[23:10:27] *** OndrejZizka has quit IRC
[23:13:30] *** mathieuancelin has quit IRC
[23:13:38] *** OndrejZizka has joined #weld-dev
[23:31:34] *** emmanuel has quit IRC
[23:33:12] *** rruss has joined #weld-dev

top