uPortal IRC Logs-2009-02-17

[02:11:19 EST(-0500)] * [jlee] (n=jlee@adsl-074-184-125-241.sip.asm.bellsouth.net) has joined ##uportal
[09:45:06 EST(-0500)] * athena7 (n=athena7@adsl-99-136-251-32.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:50:52 EST(-0500)] * colinclark (n=colin@bas2-toronto09-1176132041.dsl.bell.ca) has joined ##uportal
[09:53:49 EST(-0500)] * apetro (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[09:59:24 EST(-0500)] * michelled (n=team@142.150.154.193) has joined ##uportal
[10:00:15 EST(-0500)] * apetro_ (n=apetro@12.164.139.7) has joined ##uportal
[10:03:52 EST(-0500)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[10:23:26 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:26:50 EST(-0500)] * lennard1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[10:53:34 EST(-0500)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[10:57:34 EST(-0500)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[12:01:18 EST(-0500)] * apetro (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:04:57 EST(-0500)] <holdorph> so, i know how to get the stuff myself from subversion using the tag and such.... but with the new uportal.org website, is there a way to get the RC/Milestone builds?
[12:05:11 EST(-0500)] <EricDalquist> not yet
[12:05:13 EST(-0500)] <holdorph> there used to be a link, something like "get other downloads"
[12:05:15 EST(-0500)] <holdorph> ok
[12:05:16 EST(-0500)] <EricDalquist> JimH is supposed to be working on that
[12:05:24 EST(-0500)] <EricDalquist> I'll ask him about it again today
[12:05:39 EST(-0500)] <EricDalquist> you can always browse to http://www.ja-sig.org/downloads
[12:08:15 EST(-0500)] <holdorph> just curious, if I was missing something on the new site.
[12:59:35 EST(-0500)] <EricDalquist> if I wanted to get some properties into the theme XSLT from a flat file (.properties, .xml, doesn't matter) what is the best way to do that?
[13:00:06 EST(-0500)] <athena7> that's a good question
[13:00:24 EST(-0500)] <athena7> right now any properties are just defined at the top of the main theme file
[13:00:27 EST(-0500)] <EricDalquist> we have some links in the theme and need them to be environment specific
[13:00:38 EST(-0500)] <EricDalquist> and I don't want to branch all of universality.xsl
[13:01:48 EST(-0500)] <EricDalquist> I suppose I could add an XML file with the theme
[13:01:52 EST(-0500)] <athena7> i'm guessing the options would be to define a parameter at the top, and use something in java to set that - potentially the theme param injectors, if you don't need it to work for guest users
[13:01:58 EST(-0500)] <EricDalquist> and have the properties at the top of the XSL read from that ...
[13:02:14 EST(-0500)] <EricDalquist> I need them all the time :?
[13:02:16 EST(-0500)] <athena7> or to create a new tag that reads properties
[13:02:47 EST(-0500)] <athena7> yeah you could add a new xml file and import that into universality too
[13:03:22 EST(-0500)] <athena7> all the time?
[13:03:23 EST(-0500)] <EricDalquist> yeah I'm thinking of using the messages.xml file as an example
[13:03:26 EST(-0500)] <EricDalquist> document($MESSAGE_DOC_URL)/theme-messages/tokens[lang($USER_LANG)]/token
[13:03:45 EST(-0500)] <EricDalquist> so the properties need to be there for all users
[13:03:52 EST(-0500)] <EricDalquist> including guest
[13:04:32 EST(-0500)] <athena7> ah ok, yes, then theme param injectors aren't a good strategy
[13:05:13 EST(-0500)] <athena7> actually
[13:05:31 EST(-0500)] <athena7> i don't think having something that's different across different environments for the guest user is going to work
[13:05:43 EST(-0500)] <athena7> because the guest user has just one shared, cached theme
[13:05:47 EST(-0500)] <EricDalquist> right
[13:05:53 EST(-0500)] <EricDalquist> but if this is two different servers
[13:06:12 EST(-0500)] <athena7> oh ok
[13:06:16 EST(-0500)] <EricDalquist> so the use case is that we have some service links in the header
[13:06:27 EST(-0500)] <EricDalquist> that go to things like email, calendar, etc
[13:06:30 EST(-0500)] <athena7> ah!
[13:06:38 EST(-0500)] <EricDalquist> the URLs are different for dev/test/qa/prod
[13:06:42 EST(-0500)] <athena7> gotcha
[13:06:46 EST(-0500)] <EricDalquist> right now we just branched universality.xsl
[13:06:52 EST(-0500)] <EricDalquist> and have one copy per env
[13:06:59 EST(-0500)] <EricDalquist> which sucks to maintain
[13:07:06 EST(-0500)] <athena7> yeah understandable
[13:07:08 EST(-0500)] <EricDalquist> so if I can move just the URLs into an XML file
[13:07:14 EST(-0500)] <EricDalquist> we can branch that and that's easy to maintain
[13:07:17 EST(-0500)] <athena7> yep
[13:07:42 EST(-0500)] <athena7> or i think if you really wanted to use properties, you could do what you did for the channel manager permissions test, no?
[13:08:25 EST(-0500)] <EricDalquist> yeah ... but the properties file still needs to be somewhere
[13:08:44 EST(-0500)] <EricDalquist> and that would be a lot more custom code and such than just another XML file with the theme files
[13:10:13 EST(-0500)] <athena7> yeah
[13:14:09 EST(-0500)] <awills> eric your solution is good... use <xsl:import> and then either (1) specify the href as a  (build_token) or (2) make each env put a different file in the location specified by href
[13:14:34 EST(-0500)] <holdorph> nifty. i think this is the first uportal release I've tested where I get this, with default settings: java.lang.OutOfMemoryError: PermGen space
[13:15:04 EST(-0500)] <athena7> yay spring? (smile)
[13:15:20 EST(-0500)] <EricDalquist> holdorph: yeah the latest quickstarts (3.0.3-RC1 and 3.1.0-M2) both upped the permget
[13:15:21 EST(-0500)] <EricDalquist> not spring
[13:15:24 EST(-0500)] <EricDalquist> all the portlets
[13:15:40 EST(-0500)] <EricDalquist> every portlet app we add is a whole new classloader{color}
[13:15:45 EST(-0500)] <awills> yeah i would think it's the portlets

[13:16:39 EST(-0500)] <holdorph> yeah, i'm just working on updating training documentation, and it's a whole new setting to have students set. and for every new setting, you know there will be one student per class that makes a typo
[13:16:55 EST(-0500)] <EricDalquist> yup
[13:17:27 EST(-0500)] <athena7> have we added more portlets since 3.0.0?
[13:17:34 EST(-0500)] <EricDalquist> yeah
[13:17:37 EST(-0500)] <EricDalquist> web proxy
[13:17:40 EST(-0500)] <athena7> oh!
[13:17:49 EST(-0500)] <athena7> cool, i hadn't realized that was in the build now
[13:18:02 EST(-0500)] <EricDalquist> yup awills did that one
[13:18:04 EST(-0500)] <athena7> speaking of portlets, there are two current portlet issues
[13:18:06 EST(-0500)] <EricDalquist> there is even a cpd
[13:18:13 EST(-0500)] <athena7> one is the bookmarks portlet, which i think we've talked about before
[13:18:23 EST(-0500)] <EricDalquist> we could switch all the CWebProxies in 3.1 to the proxy portlet
[13:18:36 EST(-0500)] <athena7> the other is the google portlet, which still doesn't drag in IE - but will if we update to the new search api
[13:18:51 EST(-0500)] <athena7> holdorph: i think you're still the leader on that google portlet?
[13:19:05 EST(-0500)] <EricDalquist> athena7: can you create jira issues in the UP project for both of those?
[13:19:11 EST(-0500)] <athena7> sure
[13:19:17 EST(-0500)] <EricDalquist> we can link to the respective portlet issues if/when it gets to that point
[13:19:30 EST(-0500)] <athena7> and i think switching to the new portlet sounds reasonable
[13:20:01 EST(-0500)] <EricDalquist> so do I
[13:20:05 EST(-0500)] <EricDalquist> just need to find time (smile)
[13:20:11 EST(-0500)] <athena7> lol
[13:20:12 EST(-0500)] <athena7> pretty much
[13:20:31 EST(-0500)] <awills> lol
[13:20:55 EST(-0500)] <holdorph> athena7 yeah, i own the google code project, for the googleportlet. if you have new html or better yet, a .jsp file, just attach it to the jira and assign the jira to me
[13:21:05 EST(-0500)] <athena7> ok
[13:21:18 EST(-0500)] <EricDalquist> brb
[13:21:26 EST(-0500)] <athena7> i think i actually have commit access on it
[13:21:31 EST(-0500)] <athena7> hang on, phone
[13:21:34 EST(-0500)] <holdorph> even better (wink)
[13:25:24 EST(-0500)] <EricDalquist> getting those two portlets updated would be quite nice
[13:27:40 EST(-0500)] * apetro_ (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:35:09 EST(-0500)] <holdorph> eric what did you up the permgen memory to in the quickstart?
[13:35:55 EST(-0500)] <EricDalquist> ah
[13:35:57 EST(-0500)] <EricDalquist> 384
[13:36:04 EST(-0500)] <EricDalquist> because I didn't want to deal with it again for a long time
[13:36:14 EST(-0500)] <holdorph> lol
[13:36:17 EST(-0500)] <EricDalquist> that was MaxPermGen
[13:36:33 EST(-0500)] <holdorph> man, sakai is a pig, and I haven't raised my sakai setting above 196m
[13:37:13 EST(-0500)] <EricDalquist> you'd be fine probably at 80
[13:37:24 EST(-0500)] <EricDalquist> but setting it higher lets you redeploy more times
[13:37:27 EST(-0500)] <holdorph> nope, the default is 96mb and that blows up
[13:37:59 EST(-0500)] <holdorph> at least with jdk 1.6.0.10 and the up 3.1.0 M2
[13:38:05 EST(-0500)] <EricDalquist> I thought the default was 64
[13:38:31 EST(-0500)] <holdorph> i just ran jconsole to verify, definitely 96 on my box, anyway.
[13:38:44 EST(-0500)] <athena7> weird
[13:39:01 EST(-0500)] <holdorph> i'm also running the 64 bit jvm, that could be a difference as well
[13:39:08 EST(-0500)] <athena7> so holdorph, if you don't object, i'll probably just update the google portlet tonight
[13:39:25 EST(-0500)] <holdorph> no objections
[13:39:42 EST(-0500)] <athena7> ok
[13:41:12 EST(-0500)] <athena7> it'd be nice to get the maps stuff in there someday, if it didn't crash the portal when dragged
[13:41:24 EST(-0500)] <holdorph> lol
[13:41:29 EST(-0500)] <holdorph> that's a problem
[13:42:21 EST(-0500)] <athena7> well it's only in IE
[13:42:37 EST(-0500)] <athena7> (tongue)
[13:42:52 EST(-0500)] <athena7> but yeah, i suppose that's not generally a good thing
[13:45:42 EST(-0500)] <holdorph> fwiw, on my ubunutu box, with firefox, the default 'add content' popup, isn't big enough, i have to scroll to use the buttons at the bottom
[13:45:51 EST(-0500)] <holdorph> this is with 3.1.0 m2
[13:46:27 EST(-0500)] <holdorph> and 'add tab' doesn't seem to have any effect at all
[13:47:46 EST(-0500)] <athena7> ok, i know about the add content, but haven't seen the add tab issue
[13:47:47 EST(-0500)] <holdorph> hmm... i guess it did once I refreshed the page.
[13:48:03 EST(-0500)] <holdorph> but it seems like it doesn't have an effect at the time you use it.
[13:48:24 EST(-0500)] <athena7> it can't add the tab until it gets a response from the ajax call
[13:48:35 EST(-0500)] <athena7> i don't know if that's what's going on or not
[13:48:50 EST(-0500)] <holdorph> deleting a tab also doesn't 'go away' until a page refresh
[13:49:00 EST(-0500)] <athena7> ok, that's not right either
[13:49:04 EST(-0500)] <athena7> i'll take a look at those tonight
[13:49:19 EST(-0500)] <athena7> do you have firebug or something like that installed?
[13:50:38 EST(-0500)] <holdorph> not at the moment. I was simply trying to click through everything as every user, to force my permgen up to it's highest point.
[13:50:48 EST(-0500)] <holdorph> trying to see how big I need to make it for students
[13:51:38 EST(-0500)] <holdorph> 113m so far, btw, but I'm runninging out of things to try
[13:53:40 EST(-0500)] <holdorph> test suite portlet is failing tests on me as well
[13:54:37 EST(-0500)] <holdorph> looks like a jsp problem
[13:57:20 EST(-0500)] <awills> I updated the patch for UP-2282: http://www.ja-sig.org/issues/browse/UP-2282
[13:57:28 EST(-0500)] <awills> new version includes export support
[13:58:37 EST(-0500)] <EricDalquist> holdorph: what tests?
[13:58:51 EST(-0500)] <holdorph> the first two, i didn't go any farther then that.
[13:59:13 EST(-0500)] <holdorph> Nested Exception is org.apache.jasper.JasperException: /jsp/test_results.jsp(25,0) /jsp/navigation.inc(34,38) Attribute value renderRequest.isSecure() ? "True" : "False" is quoted with " which must be escaped when used within the value
[14:00:14 EST(-0500)] <EricDalquist> hrm
[14:00:19 EST(-0500)] <EricDalquist> what version of Tomcat?
[14:00:22 EST(-0500)] <athena7> sounds vaguely like that tomtcat version issue
[14:00:24 EST(-0500)] <holdorph> 6.0.18
[14:00:35 EST(-0500)] <holdorph> this is a completely clean room environment built today
[14:00:53 EST(-0500)] <holdorph> well, except for the JVM which I didn't want to wait to download
[14:01:12 EST(-0500)] <holdorph> blank unix user, no maven repository, etc. etc.
[14:02:33 EST(-0500)] <athena7> that sounds slow and painful
[14:02:59 EST(-0500)] <EricDalquist> yeah I think that is the same tomcat issue the CAS ran into
[14:03:10 EST(-0500)] <holdorph> well i'm not about to zip up my maven repository and use that for training (smile)
[14:04:06 EST(-0500)] <holdorph> 228168 /home/guest/.m2
[14:04:07 EST(-0500)] <holdorph> 2406452 /home/holdorph/.m2
[14:04:24 EST(-0500)] <holdorph> that's in kilobytes, btw.
[14:05:10 EST(-0500)] <EricDalquist> before you zip that up ....
[14:05:12 EST(-0500)] <EricDalquist> just a sec
[14:07:07 EST(-0500)] * holdorph heads to lunch, but leaves irc up in the meantime.
[14:31:27 EST(-0500)] <EricDalquist> so before you zip up "rm -Rf guest/.m2/repository/org/jasig/portal/"
[14:31:37 EST(-0500)] <EricDalquist> that just has locally installed uPortal files
[14:31:57 EST(-0500)] <EricDalquist> and they'll get put right back the first time you run any uPortal ant command which in turn runs a "mvn install"
[14:51:33 EST(-0500)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[15:17:05 EST(-0500)] * lennard2 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[15:50:47 EST(-0500)] * lennard1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[15:57:04 EST(-0500)] * invisibill (i=80876350@gateway/web/ajax/mibbit.com/x-58230d73b0a4780d) has joined ##uportal
[16:00:50 EST(-0500)] <holdorph> a little late, but thanks for the tip. definitely cuts down on the size of the .zip file.
[16:10:44 EST(-0500)] <invisibill> Greetings uPortal devs: I'm attempting to add a custom dlm fragmet and need to change the password for the owner so I can go in and modify the fragment as that user. My user is set as an admin, but Im getting this exception and the password manager does not load for me: http://uportal.pastebin.com/m65740b2e Does this look like a common user error ?
[16:11:50 EST(-0500)] <invisibill> Also, I know this and other q's I've been posting here are user related and this seems to be kind of a development chat room. am I better suited to post these types of q's on another chat?
[16:12:21 EST(-0500)] <invisibill> I do appreciate the help and feedback I've been getting here so far though.
[16:14:01 EST(-0500)] <awills> are you trying to create a passwrod for the layout owner?
[16:14:23 EST(-0500)] <invisibill> yes.
[16:14:47 EST(-0500)] <invisibill> with the intent of logging in as them to modify the fragement.
[16:15:23 EST(-0500)] <awills> sure... i think many of us are more familiar w/ the ant command for that
[16:15:44 EST(-0500)] <awills> >ant md5passwd -Dusername=<name_of_frag_owner>
[16:15:50 EST(-0500)] <invisibill> I read on the wiki here: http://www.ja-sig.org/wiki/display/UPM30/02+DLM+Administration+Guide . that thats how I should modify the layout of the fragment
[16:16:00 EST(-0500)] <invisibill> nice. I'll try that. thanks.
[16:22:05 EST(-0500)] <invisibill> that worked. thanks again.
[16:26:52 EST(-0500)] * bszabo_ (n=bszabo@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[16:55:26 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[17:08:35 EST(-0500)] <athena7> EricDalquist: when are you planning on cutting the release?
[17:08:46 EST(-0500)] <EricDalquist> 3.1.0-RC1?
[17:08:57 EST(-0500)] <athena7> yes, sorry should have been more specific (smile)
[17:09:10 EST(-0500)] <EricDalquist> 2/25 at the very latest
[17:09:25 EST(-0500)] <EricDalquist> I'd like all developer changes to be in by 2/22
[17:09:29 EST(-0500)] <athena7> ah ok
[17:09:31 EST(-0500)] <EricDalquist> so I can start working on it 2/23
[17:09:37 EST(-0500)] <athena7> i wasn't sure whether we'd have the weekend or not
[17:09:58 EST(-0500)] <athena7> so is that by the morning of 2/22 or the end of business?
[17:10:33 EST(-0500)] <EricDalquist> so by the time I get in to work about 8am central time on 2/23 (smile)
[17:10:39 EST(-0500)] <athena7> lol ok
[17:10:50 EST(-0500)] * athena7 demands extreme levels of specificity
[17:10:53 EST(-0500)] <EricDalquist> lol
[17:11:07 EST(-0500)] * EricDalquist goes off to write a script to lock SVN at 8am on 2/23
[17:11:14 EST(-0500)] <athena7> hmm i guess 2/22 doesn't exactly have an end of business
[17:11:15 EST(-0500)] <athena7> lol
[17:11:24 EST(-0500)] <athena7> make sure it's sync'd to an atomic clock, please
[17:11:38 EST(-0500)] <holdorph> 8am in which timezone?
[17:12:11 EST(-0500)] <EricDalquist> (2009-02-17 16:10:33) EricDalquist: so by the time I get in to work about 8am central time on 2/23 (smile)
[17:12:12 EST(-0500)] <athena7> he said central time
[17:12:23 EST(-0500)] <athena7> but i don't know if that's CDT or CST . . . i mean, you never know . . .
[17:12:24 EST(-0500)] <athena7> (wink)
[17:12:50 EST(-0500)] <holdorph> ah, it had scrolled, i was only lookint at the 'svn lock' line
[17:13:13 EST(-0500)] * ChanServ sets mode +o EricDalquist
[17:13:24 EST(-0500)] <EricDalquist> I'm going to start kicking!
[17:13:26 EST(-0500)] <EricDalquist> (wink)
[17:13:35 EST(-0500)] * holdorph hides
[17:13:37 EST(-0500)] <athena7> wow, eric gaining superpowers made my computer make a bizarre noise
[17:13:41 EST(-0500)] <EricDalquist> LOL
[17:13:50 EST(-0500)] <athena7> never heard that soundeffect before!
[17:13:57 EST(-0500)] <EricDalquist> colloque?
[17:14:05 EST(-0500)] <EricDalquist> (or however it is spelled)
[17:14:12 EST(-0500)] <athena7> yeah
[17:14:20 EST(-0500)] <EricDalquist> yeah the op sound is like someone scratching a record
[17:14:23 EST(-0500)] <athena7> yeah
[17:15:36 EST(-0500)] * apetro (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[17:17:17 EST(-0500)] <athena7> gary's got most of an additional skin together to brand it more like the new jasig site, but i'm not sure he'll have it together by then
[17:17:37 EST(-0500)] <EricDalquist> I have an email from him I need to respond to
[17:18:22 EST(-0500)] <athena7> (smile)
[17:25:26 EST(-0500)] <awills> UP-2282 is patched
[17:25:56 EST(-0500)] <EricDalquist> great
[17:28:19 EST(-0500)] <awills> yeah it's a relief... shrank my >svn status output by like 66%
[17:28:49 EST(-0500)] * michelled (n=team@142.150.154.193) has left ##uportal
[17:36:20 EST(-0500)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[17:38:38 EST(-0500)] <athena7> by the way, EricDalquist, i had a little trouble applying that page caching filter
[17:38:51 EST(-0500)] <athena7> it seems to expect ehcache.xml to be in the default location
[17:38:56 EST(-0500)] <athena7> wasn't sure how to fix that
[17:38:59 EST(-0500)] <EricDalquist> in uPortal?
[17:40:17 EST(-0500)] <athena7> yeah
[17:40:19 EST(-0500)] <EricDalquist> ah
[17:40:28 EST(-0500)] <EricDalquist> so you can use the filter as-is in uPortal
[17:40:29 EST(-0500)] <athena7> since ours is in properties
[17:40:33 EST(-0500)] <EricDalquist> yeah
[17:40:40 EST(-0500)] <athena7> oh really? it wouldn't load up for me
[17:40:43 EST(-0500)] <athena7> the gzip one did
[17:40:50 EST(-0500)] <EricDalquist> can'T
[17:40:52 EST(-0500)] <EricDalquist> sorry
[17:40:56 EST(-0500)] <EricDalquist> but
[17:40:59 EST(-0500)] <athena7> oh
[17:41:03 EST(-0500)] <EricDalquist> it is easily fixable
[17:41:06 EST(-0500)] <athena7> (smile)
[17:41:31 EST(-0500)] <EricDalquist> so
[17:41:51 EST(-0500)] <EricDalquist> you need to extend SimplePageCachingFilter and override the getCacheManager protected method
[17:42:04 EST(-0500)] <EricDalquist> the new filter should be configured in a spring context file
[17:42:23 EST(-0500)] <EricDalquist> and then use the org.springframework.web.filter.DelegatingFilterProxy from Spring to point to it from the portal's web.xml
[17:42:32 EST(-0500)] <EricDalquist> you can look at maxInactiveFilter in trunk for an example of that
[17:43:16 EST(-0500)] <EricDalquist> when you configure our extended SimplePageCachingFilter in the portal app context you can inject the "cacheManager" bean defined in cacheContext.xml
[17:43:25 EST(-0500)] <EricDalquist> which is already well named
[17:43:35 EST(-0500)] <EricDalquist> and using the correct config file
[17:43:48 EST(-0500)] <EricDalquist> and that cache manager is shared by uPortal, hibernate, etc..
[17:44:20 EST(-0500)] <athena7> sounds good to me
[17:44:44 EST(-0500)] <EricDalquist> (smile)
[19:48:38 EST(-0500)] * lennard1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has left ##uportal
[19:51:30 EST(-0500)] * apetro (n=apetro@ip68-3-207-51.ph.ph.cox.net) has joined ##uportal