uPortal IRC Logs-2008-01-09
[07:02:41 EST(-0500)] * esm (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal
[07:24:23 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal
[09:51:29 EST(-0500)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[10:01:15 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:31:30 EST(-0500)] * clown (n=chatzill@142.150.154.101) has joined ##uportal
[11:23:03 EST(-0500)] * esm hates hitting Ctrl-B instead of Ctrl-C
[11:23:17 EST(-0500)] <esm> (in slo-clipse)
[11:26:21 EST(-0500)] * awills (n=awills@mtw160-5.ippl.jhu.edu) has joined ##uportal
[12:12:09 EST(-0500)] * clown_ (n=chatzill@guiseppi.atrc.utoronto.ca) has joined ##uportal
[12:14:15 EST(-0500)] * atrc-laptop (n=atrcdell@142.150.154.184) has joined ##uportal
[12:14:35 EST(-0500)] <KWhat_Work> any ideas on this one com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'portal.UP_GROUP_MEMBERSHIP' doesn't exist
[12:14:53 EST(-0500)] <EricDalquist> sounds like 'ant db' didn't work
[12:15:00 EST(-0500)] <KWhat_Work> yah
[12:15:15 EST(-0500)] <KWhat_Work> i got quite a few tables just not that one
[12:15:33 EST(-0500)] <EricDalquist> when you run ant db do you see any exceptions?
[12:15:44 EST(-0500)] <KWhat_Work> let us check
[12:16:02 EST(-0500)] <KWhat_Work> yah
[12:20:30 EST(-0500)] <KWhat_Work> Specified key was too long; max key length is 1000 bytes
[12:24:18 EST(-0500)] <EricDalquist> ah
[12:24:30 EST(-0500)] <EricDalquist> I can't wait to move everything to hibernate
[12:24:40 EST(-0500)] <EricDalquist> all the new daos in uP3 are using JPA+Hibernate
[12:24:48 EST(-0500)] <EricDalquist> then we don't have to worry about all that db specific stuff
[12:25:00 EST(-0500)] <EricDalquist> or not nearly as much of it
[12:25:57 EST(-0500)] <KWhat_Work> is that where you use the database as an object
[12:26:51 EST(-0500)] * anastasiac (n=chatzill@142.150.154.149) has joined ##uportal
[12:27:02 EST(-0500)] <EricDalquist> well JPA and HIbernate provide 'automatic' mapping of your objects to relational tables
[12:27:21 EST(-0500)] <EricDalquist> As a developer you still annotate your code to tell the ORM how to do the mapping
[12:27:37 EST(-0500)] <EricDalquist> but all SQL is generated
[12:28:01 EST(-0500)] <EricDalquist> and ORMs like Hibernate support a large number of databases and will use the appropriate SQL for that DB
[12:28:25 EST(-0500)] <EricDalquist> so the specifics of SQL and databases are things the app developers don't need to deal with
[12:32:33 EST(-0500)] <KWhat_Work> ok this is an issue with utf-8
[12:53:31 EST(-0500)] <KWhat_Work> Where does this thing log, its installing but i get an error on surfing to it
[12:53:49 EST(-0500)] <EricDalquist> check uPortal/properties/Logger.properties
[12:53:52 EST(-0500)] <EricDalquist> that is where the log path is set
[12:53:55 EST(-0500)] <EricDalquist> and levels and such
[13:24:13 EST(-0500)] <KWhat_Work> yup it made it
[13:24:44 EST(-0500)] <EricDalquist> weird ... not sure why you'd get that exception then
[13:24:55 EST(-0500)] <EricDalquist> unless the drive class is wrong
[13:24:59 EST(-0500)] <EricDalquist> driver*
[13:25:13 EST(-0500)] <KWhat_Work> then it should have borked on installation but it managed to isntall the tables so
[13:25:23 EST(-0500)] <EricDalquist> true
[13:25:38 EST(-0500)] <EricDalquist> is the driver in uPortal/web-inf/lib?
[13:25:41 EST(-0500)] <EricDalquist> it shouldn't be
[13:25:46 EST(-0500)] <EricDalquist> though I don't think that would matter
[13:27:12 EST(-0500)] <KWhat_Work> yah its not
[13:27:25 EST(-0500)] <KWhat_Work> wonder if my tomcat paths are not correct
[13:27:52 EST(-0500)] <KWhat_Work> this is a gentoo system and they tend to do things more liberally
[13:27:58 EST(-0500)] <EricDalquist> ah yeah
[13:28:07 EST(-0500)] <EricDalquist> we just download the tomcat ZIP from apache
[13:28:11 EST(-0500)] <EricDalquist> extract it
[13:28:32 EST(-0500)] <EricDalquist> comment out all the connects except the jk connector and set emptySessionPath="true" on that connector
[13:28:35 EST(-0500)] <EricDalquist> and deploy to that
[13:28:43 EST(-0500)] <EricDalquist> front it with apache with mod_jk
[13:29:18 EST(-0500)] * atrc-lapto1 (n=atrcdell@142.150.154.184) has joined ##uportal
[13:43:05 EST(-0500)] * clown__ (n=chatzill@142.150.154.101) has joined ##uportal
[14:18:51 EST(-0500)] <KWhat_Work> ok so i guess Portlets are called Channels in uPortal.... where do you add portlets to and where is management done?
[14:19:05 EST(-0500)] <EricDalquist> well ...
[14:19:18 EST(-0500)] <EricDalquist> Channels are what uPortal had before the JSR-168 portlet standard existed
[14:19:37 EST(-0500)] <EricDalquist> uPortal now supports Channels in its own IChannel API
[14:19:41 EST(-0500)] <EricDalquist> and JSR-168 portlets
[14:19:55 EST(-0500)] <EricDalquist> the current recommendation is to only do new development as portlets
[14:20:15 EST(-0500)] <EricDalquist> They are both managed through the Channel Manager which is available to the admin user
[14:20:38 EST(-0500)] <EricDalquist> not sure if you know about this: http://www.ja-sig.org/wiki/display/UPM/Home
[14:20:42 EST(-0500)] <EricDalquist> that is the uportal manual
[14:22:33 EST(-0500)] <KWhat_Work> ok i see
[14:23:23 EST(-0500)] <KWhat_Work> documentation really needs help =(
[14:23:31 EST(-0500)] <EricDalquist> yup
[14:23:39 EST(-0500)] <EricDalquist> feel free to contribute to it as you go along
[14:23:59 EST(-0500)] <EricDalquist> anyone can create an account on the wiki
[14:24:02 EST(-0500)] <KWhat_Work> probably will once i figure what im doing =)
[14:24:08 EST(-0500)] <EricDalquist> that would be great
[14:25:07 EST(-0500)] <KWhat_Work> where are the other settings located such as user accounts groups permissions ldap etc
[14:26:19 EST(-0500)] <EricDalquist> it depends .... I'd recommend writing an email to the uportal-user list detailing what you are looking to do
[14:26:31 EST(-0500)] <EricDalquist> and you'll get some good responses on what is where
[14:43:29 EST(-0500)] * clown (n=clown@142.150.154.101) has joined ##uportal
[14:47:14 EST(-0500)] <EiNZTEiN> hmm
[14:47:33 EST(-0500)] <EiNZTEiN> how do I get xhtml-theme instead of nested-tables? :|
[15:03:36 EST(-0500)] * agherna (n=argherna@cites-agherna01.ci.uiuc.edu) has joined ##uportal
[15:04:42 EST(-0500)] <EiNZTEiN> anyone?
[15:04:49 EST(-0500)] <EricDalquist> I don't know
[15:04:57 EST(-0500)] <EricDalquist> jayshao: might
[15:05:01 EST(-0500)] <EricDalquist> or the uportal-user list
[15:05:21 EST(-0500)] <jayshao> which version of uPortal?
[15:16:26 EST(-0500)] <EiNZTEiN> 2,6,1
[15:16:29 EST(-0500)] <EiNZTEiN> 2.6.1
[15:16:40 EST(-0500)] <jayshao> xhtml-theme should be the default
[15:16:50 EST(-0500)] <jayshao> unless you upgraded from a previous release?
[15:17:08 EST(-0500)] <jayshao> xhtml theme should have one table, containing the channels
[15:17:13 EST(-0500)] <jayshao> but it's pretty semantically light
[15:17:25 EST(-0500)] <jayshao> some of the channels markup still has nasty nested tables
[15:18:10 EST(-0500)] <jayshao> the xhtml is circa 2003 or so... at the time the table was the straightest way to get robust behavior. if we were to redo it, I'd seriously consider Yahoo grids or something the like
[15:24:48 EST(-0500)] <agherna> can the uportal jmx monitoring tell you how many users or sessions are active?
[15:25:05 EST(-0500)] <EricDalquist> yeah
[15:25:08 EST(-0500)] <EricDalquist> tomcat provides that info
[15:25:20 EST(-0500)] <agherna> where?
[15:25:27 EST(-0500)] <EricDalquist> do you have JConsole open right now?
[15:25:47 EST(-0500)] <agherna> no
[15:26:31 EST(-0500)] <agherna> also, does that tell you how many users are in your uportal context and not in some other app that could be running on the server?
[15:26:48 EST(-0500)] <EricDalquist> yeah
[15:26:52 EST(-0500)] <EricDalquist> it is per web app
[15:26:58 EST(-0500)] <agherna> ok
[15:27:17 EST(-0500)] <EricDalquist> in the mbean tree
[15:27:22 EST(-0500)] <agherna> right
[15:27:24 EST(-0500)] <EricDalquist> Catalina > Manager > /WebAppName
[15:27:32 EST(-0500)] <agherna> got it
[15:27:49 EST(-0500)] <EricDalquist> like right now on one of our 7 machines we have 174 active sessions
[15:27:50 EST(-0500)] <agherna> i'm assuming some operation like "countSessions" or something like that is there, yes?
[15:27:58 EST(-0500)] <EricDalquist> and the peak was 203 since last reboot
[15:28:09 EST(-0500)] <EricDalquist> under attributes
[15:28:25 EST(-0500)] <EricDalquist> so I'm in Catalina>Manage>/uPortal>localhost
[15:28:28 EST(-0500)] <EricDalquist> looking at the attributes
[15:28:51 EST(-0500)] <EricDalquist> and it tells me activeSessions, maxActive,expiredSessions and a bunch of other info
[15:29:04 EST(-0500)] <agherna> ok
[15:29:21 EST(-0500)] <agherna> I see it now (jconsole open but not connected to our tomcat instances)
[15:29:52 EST(-0500)] <agherna> thanks
[15:30:04 EST(-0500)] <EricDalquist> yup
[15:30:07 EST(-0500)] <EiNZTEiN> jayshao: the issue here is that I'm redesigning the look&feel and the logo is getting called by the nested-tables xsl and not the xhtml-theme one :S
[15:31:26 EST(-0500)] <jayshao> there's a profile system involved in which skin and theme gets called
[15:32:07 EST(-0500)] <jayshao> I don't remember the details exactly, but if you look back in the SVN changelog to around April of I think 2006 you should see my commit sets to change the default theme in uPortal
[15:32:15 EST(-0500)] <jayshao> that's probably a good starting point
[15:34:09 EST(-0500)] <EiNZTEiN> okay
[15:34:24 EST(-0500)] <EiNZTEiN> thanks
[15:35:08 EST(-0500)] <jayshao> if you're getting the xthml-theme markup though I'm really surprised about seeing the image come from the nested-tables
[15:35:15 EST(-0500)] <jayshao> it's possible there's a stray image reference there
[15:35:26 EST(-0500)] <jayshao> which layout manager are you using?
[15:40:06 EST(-0500)] <EiNZTEiN> just a sec
[15:40:47 EST(-0500)] <EiNZTEiN> hmm
[15:40:51 EST(-0500)] <EiNZTEiN> layout manager?
[15:41:13 EST(-0500)] <jayshao> if you haven't changed it than you should be using DLM – the default
[15:41:24 EST(-0500)] <EiNZTEiN> ok
[15:41:38 EST(-0500)] <jayshao> there's a whole profile thing where browser, layoutmanager, theme, skin get composited together to determine markup
[15:43:38 EST(-0500)] <EiNZTEiN> where i it?
[15:43:44 EST(-0500)] <EiNZTEiN> is it*
[15:44:08 EST(-0500)] <EiNZTEiN> the "data.xml"?
[15:46:44 EST(-0500)] <EiNZTEiN> apparently it's calling the xhtml
[15:47:11 EST(-0500)] <EiNZTEiN> but changing the xhtml-theme.xsl on web-inf ain't chaning anything
[15:48:37 EST(-0500)] <jayshao> data.xml gets pushed into your database
[15:48:44 EST(-0500)] <jayshao> using the ANT db task
[15:48:53 EST(-0500)] <EiNZTEiN> oh oh
[15:48:57 EST(-0500)] <jayshao> (that blows away your db so you loose any changes you've made)
[15:49:25 EST(-0500)] <EiNZTEiN> but it appears to be calling the xhtml-theme actually
[15:49:31 EST(-0500)] <EiNZTEiN> just not when I change it
[15:49:32 EST(-0500)] <EiNZTEiN> :S
[15:49:54 EST(-0500)] <EiNZTEiN> wher's the "live" location of thr xml theme?
[15:50:22 EST(-0500)] <EiNZTEiN> oops
[15:50:36 EST(-0500)] <EiNZTEiN> I meant, where's the live location of the xhtml-theme.xsl?
[15:51:15 EST(-0500)] <jayshao> the theme gets cached at runtime
[15:51:19 EST(-0500)] <jayshao> did you try restarting the server?
[15:51:25 EST(-0500)] <jayshao> it gets deployed out to a couple locations
[15:51:33 EST(-0500)] <jayshao> for images and stuff
[15:51:49 EST(-0500)] <jayshao> portal/stylesheets and portal/media
[15:51:58 EST(-0500)] <jayshao> should have the live files
[15:52:19 EST(-0500)] <jayshao> there's a property in portal.properties you can set to disable caching (a couple actually) if you want to tweak and try stuff
[15:56:05 EST(-0500)] <jayshao> they should already be there – just flip false/true
[16:14:27 EST(-0500)] <EiNZTEiN> so I don't need WEB-INF righ?
[16:14:34 EST(-0500)] <EiNZTEiN> I mean, for editing
[16:17:21 EST(-0500)] <EiNZTEiN> I can't find .xsl in the media folder that's for sure
[16:29:46 EST(-0500)] <jayshao> .xsl should be deep inside stylesheets
[16:34:31 EST(-0500)] <EiNZTEiN> all .xsl are under WEB-INF
[17:01:30 EST(-0500)] * anastasiac (n=chatzill@142.150.154.149) has left ##uportal
[17:54:05 EST(-0500)] * atrc-lapto1 (n=atrcdell@142.150.154.184) has left ##uportal
[19:03:12 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal
[19:21:53 EST(-0500)] * jayshao (n=jayshao@72.168.108.114) has joined ##uportal
[19:37:30 EST(-0500)] <jayshao> EiNZTEiN
[19:37:37 EST(-0500)] <jayshao> still working?
[19:40:36 EST(-0500)] * esm (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal
[21:41:57 EST(-0500)] * esm (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal
[22:34:27 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal
[23:10:17 EST(-0500)] * esm (n=esm@207-53-192-222.dynamic-dsl.qis.net) has joined ##uportal