[00:03:39] *** jbossbot has joined #jbosstesting [00:04:41] *** Guest55217 has joined #jbosstesting [00:06:43] *** Guest55217 has quit IRC [00:06:43] *** Guest55217 has joined #jbosstesting [00:06:51] *** Guest55217 is now known as dmlloyd [00:21:57] *** lightguard_jp has joined #jbosstesting [00:22:41] *** lightgua1d_jp has joined #jbosstesting [00:22:42] *** lightguard_jp has quit IRC [00:46:07] *** bobmcw has quit IRC [00:46:25] *** bobmcw has joined #jbosstesting [01:21:23] *** lightgua1d_jp has quit IRC [02:08:43] *** alesj has quit IRC [02:58:14] *** ldimaggi_ has joined #jbosstesting [03:48:19] *** johnament has quit IRC [03:58:20] *** ldimaggi_ has quit IRC [04:11:30] *** stuartdouglas has left #jbosstesting [04:15:25] *** stuartdouglas has joined #jbosstesting [06:00:19] *** hatchetman82 has quit IRC [06:37:24] *** jdlee has quit IRC [06:44:45] *** bgeorges has joined #jbosstesting [07:26:11] *** bgeorges has quit IRC [07:26:31] *** bgeorges has joined #jbosstesting [08:09:29] *** oskutka has joined #jbosstesting [08:12:45] *** jharting has joined #jbosstesting [08:34:41] *** kenglxn has joined #jbosstesting [08:34:43] *** kenglxn has left #jbosstesting [08:35:55] *** kenglxn has joined #jbosstesting [08:35:58] *** kenglxn has left #jbosstesting [08:44:32] *** GTobi has joined #jbosstesting [08:45:54] *** hatchetman82 has joined #jbosstesting [08:49:38] *** ge0ffrey has joined #jbosstesting [09:15:07] *** kenglxn has joined #jbosstesting [09:15:08] *** kenglxn has left #jbosstesting [09:23:35] *** kpiwko has joined #jbosstesting [09:24:27] *** Jaikiran has joined #jbosstesting [09:30:33] *** lfryc has joined #jbosstesting [09:35:53] *** michaelschuetz has joined #jbosstesting [09:39:36] *** mgoldmann has joined #jbosstesting [10:17:45] *** maeste has joined #jbosstesting [10:23:03] *** Jaikiran is now known as Jaikiran|Lunch [10:26:12] *** alesj has joined #jbosstesting [10:28:39] *** alesj has quit IRC [10:29:04] *** alesj has joined #jbosstesting [10:34:24] *** alesj has quit IRC [10:34:53] *** alesj has joined #jbosstesting [10:41:27] *** wolfc has joined #jbosstesting [10:53:01] *** bgeorges has quit IRC [10:54:11] *** bgeorges has joined #jbosstesting [10:59:18] *** bgeorges has quit IRC [11:06:33] *** vtunka has joined #jbosstesting [11:09:55] *** maeste has quit IRC [11:22:31] *** maeste has joined #jbosstesting [11:36:04] *** michaelschuetz has quit IRC [11:47:07] *** pmuir has joined #jbosstesting [11:47:56] *** Jaikiran|Lunch is now known as Jaikiran [12:15:14] *** Jaikiran is now known as Jaikiran|AFK [12:31:58] *** michaelschuetz has joined #jbosstesting [12:34:24] *** michaelschuetz1 has joined #jbosstesting [12:36:19] *** michaelschuetz has quit IRC [12:42:07] *** michaelschuetz1 has quit IRC [13:51:22] *** vtunka has quit IRC [13:52:05] *** vtunka has joined #jbosstesting [14:35:55] *** maeste has quit IRC [14:47:26] *** jdlee has joined #jbosstesting [14:50:27] *** maeste has joined #jbosstesting [14:57:56] *** vtunka has quit IRC [15:00:41] *** vtunka has joined #jbosstesting [15:02:29] *** hatchetman82 has quit IRC [15:02:36] *** bgeorges has joined #jbosstesting [15:10:34] *** Jaikiran|AFK is now known as Jaikiran [15:20:08] *** jharting has quit IRC [15:25:01] *** asgeirf has joined #jbosstesting [15:34:43] *** michaelschuetz has joined #jbosstesting [15:53:39] *** bgeorges has quit IRC [15:56:58] *** tcunning has joined #jbosstesting [16:07:40] *** michaelschuetz has quit IRC [16:15:51] *** bambitroll has joined #jbosstesting [16:16:37] <bambitroll> hello JBoss testing guys :) [16:16:38] *** vtunka has quit IRC [16:16:55] <bambitroll> I have a question regarding PersistenceContext within an Arquillian archive [16:17:43] <bambitroll> isn't it possible to do something like this: [16:17:43] <bambitroll> @PersistenceContext [16:17:43] <bambitroll> private EntityManager em; [16:17:45] <bambitroll> ? [16:18:33] <bambitroll> I see that the persistence unit is properly deployed but I get a NPE when I try to use it... [16:18:41] <bambitroll> any idea what I can do? [16:21:29] <alesj> bambitroll: this should work, check the docs ... [16:22:15] <bambitroll> alesj: ok Thanks [16:25:39] <bambitroll> just to make sure you understand what I am trying to do, I want to use EntityManager in my Arquillian Integration Test class, not just in the bean I wanna test... [16:30:58] *** vtunka has joined #jbosstesting [16:44:34] <alesj> yeah [16:44:49] <alesj> speaking from Weld side, we can easily inject BeanManager [16:44:56] <alesj> dunno why it wouldn't be possible to use PC [16:45:19] <alesj> i should be just a matter of havinbg the right Enricher or something [16:48:42] *** oskutka has quit IRC [16:50:39] *** Jaikiran has quit IRC [16:56:08] *** ALR has joined #jbosstesting [17:02:03] <bambitroll> I made it work but with: [17:02:04] <bambitroll> EntityManagerFactory emFactory = Persistence.createEntityManagerFactory("my_unit_name"); [17:02:04] <bambitroll> EntityManager em = emFactory.createEntityManager(); [17:02:20] <bambitroll> and using RESOURCE_LOCAL in persistence.xml [17:04:41] <kpiwko> bambitrol: there's an example of such test at https://github.com/kpiwko/auction/blob/master/src/test/java/org/jboss/lectures/auction/ejb/AuctionManagerTest.java [17:04:44] *** vtunka has quit IRC [17:05:19] <kpiwko> bambitroll: ^ [17:05:49] <bambitroll> Thanks I will have a look! [17:06:32] *** bleathem has joined #jbosstesting [17:09:30] *** asgeirf has quit IRC [17:10:08] *** jdlee has quit IRC [17:18:50] *** mgoldmann has quit IRC [17:18:56] *** vtunka has joined #jbosstesting [17:24:36] *** michaelschuetz has joined #jbosstesting [17:26:33] *** jdlee has joined #jbosstesting [17:26:33] *** jdlee has joined #jbosstesting [17:33:07] *** bambitroll has quit IRC [17:35:32] *** bgeorges has joined #jbosstesting [17:37:28] *** bgeorges has quit IRC [17:49:56] *** pmuir has quit IRC [17:58:18] *** michaelschuetz has quit IRC [18:05:10] *** asgeirf has joined #jbosstesting [18:27:16] *** Tashtego has joined #jbosstesting [18:28:20] *** maeste has quit IRC [18:29:09] <Tashtego> hi. i am experiencing problems with netbeans 6.9/maven3/junit4 and arquillian. my unit test works with a maven - clean install. but it fails with netbeans -> test file. reason is the different classpath (2 versions of slf4j found, in local maven repos and in embedded glassfish). does anyone know how to handle this? [18:38:23] <jdlee> can you exclude the problematic version? [18:39:01] <Tashtego> i need the dependency to compile my code. but it is already in "provided" scope [18:39:18] <Tashtego> anyways my code isnt even executed ... the test failes even bevore. while initializing [18:39:29] <Tashtego> on startup of the glassfish server [18:39:36] <Tashtego> the deployment didnt yet happen at that time [18:41:59] <Tashtego> the embedded glassfish has a slf4j 1.5.6. in my local repository there is a version 1.6.0. and this local maven repos seems to be in classpath on startup of the test [18:44:54] *** asgeirf has quit IRC [18:48:29] <jdlee> if one dependency is already pulling in slf4j, shouldn't you be able to exclude the other? [18:48:42] *** alesj has quit IRC [18:49:49] *** Tashtego has quit IRC [18:54:52] *** Tashtego has joined #jbosstesting [18:59:18] *** vtunka has quit IRC [19:02:49] *** Tashtego has quit IRC [19:04:05] *** GTobi has quit IRC [19:04:35] *** lfryc has quit IRC [19:12:11] <jbossbot> git [arquillian] push next 0ad0038.. Dan Allen ARQ-288... [19:12:13] <jbossbot> jira [ARQ-288] Document how to integrate Arquillian into non-Maven builds (build integration chapter) [Coding In Progress (Unresolved) Task, Major, Dan Allen] https://issues.jboss.org/browse/ARQ-288 [19:12:13] <jbossbot> git [arquillian] push next 9dbfd0e.. Dan Allen update test library and cleanups... [19:12:14] <jbossbot> git [arquillian] push next 709d51a.. Dan Allen disable jbossas-embedded-6 until the test is fixed [19:12:14] <jbossbot> git [arquillian] push next c4676c2.. Dan Allen Merge branch 'ARQ-288_build_int' of https://github.com/mojavelinux/arquillian into mojavelinux-ARQ-288_build_int [19:12:14] <jbossbot> git [arquillian] push next 04e99bb.. Dan Allen also disable reloaded-embedded-1 [19:12:14] <jbossbot> git [arquillian] push next e696431.. Dan Allen change thresholds for Hudson [19:12:14] <jbossbot> git [arquillian] push next URL: http://github.com/arquillian/arquillian/compare/9d6b4b9...e696431 [19:16:27] *** kpiwko has quit IRC [19:16:33] *** jdewinne has joined #jbosstesting [19:16:36] *** jdewinne has left #jbosstesting [19:37:14] *** Zjukov has joined #jbosstesting [19:38:20] <Zjukov> INFO: Deployment of application failed - Exception while preparing the app : java.lang.RuntimeException: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence <-- familiar to anyone? :-/ [19:40:03] *** aslak has joined #jbosstesting [19:41:04] *** asgeirf has joined #jbosstesting [20:07:29] *** rruss has joined #jbosstesting [20:24:07] *** ge0ffrey has quit IRC [20:38:02] *** alesj has joined #jbosstesting [20:45:55] *** jdlee has quit IRC [20:57:01] *** jdlee has joined #jbosstesting [20:57:02] *** jdlee has joined #jbosstesting [21:14:18] <Zjukov> yey! I can now run arquillian tests against a remote GlassFish instance! :-D [21:14:47] <Zjukov> But my annotated components (UserTransaction and EntityManager) are null, how come? [21:17:30] *** jdewinne has joined #jbosstesting [21:39:45] *** Tashtego has joined #jbosstesting [21:41:37] *** Tashtego has quit IRC [21:44:38] *** Tashtego has joined #jbosstesting [21:44:57] <Tashtego> aslak!! ;) great to see you finally. searched 2 days for you ;) [21:45:09] <Tashtego> aslak i could need your help / a tip ;) [21:52:23] <aslak> Tashtego, heya.. [21:52:29] <Tashtego> hiii ;) [21:52:36] <Tashtego> hope you got 2 minutes for me ;) [21:52:44] <Tashtego> is about arquillian as you can guess ;) [21:53:20] <Tashtego> my environment is maven3, netbeans 6.9, embedded glassfish and arquillian 1.0.0.4 alpha [21:53:28] <Tashtego> alpha4 [21:54:05] <Tashtego> the thing is my unit tests run fine when i do a maven clean install.... but when i try to run the file with netbeans -> run file then my unit tests fail to initialize. [21:54:30] <Tashtego> the concrete error is that the embedded glassfish finds 2 versions of slf4j, one inside embedded glassfish, one in my local maven repository. [21:54:52] <Tashtego> it seems the classpath is different when running the unit test instead of doing clean install.. [21:55:22] <Tashtego> ever had this problem? [21:55:55] <aslak> is embedded glassfish a part of your default profile? [21:56:50] <Tashtego> i have the dependency inside the pom if you mean that. i tried the profile as mentioned in the tutorial but it didnt seem to help [21:56:54] <Tashtego> i can post my pom if it helps [21:57:56] <Tashtego> http://pastebin.com/AyPrKR4n [21:57:56] <tcunning> aslak - i have a question on getting the_bigger_picture to build if you have a minute too [21:59:12] <jbossbot> git [arquillian] push next 6465863.. Aslak Knutsen ARQ-196 Add new IOC Arquillian core... [21:59:14] <jbossbot> jira [ARQ-196] Should support controlling multiple Containers [Resolved (Done) Feature Request, Minor, Aslak Knutsen] https://issues.jboss.org/browse/ARQ-196 [21:59:14] <jbossbot> git [arquillian] push next 4f516dd.. Aslak Knutsen ARQ-196 Add new Arquillian API. Support for Multiple deployments, Decoupled Protocols, Multi containers with Target'ed deployments. [21:59:14] <jbossbot> git [arquillian] push next 8a220df.. Aslak Knutsen ARQ-196 Add rearanged Arquillian Core. Move Core API to Arq SPI. Move Core Impl to Arq Impl [21:59:14] <jbossbot> git [arquillian] push next 495810a.. Aslak Knutsen ARQ-196 ARQ-153 Update SPI.... [21:59:15] <jbossbot> jira [ARQ-153] Protocol configuration element should be separate from Container [Resolved (Done) Feature Request, Major, Aslak Knutsen] https://issues.jboss.org/browse/ARQ-153 [21:59:15] <jbossbot> git [arquillian] push next f0a4336.. Aslak Knutsen ARQ-196 ARQ-153 Update impl to new Arquillian Core.... [21:59:15] <jbossbot> git [arquillian] push next b7ef4b7.. Aslak Knutsen ARQ-196 Update TestEnrichers to new Arquillian Core [21:59:15] <jbossbot> git [arquillian] push next 9ad11ae.. Aslak Knutsen ARQ-196 Update TestNG and JUnit integration to new Arquillian Core. [21:59:16] <jbossbot> git [arquillian] push next b9c6d36.. Aslak Knutsen ARQ-153 ARQ-110 Moved Local protocol to Arq impl-base [21:59:16] <jbossbot> jira [ARQ-110] RunMode Local should reuse protocol-local [Resolved (Done) Bug, Minor, Aslak Knutsen] https://issues.jboss.org/browse/ARQ-110 [21:59:17] <jbossbot> git [arquillian] push next 5347e6e.. Aslak Knutsen ARQ-153 Update Servlet protocol to new SPI.... [21:59:17] <jbossbot> git [arquillian] push next 0ca9d37.. Aslak Knutsen ARQ-153 Remove Servlet 2.5, merged with 3.0 [21:59:18] <jbossbot> git [arquillian] push next 9c023c4.. Aslak Knutsen ARQ-153 Rename Servlet 3.0 Module to Servlet. Contains 2.5 and 3.0 support. [21:59:21] *** jbossbot has quit IRC [21:59:25] <aslak> lol [21:59:33] <aslak> sorry dmlloyd, i killed your boot [21:59:58] *** jbossbot has joined #jbosstesting [22:00:09] <dmlloyd> it's OK :) [22:00:23] <dmlloyd> one of these weekends, I'll correct its flood protection algorithm [22:00:29] <dmlloyd> (which should actually speed it up considerably) [22:00:37] <aslak> :) [22:01:23] <aslak> Tashtego, removing sl4j from your pom and rely on the glassfish one should fix this [22:02:04] <aslak> tcunning, yea, saw your mail.. try arquillian/next branch combined with the shrinkwrap/SHRINKWRAP-140 branch [22:02:05] <jbossbot> jira [SHRINKWRAP-140] Support loading artifacts from a Maven repository [Open (Unresolved) Feature Request, Major, Karel Piwko] https://issues.jboss.org/browse/SHRINKWRAP-140 [22:02:21] <Tashtego> but glassfish embedded is test scope, shouldnt it be? [22:02:35] <aslak> tcunning, just merged some stuff up and Descriptor got released in 0.1.0 [22:02:39] <Tashtego> when i remove slf4j my class wont compile because i use slf4j [22:03:49] <Tashtego> i already tried "provided" scope for slf4j but that didnt change the behaviour [22:04:38] *** mgoldmann has joined #jbosstesting [22:06:09] <Tashtego> when i use embedded glassfish with normal scope wouldnt then this jar be deployed with a webapplication that uses this jpa module? [22:07:35] <aslak> Tashtego, aa.. ic.. you can try the new surefire 2.6/7 feature. exclude from classpath [22:07:55] <aslak> Tashtego, or just rely on sl4j API in your pom, glassfish will provide impl ? [22:08:03] <tcunning> aslak : do i need to use a specific shrinkwrap-descriptors? [22:08:28] <aslak> tcunning, it should be fetched form the repo [22:10:24] <Tashtego> so embedded glassfish with test scope and slf4j-api with provided scope would be the correct way to do? [22:10:44] <aslak> Tashtego, no, provided is part of test scope [22:11:11] <Tashtego> it seems my maven skills are really poor :/ [22:11:16] <aslak> Tashtego, http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#classpathDependencyExcludes [22:13:01] <Tashtego> hm will have to take a look at that plugin. i tried with embedded gf as test scope and slf4j api with default scope but that didnt solve ("The requested version 1.5.6 by your slf4j binding is not compatible with [1.6]") [22:13:43] <Tashtego> what i am wondering is that it seems that gf already crashes on startup. before it even deploys or creates my shrinkwrap war file [22:14:03] <Tashtego> doesnt even have to do with my sourcecode. will a change of my pom then even help? [22:14:44] <aslak> Tashtego, the problem is your pom is creating conflicts with the glassfish embedded slfj v [22:15:10] <Tashtego> but the same pom is used when doing clean install, isnt it? [22:15:23] <Tashtego> why is it acting different when i call the unit test in netbeans? [22:18:30] <aslak> Tashtego, no idea. have you refreshed netbeans project configuration.. not lagging behind some old pom v.? [22:19:26] <Tashtego> i restarted netbeans cleaned and retried a lot. changed scopes and stuff... even deleted the local repository org.slf4j stuff and the temporaray created glassfish stuff. didnt help [22:19:49] <Tashtego> when i do exclude on slf4j classpath, which one will be excluded? the one in local repos or the glassfish one? [22:20:41] <aslak> the glassfish one is bundled inside the glassfish jar, so the one on in your pom [22:21:11] *** Elisha has quit IRC [22:22:25] *** Elisha has joined #jbosstesting [22:23:56] *** Elisha has quit IRC [22:25:57] <Tashtego> added the following: http://pastebin.com/3MEUPxz6 without effect :( [22:26:20] <Tashtego> java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Ljav [22:26:33] <Tashtego> that message comes after "The requested version 1.5.6 by your slf4j binding is not compatible with [1.6]" [22:26:46] <aslak> Tashtego, you still use sl4j 1.6? try changing it to 1.5.3 or similar in your pom [22:27:04] <Tashtego> i tried using 1.5.6 as it was mentioned in glassfish [22:27:05] <aslak> 1.5.6 [22:27:13] *** tcunning has quit IRC [22:27:14] <Tashtego> but that lead to the problem that i couldnt use my logger... [22:27:20] <Tashtego> LoggerFactory.getLogger... [22:27:27] *** Elisha has joined #jbosstesting [22:27:30] <Tashtego> i think 1.5.6 logged another way? [22:28:11] <Tashtego> trying to change anyways to see if the message chagnes [22:28:24] <aslak> Tashtego, seems like you need to downgrade to 1.5.6 in your code to make this work [22:29:12] <Tashtego> whats the root of all of this? is it a embedded glassfish problem? arquillian problem? what do you think, will this be solved in a newer version? [22:30:15] <aslak> it's a classpath isolation issue [22:30:23] <Tashtego> ok having those excludes in pom, the api as normal scope and embedded glassfish with the implementation solved the problem! now it runs [22:30:29] <Tashtego> a bit complicated all that stuff [22:30:39] <Tashtego> but now it works with maven clean install and with -Run -> unit test [22:30:46] <Tashtego> will checkin and never change it again ^^ [22:30:52] <aslak> hehe [22:30:59] <Tashtego> arquillian is great. but i hate that maven stuff ^^ [22:31:11] <Tashtego> you remain the greatest. thanks aslak! [22:32:10] <aslak> glassfish embedded shouldn't shade the jar so the include a sl4j v. you should be able to isolate test vs runtime classpath in maven.. and java should be able to isolate away from the appclass.. etc etc etc.. so it's a bit of everything [22:38:08] <Tashtego> however..it works. i have to buy a maven book. thats for sure :( [22:42:45] *** alesj has quit IRC [22:45:06] *** wolfc has quit IRC [22:45:58] *** alesj has joined #jbosstesting [22:46:14] *** jdewinne has quit IRC [22:50:50] *** michaelschuetz has joined #jbosstesting [22:50:50] *** Tashtego has quit IRC [22:52:07] *** lightguard_jp has joined #jbosstesting [22:59:06] <lightguard_jp> aslak: Has Dan been able to catch a plane? [23:00:08] <aslak> lightguard_jp, yea, he's on his way home [23:00:57] <lightguard_jp> aslak: Glad he wasn't delayed longer [23:01:13] <aslak> lightguard_jp, miss him? :) [23:01:27] <lightguard_jp> Though I'm sure he'd prefer to be going down the slopes more :) [23:02:06] <lightguard_jp> aslak: Yeah, my other cohort isn't around to bounce ideas off, all good though, glad he's spreading the word about Seam. [23:02:15] <lightguard_jp> And Ike [23:02:32] <aslak> lightguard_jp, yea, he had never experienced real powder until now.. :) [23:03:08] <lightguard_jp> Haha. [23:03:37] <lightguard_jp> It was the wrong time of year last year when he came to SLC, otherwise I'm sure he would have taken more time here [23:11:39] *** Zjukov has quit IRC [23:17:48] *** mgoldmann has quit IRC [23:32:36] *** aslak has quit IRC