April 10, 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

[00:14:29] *** lightguard_jp has joined #jbosstesting
[01:00:05] *** lightguard_jp is now known as lightguard_jp_aw
[01:07:29] *** ALR has joined #jbosstesting
[01:07:43] <ALR> aslak: Ping ")
[01:07:44] <ALR> :)
[01:09:10] *** aslak has quit IRC
[01:11:41] <OndraZizka> I've tried weld-wicket... but got https://issues.jboss.org/browse/WELD-885
[01:11:41] <OndraZizka> Not that I want to discuss it here :) But Weld people are already sleeping ;-)
[01:11:43] <jbossbot> jira [WELD-885] NPE in org.jboss.weld.wicket.util.NonContextual.<init> [Open (Unresolved) Bug, Major, Unassigned] https://issues.jboss.org/browse/WELD-885
[01:20:27] <OndraZizka> weld-wicket's source code
[01:20:35] <OndraZizka> Anyone knows where is weld-wicket's source code?
[01:30:41] *** lightguard_jp_aw has quit IRC
[02:26:27] *** bobmcw has joined #jbosstesting
[02:28:41] *** bobmcw_ has quit IRC
[03:24:11] *** ldimaggi has joined #jbosstesting
[05:35:03] *** ldimaggi has quit IRC
[09:33:30] *** mgoldmann has joined #jbosstesting
[09:33:30] *** mgoldmann has quit IRC
[09:33:30] *** mgoldmann has joined #jbosstesting
[10:22:10] <nickarls> doesn't exist but seam wicket does: https://github.com/seam/wicket
[10:53:44] *** aslak has joined #jbosstesting
[12:00:58] *** oskutka has joined #jbosstesting
[12:08:50] *** oskutka has quit IRC
[13:57:45] *** Tashtego2 has joined #jbosstesting
[14:45:52] *** johnament has joined #jbosstesting
[14:47:30] <johnament> aslak: you awake? :-)
[14:47:40] <aslak> johnament, heya!
[14:47:44] <johnament> aslak: hey!
[14:47:52] <johnament> so i got it mostly working on alpha5
[14:48:01] <johnament> it looks like my biggest issue was dep ordering.
[14:49:05] <aslak> dep ordering?
[14:49:10] <johnament> aslak: the only part I don't get is your mbean comment, and how to fix that thread dump issue on shutdown
[14:49:28] <johnament> aslak: yeah, it was failing to deploy in some tests, I reordered my deps and it seems to work consistently
[14:51:04] <aslak> johnament, aa yea.. i',m not sure where this is happening, but it seems that if you don't have 'some' lib on classpath, jndi can't resolve the class that it looksup so it is returned as a Reference instead.
[14:54:41] <johnament> aslak: but what class is it looking up?
[14:54:55] <johnament> aslak: don't forget, this is the managed container, separate JVM
[14:55:29] <johnament> aslak: other than the deploymenet and protocol, what can it be looking for?
[14:56:35] <aslak> oh right.. it's on stop server
[14:58:20] <aslak> ha
[14:58:22] <aslak> funny
[14:58:24] <johnament> i have org.jboss.jbossas:jboss-server-manager:1.0.3.GA on my classpath
[14:58:52] <aslak> it didn't shutdown clean for some reason, but it fails to lookup ObjectName("jboss.system","type","ServerInfo"); to print the listThreadDump
[14:59:06] <johnament> hahah
[14:59:11] <aslak> while trying to show you why it failed
[14:59:46] <aslak> it's looking up jmx/rmi/RMIAdaptor
[15:01:24] <aslak> it doesn't fail the execution tho. it's just printed
[15:02:30] <aslak> hmm.. it seems like it should throw a ServerShutdownException with the original cause
[15:02:42] <aslak> that would probably be in your surefire log somewhere
[15:03:49] <johnament> the shutdown's not in any of the logs
[15:05:44] <johnament> the other thing i've noticed, the tests are much slower to run now. alpha4 used to complete in about 90 seconds, this is almost 210 seconds
[15:06:06] <johnament> but that might be the shutdown
[15:12:27] <johnament> aslak: it looks like it does shutdown cleanly though
[15:12:28] <johnament> 2011-04-10 09:14:58,151 INFO  [STDOUT] (Thread-1) Posting Shutdown Request to the server...
[15:12:28] <johnament> 2011-04-10 09:14:58,153 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-20) Stopping: JBossAS [6.0.0.Final "Neo"]
[15:12:28] <johnament> 2011-04-10 09:14:58,153 DEBUG [org.jboss.bootstrap.impl.as.lifecycle.AbstractKernelEventLifecycleEventHandler] (Thread-20) Fired: AbstractEvent at 26ad247d{source=org dot jboss.kernel.plugins.event.AbstractEventManager@4c986d3c type=org.jboss.system.server.stopped seq=0 time=1302441298153 context=1302441298153}
[15:12:29] <johnament> 2011-04-10 09:14:58,154 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatService] (Thread-20) Saw org.jboss.system.server.stopped notification, stopping connectors
[15:13:43] <aslak> johnament, there should be a little overhead on ALpha5 since it pulls out some info from the ManagementAPI  to get deployed Servlets in the deployment etc..
[15:13:51] <aslak> but 90 -> 210 sounds a bit extreme
[15:19:20] <johnament> I agree.
[15:19:37] <johnament> aslak: i'm also a bit lost on how to use descriptors.  do i need to implement my own?
[15:20:29] <aslak> johnament, heh, depends on what you want to do
[15:20:59] <johnament> aslak: deploy a hornetq-jms.xml as test-hornetq-jms.xml to jboss's deploy dir
[15:21:13] <aslak> johnament, in the current release there is a bit missmatch with what Descriptors that comes default. the included ones are beans.xml, application.xml web.xml and persistence.xml. but Arquillian support Descriptors as a deployable unit.
[15:21:23] <aslak> and of course you can't just deploy a web.xml
[15:21:46] <johnament> because the SW api is designed to help you build a descriptor
[15:22:01] <johnament> ?
[15:22:09] <aslak> ?
[15:22:39] <johnament> No, I was looking at shrinkwrap, and it looks like its intention is to help you build a descriptor
[15:23:10] <aslak> yea
[15:24:16] <johnament> Ok, so if I want to do a hornetq descriptor I need to provide one to you guys
[15:28:15] <aslak> johnament, here is a quick HornetQ Descriptor i through togetter a few min ago for the showcase.. https://gist.github.com/912340
[15:28:46] <aslak> johnament, yea, we don't have support for it yet.  but do please contribute. :)
[15:30:51] <aslak> johnament, added a little usage example as well: https://gist.github.com/912340
[15:31:55] <johnament> aslak: gotcha. yeah, I can finish that up.
[15:32:17] <aslak> should probably be named HornetQDescriptor but.. :)
[15:32:59] <johnament> HornetQJMSDescriptor
[15:33:16] <aslak> right
[15:33:17] <johnament> aslak: are you able to deploy into server/default/deploy/hornetq?
[15:33:51] <aslak> haven't tried.  it is deployed to /deploy/
[15:34:30] <johnament> aslak: i'm trying to think of ways to override the default security settings.
[15:35:01] <johnament> aslak: right now QE has a script that runs prior to starting my tests to over-write the hornetq-configuration.xml
[15:35:06] <aslak> aa, but there is a 'bug/feature' in HornetQ. it never undeployes the queues i believe. they are kept alive in core. don't remember if it removes jndi etc
[15:35:30] <aslak> johnament, can't you deploy a different connection factory etc, which what ever security features you need?
[15:35:49] <johnament> aslak: no, this is in hornetq itself.
[15:35:52] <johnament> i think
[15:36:59] <johnament> aslak: yeah we're setting security-enabled to false in the configuration itself, not for any specific connection factory
[15:37:36] <johnament> aslak: you may be right about undeploying queues/topics.
[15:37:45] <johnament> aslak: anyways i have to run.
[15:37:50] *** johnament is now known as johnament_away
[15:37:59] <johnament_away> take it easy
[15:40:09] <aslak> l8r
[16:02:07] <OndraZizka> aslak:  Still struggling with putting something to JNDI in embedded Jetty. I'm looking at JettyEmbeddedContainer, seems that I need to extend WebAppContext and put my application to Jetty through it, instead of adding ServletHolder's, right?
[16:02:55] <aslak> OndraZizka, bind something to jndi?
[16:03:26] <aslak> https://github.com/arquillian/arquillian-container-jetty/blob/master/jetty-embedded-7/src/test/resources/jetty-env.xml
[16:04:11] <OndraZizka> aslak, programatically
[16:04:42] <OndraZizka> I'm not insisting on not using xml, but it seems to ad unnecessary files etc.
[16:04:51] <aslak> OndraZizka, what are you trying to do?
[16:04:58] <OndraZizka> aslak, let me show you
[16:05:10] <OndraZizka> http://stackoverflow.com/questions/5606327/jetty-adding-resource-env-ref-programmatically
[16:05:28] <OndraZizka> I am trying to bind BeanManager
[16:05:34] <OndraZizka> to JNDI
[16:06:32] <OndraZizka> As you can see, I have no WebAppContext around
[16:06:45] <OndraZizka> I'm simply adding a servlet to context using ctx.addServlet()
[16:06:58] <aslak> why are you mocking around here?
[16:08:20] <aslak> if you want wicket with cdi integration, why don't you use weld-servlet and wicket seam. add those to the app and deploy. i'm not sure why you find it easier to create a custom jetty bootstrap
[16:09:13] <OndraZizka> aslak: Not easier, but the webapp is a part of bigger app
[16:09:28] <OndraZizka> An optional part
[16:09:37] <OndraZizka> standalone app
[16:09:57] <aslak> and?
[16:10:43] <OndraZizka> So you are suggesting to create a war and deploy it to the embedded jetty as a war?
[16:10:53] <aslak> yea
[16:11:51] <OndraZizka> Well that seemed as more complicated to me, but since doing it through api turned to be difficult, maybe that's the way to go.
[16:12:01] *** dblevins has joined #jbosstesting
[16:15:25] *** Tashtego2 has left #jbosstesting
[16:15:40] *** Tashtego has joined #jbosstesting
[16:19:38] *** OndraZizka has quit IRC
[16:19:56] *** OndraZizka has joined #jbosstesting
[16:42:29] *** mgoldmann has quit IRC
[17:35:12] *** johnament_away has quit IRC
[18:08:11] *** Tashtego has quit IRC
[18:08:11] *** bleathem has quit IRC
[18:10:13] *** Tashtego has joined #jbosstesting
[18:10:13] *** bleathem has joined #jbosstesting
[18:35:25] *** jc3 has joined #jbosstesting
[18:37:28] *** aslak has quit IRC
[18:38:07] *** aslak has joined #jbosstesting
[20:04:18] *** Tashtego has quit IRC
[20:38:09] *** aslak_ has joined #jbosstesting
[20:38:09] *** aslak_ has joined #jbosstesting
[20:39:26] *** aslak has quit IRC
[20:49:27] *** michaelschuetz has joined #jbosstesting
[20:52:37] *** wyer has joined #jbosstesting
[20:56:16] *** bobmcw has quit IRC
[20:56:36] *** bobmcw has joined #jbosstesting
[21:04:43] *** michaelschuetz1 has joined #jbosstesting
[21:06:18] *** michaelschuetz has quit IRC
[21:14:58] *** jdlee has quit IRC
[21:16:06] *** jdlee has joined #jbosstesting
[21:16:06] *** jdlee has joined #jbosstesting
[21:36:52] *** michaelschuetz has joined #jbosstesting
[21:39:28] *** michaelschuetz1 has quit IRC
[21:39:28] *** alesj has joined #jbosstesting
[21:41:59] *** michaelschuetz has quit IRC
[22:02:27] *** michaelschuetz has joined #jbosstesting
[22:13:37] *** wyer has quit IRC
[22:34:20] *** michaelschuetz has quit IRC
[22:50:13] *** aslak_ is now known as aslak
[22:50:21] <aslak> ALR, ping
[22:51:36] *** michaelschuetz has joined #jbosstesting
[22:55:26] <ALR> aslak: Hey!
[22:55:27] <aslak> michaelschuetz, heya.. how was bedcon ?
[22:55:37] <ALR> Bedcon?  A sleeping conference?
[22:55:46] <aslak> ALR, think so.. :)
[22:55:58] <ALR> aslak: Been meaning to ask ya:
[22:56:03] <aslak> Berlin Expert Days
[22:56:08] <ALR> What happened to "Context" from the ARQ SPI?
[22:56:53] <aslak> ALR, it's hidden behind @Inject Instance<Type> and @Inject ClassScoped InstaceProducer<Type>
[22:57:13] <aslak> @ClassScoped
[22:57:16] <ALR> aslak: Ah, so I inject the type I want, no context at all.
[22:57:25] <aslak> yea
[22:57:29] <ALR> Like:
[22:57:29] <ALR>  context.get(TestDeployment.class);
[22:57:31] <ALR> Becomes:
[22:57:43] <ALR> @Inject Instance<TestDeployment>
[22:57:45] <aslak> yea
[22:58:04] <aslak> org.jboss.arquillina.....Inject
[22:58:06] <aslak> not javax
[22:58:08] <ALR> Right.
[22:58:12] *** alesj has left #jbosstesting
[22:58:28] <ALR> aslak: So that should be the last of my compile-time problems in the AS7 tree
[22:58:36] <ALR> But from there who knows if what I've got will work.
[22:58:43] <ALR> I'm wondering aout your AS7 stuff
[22:58:52] <ALR> Because yours has no OSGi, rght?
[22:59:09] <aslak> well, the container shouldn't care about OSGi
[22:59:43] <aslak> but yea, i also removed the ArchiveProcessors etc from the Container impl
[23:00:04] <ALR> aslak: The container probably needs to set the right TCCL and whatever
[23:00:14] <aslak> they should be a different module specific to the AS testsuite. since they vae features like no defined @Deployment will auto create a OSGI module
[23:00:17] <ALR> And also there's this BundleList Thomas has.
[23:00:20] <ALR> I'm not sure what that does
[23:00:24] <ALR> Installing bundles...
[23:00:53] <aslak> i haven't really changed much in the Container it self
[23:19:48] <michaelschuetz> aslak, hey
[23:19:53] <michaelschuetz> aslak, cheers - was great
[23:19:59] <michaelschuetz> aslak, thx
[23:53:14] *** rruss has joined #jbosstesting

top