Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[03:44:55 EDT(-0400)] * mad (n=chatzill@pcit-8752.hig.se) has joined ##uportal
[08:35:20 EDT(-0400)] * athena7 (n=athena7@adsl-99-149-83-32.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:55:03 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[10:00:37 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:01:13 EDT(-0400)] <EricDalquist> can people here log into the wiki?
[10:39:25 EDT(-0400)] * bulloche (n=bulloche@134.250.4.77) has joined ##uportal
[10:47:48 EDT(-0400)] <grimesp> someone upgraded the wiki to 2.9... nice
[10:48:50 EDT(-0400)] <EricDalquist> yeah
[10:48:55 EDT(-0400)] <EricDalquist> did that yesterday
[10:49:02 EDT(-0400)] <EricDalquist> too hot to be doing anything outside (tongue)
[10:57:21 EDT(-0400)] <athena7> looks good to me EricDalquist
[10:57:36 EDT(-0400)] <EricDalquist> if it stays hot jira might get moved too
[11:02:46 EDT(-0400)] <athena7> gotcha
[11:19:00 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:36:57 EDT(-0400)] * lennar1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:48:41 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[11:50:09 EDT(-0400)] * anastasiac (n=team@142.150.154.160) has joined ##uportal
[11:59:58 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[12:43:06 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:19:17 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[13:23:37 EDT(-0400)] <EricDalquist> awills: that last patch removed the last bit of dynamic cached content
[13:23:54 EDT(-0400)] <EricDalquist> working on an export of our prod snapshot and only have about 50 keys in the cache
[13:24:08 EDT(-0400)] <EricDalquist> it used to constantly grow due to all of those simple little xpaths
[13:24:14 EDT(-0400)] <awills> only 50 keys? that's pretty cool
[13:24:23 EDT(-0400)] <EricDalquist> not a big deal CPU wise but lots of wasted memory
[13:24:45 EDT(-0400)] <EricDalquist> helps that the change to do that was dead simple due to that callback interface
[13:25:30 EDT(-0400)] <awills> yeah XPath variables is a tidy little enhancement... it's a good match
[13:25:34 EDT(-0400)] <EricDalquist> also I think have have the export layout working so that it will export entity prefs for a user that has no layout
[13:25:38 EDT(-0400)] <EricDalquist> yeah
[13:25:46 EDT(-0400)] <EricDalquist> fits with the features of jexl/groovy
[13:26:04 EDT(-0400)] <awills> yeah, exactly
[13:26:31 EDT(-0400)] <EricDalquist> oh and other random performance note
[13:26:44 EDT(-0400)] <EricDalquist> found a few sites that say jexl is 5x or more faster than groovy
[13:27:06 EDT(-0400)] <EricDalquist> so you probably want to lean toward that for simple expression stuff with tests and attributes
[13:27:10 EDT(-0400)] <awills> it's as though all these technologies have the basic TaskRequest concept, just different types and method sigs... all you have to do is get what you have into the expected format and get out of the way (wink)
[13:27:26 EDT(-0400)] <awills> ok, that makes sense
[13:27:44 EDT(-0400)] <awills> it might nead rexamining w/ groovy 1.6
[13:27:57 EDT(-0400)] <EricDalquist> true
[14:28:41 EDT(-0400)] <EricDalquist> actually awills you could do the same callback pattern with scripts
[14:29:01 EDT(-0400)] <EricDalquist> instead of copying all of the attributes into a Bindings each time crn runs groovy/js/tc
[14:29:04 EDT(-0400)] <EricDalquist> etc*
[14:29:15 EDT(-0400)] <EricDalquist> you could have a custom Bindings impl that just does a callback into the request
[14:32:51 EDT(-0400)] <awills> that's true... that sounds good... would save some of that copying
[14:33:22 EDT(-0400)] <EricDalquist> not sure if it really matters at all
[14:33:33 EDT(-0400)] <EricDalquist> but if you have a javax.script heavy crn script
[14:33:46 EDT(-0400)] <EricDalquist> you could spend a fair bit of time just copying data
[14:36:02 EDT(-0400)] <awills> i'm inclined to think it makes sense... I bet Bindings is a pretty simple interface
[14:36:15 EDT(-0400)] <EricDalquist> JexlContext would be the final place to do the same thing
[14:36:21 EDT(-0400)] <EricDalquist> yeah
[14:36:28 EDT(-0400)] <EricDalquist> Bindings is really just a simplified Map
[14:36:38 EDT(-0400)] <EricDalquist> you could even wrap another Bindings interface for the set* methods
[14:36:50 EDT(-0400)] <EricDalquist> and default the wrapped instance to SimpleBindings
[14:37:08 EDT(-0400)] <EricDalquist> then you can be lazy and only implement the get* logic as a simple override
[14:41:13 EDT(-0400)] <EricDalquist> just did an all-layouts export for 146198 users, 18344 of them with layouts in just over 15 minutes
[14:48:18 EDT(-0400)] <awills> that's nuts... i didn't think there was that kind of improvement to be had
[14:48:32 EDT(-0400)] <EricDalquist> another problem we ran into
[14:48:40 EDT(-0400)] <EricDalquist> uPortal tables are terribly indexed
[14:48:48 EDT(-0400)] <EricDalquist> UP_USER had no index or primary key
[14:48:49 EDT(-0400)] <awills> well yes
[14:49:04 EDT(-0400)] <EricDalquist> along with problems in up_struct_param
[14:49:15 EDT(-0400)] <EricDalquist> so we had some db tuning to do
[14:49:32 EDT(-0400)] <awills> my understanding was that these things were difficult to do properly w/ dbloader
[14:49:32 EDT(-0400)] <EricDalquist> still have some SQL performance tweaking the user export section
[14:49:43 EDT(-0400)] <EricDalquist> I bet we can do a full 150k user export in under 20 minutes
[14:49:49 EDT(-0400)] <EricDalquist> some of them are
[14:49:55 EDT(-0400)] <EricDalquist> but not the ones we're missing
[14:50:03 EDT(-0400)] <awills> alright then
[14:50:08 EDT(-0400)] <EricDalquist> foreign keys are the big thing that dbloader would be hard pressed to do
[14:50:16 EDT(-0400)] <EricDalquist> but a lot of it is just lack of info in tables.xml
[14:50:26 EDT(-0400)] <EricDalquist> 2.6 and 3.0 are better than 2.5 was
[14:50:29 EDT(-0400)] <EricDalquist> but they still need work
[14:50:43 EDT(-0400)] <awills> if you can export in 20 min, it seems you'll be able to turn the whole thing around in under 3 hrs
[14:51:01 EDT(-0400)] <awills> when is your date?
[14:51:20 EDT(-0400)] <EricDalquist> Oct 21
[14:51:27 EDT(-0400)] <EricDalquist> have a lot of other work that needs to be done to
[14:51:33 EDT(-0400)] <awills> i bet
[14:51:43 EDT(-0400)] <EricDalquist> but this makes us feel a lot better about the timeslot we have alloted
[14:53:58 EDT(-0400)] <awills> if it were we doing what you're doing, I'd feel pretty good about the fact that I just had to identify how each type of operation can be improved and do so one place, rather than chase all these things down in each small part of each operation that's done on each portal object type (wink)
[14:54:04 EDT(-0400)] <awills> *me
[14:54:44 EDT(-0400)] <EricDalquist> (smile)
[15:05:14 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[15:09:33 EDT(-0400)] * awills1 (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[15:13:16 EDT(-0400)] * awills2 (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[15:44:29 EDT(-0400)] * michelled (n=team@142.150.154.197) has left ##uportal
[16:12:10 EDT(-0400)] * invisibill (i=80876350@gateway/web/ajax/mibbit.com/x-5e2b708eed783e67) has joined ##uportal
[16:16:37 EDT(-0400)] <invisibill> Greetings: I've got a development instance of uPortal authenticating with CAS. I get this in the cas.log debug output ..."Action 'AuthenticationViaFormAction' completed execution; result is 'success' but then on the login page, I am not logged in and there is an error message saying "The credentials you provided cannot be determined to be authentic."
[16:17:01 EDT(-0400)] <invisibill> I am using the default deployed db and testing with admin:admin
[16:17:15 EDT(-0400)] <invisibill> is it possible that the embedded database is not running?
[16:17:46 EDT(-0400)] <EricDalquist> what versions of uPortal and CAS are you using?
[16:18:28 EDT(-0400)] <invisibill> CAS 3.2 and uPortal 3
[16:19:13 EDT(-0400)] <EricDalquist> is the error message being displayed by cas or uPortal?
[16:19:19 EDT(-0400)] <invisibill> Is it possible that I'm not pointing to the embedded db anymore. there was another administrator with access to this instance and may have pointed it to our ldap server, but I am not sure where to chec.
[16:19:30 EDT(-0400)] <invisibill> it is on the cas login page.
[16:19:53 EDT(-0400)] <EricDalquist> hrm, I'm not quite as sure there
[16:20:54 EDT(-0400)] <EricDalquist> if it is just the case of the embedded DB being down I'd guess you'd see an error in the cas log about not being able to connect
[16:21:00 EDT(-0400)] <invisibill> This setup was working for several weeks and another developer just noticed today that it is not working.
[16:21:21 EDT(-0400)] <EricDalquist> if it is a configuration issue you'd need to figure out where the configuration changes were made first
[16:21:25 EDT(-0400)] <holdorph> someone should poke, apetro, oh wait, I guess I could try to do that (wink)
[16:22:08 EDT(-0400)] <invisibill> I've got the full debugs turned on in the cas.log. but there aren't any errors coming out of the cas.log. Is there a trace level available for cas?
[16:22:39 EDT(-0400)] <EricDalquist> probably not but I don't know
[16:22:53 EDT(-0400)] <EricDalquist> can you see what auth mechanism it is trying from the debug logs?
[16:23:48 EDT(-0400)] * apetro-_ (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[16:24:03 EDT(-0400)] <apetro-_> I hear CAS calling my name
[16:24:04 EDT(-0400)] <invisibill> I'll check
[16:24:55 EDT(-0400)] <holdorph> apetro - invisibill needs to know what CAS config files to check to see if someone switch a config from the uportal db to ldap
[16:25:02 EDT(-0400)] <holdorph> for CAS that is
[16:25:20 EDT(-0400)] <invisibill> ok. I just reloaded the cas app and see this in the logs...
[16:36:12 EDT(-0400)] <EricDalquist> fyi awills2 87 seconds to export 150k .user files. We had to really fix the SQL in export-user though
[16:49:10 EDT(-0400)] <invisibill> sorry EricDalquist and apetro- I just talked to the another administrator and we both have instances of uPortal running pointing to the same oracle backend. He's been "tweaking" the user creds causing the vanilla install creds not to work.
[16:49:23 EDT(-0400)] <EricDalquist> ah
[16:49:32 EDT(-0400)] <EricDalquist> no problem
[16:49:45 EDT(-0400)] <invisibill> thanks for your help.
[17:05:53 EDT(-0400)] <apetro-_> in CAS, the main file to look at is deployerConfigContext.xml
[17:06:19 EDT(-0400)] <apetro-_> he says, belatedly, after invisibill left
[17:06:44 EDT(-0400)] <apetro-_> There's been some effort to concentrate "stuff you probably gotta modify in configuring your deployment" into that one file
[17:12:03 EDT(-0400)] * awills1 (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[19:33:29 EDT(-0400)] * apetro-_ (n=apetro@12.164.139.7) has joined ##uportal