[09:14:59 EDT(-0400)] * anastasiac (n=team@142.150.154.105) has joined ##uportal
[09:31:14 EDT(-0400)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[09:31:29 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:33:32 EDT(-0400)] <EricDalquist> good morning
[09:33:50 EDT(-0400)] <athena7> morning!
[09:44:26 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279722243.dsl.bell.ca) has joined ##uportal
[09:47:15 EDT(-0400)] <EricDalquist> so on my list today are adding a description to the tab fname box
[09:47:21 EDT(-0400)] <EricDalquist> try and replicate that import failure
[09:47:21 EDT(-0400)] <athena7> oh ok
[09:47:27 EDT(-0400)] <athena7> yeah i think that would be helpful
[09:47:29 EDT(-0400)] <EricDalquist> test the quickstart on windows
[09:47:34 EDT(-0400)] <EricDalquist> loadtest
[09:47:40 EDT(-0400)] <athena7> busy day
[09:47:45 EDT(-0400)] <EricDalquist> and package things up for the release
[09:47:53 EDT(-0400)] <EricDalquist> hopefully it will all get done
[09:47:53 EDT(-0400)] <athena7> great!
[09:47:58 EDT(-0400)] * athena7 cheers
[09:48:15 EDT(-0400)] <EricDalquist> athena7: could you do a little debugging for me on that import?
[09:48:22 EDT(-0400)] <athena7> sure
[09:48:25 EDT(-0400)] <athena7> what would you like done?
[09:48:54 EDT(-0400)] <EricDalquist> in the build.xml could you add <sysproperty key="log4j.configuration" value="command-line.log4j.properties" /> in the <java> call for the crn-import task?
[09:49:06 EDT(-0400)] <athena7> oh great, yes
[09:49:24 EDT(-0400)] <EricDalquist> then edit that log4j config to DEBUG all?
[09:49:36 EDT(-0400)] <EricDalquist> then run the import and redirect the output to a file?
[09:49:44 EDT(-0400)] <EricDalquist> it will likely be a lot of data
[09:49:56 EDT(-0400)] <EricDalquist> but we should see a bunch of hibernate related info
[09:50:12 EDT(-0400)] <athena7> sure
[09:55:48 EDT(-0400)] <athena7> i have allt he sql
[09:55:56 EDT(-0400)] <athena7> is there i way i can see what parameters it's being given?
[09:56:05 EDT(-0400)] <EricDalquist> ah
[09:56:07 EDT(-0400)] <EricDalquist> I think so
[09:56:45 EDT(-0400)] <EricDalquist> in uportal-impl/src/main/resources/properties/db/hibernate.cfg.xml add:
[09:56:49 EDT(-0400)] <EricDalquist> hibernate.show_sql = true
[09:56:55 EDT(-0400)] <athena7> oh great, thanks
[09:57:04 EDT(-0400)] <EricDalquist> there may be more ...
[09:57:05 EDT(-0400)] <EricDalquist> just a sec
[09:57:37 EDT(-0400)] <athena7> that should help at least
[09:57:41 EDT(-0400)] <EricDalquist> in the command line log4j
[09:58:04 EDT(-0400)] <EricDalquist> http://www.hibernate.org/hib_docs/reference/en/html/session-configuration.html#configuration-logging
[09:58:16 EDT(-0400)] <EricDalquist> you can also enable some of those logging categories explicitly
[09:58:21 EDT(-0400)] <athena7> ah ok
[09:58:26 EDT(-0400)] <athena7> i set the whole file to debug
[09:58:36 EDT(-0400)] <EricDalquist> the interesting ones are org.hibernate.SQL and org.hibernate.type
[09:58:47 EDT(-0400)] <EricDalquist> and in this case perhaps org.hibernate.transaction
[09:58:59 EDT(-0400)] <EricDalquist> that should do it too
[09:59:49 EDT(-0400)] <athena7> works ok
[10:00:09 EDT(-0400)] <athena7> setting everything to debug turns out badly if you're editing say, the tomcat logging configuration
[10:00:34 EDT(-0400)] <EricDalquist> lol
[10:01:06 EDT(-0400)] <athena7> i love how the documentation that tells you how to do that also tells you you probably don't want to
[10:08:25 EDT(-0400)] * dstn (n=dstn@134.250.4.77) has joined ##uportal
[10:24:34 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[10:33:43 EDT(-0400)] <athena7> some guy from england called asking about the calendar portle
[10:33:44 EDT(-0400)] <athena7> t
[10:33:58 EDT(-0400)] <athena7> i almost hung up on him because i thought he was selling something
[10:34:03 EDT(-0400)] <EricDalquist> lol
[10:34:21 EDT(-0400)] <EricDalquist> well I can say I've never gotten a cold phone call about uPortal
[10:34:24 EDT(-0400)] <athena7> or one of those headhunters with really implausible positions
[10:34:28 EDT(-0400)] <athena7> yeah it was really weird
[10:36:25 EDT(-0400)] <athena7> i guess i'm more inclined to email people
[10:36:38 EDT(-0400)] <EricDalquist> yeah
[10:36:39 EDT(-0400)] <EricDalquist> me tood
[10:36:41 EDT(-0400)] <EricDalquist> too*
[10:37:01 EDT(-0400)] <EricDalquist> it is fun watching all the stats available via jmx now
[10:37:11 EDT(-0400)] <athena7> ooh i still haven' tlooked at that
[10:37:21 EDT(-0400)] <EricDalquist> I'm running 20 concurrent users at 120 req/min against the quickstart right now
[10:37:26 EDT(-0400)] <EricDalquist> everything is looking pretty good
[10:37:34 EDT(-0400)] <EricDalquist> the ehcache statistics are really neat
[10:38:06 EDT(-0400)] <athena7> hm, i'm still not getting the parameter printed out in this trace
[10:38:09 EDT(-0400)] <athena7> oh i bet
[10:38:18 EDT(-0400)] <EricDalquist> you may have to add those hibernate categories explicitly
[10:39:06 EDT(-0400)] <athena7> categories?
[10:39:53 EDT(-0400)] <EricDalquist> so the section: http://www.hibernate.org/hib_docs/reference/en/html/session-configuration.html#configuration-logging
[10:40:07 EDT(-0400)] <EricDalquist> you may have to add those log categories explicitly to the log4j config
[10:40:13 EDT(-0400)] <EricDalquist> just doing global DEBUG may not do it
[10:40:19 EDT(-0400)] <athena7> oh ok
[10:40:43 EDT(-0400)] <EricDalquist> the easiest would be to just add org.hibernate and set it to DEBUG
[10:41:11 EDT(-0400)] <athena7> sounds like a plan
[10:53:30 EDT(-0400)] <athena7> hey eric i found this in the logs
[10:53:31 EDT(-0400)] <athena7> WARN [main] util.JDBCExceptionReporter Apr/17 10:51:42.580 - SQL Error: 0, SQLState: 25P02
[10:53:47 EDT(-0400)] <athena7> this is the most relevant thing i've found so far: http://bugs.php.net/bug.php?id=37870
[10:54:04 EDT(-0400)] <athena7> seems like the problem may be related to some combination of postgres + transactions
[10:54:13 EDT(-0400)] <EricDalquist> weird
[10:54:18 EDT(-0400)] <athena7> very
[10:56:24 EDT(-0400)] <EricDalquist> http://archives.postgresql.org/pgsql-general/2006-01/msg01649.php
[10:56:41 EDT(-0400)] <EricDalquist> can you try it against an Oracle DB?
[10:57:00 EDT(-0400)] <athena7> sure
[10:57:13 EDT(-0400)] <athena7> let me track down the oracle jar
[10:57:29 EDT(-0400)] <athena7> think i have it up on portaldev
[11:00:09 EDT(-0400)] <athena7> ok, building now
[11:08:16 EDT(-0400)] <athena7> argh
[11:08:24 EDT(-0400)] <athena7> i can't get dbtest to work correctly
[11:08:29 EDT(-0400)] <EricDalquist> :/
[11:08:35 EDT(-0400)] <EricDalquist> what is it failing on?
[11:08:51 EDT(-0400)] <athena7> [exec] Failed tests:
[11:08:51 EDT(-0400)] <athena7> [exec] testConcurrentAccess(org.jasig.portal.SequenceGeneratorTester)
[11:08:51 EDT(-0400)] <athena7> [exec] testSetCounterValues(org.jasig.portal.SequenceGeneratorTester)
[11:09:06 EDT(-0400)] <athena7> but before that there are table does not exist errors
[11:09:23 EDT(-0400)] <EricDalquist> uhg
[11:09:38 EDT(-0400)] <EricDalquist> I really hate all of that old *Tester code
[11:09:43 EDT(-0400)] <athena7> i guess i could try manually dropping all the tables and see if that helps
[11:09:58 EDT(-0400)] <EricDalquist> and it is worrying that the tests fail when you change the db driver
[11:10:06 EDT(-0400)] <athena7> yeah
[11:10:13 EDT(-0400)] <EricDalquist> since the tests shouldn't use the runtime database
[11:10:23 EDT(-0400)] <athena7> really?
[11:10:33 EDT(-0400)] <EricDalquist> nope
[11:10:35 EDT(-0400)] <athena7> i thought it was supposed to test to see if it could connect
[11:10:39 EDT(-0400)] <EricDalquist> oh
[11:10:42 EDT(-0400)] <EricDalquist> dbtest does
[11:10:45 EDT(-0400)] <EricDalquist> but the unit tests do not
[11:11:00 EDT(-0400)] <athena7> ah ok
[11:11:11 EDT(-0400)] <athena7> any suggestions?
[11:12:08 EDT(-0400)] <EricDalquist> go into the uportal-impl pom and delete the line
[11:12:09 EDT(-0400)] <EricDalquist> <include>**/*Tester.java</include>
[11:12:16 EDT(-0400)] <EricDalquist> ~ line 598
[11:13:04 EDT(-0400)] <athena7> ok
[11:19:59 EDT(-0400)] <athena7> ok so the tests do work
[11:20:18 EDT(-0400)] <athena7> it just doesn't properly report when something is missing in dbloader.xml
[11:20:37 EDT(-0400)] <EricDalquist> really? hrm I though I fixed that
[11:20:40 EDT(-0400)] <athena7> with the *Tester.java line out you do get a helpful error message
[11:21:06 EDT(-0400)] <EricDalquist> well with the tests failing dbtest never would have ran
[11:21:14 EDT(-0400)] <athena7> ah
[11:21:22 EDT(-0400)] <EricDalquist> the build is 100% fail-fast now
[11:21:35 EDT(-0400)] <athena7> that's sort of confusing though
[11:21:39 EDT(-0400)] <EricDalquist> none of the crap we had in 2 where something would fail but may still work ...
[11:21:45 EDT(-0400)] <EricDalquist> what was the ant result?
[11:21:54 EDT(-0400)] <athena7> if you can't get the helpful error message until you fix the error?
[11:21:55 EDT(-0400)] <EricDalquist> ant should report BUILD FAILED for any problem
[11:21:56 EDT(-0400)] <athena7> let me try again and see
[11:22:10 EDT(-0400)] <athena7> oh ok, i did get the helpful error this time
[11:22:12 EDT(-0400)] <athena7> so that's good
[11:22:21 EDT(-0400)] <athena7> maybe i missed it last time
[11:22:24 EDT(-0400)] <EricDalquist> The "Failed tests" message is supposed to be the helpful error
[11:23:03 EDT(-0400)] <athena7> i meant the one about db-type-mapping
[11:23:14 EDT(-0400)] <athena7> not sure why i didn't see that before
[11:23:31 EDT(-0400)] <EricDalquist> ah
[11:23:50 EDT(-0400)] <EricDalquist> yeah it can be hard to parse it with all the other output and ant stuff
[11:24:33 EDT(-0400)] <athena7> yeah
[11:24:41 EDT(-0400)] <athena7> presumably i just didn't see it
[11:24:46 EDT(-0400)] <EricDalquist> any ideas for a prompt for the externalId field?
[11:24:55 EDT(-0400)] <athena7> not really sure
[11:25:10 EDT(-0400)] <athena7> i've yet to actually try that feature
[11:25:37 EDT(-0400)] <athena7> i think it's a key for calling that tab by url? is that right?
[11:26:12 EDT(-0400)] <EricDalquist> yup
[11:26:38 EDT(-0400)] <EricDalquist> http://www.ja-sig.org/issues/browse/UP-1936
[11:28:25 EDT(-0400)] <EricDalquist> except the feature doesn't seem to work as documented ....
[11:29:51 EDT(-0400)] <athena7> oh :/
[11:30:44 EDT(-0400)] <athena7> ok
[11:30:50 EDT(-0400)] <athena7> yes, the import of the admin layout works in oracle
[11:31:01 EDT(-0400)] <EricDalquist> hrm
[11:31:09 EDT(-0400)] <EricDalquist> so it is a hibernate+postgres issue
[11:31:18 EDT(-0400)] <EricDalquist> which is what I saw a lot of when I googled for that error message
[11:31:22 EDT(-0400)] <EricDalquist> :/
[11:31:56 EDT(-0400)] <athena7> yeah
[11:32:50 EDT(-0400)] <EricDalquist> um ... heh I think I figured out why
[11:33:02 EDT(-0400)] <athena7> yeah?
[11:33:04 EDT(-0400)] <EricDalquist> it looks like drew missed a file when applying the patch to trunk
[11:33:10 EDT(-0400)] <EricDalquist> sorry why for my tab linking issue
[11:33:17 EDT(-0400)] <EricDalquist> still no clue for that posgres issue
[11:33:19 EDT(-0400)] <athena7> ah
[11:33:54 EDT(-0400)] <athena7> there's actually a warn message at the end of the import under oracle
[11:33:55 EDT(-0400)] <athena7> WARN [main] loading.LoadContexts Apr/17 11:29:46.767 - fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@a07bc2<rs=org.apache.commons.dbcp.DelegatingResultSet@3c6f3e>
[11:34:26 EDT(-0400)] <EricDalquist> yeah, that is a known hibernate issue
[11:35:17 EDT(-0400)] <EricDalquist> http://opensource.atlassian.com/projects/hibernate/browse/HHH-2795
[11:36:39 EDT(-0400)] <athena7> ok
[11:37:08 EDT(-0400)] <EricDalquist> but as far as I can tell from the issues it doesn't actually affect the runtime performance
[11:37:36 EDT(-0400)] <athena7> just wanted to make sure it wasn't related
[11:37:54 EDT(-0400)] <EricDalquist> yup
[11:56:34 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:23:19 EDT(-0400)] <athena7> have to go to meetings for a while, back later
[12:23:33 EDT(-0400)] <EricDalquist> later
[12:23:42 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:38:10 EDT(-0400)] <EricDalquist> hey awills I figured out the problem with tab linking in 3
[12:38:19 EDT(-0400)] <EricDalquist> the changes hadn't been applied to the structure xsl
[12:40:08 EDT(-0400)] <awills> yeah that's right... took me a while to remember myself
[12:40:28 EDT(-0400)] <EricDalquist> after doing that its working
[12:40:40 EDT(-0400)] <awills> when it was done in 2.6, Gary & Jen were thick in the new structure/theme work
[12:40:45 EDT(-0400)] <EricDalquist> yup
[12:41:02 EDT(-0400)] <EricDalquist> and since the structure file changed I had to apply the changes by hand
[12:41:06 EDT(-0400)] <awills> Gary & I had coordinated getting it in, but must have slipped through the cracks
[12:51:47 EDT(-0400)] * holdorph_ (n=holdorph@12.164.139.7) has joined ##uportal
[13:26:14 EDT(-0400)] <EricDalquist> wtf ... running the quickstart on windows results in every channel being missing
[13:28:41 EDT(-0400)] <dstn> :-/
[13:33:13 EDT(-0400)] <EricDalquist> any windows batch file experts here?
[13:33:25 EDT(-0400)] <dstn> not I
[13:34:01 EDT(-0400)] <awills> not an expert, but is there something specific I can eyeball?
[13:34:33 EDT(-0400)] <EricDalquist> I need to determine the directory the .bat file is in
[13:34:36 EDT(-0400)] <EricDalquist> not where it was run from
[13:34:48 EDT(-0400)] <EricDalquist> so I have qs/ant.bat
[13:34:55 EDT(-0400)] <EricDalquist> I'm in a shell in qa/up/
[13:35:03 EDT(-0400)] <EricDalquist> and I run ../ant.bat
[13:35:08 EDT(-0400)] <EricDalquist> (replace all those / with )
[13:35:25 EDT(-0400)] <EricDalquist> how can the ant.bat file figure out that it lives in qa{color}
[13:35:28 EDT(-0400)] <EricDalquist> er qs{color}
[13:35:47 EDT(-0400)] <awills> that's a pain... my understanding is you have to resort to %MYAPP_HOME% for that scenario
[13:36:17 EDT(-0400)] <awills> would love to learn differently
[13:36:21 EDT(-0400)] <EricDalquist> ohhh I think I may have just found a solution ....
[13:36:58 EDT(-0400)] <EricDalquist> http://blogs.msdn.com/oldnewthing/archive/2005/01/28/362565.aspx#362741
[13:37:03 EDT(-0400)] <EricDalquist> that seems to work!
[13:38:44 EDT(-0400)] <awills> nice
[13:38:55 EDT(-0400)] <EricDalquist> so %~dp0 is the magic string
[13:39:08 EDT(-0400)] <EricDalquist> which equates to `dirname $0` on *nix
[13:39:11 EDT(-0400)] <awills> yeah looks like magic to me
[13:44:17 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:51:26 EDT(-0400)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[13:53:14 EDT(-0400)] <EricDalquist> anyone here run windows?
[13:57:24 EDT(-0400)] <EricDalquist>
[13:59:09 EDT(-0400)] <holdorph> i dual boot to it, when I want to play poker online, or work on my photos in Lightroom
[13:59:15 EDT(-0400)] <holdorph> but otherwise no
[13:59:36 EDT(-0400)] <dstn> I have it in a virtual machine
[13:59:45 EDT(-0400)] <EricDalquist> yeah that's what I'm using it in right now
[14:00:03 EDT(-0400)] * holdorph heads to another meeting
[14:00:11 EDT(-0400)] <EricDalquist> my initial start of it resulted in missing channel errors and "java.lang.ClassNotFoundException: org.jasig.portal.channels.CError"
[14:00:14 EDT(-0400)] <EricDalquist> in the logs
[14:00:23 EDT(-0400)] <EricDalquist> I ran 'ant initportal' to see if that would fix it
[14:00:30 EDT(-0400)] <EricDalquist> now everything except the login channel renders
[14:00:35 EDT(-0400)] <EricDalquist> but that fails with the "java.lang.ClassNotFoundException: org.jasig.portal.channels.CError" again
[14:00:45 EDT(-0400)] <EricDalquist> and I have no idea how it isn't finding CError
[14:01:41 EDT(-0400)] <athena7> weird
[14:02:04 EDT(-0400)] <EricDalquist> yeah
[14:02:11 EDT(-0400)] <EricDalquist> and a potential blocker for releasing
[14:02:13 EDT(-0400)] <athena7> i don't have a non-virtual windows either
[14:02:17 EDT(-0400)] <EricDalquist> since it kinda needs to work on windows
[14:02:21 EDT(-0400)] <athena7> yeah
[14:02:24 EDT(-0400)] <athena7> is there a quickstart of this?
[14:02:29 EDT(-0400)] <athena7> or does it need to be built from source
[14:02:36 EDT(-0400)] <EricDalquist> I'll put the quickstart online
[14:03:28 EDT(-0400)] <athena7> ok, if you can put the quickstart up, i think susan can try it when she gets back in an hour
[14:04:02 EDT(-0400)] <EricDalquist> that would be great
[14:04:18 EDT(-0400)] <EricDalquist> I'm going to double check in on linux to make sure the build is ok too
[14:04:44 EDT(-0400)] <EricDalquist> https://mywebspace.wisc.edu/dalquist/web/JA-SIG/uPortal/uPortal-3.0.0-SNAPSHOT-quick-start/
[14:04:49 EDT(-0400)] <EricDalquist> that is what I'm using on windows
[14:05:02 EDT(-0400)] <athena7> great
[14:05:11 EDT(-0400)] <athena7> when she gets back from her meeting we'll try it out
[14:05:19 EDT(-0400)] <EricDalquist> thanks
[14:05:22 EDT(-0400)] <athena7> yep
[14:06:24 EDT(-0400)] <EricDalquist> you know ... I think I'm going to try it again in a minute with a different unzip program
[14:06:41 EDT(-0400)] <EricDalquist> I seem to remember a list email about problems with the windows extractor
[14:06:45 EDT(-0400)] <athena7> i can try it on my parallels instance and see
[14:06:50 EDT(-0400)] <athena7> ah hm, yeah
[14:13:07 EDT(-0400)] <EricDalquist> ok
[14:13:12 EDT(-0400)] <EricDalquist> so that .zip works on ubuntu
[14:14:52 EDT(-0400)] <athena7> that's good
[14:15:04 EDT(-0400)] <EricDalquist> time to try redoing it in windows with a different unzip
[14:16:12 EDT(-0400)] <athena7> hope it works!
[14:18:16 EDT(-0400)] <EricDalquist> me too
[14:29:41 EDT(-0400)] <EricDalquist> wow ...
[14:30:03 EDT(-0400)] <EricDalquist> so the uPortal 3 quickstart as file name paths that are too long for windows to delete correctly ....
[14:30:24 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has left ##uportal
[14:32:47 EDT(-0400)] <athena7> woah
[14:33:02 EDT(-0400)] <athena7> is that why it was failing?
[14:33:05 EDT(-0400)] <EricDalquist> I'm not sure
[14:33:11 EDT(-0400)] <EricDalquist> but it took me a while to delete the directory
[14:33:15 EDT(-0400)] <athena7> that's a little scary
[14:33:25 EDT(-0400)] <EricDalquist> I had to navigate 1/2 way down then move files back up
[14:33:32 EDT(-0400)] <athena7> yikes
[14:33:35 EDT(-0400)] <EricDalquist> I bet if I had run 'ant clean' first it would have been ok
[14:33:42 EDT(-0400)] <EricDalquist> they were all files part of portlet overlay builds
[14:33:45 EDT(-0400)] <EricDalquist> yeah
[14:33:50 EDT(-0400)] <EricDalquist> rather unsettling though
[14:33:55 EDT(-0400)] <athena7> yeah
[14:34:17 EDT(-0400)] <EricDalquist> and very frustraiting that windows explorer has limitations that small
[14:34:30 EDT(-0400)] <EricDalquist> I'd guess the path was less than 500 chars
[14:34:43 EDT(-0400)] <athena7> ick
[14:36:56 EDT(-0400)] <athena7> uhoh
[14:36:59 EDT(-0400)] <athena7> getting a bug adding a channel
[14:37:14 EDT(-0400)] <EricDalquist> what's going on?
[14:37:26 EDT(-0400)] <athena7> just happened, looking into it
[14:37:37 EDT(-0400)] <athena7> but suddenly i'm getting a servlet error from the preferences servlet
[14:37:44 EDT(-0400)] <EricDalquist> YAY!!!! Extracting the .zip with winrar works
[14:37:49 EDT(-0400)] <athena7> oh good
[14:38:04 EDT(-0400)] <EricDalquist> so I just need to document that the windows extraction tool == bad
[14:38:40 EDT(-0400)] <athena7> i'm going to switch back to my vanilla instance and see if this error occurs there too . . .
[14:38:48 EDT(-0400)] <EricDalquist> ok
[14:41:41 EDT(-0400)] <athena7> ok, it works on another test instance i have, which is good
[14:41:42 EDT(-0400)] <athena7>
[14:41:49 EDT(-0400)] <athena7> let me double check it on the most recent trunk though
[14:41:52 EDT(-0400)] <athena7> just to make sure
[14:41:53 EDT(-0400)] <EricDalquist> that's good
[14:41:54 EDT(-0400)] <EricDalquist> ok
[14:42:06 EDT(-0400)] <athena7> i may have some weird change in that other instance, since i've been doing some other development there
[14:45:04 EDT(-0400)] <athena7> did we talk about maybe in the future making string keys to use for user groups?
[14:45:29 EDT(-0400)] <EricDalquist> instead of local.1 and such?
[14:45:32 EDT(-0400)] <athena7> yeah
[14:45:35 EDT(-0400)] <EricDalquist> yeah,
[14:45:51 EDT(-0400)] <EricDalquist> propagating the fname idea through the framework
[14:46:10 EDT(-0400)] <athena7> yeah that'd be pretty cool
[14:46:22 EDT(-0400)] <EricDalquist> where you have a synthetic key (how the db references things) human key (how a person references it) and a name (non-unique nicely formatted)
[14:48:51 EDT(-0400)] <EricDalquist> hrm ... the ant build doesn't fail fast correctly on windows
[14:50:44 EDT(-0400)] <athena7> ack
[14:51:50 EDT(-0400)] <athena7> looks like specifically adding the bookmarks portlet fails int he ajax add content window thing
[14:52:04 EDT(-0400)] <EricDalquist> interesting
[14:52:19 EDT(-0400)] <EricDalquist> is it client side or server side?
[14:52:25 EDT(-0400)] <athena7> server side
[14:52:27 EDT(-0400)] <athena7> it does get added
[14:52:40 EDT(-0400)] <athena7> but the servlet throws an exception so the page doesn't reload
[14:53:10 EDT(-0400)] <athena7> http://uportal.pastebin.com/m1785f9a9
[14:55:15 EDT(-0400)] <EricDalquist> ahhh
[14:55:22 EDT(-0400)] <EricDalquist> so it would fail for any portlet likely
[14:55:23 EDT(-0400)] <athena7> yeah
[14:55:31 EDT(-0400)] <athena7> quite likely
[14:55:33 EDT(-0400)] <EricDalquist> the servlet isn't adding a wrapper that is needed
[14:55:46 EDT(-0400)] <athena7> do you know what one?
[14:55:47 EDT(-0400)] <EricDalquist> in the servlet, can you wrap the request qith PortalHttpServletRequest
[14:57:32 EDT(-0400)] <athena7> looks like i need a handle to the person manager?
[14:57:58 EDT(-0400)] <EricDalquist> there is a spring bean named personManager
[14:58:24 EDT(-0400)] <EricDalquist> so if this is a plain-old-servlet you can use webappctxutils to get the context then get the personManager bean
[14:58:48 EDT(-0400)] <EricDalquist> one of the things I'd like to do in 3.1 is convert all external servlets into spring controllers
[14:58:55 EDT(-0400)] <athena7> yeah
[14:58:56 EDT(-0400)] <athena7> ok
[14:59:03 EDT(-0400)] <athena7> got an example of a class that does that?
[14:59:12 EDT(-0400)] <athena7> actually wait i think this one already does
[14:59:35 EDT(-0400)] <EricDalquist> WebApplicationContextUtils is a spring class
[14:59:46 EDT(-0400)] <EricDalquist> you need a reference to the ServletContext which the servlet API gives you
[15:01:27 EDT(-0400)] <athena7> ok, let me see if this works
[15:05:44 EDT(-0400)] <athena7> hey, that fixed it
[15:05:50 EDT(-0400)] <athena7> do you want me to check that in at this point?
[15:07:05 EDT(-0400)] <EricDalquist> sure
[15:07:10 EDT(-0400)] <athena7> ok
[15:09:47 EDT(-0400)] <athena7> ok
[15:09:48 EDT(-0400)] <athena7> all set
[15:09:52 EDT(-0400)] <EricDalquist> cool
[15:10:08 EDT(-0400)] <EricDalquist> now if I could only figure out why mvn.bat returns 0 even though the tests are failing
[15:11:19 EDT(-0400)] <athena7>
[15:14:51 EDT(-0400)] <EricDalquist> wow
[15:14:55 EDT(-0400)] <EricDalquist> -1 for maven on this one
[15:15:00 EDT(-0400)] <EricDalquist> http://jira.codehaus.org/browse/MNG-2127
[15:15:11 EDT(-0400)] <athena7> ack!
[15:15:19 EDT(-0400)] <athena7> that seems like a fairly significant failing
[15:15:22 EDT(-0400)] <EricDalquist> you have to know to set the MAVEN_TERMINATE_CMD env variable to on
[15:15:30 EDT(-0400)] <EricDalquist> or mvn.bat returns 0 no matter what
[15:15:32 EDT(-0400)] <EricDalquist> FAIL
[15:15:40 EDT(-0400)] <athena7> no kidding!
[15:46:00 EDT(-0400)] <EricDalquist> getting very very close ....
[15:46:27 EDT(-0400)] <EricDalquist> the only errors I've seen from load testing are from using hsql with multiple users
[15:46:43 EDT(-0400)] <EricDalquist> and nothing that looks like any sort of memory issues
[15:47:19 EDT(-0400)] <athena7> glad we're close
[15:47:27 EDT(-0400)] <athena7> i'm about to head to another meeting
[15:47:37 EDT(-0400)] <EricDalquist> quickly before you go
[15:47:41 EDT(-0400)] <athena7> sure
[15:47:46 EDT(-0400)] <EricDalquist> do you have anything in particular you want to look at or test?
[15:47:52 EDT(-0400)] <athena7> i don't think so
[15:47:53 EDT(-0400)] <EricDalquist> if not I'm going to start working on packaging things up
[15:48:04 EDT(-0400)] <EricDalquist> as for that layout import issue
[15:48:17 EDT(-0400)] <EricDalquist> I think I'm going to just leave it open, I added a comment that it is postgres specific
[15:48:17 EDT(-0400)] <athena7> i thought i was all set as of last night - kind of inadvertently found that portlet adding problem while doing something else
[15:48:23 EDT(-0400)] <athena7> really hoping everything else is working
[15:48:23 EDT(-0400)] <athena7> ok
[15:49:00 EDT(-0400)] <athena7> if you see anything that needs fixing, definitely let me know though
[15:49:08 EDT(-0400)] <EricDalquist> will do
[15:49:11 EDT(-0400)] <EricDalquist> thanks for all the help Jen
[15:49:36 EDT(-0400)] <athena7> glad i could help
[15:49:48 EDT(-0400)] <athena7> i'll check in from home
[15:49:53 EDT(-0400)] <athena7> until then, good luck w/ the packaging!
[15:50:03 EDT(-0400)] <EricDalquist> thanks
[16:00:40 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[16:24:40 EDT(-0400)] <dstn> grr, out of the office replies
[16:24:47 EDT(-0400)] <EricDalquist> yeah
[16:24:58 EDT(-0400)] <EricDalquist> I finally set up a mail filter
[16:25:04 EDT(-0400)] <EricDalquist> right into the trash they go
[16:25:31 EDT(-0400)] <dstn> I should do that
[16:35:08 EDT(-0400)] <dstn> Can having multiple jar's of the same classes cause java.lang.NoClassDefFoundError errors?
[16:35:23 EDT(-0400)] <EricDalquist> hrm
[16:35:25 EDT(-0400)] <EricDalquist> I don't think so
[16:35:27 EDT(-0400)] <EricDalquist> but it might
[16:35:35 EDT(-0400)] <EricDalquist> I'd think it would more likely cause a class cast exception
[16:35:49 EDT(-0400)] <holdorph> class loaders can
[16:35:52 EDT(-0400)] <dstn> Ah ya...I'm remembering that now
[16:36:02 EDT(-0400)] <holdorph> for example having it in the web app and shared/lib
[16:36:13 EDT(-0400)] <dstn> I'm trying to help the guy on the list but not sure what the prob is
[16:37:22 EDT(-0400)] <holdorph> also, i know sakai has trouble with 5.5.26, not sure if that particular version of tomcat causes uportal grief or not
[16:39:20 EDT(-0400)] <dstn> hmm, ours runs on 5.5.26
[16:39:27 EDT(-0400)] <dstn> our uportal
[16:40:03 EDT(-0400)] <holdorph> just grasping at straws.
[16:40:16 EDT(-0400)] <holdorph> sakai won't run at all against it
[16:40:53 EDT(-0400)] <dstn> wonder if java version makes a difference
[16:42:03 EDT(-0400)] <holdorph> i've seen some code (xml parsing related) in the last couple of months that ran against 1.5.0.12, but not any other version of 1.5, so It definitely can.
[16:48:53 EDT(-0400)] <EricDalquist> would folks here mind taking a look at the release announcement at the top of this page http://www.ja-sig.org/wiki/display/UPC/3.0.0 and let me know if there are any grammatical/logical/spelling issues?
[16:56:25 EDT(-0400)] <dstn> reads good to me
[16:56:32 EDT(-0400)] <EricDalquist> great, thanks
[17:05:43 EDT(-0400)] * michelled (n=team@142.150.154.197) has left ##uportal
[17:21:01 EDT(-0400)] * athena7 (n=athena7@c-24-2-189-230.hsd1.ct.comcast.net) has joined ##uportal
[17:36:28 EDT(-0400)] <athena7> everything going ok with the release-making?
[17:36:33 EDT(-0400)] <EricDalquist> yup
[17:37:00 EDT(-0400)] <EricDalquist> tagged, branched, files are up on uportal.org (no links yet), maven artifacts are deployed, creating and deploying the site right now
[17:37:08 EDT(-0400)] <EricDalquist> http://www.ja-sig.org/wiki/display/UPC/3.0.0
[17:37:18 EDT(-0400)] <EricDalquist> that is the annoucenement that will go to uportal-dev
[17:37:36 EDT(-0400)] <athena7> great, glad things are working
[17:38:03 EDT(-0400)] <EricDalquist> me too
[17:38:08 EDT(-0400)] <EricDalquist> I'm quite nervous about all of it
[17:38:20 EDT(-0400)] <EricDalquist> I've only been working on up3 in one form or another for like 3 years now
[17:38:26 EDT(-0400)] <EricDalquist> (wow that's kind of sad )
[17:39:08 EDT(-0400)] <athena7> well susan told me not to worry, that we'd find some hideous bugs the minute it was released no matter what i do and that i should not worry about it
[17:39:19 EDT(-0400)] <EricDalquist> lol
[17:39:22 EDT(-0400)] <athena7> but i'm very grateful for all the hard work you've put into the release
[17:39:28 EDT(-0400)] <EricDalquist> thanks
[17:39:43 EDT(-0400)] <athena7> definitely a huge improvement
[17:39:44 EDT(-0400)] <EricDalquist> I'm really hoping the momentum stays and we can get more than just a few core schools using it
[17:39:47 EDT(-0400)] <EricDalquist> yeah
[17:39:52 EDT(-0400)] <athena7> yeah that would be great
[17:39:58 EDT(-0400)] <EricDalquist> I don't think it will be hard to sell developers on it
[17:40:12 EDT(-0400)] <holdorph> Unicon will be recommending/installing it as soon as it's released, for all new deployments
[17:40:23 EDT(-0400)] <holdorph> and for upgrades.... well, that's where the money is, i s'pose.
[17:40:24 EDT(-0400)] <EricDalquist>
[17:40:33 EDT(-0400)] <EricDalquist> lol yeah Drew is good at those
[17:40:54 EDT(-0400)] <holdorph> well the vendor drop/merging is going to be a bear for places that have 2.x customizations
[17:40:59 EDT(-0400)] <holdorph> with the directory reorg
[17:41:15 EDT(-0400)] <EricDalquist> we're not even going to bother
[17:41:22 EDT(-0400)] <EricDalquist> we created a up3 vendor branch
[17:41:22 EDT(-0400)] <athena7> yeah neither is yale
[17:41:31 EDT(-0400)] <athena7> we did a diff to find the local yale mods
[17:41:38 EDT(-0400)] <EricDalquist> and are doing a diff of our current 2.x local to vendor changes
[17:41:40 EDT(-0400)] <athena7> turns out there just aren't that many, which really shocked me
[17:41:42 EDT(-0400)] <EricDalquist> and moving them that way
[17:41:45 EDT(-0400)] <athena7> same at yale
[17:41:59 EDT(-0400)] <EricDalquist> yeah same here, and we're actually going to get rid of a bunch that ended up never really being used
[17:42:08 EDT(-0400)] <athena7> hoping i can still get the more interesting yale mods into the up3 trunk after this release
[17:42:11 EDT(-0400)] <athena7> yeah
[17:42:23 EDT(-0400)] <athena7> the one really big thing we had is the document cacher
[17:42:29 EDT(-0400)] <athena7> and no one really wants to keep that as it is
[17:42:38 EDT(-0400)] <EricDalquist> and we're going to re-do that during the coding session right?
[17:43:21 EDT(-0400)] <athena7> yesss
[17:43:29 EDT(-0400)] <athena7> that'd be great
[17:47:12 EDT(-0400)] <EricDalquist> maven site is up: http://developer.ja-sig.org/projects/uportal/3.0.0/
[17:47:40 EDT(-0400)] * athena7 cheers
General
Content
Integrations