[00:01:53] *** stuartdouglas has joined #weld-dev [00:34:25] *** bobmcw has quit IRC [01:24:40] *** emmanuel has quit IRC [02:21:40] *** PeteRoyle has quit IRC [02:29:23] *** lightguard_jp has quit IRC [02:40:18] *** PeteRoyle has joined #weld-dev [03:39:45] *** stuartdouglas has quit IRC [03:56:09] *** stuartdouglas has joined #weld-dev [05:33:07] *** magesh has joined #weld-dev [05:59:46] *** lightguard_jp has joined #weld-dev [06:27:18] *** PeteRoyle has quit IRC [08:08:56] *** magesh has left #weld-dev [08:12:30] *** magesh has joined #weld-dev [08:12:46] *** jharting has joined #weld-dev [08:13:52] *** magesh has quit IRC [08:16:58] *** magesh has joined #weld-dev [08:35:19] <magesh> Hi Guys any one know why I am no longer able to deploy the org.jboss.weld.examples.se:weld-se-hello-world into the White Rabbit :) [08:35:36] <stuartdouglas> The weld se example? [08:35:51] <stuartdouglas> That is not mean't to be deployed on an app server [08:41:29] <magesh> stuartdouglas: Thanks, I will try a simple one. [08:42:26] <magesh> stuartdouglas: My issue is our SwitchYard application that were working fine in AS7 Beta3 now do not deploy in CR1. They throw the same error as this one [08:42:38] <stuartdouglas> do you have a stack trace? [08:42:47] <magesh> stuartdouglas: One sec [08:45:13] <magesh> stuartdouglas: http://pastebin.com/WqVXTx5B [08:45:40] <stuartdouglas> hmm, thats an odd one [08:45:48] <stuartdouglas> where can I can the code? [08:46:06] <stuartdouglas> It looks like @Reference has been turned into a qualifier using a portable extension [08:46:12] <stuartdouglas> which is kinda weird [08:46:25] <magesh> stuartdouglas: https://github.com/jboss-switchyard/quickstarts/tree/master/demos/orders [08:47:54] <magesh> stuartdouglas: We do have our own PE https://github.com/jboss-switchyard/components/blob/master/bean/src/main/java/org/switchyard/component/bean/SwitchYardCDIServiceDiscovery.java [08:50:37] <stuartdouglas> ah, it's a difference @Reference annotation [08:51:39] <stuartdouglas> where is the bean that satisfies the IP supposed to come from [08:52:36] <magesh> stuartdouglas: In the same deployment [08:53:33] <magesh> stuartdouglas: I think Weld think that it is the one that needs to resolve this, where as it is supposed to be done by our PE, is that right? [08:54:11] <stuartdouglas> I don't actually understand where the bean is supposed to come from [08:54:26] <stuartdouglas> InventoryServiceBean is not qualified @Reference [08:54:31] <magesh> stuartdouglas: https://github.com/jboss-switchyard/components/blob/master/bean/src/main/java/org/switchyard/component/bean/Reference.java [08:55:16] <stuartdouglas> ah, the PE is doing something [08:56:12] <magesh> stuartdouglas: It is our custom annotation, yes [08:56:19] <stuartdouglas> magesh: How is the PE actually deployed [08:56:30] <stuartdouglas> As far as I can see that example just generates a jar [08:56:45] <magesh> stuartdouglas: Through the services/javax.enterprise.inject.spi.Extension [08:56:57] <stuartdouglas> that is not present in the jar [08:57:13] <magesh> stuartdouglas: Ah, you mean that the PE seem to have not been loaded? [08:57:22] <magesh> stuartdouglas: Yes that could be the issue :) [08:57:34] <stuartdouglas> I mean that the orders jar file does not contain any switchyard classes [08:57:45] <stuartdouglas> So I am not really sure how it is supposed to work? [08:58:18] <magesh> stuartdouglas: We have them in our deployers [08:59:00] <stuartdouglas> ah, so your deployer adds the portable extension? [08:59:10] <magesh> stuartdouglas: I think I know what is wrong. Yes [08:59:16] <stuartdouglas> that actually changed between CR1 and Beta3 [08:59:53] <stuartdouglas> where are your deployers and which phase do they run in? [09:00:22] <stuartdouglas> At a guess I would say that the extension is being added to the DUP to late [09:00:42] <magesh> stuartdouglas: They are in modules org.switchyard and added as AS7 extension [09:01:02] <stuartdouglas> what phase and priority are they? [09:01:30] <magesh> stuartdouglas: Priority 0x4000 [09:01:37] <stuartdouglas> which phase? [09:02:08] *** jharting has quit IRC [09:02:10] *** jharting1 has joined #weld-dev [09:02:13] <magesh> stuartdouglas: PARSE, DEPENDENDCIES, POST_MODULE, INSTALL [09:02:21] <stuartdouglas> ? [09:02:30] <stuartdouglas> Which phase adds the portable extension? [09:02:44] <stuartdouglas> can you just show me your deployers on github? [09:03:23] <magesh> stuartdouglas: DEPENDENDCIES via service import [09:03:27] <magesh> stuartdouglas: One sec [09:04:12] <magesh> stuartdouglas: https://github.com/jboss-switchyard/core/tree/master/deploy/jboss-as7/extension/src/main/java/org/switchyard/as7/extension [09:04:41] <magesh> stuartdouglas: https://github.com/jboss-switchyard/core/blob/master/deploy/jboss-as7/extension/src/main/java/org/switchyard/as7/extension/deployment/SwitchYardDependencyProcessor.java [09:04:41] <stuartdouglas> Ah, I see what the issue is [09:04:51] *** jharting1 has quit IRC [09:05:42] <stuartdouglas> weld does not use the ClassLoader to find extensions now, it just uses the ones in the actual deployment, if you want to integrate a portable extension you add it to the portable extensions attachment in your processor [09:06:07] <stuartdouglas> one sec while I look for an example [09:06:15] <magesh> stuartdouglas: I thought so :) [09:06:43] <stuartdouglas> https://github.com/jbossas/jboss-as/blob/master/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsCdiIntegrationProcessor.java#L107 [09:06:59] <stuartdouglas> make sure it is only added once for multi-module deployments [09:07:08] <stuartdouglas> otherwise you will get all kinds of problems :-) [09:07:17] *** jharting has joined #weld-dev [09:07:18] <magesh> stuartdouglas: cool, thanks a lot [09:07:58] *** maschmid has joined #weld-dev [09:18:32] *** kevinpollet has joined #weld-dev [09:32:19] *** aslak has joined #weld-dev [10:27:31] *** PeteRoyle has joined #weld-dev [10:44:06] <maschmid> aslak: ping [10:51:28] *** emmanuel has joined #weld-dev [11:03:41] *** maschmid is now known as maschmid_afk [11:17:34] <aslak> maschmid_afk, hey [11:33:37] *** magesh1 has joined #weld-dev [11:35:14] *** magesh has quit IRC [11:42:47] *** kevinpollet has quit IRC [11:45:09] *** kevinpollet has joined #weld-dev [11:50:38] *** emmanuel has quit IRC [11:50:38] *** kevinpollet has quit IRC [11:50:42] *** kevinpollet_ has joined #weld-dev [11:59:43] *** lightguard_jp is now known as lightguard_jp_aw [12:01:59] *** epbernard has joined #weld-dev [12:01:59] *** epbernard is now known as emmanuel [12:21:02] *** maschmid_afk is now known as maschmid [12:23:09] <maschmid> aslak: Hi! I am trying out your arq-upgrade branch, running the weld integration tests on AS7... Is it supposed to work now? I have noticed that it fails to report any errors... (any test with an error just doesn't get reported... ) [12:27:01] <aslak> maschmid, i've gotten them to report when using surefire 2.8 and the remote as7 container i believe.. [12:27:16] <aslak> maschmid, there is something odd going on, havn't really found the bug in surefire yet [12:27:51] <aslak> maschmid, sorry, 2.9 [12:27:55] <maschmid> aslak: ok, I'll try that, thanks. [12:28:08] <aslak> 2.9 won't work with managed tho, due to some bug in there when reading the console inputstream.. just hangs [12:33:13] *** aslak is now known as aslak_afk [12:35:13] *** kevinpollet_ has quit IRC [12:35:48] *** pmuir has joined #weld-dev [12:35:48] *** pmuir has quit IRC [12:35:48] *** pmuir has joined #weld-dev [13:27:35] *** kevinpollet has joined #weld-dev [13:29:47] *** magesh1 is now known as magesh [14:08:34] *** emmanuel has quit IRC [14:13:48] *** epbernard has joined #weld-dev [14:13:49] *** epbernard is now known as emmanuel [14:18:44] *** alesj has joined #weld-dev [14:56:44] *** magesh has left #weld-dev [15:22:21] *** balunasj has joined #weld-dev [15:30:22] *** kevinpollet_ has joined #weld-dev [15:31:26] *** alesj has quit IRC [15:34:04] *** kevinpollet has quit IRC [15:34:04] *** kevinpollet_ is now known as kevinpollet [15:42:32] *** jharting has quit IRC [15:48:28] *** balunasj is now known as balunasj_busy [15:59:50] *** maschmid has quit IRC [16:31:26] *** kevinpollet has quit IRC [16:38:25] *** kevinpollet has joined #weld-dev [16:54:41] *** kevinpollet has quit IRC [17:18:21] *** oskutka has joined #weld-dev [17:18:50] *** jharting has joined #weld-dev [17:28:18] *** emmanuel has left #weld-dev [17:35:15] *** kevinpollet has joined #weld-dev [17:52:19] *** aslak_afk is now known as aslak [17:53:46] *** oskutka has quit IRC [18:53:28] *** lightguard_jp_aw is now known as lightguard_jp [18:55:53] *** pmuir has quit IRC [18:59:22] *** aslak has quit IRC [18:59:43] *** aslak has joined #weld-dev [19:00:44] *** aslak has quit IRC [20:34:00] *** kevinpollet has quit IRC [20:36:49] *** aslak has joined #weld-dev [20:51:37] *** lightguard_jp has left #weld-dev [21:08:33] *** balunasj_busy has quit IRC [21:40:49] *** bobmcw has joined #weld-dev [21:42:30] *** kevinpollet has joined #weld-dev [21:54:41] *** kevinpollet has quit IRC [21:59:42] *** bobmcw has quit IRC [23:57:19] *** jharting has quit IRC