August 22, 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

[00:00:05] <alesj> at least i don't see any test app being pushed / deployed
[00:00:27] <alesj> ah, no
[00:00:32] <alesj> the app is deployed
[00:00:38] <alesj> let me see if the test is executed
[00:01:50] <alesj> aslak: i would guess the thread is blocked
[00:01:58] <alesj> hence no test is invoked
[00:02:08] <alesj> the deployment/app is deployed
[00:02:11] <alesj> but no tests
[00:02:16] <alesj> i guess we're blocking on KS
[00:02:26] <aslak> could be
[00:02:37] <aslak> would make sense..
[00:02:41] <aslak> but why after deploy..
[00:02:55] <alesj> the KS takes all args
[00:03:01] <alesj> including the app it needs to deploy
[00:03:13] <aslak> aa yes.. no multi deploy there.. a deplot pr instance
[00:03:18] <alesj> yup
[00:04:59] <alesj> any way to synch ARQ with bckg thread/
[00:05:49] <alesj> aslak: ^
[00:05:58] <aslak> no.. you'll need to do that in the contianer impl
[00:06:31] <aslak> managed impls basically fork and wait for some port to apare
[00:07:29] <alesj> ok, i'll think of something tomorrow
[00:07:32] <alesj> thanks for the help!
[00:07:39] <aslak> np :)
[00:15:53] *** alesj has quit IRC
[00:35:43] *** johnament has joined #jbosstesting
[00:38:26] *** aslak has quit IRC
[00:40:50] *** johnament has quit IRC
[00:51:39] *** johnament has joined #jbosstesting
[01:08:07] *** johnament has quit IRC
[02:24:43] *** johnament has joined #jbosstesting
[03:23:22] *** echelog-2 has joined #jbosstesting
[04:06:04] *** ldimaggi has joined #jbosstesting
[05:32:55] *** ldimaggi has quit IRC
[05:35:56] *** johnament has quit IRC
[08:12:56] *** jharting has joined #jbosstesting
[08:29:47] *** mgoldmann has joined #jbosstesting
[08:35:43] *** oskutka has joined #jbosstesting
[08:37:33] *** alesj has joined #jbosstesting
[08:47:48] *** vnvarsete has joined #jbosstesting
[08:58:41] *** maschmid has joined #jbosstesting
[09:09:05] *** mgoldmann_ has joined #jbosstesting
[09:10:56] *** mgoldmann has quit IRC
[09:11:33] *** ge0ffrey has joined #jbosstesting
[09:12:22] *** mgoldmann has joined #jbosstesting
[09:15:53] *** mgoldmann_ has quit IRC
[09:16:21] *** ge0ffrey has joined #jbosstesting
[09:29:57] *** kevinpollet has joined #jbosstesting
[09:43:30] *** lfryc has joined #jbosstesting
[10:21:11] *** oskutka has quit IRC
[10:22:27] *** oskutka has joined #jbosstesting
[10:31:06] *** vtunka has joined #jbosstesting
[10:34:22] *** maschmid has quit IRC
[10:35:55] *** oskutka has quit IRC
[10:36:53] *** maschmid has joined #jbosstesting
[10:37:09] *** oskutka has joined #jbosstesting
[10:53:31] *** DavideD has quit IRC
[11:01:02] *** milestone has joined #jbosstesting
[11:08:38] *** dabloem has joined #jbosstesting
[11:10:46] *** maschmid has quit IRC
[11:19:09] *** alesj has quit IRC
[11:19:10] *** alesj1 has joined #jbosstesting
[11:32:02] *** maeste has joined #jbosstesting
[11:32:21] *** alesj1 has quit IRC
[11:41:28] *** bgeorges has quit IRC
[11:44:48] *** alesj has joined #jbosstesting
[12:15:34] *** maschmid has joined #jbosstesting
[12:17:47] *** kevinpollet has quit IRC
[12:18:54] *** aslak has joined #jbosstesting
[12:18:55] *** aslak has quit IRC
[12:18:55] *** aslak has joined #jbosstesting
[12:45:57] *** nickarls has left #jbosstesting
[12:46:13] *** nickarls has joined #jbosstesting
[12:48:42] <alesj> aslak: ok, new thread makes it work
[12:49:15] <alesj> aslak: and i'm delaying the acrhive deploy by checking if th server is up already
[13:14:46] *** kevinpollet has joined #jbosstesting
[13:49:34] <aslak> alesj, yea, that should do it
[14:04:22] <alesj> how do other managed containers check if the server is up?
[14:04:30] <alesj> aslak: ^
[14:07:02] *** jose_freitas has joined #jbosstesting
[14:24:25] *** oskutka1 has joined #jbosstesting
[14:24:42] *** oskutka has quit IRC
[14:26:33] <aslak> alesj, jboss use port check..
[14:26:41] <aslak> i think tomcat does the same
[14:28:35] <alesj> which code is that? :-)
[14:28:47] <alesj> ? since you know ...
[14:29:40] <aslak> https://github.com/jbossas/jboss-as/blob/master/arquillian/container-managed/src/main/java/org/jboss/as/arquillian/container/managed/ManagedDeployableContainer.java#L135
[14:31:50] <aslak> alesj, tho in that specific case it should be improved a bit i think. using Socket up until we have a open socket then move over to ManagementClient. basically to workaround the Management Clients internal 5 sec timeout
[14:49:34] *** dabloem has quit IRC
[14:49:39] *** lfryc has quit IRC
[14:53:47] *** oskutka1 has quit IRC
[14:55:58] *** lfryc has joined #jbosstesting
[15:10:31] *** oskutka has joined #jbosstesting
[15:12:54] *** vnvarsete has quit IRC
[15:15:31] *** ldimaggi has joined #jbosstesting
[15:24:37] *** kevinpollet has quit IRC
[15:27:16] *** ALR has joined #jbosstesting
[15:32:40] *** kevinpollet has joined #jbosstesting
[15:39:31] *** jharting has quit IRC
[15:48:31] *** kevinpollet has quit IRC
[15:56:45] *** kevinpollet has joined #jbosstesting
[15:57:21] <jose_freitas> good morning aslak. do you mind on giving some help on arqdeploying on jboss7?
[15:58:36] <aslak> jose_freitas, morning
[15:58:40] <aslak> jose_freitas, sup?
[15:59:19] <jose_freitas> deploys on 7.0.1 don't ship with lib jars. even though I suspect they are there, because I could debug the testEnricher (which should have been shipped within the war)
[15:59:55] <jose_freitas> I'm trying to look at the deployed  war. but 'content' file has no lib jars.
[16:00:24] <jose_freitas> so I was thinking if jars are being 'uploaded' to another place
[16:00:30] <aslak> jose_freitas, correct, the @Deployment is left as is with the jmx-as7 protocol, but the ArchiveAppenders etc are deployed as a one time deployment before the first test and undeployed at last. in the arquillian-service
[16:01:39] <aslak> jose_freitas, and hmm.. you can't really export that deployment via arq. you can possible see it in deploy or similar during a test run
[16:01:40] <jose_freitas> hm
[16:02:16] <jose_freitas> and where are they deployed?
[16:02:49] <jose_freitas> I mean what archiveappender is deploying
[16:03:17] <aslak> jose_freitas, https://github.com/jbossas/jboss-as/blob/master/arquillian/protocol-jmx/src/main/java/org/jboss/as/arquillian/protocol/jmx/JMXProtocolPackager.java
[16:03:19] <aslak> https://github.com/jbossas/jboss-as/blob/master/arquillian/protocol-jmx/src/main/java/org/jboss/as/arquillian/protocol/jmx/ArquillianServiceDeployer.java
[16:04:03] <jose_freitas> also, breakpoint in archiveAppender is not being called, yet, I think it's running.]
[16:04:36] <jose_freitas> aslak: should this happens even with <defaultProtocol type="Servlet 3.0" />
[16:04:37] <jose_freitas> ?
[16:04:43] <aslak> no
[16:05:05] <aslak> with defaultProtocol Servlet 3.0 it should use the Servlet one and they should be deployed along side
[16:05:19] <aslak> do you include a dep on the ServletProtocol artifact ?
[16:05:24] <jose_freitas> yes
[16:05:49] <aslak> jose_freitas, pastebin your pom and arq.xml
[16:07:26] <jose_freitas> okay
[16:09:18] <jose_freitas> hm. nevermind, corrected arq.xml
[16:09:34] <jose_freitas> now it deployed the libs within the wa
[16:09:36] <jose_freitas> war
[16:10:27] <jose_freitas> I needed a jboss7 container
[16:10:31] <jose_freitas> eventhough it's empty
[16:10:50] <jose_freitas> as it was empty, I removed it
[16:11:15] <jose_freitas> and that was causing that arq.xml defaultprotocol was not being read
[16:11:23] <jose_freitas> or, it seems so
[16:13:34] <jose_freitas> here it is nowhttp://pastebin.com/9KSGr11a
[16:16:14] <aslak> jose_freitas, you don't have any @OverProtocol defined on your @Deployment ?
[16:16:48] <jose_freitas> nope
[16:16:55] <jose_freitas> just on arq.xml
[16:18:24] <aslak> hmm, not sure how that could happen looking at just the code
[16:18:24] <jose_freitas> hm
[16:18:56] <jose_freitas> what exactly?
[16:19:05] <aslak> defaultProtocol not being used
[16:19:29] <aslak> how did it look before you fixed it..
[16:19:31] <aslak> arq.xml
[16:19:36] <jose_freitas> without jboss7 container
[16:20:07] <aslak> tomcat set as dfault true ?
[16:20:07] <jose_freitas> but I rushed things a little bit. cause I checked another build and it still deploying a 30kb war
[16:20:20] <jose_freitas> no one was default=true
[16:20:40] <jose_freitas> so, it didn't corrected the problem
[16:21:42] <aslak> hmm
[16:22:05] <jose_freitas> I might have checked the wrong folder.
[16:22:10] <jose_freitas> dunno
[16:25:06] <jose_freitas> btw, it seems that jboss7 will need the aditional jars we're speaking about last week (xerces and xalan).
[16:25:37] <jose_freitas> I was thinking on creating a forge plugin to setup jsfunit
[16:26:27] <jose_freitas> it would check if arquillian was setup and on which server.
[16:28:48] *** dabloem has joined #jbosstesting
[16:30:44] <aslak> jose_freitas, yea, as7 would need them. it has strict classloading
[16:34:31] <jose_freitas> aslak: weirdly, restarting the server and running the tests again, worked. defaultProtocol was read, without anychanges.
[16:35:28] <aslak> hmm.. surefire v. you on btw?
[16:35:50] <aslak> not that it really matters, but the service will be kept on the server if your running with surefire < 2.9
[16:38:14] <aslak> bbl
[16:38:18] *** oskutka has quit IRC
[16:44:43] <jose_freitas> hm aslak: surefire plugin version is 2.4.3
[16:45:49] *** oskutka has joined #jbosstesting
[16:58:16] *** jamezp_afk is now known as jamezp
[17:06:43] *** milestone has quit IRC
[17:16:43] *** jamezp has quit IRC
[17:27:18] *** ALR has quit IRC
[17:36:30] *** jamezp has joined #jbosstesting
[18:04:02] *** maeste has quit IRC
[18:09:24] *** oskutka has quit IRC
[21:27:12] *** echelog-2 has joined #jbosstesting
[21:40:35] *** mgoldmann has quit IRC
[22:04:02] <lightguard_jp> aslak: That tweet that you sent, you hacked up surefire to get it to work?
[22:09:39] *** alesj has joined #jbosstesting
[22:20:24] *** aslak has quit IRC
[22:54:36] *** dabloem has quit IRC
[22:56:37] *** ldimaggi has quit IRC
[23:01:58] *** kevinpollet has quit IRC
[23:29:32] *** ALR has quit IRC
[23:32:37] *** kevinpollet has joined #jbosstesting
[23:47:04] *** kevinpollet has quit IRC
[23:49:47] *** nilian has quit IRC

top