uPortal IRC Logs-2008-03-21

[05:54:06 EDT(-0400)] * EiNZTEiN (n=einztein@di197.opencominc.com) has joined ##uportal
[08:27:34 EDT(-0400)] * EricDalquist (n=EricDalq@adsl-76-204-102-88.dsl.mdsnwi.sbcglobal.net) has joined ##uportal
[09:30:40 EDT(-0400)] * esm (n=esm@128.220.212.115) has joined ##uportal
[09:31:23 EDT(-0400)] * esm (n=esm@128.220.212.115) has joined ##uportal
[09:32:30 EDT(-0400)] <EricDalquist> friggin oracle: http://www.hibernate.org/169.html
[10:13:38 EDT(-0400)] * athena7 (n=athena7@c-24-2-189-230.hsd1.ct.comcast.net) has joined ##uportal
[10:43:40 EDT(-0400)] <EricDalquist> hey athena7 I should have a fix for that oracle issue soon
[10:43:46 EDT(-0400)] <athena7> oh great
[10:43:50 EDT(-0400)] <athena7> (smile)
[10:43:55 EDT(-0400)] <EricDalquist> http://www.hibernate.org/169.html
[10:44:22 EDT(-0400)] <athena7> so why's it a clob? is that a length issue?
[10:44:37 EDT(-0400)] <EricDalquist> yeah
[10:44:52 EDT(-0400)] <EricDalquist> otherwise we're limited to ~ 4000 chars
[10:45:00 EDT(-0400)] <EricDalquist> ~1333 if the string is UTF8
[10:45:17 EDT(-0400)] <EricDalquist> easier just to make it a clob and not worry about lots of string length validation code
[10:45:36 EDT(-0400)] <athena7> yeah
[10:45:37 EDT(-0400)] <athena7> i figured that was it
[10:45:39 EDT(-0400)] <athena7> bleh.
[10:45:51 EDT(-0400)] <EricDalquist> and it still drives me nuts that in oracle land "" == null
[10:45:58 EDT(-0400)] <athena7> so much friendlier to be able to actually look at the rows, i hate clobs
[10:46:03 EDT(-0400)] <EricDalquist> yeah
[10:46:08 EDT(-0400)] <athena7> yeah that's just bizarre, i hadn't realized that
[10:46:10 EDT(-0400)] <EricDalquist> squirrelSQL will show you them inline
[10:47:38 EDT(-0400)] <athena7> i'll have to check it out
[10:47:45 EDT(-0400)] <athena7> i need a more fully-featured db tool anyway
[10:47:49 EDT(-0400)] <athena7> i have db visualizer
[10:47:52 EDT(-0400)] <athena7> which is great and all
[10:48:03 EDT(-0400)] <EricDalquist> squirellsql is great
[10:48:04 EDT(-0400)] <EricDalquist> free
[10:48:05 EDT(-0400)] <athena7> but the free version only lets you run one sql query at a time, which isn't very helpful
[10:48:06 EDT(-0400)] <EricDalquist> java based
[10:48:10 EDT(-0400)] <EricDalquist> works with any db
[10:48:13 EDT(-0400)] <EricDalquist> scriptable
[10:48:13 EDT(-0400)] <athena7> sounds good to me
[10:48:15 EDT(-0400)] <athena7> (smile)
[10:48:23 EDT(-0400)] <EricDalquist> has extensions to support db specific stuff
[10:49:54 EDT(-0400)] <athena7> sounds good
[10:50:51 EDT(-0400)] <athena7> maybe when i went to the grocery store yesterday i should have bought more than one meal's worth of food
[10:51:40 EDT(-0400)] <EricDalquist> lol
[10:51:44 EDT(-0400)] <EricDalquist> you getting snow too?
[10:53:46 EDT(-0400)] <athena7> no, just ridiculously windy
[10:54:04 EDT(-0400)] <athena7> is it snowing there?
[10:54:17 EDT(-0400)] <EricDalquist> yes
[10:54:22 EDT(-0400)] <EricDalquist> we're supposed to get 6-10 inches!
[10:54:28 EDT(-0400)] <EricDalquist> it was all almost gone!
[10:56:03 EDT(-0400)] <athena7> oh wow
[10:56:11 EDT(-0400)] <athena7> if it's snowing there, wonder if it's going to rain here
[10:56:38 EDT(-0400)] <athena7> we've had like 40 mph wind gusts yesterday and today
[10:57:34 EDT(-0400)] <Tuomaz> Weird, I'm doing 'ant dist' with uP 2.6.1 on Windows and the resulting jar is missing some classes compared to the generated with the same command on Linux...
[10:58:26 EDT(-0400)] <Tuomaz> We have sunny weather around -4 degrees C
[10:58:39 EDT(-0400)] <Tuomaz> the snow is slowly going away
[11:00:10 EDT(-0400)] <Tuomaz> I live here: http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=ume%C3%A5,+sweden&amp;ie=UTF8&amp;t=h&amp;z=8&amp;iwloc=addr
[11:00:47 EDT(-0400)] <EricDalquist> what classes are missing?
[11:02:25 EDT(-0400)] <Tuomaz> for example edu/yale...
[11:02:49 EDT(-0400)] <athena7> hm, are there any edu/yale classes actually in the jasig distribution?
[11:04:23 EDT(-0400)] <Tuomaz> the classes belong to the uPortal cas client v3 i think
[11:05:19 EDT(-0400)] <Tuomaz> ah...
[11:06:14 EDT(-0400)] <Tuomaz> Now I found out
[11:07:07 EDT(-0400)] <Tuomaz> The classes I need are in cas-sec-prov-3-0-0.zip
[11:07:53 EDT(-0400)] <Tuomaz> Notice how far north Sweden actually is... compare to North America and you end up in Alaska... (smile)
[11:08:06 EDT(-0400)] <EricDalquist> yeah, except you get that nice warm ocean water
[11:08:08 EDT(-0400)] <EricDalquist> (smile)
[11:10:46 EDT(-0400)] <athena7> yeah, you're pretty far up there (smile)
[11:11:01 EDT(-0400)] <athena7> new haven is ice and snow free
[11:11:05 EDT(-0400)] <athena7> at the moment
[11:11:16 EDT(-0400)] <athena7> i'd prefer cold and snow to the sleet we get, ugh
[11:11:23 EDT(-0400)] <EricDalquist> yeah, that is true
[11:11:27 EDT(-0400)] <EricDalquist> snow is much better than cold rain
[11:12:01 EDT(-0400)] <EricDalquist> interesting ... just found out there are such things as package level annotations in jdk5
[11:19:59 EDT(-0400)] <athena7> hm, interesting
[11:20:02 EDT(-0400)] <athena7> do anything cool with it?
[11:20:18 EDT(-0400)] <EricDalquist> yeah
[11:20:36 EDT(-0400)] <EricDalquist> the custom UserType for this oracle stuff needs to be declared in a package level annotation
[11:20:48 EDT(-0400)] <EricDalquist> so the jpa package will have a package-info.java file
[11:21:01 EDT(-0400)] <EricDalquist> that just has a package declaration and annotations in it
[11:23:01 EDT(-0400)] <athena7> ahh
[11:50:35 EDT(-0400)] * athena7 (n=athena7@c-24-2-189-230.hsd1.mn.comcast.net) has joined ##uportal
[14:41:09 EDT(-0400)] * EiNZTEiN (n=einztein@di197.opencominc.com) has joined ##uportal
[15:14:40 EDT(-0400)] * jayshao (n=jayshao@pool-72-79-114-2.nwrknj.east.verizon.net) has joined ##uportal
[15:20:56 EDT(-0400)] <EiNZTEiN> hey guys
[15:21:03 EDT(-0400)] <EiNZTEiN> EricDalquist, we're going with 2.6 (sad)
[15:21:12 EDT(-0400)] <EricDalquist> thats fine (smile)
[15:21:16 EDT(-0400)] <EiNZTEiN> time constraints
[15:21:24 EDT(-0400)] <EricDalquist> yeah
[15:21:26 EDT(-0400)] <EiNZTEiN> we need to get it up 'n running in 2 months at the most
[15:21:27 EDT(-0400)] <EricDalquist> understandable
[15:21:42 EDT(-0400)] <EricDalquist> hopefully a future move to 3.0 won't be too difficult
[15:21:44 EDT(-0400)] <EiNZTEiN> AND we need the ePortfolio channel ported, which could take some time
[15:21:54 EDT(-0400)] <EricDalquist> ported?
[15:21:57 EDT(-0400)] <EiNZTEiN> ya
[15:22:01 EDT(-0400)] <EricDalquist> does it not work in 3.0?
[15:22:04 EDT(-0400)] <EiNZTEiN> nop
[15:22:10 EDT(-0400)] <EricDalquist> really?
[15:22:14 EDT(-0400)] <EiNZTEiN> Pete changed some stuff on uPortal :S
[15:22:17 EDT(-0400)] <EricDalquist> so it works in 2.6 but not 3.0
[15:22:36 EDT(-0400)] <EiNZTEiN> so he will have to change stuff on 3.0 for us to use with his "app"
[15:22:38 EDT(-0400)] <EricDalquist> ah so it works in a customized version of uPortal?
[15:22:42 EDT(-0400)] <EiNZTEiN> exactly
[15:22:46 EDT(-0400)] <EricDalquist> ah
[15:22:56 EDT(-0400)] <EricDalquist> and it is easier to customize 2.6 than 3.0 wrt to this?
[15:23:11 EDT(-0400)] <EricDalquist> (not that this would change your mind, I just want to make sure we're not missing some regression)
[15:23:40 EDT(-0400)] <EiNZTEiN> I have a question: is there anyway to have a live uportal deployment run update itself off of svn?? like scheduled or single command-type?
[15:23:59 EDT(-0400)] <EiNZTEiN> EricDalquist, I don't know all the changes involved
[15:24:06 EDT(-0400)] <EricDalquist> uhg, that sounds dangerous
[15:24:19 EDT(-0400)] <EricDalquist> so like an 'upgrade' command in the UI?
[15:24:32 EDT(-0400)] <EiNZTEiN> me and the other guy working on this were up 'til 5am running diffs on "his" 2.6 and 3.0
[15:24:45 EDT(-0400)] <EiNZTEiN> we saw a lot of changes
[15:24:45 EDT(-0400)] <EiNZTEiN> :S
[15:24:54 EDT(-0400)] <EiNZTEiN> not necessarily an UI
[15:24:55 EDT(-0400)] <EricDalquist> well 3.0 has a new project structure
[15:25:03 EDT(-0400)] <EiNZTEiN> ya
[15:25:12 EDT(-0400)] <EricDalquist> so a diff between 2.X and 3 is going to be rather ... large
[15:25:20 EDT(-0400)] <EiNZTEiN> oops.. we ran diffs on "his" 2.6 and standard 2.6
[15:25:23 EDT(-0400)] <EiNZTEiN> sorry
[15:25:26 EDT(-0400)] <EricDalquist> ah ok
[15:25:28 EDT(-0400)] <EiNZTEiN> (smile)
[15:26:08 EDT(-0400)] <EiNZTEiN> what's the "ant" command to update uPortal from the source?
[15:26:14 EDT(-0400)] <EiNZTEiN> is it always deploy?
[15:26:33 EDT(-0400)] <EricDalquist> to deploy changes in your working project to tomcat?
[15:26:37 EDT(-0400)] <EiNZTEiN> y
[15:26:39 EDT(-0400)] <EricDalquist> in 2.X it is 'ant deploy'
[15:27:05 EDT(-0400)] <EiNZTEiN> so I could have everything set up the svn and just get in there and "ant deploy" to another server (or same!)?
[15:27:14 EDT(-0400)] <EricDalquist> yup
[15:27:19 EDT(-0400)] <EricDalquist> we have our entire system scripted
[15:27:31 EDT(-0400)] <EricDalquist> work gets done in dev
[15:27:35 EDT(-0400)] <EricDalquist> checked in to cvs
[15:27:45 EDT(-0400)] <EricDalquist> check out and deployed in test by a script
[15:28:00 EDT(-0400)] <EricDalquist> once OKd in test the changes start in the change management process to get into QA for a while
[15:28:04 EDT(-0400)] <EricDalquist> then eventually into prod
[15:28:13 EDT(-0400)] <EricDalquist> and QA/Prod are both completely script driven
[15:28:32 EDT(-0400)] <EiNZTEiN> interesting
[15:28:37 EDT(-0400)] <EricDalquist> now this is all local work for the management code that is all specific to the portlet development people here do
[15:28:44 EDT(-0400)] <EricDalquist> but uPortal is very scriptable in its deployment
[15:28:48 EDT(-0400)] <EricDalquist> and most people use it that way
[15:28:53 EDT(-0400)] <EiNZTEiN> we could use a test server...
[15:28:56 EDT(-0400)] <EricDalquist> heh
[15:28:58 EDT(-0400)] <EiNZTEiN> (tongue)
[15:29:01 EDT(-0400)] <EiNZTEiN> hehe
[15:29:02 EDT(-0400)] <EricDalquist> yeah
[15:29:10 EDT(-0400)] <EiNZTEiN> I could run it on the same machine too
[15:29:13 EDT(-0400)] <EricDalquist> we have 7 environments actually
[15:29:13 EDT(-0400)] <EiNZTEiN> hmm
[15:29:22 EDT(-0400)] <EricDalquist> framework-dev, app-dev, test, qa, prod
[15:29:26 EDT(-0400)] <EricDalquist> test-demo, demo
[15:29:47 EDT(-0400)] <EricDalquist> the only environment where people actually write code are framework-dev and app-dev
[15:30:01 EDT(-0400)] <EricDalquist> the rest of the environments are updated by scripts using CVS tags
[15:31:22 EDT(-0400)] <EiNZTEiN> ya, I'll have to invest sometime in setting up that sort of environment
[15:31:34 EDT(-0400)] <EricDalquist> at least a test and a prod (wink)
[15:32:15 EDT(-0400)] <EiNZTEiN> ya
[15:32:24 EDT(-0400)] <EiNZTEiN> we have a CVS server on a dedicated machine
[15:32:30 EDT(-0400)] <EiNZTEiN> I have to turn it into a test server as well
[15:32:36 EDT(-0400)] <EiNZTEiN> we move to production by hand :|
[15:32:36 EDT(-0400)] <EiNZTEiN> eeek
[15:32:43 EDT(-0400)] <EricDalquist> (smile)
[15:32:52 EDT(-0400)] <EricDalquist> and then get all sorts of fun supprises some times right?
[15:34:10 EDT(-0400)] * esm (n=esm@128.220.212.115) has joined ##uportal
[15:36:12 EDT(-0400)] <EiNZTEiN> lol
[15:36:16 EDT(-0400)] <EiNZTEiN> exactly
[15:36:17 EDT(-0400)] <EiNZTEiN> (tongue)
[15:36:41 EDT(-0400)] <EiNZTEiN> especially because the designer also does some web stuff and he puts stuff on the server too
[15:36:49 EDT(-0400)] <EiNZTEiN> and he's not too "savvy" (tongue)
[15:36:52 EDT(-0400)] <EricDalquist> (smile)
[15:37:00 EDT(-0400)] <EiNZTEiN> we need a fool proof system (tongue)
[15:37:01 EDT(-0400)] <EiNZTEiN> hha
[15:37:04 EDT(-0400)] <EricDalquist> yeah none of the MyUW developers even have access to the prod system
[15:37:10 EDT(-0400)] <EricDalquist> only a few of us infrastructure people
[15:37:36 EDT(-0400)] <EricDalquist> and we don't even make changes there unless absolutely necessary.
[15:37:37 EDT(-0400)] <EiNZTEiN> eclipse > svn | (ends here for non-admins | > test > prod
[15:38:18 EDT(-0400)] <EricDalquist> yup
[15:38:28 EDT(-0400)] <EricDalquist> that would be a great minimal process
[15:39:04 EDT(-0400)] <EiNZTEiN> ya (smile)
[15:40:21 EDT(-0400)] <EricDalquist> we give our devs a script they can run to trigger a test update
[15:40:37 EDT(-0400)] <EiNZTEiN> do you go cvs > test through ant deploy or cvs update?
[15:40:40 EDT(-0400)] <EricDalquist> so they can check things into CVS, tag them for test, run the script and see the changes right away
[15:41:07 EDT(-0400)] <EricDalquist> the script does a cvs update then calls clean on the portal and all portlets including cleaning out tomcat then redeploys
[15:42:32 EDT(-0400)] <EiNZTEiN> hmmm
[15:42:52 EDT(-0400)] <EricDalquist> are you going to be at the jasig conference?
[15:43:28 EDT(-0400)] <EiNZTEiN> I wish :S
[15:43:35 EDT(-0400)] <EricDalquist> :/
[15:43:47 EDT(-0400)] <EiNZTEiN> no time/$$ :S
[15:43:50 EDT(-0400)] <EricDalquist> well there will be notes/blogs/etc online about it
[15:44:08 EDT(-0400)] <EricDalquist> but one thing I'm going to be doing a BOF about is using SVN and Maven for a build management system
[15:44:19 EDT(-0400)] <EricDalquist> right now we have all these custom scripts
[15:44:19 EDT(-0400)] <EiNZTEiN> sweet
[15:44:31 EDT(-0400)] <EiNZTEiN> I'd like to see those notes/keynote (smile)
[15:44:38 EDT(-0400)] <EricDalquist> and we're looking (post a 3.0 upgrade here) to move to using SVN and Maven to simplify much of it
[16:01:52 EDT(-0400)] <EiNZTEiN> Maven replaces Ant?
[16:02:04 EDT(-0400)] <EricDalquist> kind of
[16:03:03 EDT(-0400)] <EricDalquist> maven is a build management tool
[16:03:07 EDT(-0400)] <EricDalquist> ant is a scripting tool
[16:03:27 EDT(-0400)] <EricDalquist> up3 uses maven for build and dependency managment
[16:03:47 EDT(-0400)] <EricDalquist> and ant for some of the more specific task such as deploying uportal to tomcat
[16:03:54 EDT(-0400)] <EricDalquist> and running the import/export tasks
[16:08:04 EDT(-0400)] <EiNZTEiN> I see
[16:08:33 EDT(-0400)] <EiNZTEiN> (wink)
[16:33:41 EDT(-0400)] <EricDalquist> athena7: you see my email about the oracle patch?
[18:22:42 EDT(-0400)] * EricDalquist (n=EricDalq@adsl-76-204-102-88.dsl.mdsnwi.sbcglobal.net) has joined ##uportal
[19:35:36 EDT(-0400)] * jayshao_ (n=jayshao@pool-72-79-114-2.nwrknj.east.verizon.net) has joined ##uportal
[21:06:11 EDT(-0400)] * jayshao (n=jayshao@pool-72-79-114-2.nwrknj.east.verizon.net) has joined ##uportal
[21:26:43 EDT(-0400)] * EiNZTEiN (n=einztein@di197.opencominc.com) has joined ##uportal
[21:46:14 EDT(-0400)] * jayshao (n=jayshao@pool-72-79-114-2.nwrknj.east.verizon.net) has joined ##uportal
[21:46:50 EDT(-0400)] * esm (n=esm@207-53-193-233.dynamic-dsl.qis.net) has joined ##uportal
[23:11:35 EDT(-0400)] * esm_ (n=esm@207-53-193-233.dynamic-dsl.qis.net) has joined ##uportal
[23:22:02 EDT(-0400)] * EiNZTEiN (n=einztein@di197.opencominc.com) has joined ##uportal