July 14, 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:07:15] *** PeteRoyle has quit IRC
[00:12:21] *** aslak has quit IRC
[00:41:35] *** rcernich is now known as rcernich_away
[00:44:05] *** bfitzpat has quit IRC
[02:03:13] *** rcernich_away is now known as rcernich
[02:16:48] *** ldimaggi has joined #switchyard
[02:18:58] *** PeteRoyle has joined #switchyard
[02:57:19] *** rcernich has quit IRC
[03:17:53] *** PeteRoyle has quit IRC
[03:52:03] *** PeteRoyle has joined #switchyard
[05:02:07] *** kcbabo has quit IRC
[05:02:53] *** ldimaggi has quit IRC
[05:03:27] *** ldimaggi has joined #switchyard
[05:04:04] *** ldimaggi has quit IRC
[05:27:06] *** magesh has joined #switchyard
[05:38:40] *** PeteRoyle has quit IRC
[05:42:25] *** PeteRoyle has joined #switchyard
[07:15:24] *** echelog-2 has joined #switchyard
[07:47:44] *** aslak has joined #switchyard
[08:41:09] *** magesh1 has joined #switchyard
[08:43:12] *** magesh has quit IRC
[08:51:22] *** tcunning has quit IRC
[10:01:20] *** javahorn has joined #switchyard
[10:09:35] *** rbalent has joined #switchyard
[10:09:35] *** rbalent has joined #switchyard
[10:43:05] *** PeteRoyle has joined #switchyard
[10:43:16] *** PeteRoyle has quit IRC
[12:29:58] *** tfennelly has joined #switchyard
[12:36:07] *** kcbabo has joined #switchyard
[12:36:24] <wyer> kcbabo, hi Keith
[12:36:38] <kcbabo> wyer:  hey
[12:37:02] <wyer> kcbabo, i'm sorting out the modules for the bpm component
[12:37:21] <wyer> kcbabo, is there a better way to do it than trial and error grunt work ?
[12:38:18] <kcbabo> wyer:  can you elaborate on "sorting out the modules for the bpm component" ?
[12:38:26] <kcbabo> wyer:  you mean to deploy on AS7 ?
[12:38:43] <wyer> kcbabo, sure sorry https://issues.jboss.org/browse/SWITCHYARD-336
[12:38:47] <wyer> kcbabo, yes
[12:39:24] <kcbabo> wyer:  david should be taking care of that
[12:39:32] <kcbabo> wyer:  or did he rope you into doing it? ;-)
[12:40:08] <wyer> kcbabo, can i share the dependencies out to each other for instance the bpm component depends on knowledge-api and drools-core and they depend on each other
[12:40:31] <wyer> kcbabo, he said he would be doing it but i would like to demo it to a customer tomorrow so figured why not ;)
[12:41:00] <kcbabo> wyer:  dependencies in AS7 are at the module layer
[12:41:57] <kcbabo> wyer:  so if bpm component depends on two modules, then it needs to declare both as dependencies, AFAIK
[12:42:27] <wyer> kcbabo, yeah and i am doing that but i am also defining a module for drools-core and knowledge-api
[12:42:36] <kcbabo> wyer:  the only exception there is if drools-core imports knowledge-api and the re-exports it in it's module definition
[12:43:07] <kcbabo> wyer:  best thing to do would be to look at how the existing component modules are setup
[12:43:16] <wyer> kcbabo, and in those respective module definitions add dependencies for both
[12:43:20] <kcbabo> wyer:  camel has a fair number of dependencies, IIRC
[12:43:38] <wyer> kcbabo, yeah it does
[12:44:05] <wyer> kcbabo, i used it to muddle along last night but i can't say i really grok it
[12:48:18] <wyer> kcbabo, in either case it will most likely be my first contribution to SY :)
[12:49:57] <kcbabo> wyer:  that would be great, hopefully the existing packaging examples in components and a little guidance from David should be enough
[12:50:24] <kcbabo> wyer:  I would say there is a bit of trial and error still with the module definitions, but it's fairly straightforward
[12:50:52] <wyer> kcbabo, yeah its more an understanding thing
[13:27:57] *** tfennelly has quit IRC
[14:00:51] *** tfennelly has joined #switchyard
[14:03:49] <wyer> kcbabo, got the helpdesk demo deployed hooray
[14:05:37] <wyer> kcbabo, well it blows up with some null pointer exception from org.switchyard.component.bpm.drools.DroolsBpmExchangeHandler.addResource but looking into that now
[14:10:07] *** kcbabo has quit IRC
[14:12:56] *** antollinim has joined #switchyard
[14:38:31] *** aamonten has joined #switchyard
[14:44:10] *** tcunning has joined #switchyard
[14:47:59] *** ldimaggi has joined #switchyard
[15:31:32] *** bfitzpat has joined #switchyard
[15:55:53] *** rbalent has quit IRC
[16:11:41] *** rcernich has joined #switchyard
[16:32:15] *** bobmcw has quit IRC
[16:56:53] *** errantepiphany has joined #switchyard
[17:04:59] *** kcbabo has joined #switchyard
[17:17:20] *** magesh1 has left #switchyard
[17:35:59] <wyer> errantepiphany, howdy
[17:36:12] <wyer> errantepiphany, i have all those module dependencies sorted
[17:36:41] <errantepiphany> wyer: sweet
[17:37:09] <wyer> errantepiphany, just debugging this now http://kpaste.net/2ae
[17:39:28] <antollinim> kcbabo: hey Keith, you there?
[17:45:16] <errantepiphany> wyer: I would debug the addResource + getResourceURL methods to see which resource it can't find.
[17:45:43] <wyer> errantepiphany, yeah the url is looking a bit funny
[17:46:29] <errantepiphany> wyer: I can take a look at this later today, but right now gotta finish up my current work.
[17:47:13] <wyer> errantepiphany, no problem i am quite happy muddling along as i am, if i don't come right i will let you know
[17:47:34] <kcbabo> antollinim:  hey mario
[17:47:44] <wyer> errantepiphany, just wanted you to know i was still going at it so you don't
[17:48:03] <errantepiphany> wyer: thanks. much appreciated. :)
[17:48:33] <antollinim> kcbabo: hey, I just wanted to let you know that I did the experiment you mentioned yesterday
[17:48:50] <antollinim> kcbabo: JAVA to WSDL to JAXB
[17:49:22] <kcbabo> antollinim:  how did it turn out?
[17:49:37] <antollinim> kcbabo: the final output looks quit different than the original Java model
[17:50:48] <antollinim> kcbabo: difficult to explain, do you want to take a look at it yourself?
[17:51:08] <kcbabo> antollinim:  sure, is it something you can post to your github?
[17:51:13] <kcbabo> antollinim:  or you can zip and send to me
[17:51:29] <kcbabo> antollinim:  I'm in a meeting today, so I won't be able to check it out until tomorrow
[17:51:36] <antollinim> kcbabo: zip better
[17:51:55] <antollinim> kcbabo: no problema, in the meantime, anything in mind I can help with?
[17:52:00] <kcbabo> antollinim:  in the meantime, going back to your original quickstart
[17:52:55] <kcbabo> antollinim:  you can eliminate the OrderType and OrderAckType by using an anonoymous complex type inside the Order and OrderAck definitions
[17:53:28] <antollinim> kcbabo: good, I can try that
[17:54:50] <kcbabo> antollinim:  so the bottom line there is that the structure of the schema is going to dictate the structure of the generated objects, there's pretty much no way around that
[17:55:24] <antollinim> kcbabo: exactly, I have learnt that working with this
[17:55:59] <wyer> eclipse is killing me... softly
[17:56:15] <antollinim> kcbabo: so I need to touch the wsdl to make it look as I need
[18:13:06] *** kcbabo has quit IRC
[18:20:03] <rcernich> wyer: thanks for that.  it'll be stuck in my head all day now ;)
[18:22:10] <rcernich> wyer: ...killing me softly...
[18:31:47] *** aamonten is now known as aamonten_lunch
[19:06:31] <wyer> errantepiphany, so the location string which is passed into getResourceURL is META-INF/HelpDeskService.bpmn but the file / path properties of the resulting URL object are /content/switchyard-quickstart-demo-helpdesk-0.2.0-SNAPSHOT.jar/META-INF/HelpDeskService.bpmn
[19:06:57] <wyer> weird
[19:07:11] *** wyer has left #switchyard
[19:07:12] *** wyer has joined #switchyard
[19:09:43] *** tcunning has quit IRC
[19:27:43] <wyer> errantepiphany, ah an expection was been swallowed and null returned inside drools
[19:30:33] <errantepiphany> wyer: ah
[19:31:43] <wyer> errantepiphany, its a class not found exception at runtime due to dependency issues its a tough one to track down tho
[19:45:04] <wyer> okay well making lots of progress here at least :)
[19:47:49] *** tcunning has joined #switchyard
[19:59:47] *** tfennelly has quit IRC
[20:19:14] *** tfennelly has joined #switchyard
[20:20:24] *** errantepiphany has quit IRC
[20:24:12] *** errantepiphany has joined #switchyard
[21:02:14] *** wyer has left #switchyard
[21:02:19] *** wyer has joined #switchyard
[21:19:23] *** jgraham_ has joined #switchyard
[21:21:26] *** rcernich is now known as rcernich_brb
[21:31:47] *** tfennelly has quit IRC
[21:35:07] <wyer> errantepiphany, 21:38:48,491 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "switchyard-quickstart-demo-helpdesk-0.2.0-SNAPSHOT.jar"
[21:35:25] <errantepiphany> wyer: nice job.
[21:36:00] <wyer> errantepiphany, you were not lying about it been a PITA tho lol
[21:41:11] *** bobmcw has joined #switchyard
[21:42:10] *** rcernich_brb is now known as rcernich
[21:46:57] <errantepiphany> wyer: so it all works? did you test it with a soapui client?
[21:47:45] <errantepiphany> wyer: also, I did just send out a pull request with api changes I made: https://issues.jboss.org/browse/SWITCHYARD-329 - not sure if you'll hafta change stuff to match
[21:49:45] <errantepiphany> wyer: last, do you have a public github repo I can see/pull your changes from?  I'd like to get https://issues.jboss.org/browse/SWITCHYARD-336 nailed next.
[21:49:58] <wyer> errantepiphany, testing now its got a few more at runtime i am finding
[21:50:25] <wyer> errantepiphany, yeah i've forked it and will push to my repo as soon as the soap call is working
[21:50:43] <wyer> errantepiphany, i only have the openTicket call are there ment to be more ?
[21:50:54] <errantepiphany> wyer: nope, not for that example.
[21:51:15] <wyer> errantepiphany, is that the only test i need to do then ?
[21:51:23] <errantepiphany> wyer: PS: what's your real name? Do you work for Red Hat?
[21:51:28] <errantepiphany> wyer: yup
[21:51:58] <wyer> errantepiphany, my name is Justin Wyer and no i don't just part of the community
[21:53:00] <errantepiphany> wyer: gotcha. Well, thanks for contributing!
[21:53:39] <wyer> errantepiphany, i'll sign the SY CLA now
[21:55:52] <errantepiphany> wyer: sweet... well, if you sign that and get a jira account with us, and rebase with what I just pushed (once it makes it's way to master), then I can re-assign the jira to you and you can have ownership of this.  You'll have a little fame, a lot of satisfaction, but unfortunately no fortune, LOL.
[21:56:11] <aamonten_lunch> wyer: welcome to community :)
[21:56:17] *** aamonten_lunch is now known as aamonten
[21:57:04] <wyer> errantepiphany, sure i have an account on the jboss JIRA (i contribute a little bit to richfaces) if you can just ping whomever to give me the required rights in the SY project
[21:57:18] <wyer> aamonten, thanks :)
[21:57:38] <errantepiphany> wyer: well, that would be Keith Babo (kbabo at redhat dot com), but he doesn't appear to be online right now.
[21:58:14] <wyer> errantepiphany, i'll ping him about it tomorrow then
[21:58:43] <errantepiphany> wyer: kewl. just let him know you've been working on SWITCHYARD-336
[22:05:04] *** antollinim has quit IRC
[22:09:56] <errantepiphany> wyer: PS, this is me: http://community.jboss.org/people/dward
[22:10:42] <wyer> errantepiphany, :) so i think i just have one last thing to get out of the way
[22:10:54] <wyer> errantepiphany, getting a NPE during the soap request
[22:11:41] <wyer> errantepiphany, Caused by: java.lang.NullPointerException
[22:11:42] <wyer> 	at org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.executeWorkItem(CommandBasedWSHumanTaskHandler.java:215)
[22:11:47] <wyer> client is null
[22:11:52] <wyer> just figuring it out now
[22:13:03] <errantepiphany> wyer: check out the BPMMixin - it will most likely give you the hint you're looking for
[22:13:48] <errantepiphany> wyer: http://goo.gl/JKbvv
[22:15:23] <wyer> errantepiphany, nah its another swallow CNFE
[22:15:31] <errantepiphany> wyer: and it's usage: http://goo.gl/3Qc9S
[22:15:52] <errantepiphany> wyer: oh, when you mentioned "client", I was thinking there was no wshumantask client created/being used
[22:16:39] <wyer> errantepiphany, nah ment client variable on the line mentioned by that stacktrace sorry should have been clearer
[22:16:53] <errantepiphany> wyer: ah different "client" definition - LOL. gotcha.
[22:22:39] *** aslak has quit IRC
[22:24:19] *** rcernich is now known as rcernich_away
[22:30:42] *** ldimaggi has quit IRC
[22:38:10] <wyer> errantepiphany, so i have to use a wshumantask client while i do the soap request ?
[22:57:00] *** rcernich_away is now known as rcernich
[22:58:12] <errantepiphany> wyer: nope, but you have to have a task server running
[22:58:39] <errantepiphany> wyer: CommandBasedWSHumanTaskHandler creates the client, but it's gonna expect a server running
[22:59:54] *** jgraham_ has quit IRC
[23:00:03] <errantepiphany> wyer: I believe part of the deployment into the server will have to be to initiate a task server.
[23:00:22] <errantepiphany> wyer: s/into the server/into the SY server/
[23:01:07] <errantepiphany> wyer: I was gonna work on this as part of my resolution of the jira
[23:01:28] <errantepiphany> wyer: but I actually gotta run now... Let's touch base tmrw morning.
[23:01:31] *** errantepiphany has left #switchyard
[23:37:58] *** aamonten has quit IRC

top