uPortal IRC Logs-2008-01-08

[00:00:09 EST(-0500)] * esm (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal
[08:19:14 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[08:36:18 EST(-0500)] * esm (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal
[09:34:25 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:39:56 EST(-0500)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[09:40:52 EST(-0500)] * awills (n=awills@mtw160-5.ippl.jhu.edu) has joined ##uportal
[09:47:41 EST(-0500)] <EricDalquist> so close to M5 ...
[09:49:10 EST(-0500)] <esm> sweet
[09:49:23 EST(-0500)] <EricDalquist> I think I'm going to move the pluto branch to the trunk this morning
[09:49:56 EST(-0500)] <EricDalquist> the only other thing I want to get done before a m5 is syncing the portlets' states & modes to the layout theme parameters
[09:50:06 EST(-0500)] <EricDalquist> but I have to refactor UserPreferencesManager first
[10:00:46 EST(-0500)] <EricDalquist> so esm I'm thinking of following what pluto just did
[10:00:53 EST(-0500)] <EricDalquist> doing a svn delete on up2/trunk
[10:01:07 EST(-0500)] <EricDalquist> then a svn move up2/branchs/working-pluto up2/trunk
[10:01:31 EST(-0500)] <EricDalquist> everything that was committed to trunk has been merged into the branch
[10:01:43 EST(-0500)] <EricDalquist> and that seems much easier than doing a giant merge back into the trunk
[10:01:53 EST(-0500)] <EricDalquist> plus the history would be cleaner
[10:07:06 EST(-0500)] <esm> yeah i mean i hate the way the pluto branches evolved
[10:07:57 EST(-0500)] <esm> history-wise i don't know if its cleaner per se. if you merge your branch back into the trunk, you'll get a big fat history entry.
[10:08:11 EST(-0500)] <esm> it depends on your def of clean i guess (smile)
[10:08:15 EST(-0500)] <EricDalquist> yeah
[10:08:31 EST(-0500)] <EricDalquist> I think I'd prefer the move since all of the history for all of the work in the pluto branch would be right there
[10:08:41 EST(-0500)] <esm> you certainly get more resolution - instead of one commit you get discrete commits.
[10:08:43 EST(-0500)] <EricDalquist> which would be helpful for people trying to figure out what changed
[10:08:48 EST(-0500)] <EricDalquist> and why
[10:09:39 EST(-0500)] <esm> yeah
[10:18:55 EST(-0500)] <esm> shoot i'd go for it i guess. if everythign has been merged up into the branch since the branch point
[10:19:08 EST(-0500)] <EricDalquist> yup
[10:19:45 EST(-0500)] <esm> <xsl:variable name="handlerid" select="substring-after(substring(@target,10,string-length(@target)), 'handle/')" />
[10:19:56 EST(-0500)] <esm> kill
[10:20:22 EST(-0500)] <EricDalquist> (smile)
[10:20:39 EST(-0500)] <esm> when what they meant was: <xsl:variable name="handlerid" select="substring-after(@target, 'handle/')" />
[10:20:47 EST(-0500)] <esm> which is so much simpler
[10:20:54 EST(-0500)] <esm> <xsl:message> is my friend.
[10:43:59 EST(-0500)] * michelled (n=team@142.150.154.114) has joined ##uportal
[10:54:48 EST(-0500)] * anastasiac (n=chatzill@142.150.154.149) has joined ##uportal
[11:28:52 EST(-0500)] <awills> EricDalquist – I can adjust the .user docs that reference ALM, if you like, in both 2-6 and HEAD... you haven't started to work on that have you?
[11:29:05 EST(-0500)] <EricDalquist> yes I have
[11:29:10 EST(-0500)] <EricDalquist> you can do the branch if you like
[11:29:21 EST(-0500)] <EricDalquist> don't do anything in the trunk though
[11:29:22 EST(-0500)] <awills> you only did uP3, correct?
[11:29:41 EST(-0500)] <EricDalquist> I did the working-pluto branch
[11:29:41 EST(-0500)] <EricDalquist> BUT
[11:29:47 EST(-0500)] <awills> ah yes... when will i update & get your renamming?
[11:29:59 EST(-0500)] <EricDalquist> in a few hours I will be deleting up2/trunk
[11:30:06 EST(-0500)] <EricDalquist> and moving working-pluto to up2/trunk
[11:30:09 EST(-0500)] <EricDalquist> so don't do anything there
[11:30:19 EST(-0500)] <awills> sure. np.
[11:30:31 EST(-0500)] <EricDalquist> the changes are all committed in working-pluto
[11:34:00 EST(-0500)] <awills> ic. Here's a JIRA if it comes up at all...
[11:34:01 EST(-0500)] <awills> http://www.ja-sig.org/issues/browse/UP-1893
[12:30:41 EST(-0500)] * EiNZTEiN (n=einztein@205.241.143.4) has joined ##uportal
[13:23:54 EST(-0500)] <KWhat_Work> Anyone got a tomcat config file they care to share and/or know where i can get detailed information on the server.xml file for what is available ?
[13:32:08 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[13:34:59 EST(-0500)] <esm> KWhat_Work: the tomcat webstie?
[13:35:12 EST(-0500)] <esm> http://tomcat.apache.org/tomcat-5.5-doc/config/index.html
[13:45:35 EST(-0500)] <KWhat_Work> What is a Listener? JMX Mbeans support
[13:45:40 EST(-0500)] <KWhat_Work> ?
[13:52:06 EST(-0500)] <jayshao> if it's in response to the Spring question, it's part of the servlet spec, and you put them into web.xml
[13:52:15 EST(-0500)] <jayshao> it's a way to get code loaded up during webapp startup, basically
[13:52:30 EST(-0500)] <jayshao> without going through hacks like static initialization blocks inside a servlet or something like that
[13:53:11 EST(-0500)] <jayshao> Spring provides a contextListener which you can use to bootstrap the Spring parts of your application
[13:53:34 EST(-0500)] <jayshao> uPortal pre 3.0 typically uses a different method, where a block of code explicitely brings up Spring
[13:53:45 EST(-0500)] <jayshao> KWhat_Work – that help at all?
[13:56:08 EST(-0500)] <KWhat_Work> give me a few min
[13:56:37 EST(-0500)] <KWhat_Work> i am having problems with exchange... the problem is EXCHANGE actually but one second
[14:09:38 EST(-0500)] <KWhat_Work> jayshao: i have no idea what uportal is going to require from tomcat, and i have never setup tomcat before so im not sure what i need or dont need
[14:09:59 EST(-0500)] * clown (n=chatzill@guiseppi.atrc.utoronto.ca) has joined ##uportal
[14:10:33 EST(-0500)] <esm> KWhat_Work: I think there is a quickstart distro that would give you an idea.
[14:10:54 EST(-0500)] <KWhat_Work> yes there is, thats a good idea thanks esm
[14:10:55 EST(-0500)] <jayshao> KWhat_Work you should also not need a lot of configuration on the tomcat side
[14:11:01 EST(-0500)] <jayshao> if you unzip it and can start it
[14:11:10 EST(-0500)] <jayshao> TOMCAT_HOME/bin/startup.sh/bat
[14:11:25 EST(-0500)] <KWhat_Work> yes the service does start
[14:11:29 EST(-0500)] <jayshao> then you should be able to drop uPortal into it out of the box using the ANT build script and have it run
[14:11:36 EST(-0500)] <jayshao> did you install it as a service under windows?
[14:11:44 EST(-0500)] <jayshao> I haven't had good luck with the service, but YMMV
[14:11:49 EST(-0500)] <KWhat_Work> no its a nix server at the default run level
[14:12:11 EST(-0500)] <jayshao> gotcha
[14:13:34 EST(-0500)] <KWhat_Work> so i modify the build.props file
[14:16:26 EST(-0500)] <KWhat_Work> how heavy is uPortal? I imagine its much faster than Oracles application server but not sure how much
[14:37:40 EST(-0500)] <jayshao> it's pretty light – no requirements past a servlet container
[14:37:58 EST(-0500)] <jayshao> performance profile will depend a lot on what kind of applications you run inside it
[14:38:27 EST(-0500)] <jayshao> often, your portlets/channels end up connecting to other backend systems/databases and the network/transaction times may be your limiting factor
[14:38:37 EST(-0500)] <jayshao> for static/local content, uPortal is quite fast
[14:38:55 EST(-0500)] <jayshao> KWhat_Work where do you work? Curious to see who's coming on board (smile)
[14:39:06 EST(-0500)] <KWhat_Work> callutheran
[14:43:31 EST(-0500)] <jayshao> neat. do you have a timetable? or still in exploratory phase?
[14:44:31 EST(-0500)] <KWhat_Work> i would love to do it as soon as possible but realistically we would need to deploy production by june or july.
[14:45:03 EST(-0500)] <KWhat_Work> providing that uportal is better than Oracle... which i have little doubt i will be disappointed
[14:49:59 EST(-0500)] <KWhat_Work> for the db target how do i tell it where the mysql connector jar is ? ant -lib does not seem to work
[14:57:23 EST(-0500)] <EricDalquist> KWhat_Work: your JDBC jar needs to go into uPortal/lib/contain-common since uPortal uses a JNDI DataSource
[14:57:30 EST(-0500)] <EricDalquist> and Tomcat needs access to the JAR
[14:57:49 EST(-0500)] <EricDalquist> then update uPortal/properties/rdbm.properties with your JDBC configuration information
[14:57:55 EST(-0500)] <EricDalquist> oi .. off to ANOTHER meeting
[15:51:45 EST(-0500)] * ks (n=aa@206-223-168-166.beanfield.net) has joined ##uportal
[15:51:54 EST(-0500)] <ks> hi
[15:52:16 EST(-0500)] <ks> is it correct channel for CAS ?
[16:24:38 EST(-0500)] <lescour> i don't think there is a channel for cas
[16:25:07 EST(-0500)] <lescour> if you have specific questions, the cas mail list is a very good resource
[16:47:48 EST(-0500)] * clown_ (n=chatzill@142.150.154.101) has joined ##uportal
[16:51:26 EST(-0500)] <jayshao> I wonder if we should ship the mysql & postgres (and other open-source) db drivers with uPortal?
[16:51:47 EST(-0500)] <jayshao> Or, I guess set them up as maven dependencies? would probably spare non-java types some pain
[16:52:11 EST(-0500)] <EricDalquist> it would be easy enough in the mavenized build to have the dependencies there but commented out
[16:58:54 EST(-0500)] <jayshao> I almost wonder if we should just include the drivers as dependencies and have instructions telling people how to prune down to just the one they're using
[16:59:06 EST(-0500)] <jayshao> what's a couple JARS between friends (wink)
[16:59:25 EST(-0500)] <KWhat_Work> ahhh there we got we have a database
[17:04:32 EST(-0500)] <jayshao> (smile)
[17:08:55 EST(-0500)] * KWhat_Work wonders what firefox is doing with 100% of my cpu for 2 minutes when loading a page
[17:11:08 EST(-0500)] <ks> thanks lescour
[17:19:28 EST(-0500)] * clown_ (n=chatzill@142.150.154.101) has left ##uportal
[17:25:11 EST(-0500)] <esm> set up a maven 2 profile to select the driver
[17:30:08 EST(-0500)] <KWhat_Work> Alright whats the target for installing uportal is that what deploy does ?{color}
[17:30:26 EST(-0500)] <EricDalquist> the first time you set up uPortal you run 'ant initportal'

[17:30:29 EST(-0500)] <EricDalquist> that builds uportal
[17:30:32 EST(-0500)] <EricDalquist> deploys it to tomcat
[17:30:39 EST(-0500)] <EricDalquist> deploys the shared libraries to tomcat
[17:30:43 EST(-0500)] <EricDalquist> deploys the portlets to tomcat
[17:30:50 EST(-0500)] <EricDalquist> drops the database
[17:30:59 EST(-0500)] <EricDalquist> initializes the database schema
[17:31:07 EST(-0500)] <EricDalquist> loads the initial db data
[17:31:17 EST(-0500)] <KWhat_Work> ohh it does everything i did manually =)
[17:31:26 EST(-0500)] <EricDalquist> if you make changes to uPortal and want to push those in then just do ant deploy
[17:31:52 EST(-0500)] <EricDalquist> it does those first 3 (build, deploy uportal, deploy shared libs)
[17:40:45 EST(-0500)] * anastasiac (n=chatzill@142.150.154.149) has left ##uportal
[17:51:27 EST(-0500)] <KWhat_Work> ok im reall effing something up here, ant initportal returns an error
[17:51:39 EST(-0500)] <KWhat_Work> table doesnt exist
[17:51:43 EST(-0500)] <KWhat_Work> do i need to run db first
[17:51:44 EST(-0500)] <EricDalquist> hrm
[17:51:46 EST(-0500)] <EricDalquist> no
[17:51:50 EST(-0500)] <EricDalquist> initportal runs db
[17:51:58 EST(-0500)] <KWhat_Work> do i need to create the schema
[17:52:00 EST(-0500)] <EricDalquist> I'm a bit rust on all of this
[17:52:01 EST(-0500)] <EricDalquist> no
[17:52:03 EST(-0500)] <EricDalquist> so
[17:52:05 EST(-0500)] <EricDalquist> what it might be
[17:52:18 EST(-0500)] <EricDalquist> in uPortal/properties/db/dbloader.xml (I think that is the path)
[17:52:29 EST(-0500)] <EricDalquist> there are mappings of database version and driver version
[17:52:42 EST(-0500)] <EricDalquist> that config file is how dbloader knows what specific SQL types to use
[17:52:49 EST(-0500)] <EricDalquist> run 'ant dbtest'
[17:53:06 EST(-0500)] <EricDalquist> and see if the information returned there shows up "exactly" as an entry in dbloader
[17:53:15 EST(-0500)] <EricDalquist> if not find an existing mapping entry for the DB you're using
[17:53:18 EST(-0500)] <EricDalquist> copy it
[17:53:30 EST(-0500)] <EricDalquist> and fill in exactly the values returned by dbtest
[17:54:09 EST(-0500)] <KWhat_Work> telling me it failed, unknown database portal ... sounds like i do need to create the schema
[17:54:31 EST(-0500)] <EricDalquist> ah
[17:54:32 EST(-0500)] <EricDalquist> yeah
[17:54:34 EST(-0500)] <EricDalquist> sorry
[17:54:39 EST(-0500)] <EricDalquist> so yes the schema needs to exist
[17:54:45 EST(-0500)] <EricDalquist> uportal will create the tables and such
[17:54:53 EST(-0500)] <EricDalquist> ok
[17:54:59 EST(-0500)] <EricDalquist> well I'm off to catch the bus
[17:55:02 EST(-0500)] <EricDalquist> see everyone tomorrow
[17:55:26 EST(-0500)] <KWhat_Work> cyah
[17:57:22 EST(-0500)] <KWhat_Work> shit vmware ran out of space
[20:09:26 EST(-0500)] * esm (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal
[20:22:27 EST(-0500)] * michelled (n=team@142.150.154.114) has left ##uportal
[20:28:24 EST(-0500)] * ks (n=aa@bas2-toronto48-1279607259.dsl.bell.ca) has joined ##uportal
[20:54:21 EST(-0500)] * jayshao (n=jayshao@68.239.246.163) has joined ##uportal
[22:11:59 EST(-0500)] * esm_ (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal