uPortal IRC Logs-2009-11-19

[02:07:01 EST(-0500)] * colinclark (n=colin@c-98-245-95-16.hsd1.co.comcast.net) has joined ##uportal
[02:12:53 EST(-0500)] * michelled (n=michelle@c-98-245-95-16.hsd1.co.comcast.net) has joined ##uportal
[08:31:25 EST(-0500)] * michelled (n=michelle@c-98-245-95-16.hsd1.co.comcast.net) has joined ##uportal
[09:09:32 EST(-0500)] * jessm (n=Jess@c-71-232-1-65.hsd1.ma.comcast.net) has joined ##uportal
[09:14:40 EST(-0500)] * athena (n=athena@adsl-75-58-127-15.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:33:50 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:35:51 EST(-0500)] * michelled (n=michelle@c-98-245-95-16.hsd1.co.comcast.net) has joined ##uportal
[10:06:39 EST(-0500)] * holdorph (n=holdorph@72.215.204.133) has joined ##uportal
[10:13:56 EST(-0500)] * lennard1 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has joined ##uportal
[10:15:21 EST(-0500)] * amadan (n=Benjie@41.204.49.187) has joined ##uportal
[10:16:09 EST(-0500)] * colinclark (n=colin@c-98-245-95-16.hsd1.co.comcast.net) has joined ##uportal
[10:16:27 EST(-0500)] <amadan> Hi, where do i locate log files for uportal 3.1.1
[10:16:48 EST(-0500)] <EricDalquist> look in your tomcat/ directory
[10:17:23 EST(-0500)] <EricDalquist> the log configuration file is in the source at uPortal/uportal-war/src/main/webapp/WEB-INF/log4j.properties
[10:17:37 EST(-0500)] <EricDalquist> if you make changes to that file you'll need to run 'ant deploy-war' to push it to tomcat.
[10:22:58 EST(-0500)] <amadan> I'm installing uportal3.1.1 with mysql on ubuntu. after running ant dbtest i get some errors. Where exactly can i find the log files that holds the intallation log
[10:23:43 EST(-0500)] <EricDalquist> when running a command line tool all errors are printed to the console
[10:24:00 EST(-0500)] <EricDalquist> so if you want a log you can do "ant dbtest > dbtest.log"
[10:28:33 EST(-0500)] <amadan> thks man, i thoght uportal created an install.log
[10:29:35 EST(-0500)] <amadan> i more question, do i have to manually create the uportal database or it is created by default by uportal program?
[10:30:12 EST(-0500)] <EricDalquist> there is an initdb ant target which will create the tables in the database configured in rdbm.properties
[10:30:19 EST(-0500)] <EricDalquist> initdb is called by the initportal target as well
[10:30:35 EST(-0500)] <EricDalquist> so you need to make sure the database exists and configure uportal to point to it
[10:30:55 EST(-0500)] <EricDalquist> and uportal's init tasks will create all the necessary tables and populate them.
[10:31:25 EST(-0500)] <amadan> ok thaat was really helpful
[10:31:36 EST(-0500)] <EricDalquist> glad to help
[11:09:13 EST(-0500)] <amadan> Eric, could i bother you a bit, i run the ant initdb and got a number of errors something about unable to import tables. Could i send you the log file to see if you could help?
[11:09:36 EST(-0500)] <EricDalquist> sure, feel free to either use the pastebin link in the channel title
[11:09:43 EST(-0500)] <EricDalquist> or email it to the uportal-user list
[11:13:43 EST(-0500)] <EricDalquist> can't do IRC file transfer
[11:13:52 EST(-0500)] <EricDalquist> I'm behind a firewall
[11:14:04 EST(-0500)] <EricDalquist> so either pastebin or uportal-user list
[11:20:44 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[11:20:59 EST(-0500)] <EricDalquist> sorry about that ... my irc client crashed
[11:25:50 EST(-0500)] <EricDalquist> amadan: I can't accept IRC file transfers
[11:25:55 EST(-0500)] <EricDalquist> you either need to use pastebin
[11:26:02 EST(-0500)] <EricDalquist> or email a ZIPed version of the log to uportal-user
[11:26:15 EST(-0500)] <amadan> where do i locate pastebin
[11:26:22 EST(-0500)] <EricDalquist> http://uportal.pastebin.com/
[11:26:28 EST(-0500)] <EricDalquist> it is in the topic for the channel
[11:28:54 EST(-0500)] <amadan> thanks, I have pasted it in pastebin
[11:29:02 EST(-0500)] <EricDalquist> ok, then paste the page URL here
[11:29:14 EST(-0500)] <EricDalquist> when you use pastebin it gives you a unique URL for your paste
[11:29:30 EST(-0500)] <amadan> http://uportal.pastebin.com/m6361ef3d
[11:31:33 EST(-0500)] <EricDalquist> well the table creation calls all look right
[11:31:48 EST(-0500)] <EricDalquist> if you connect to the DB do you see a bunch of tables?
[11:33:35 EST(-0500)] <amadan> hold on
[11:33:49 EST(-0500)] <EricDalquist> and this is MySQL right?
[11:34:02 EST(-0500)] <amadan> right
[11:34:03 EST(-0500)] <EricDalquist> my current guess is that it is setup in case-sensitive mode for table names
[11:34:22 EST(-0500)] <amadan> Mysql
[11:34:31 EST(-0500)] <EricDalquist> which doesn't work (and really isn't SQL compliant) but MySQL seems to like having that as their default
[11:35:24 EST(-0500)] <amadan> so do i have to change something
[11:36:06 EST(-0500)] <EricDalquist> well, those two sentences encompass about all of my MySQL knowledge. Are you Ben on the lists?
[11:36:23 EST(-0500)] <amadan> no
[11:36:25 EST(-0500)] <amadan> amadan
[11:37:04 EST(-0500)] <amadan> u mean uportal maillist?
[11:37:11 EST(-0500)] <amadan> sure
[11:37:45 EST(-0500)] <EricDalquist> tyeah
[11:39:47 EST(-0500)] <EricDalquist> ok, so you just posted the same log there
[11:39:49 EST(-0500)] <EricDalquist> I'll reply there
[11:39:59 EST(-0500)] <amadan> sure
[11:40:02 EST(-0500)] <EricDalquist> and then you can reply asking if anyone knows how to do that change
[11:40:24 EST(-0500)] <amadan> ok
[11:44:42 EST(-0500)] * Sememmon (n=Sememmon@unaffiliated/sememmon) has joined ##uportal
[11:47:02 EST(-0500)] <holdorph> i think it's documented in the uPortal manual
[11:47:05 EST(-0500)] <holdorph> it used to be
[11:48:02 EST(-0500)] <holdorph> http://www.ja-sig.org/wiki/display/UPM31/03+MySQL+Configuration
[11:48:10 EST(-0500)] <holdorph> search for 'Case-Sensitivity'
[11:53:24 EST(-0500)] <athena> hey EricDalquist - does the JSR-168 spec allow the portlet to set the content-type of the page?
[11:53:39 EST(-0500)] <EricDalquist> um ...
[11:53:59 EST(-0500)] <EricDalquist> nope
[11:54:07 EST(-0500)] <athena> ok, thanks for the sanity check (smile)
[11:54:13 EST(-0500)] <EricDalquist> you're told what the content type is
[11:54:45 EST(-0500)] <EricDalquist> RenderResponse.getContentType()
[12:00:11 EST(-0500)] <holdorph> Your portlet can say what content-types it supports in the portlet.xml file though
[12:00:29 EST(-0500)] <EricDalquist> right
[12:01:00 EST(-0500)] <EricDalquist> so in theory what should happen is the portal checks each portlet being rendered to see if it can support the content type the portal is using
[12:01:06 EST(-0500)] <EricDalquist> and if it doesn't it should display an error message
[12:01:13 EST(-0500)] <EricDalquist> I'm not sure if pluto actually does that or not
[12:01:25 EST(-0500)] <holdorph> and there is a setContentType() method on RenderResponse
[12:01:40 EST(-0500)] <EricDalquist> ah there is
[12:02:12 EST(-0500)] <holdorph> in the past (don't think currently) things wouldn't work if you didn't call set contentType with "text/html"
[12:02:32 EST(-0500)] <holdorph> but it's really kind of a joke, because it's not like it works with anything but HTML
[12:05:23 EST(-0500)] <EricDalquist> right
[12:05:37 EST(-0500)] <EricDalquist> I could only see it being usefull if your portal rendered in like text/wap or something
[12:06:03 EST(-0500)] <EricDalquist> and that is going away since most mobile devices that people are targeting now just use text/html or text/xhtml
[12:07:45 EST(-0500)] <athena> i don't actually want to set the content type
[12:07:48 EST(-0500)] <athena> just needed a sanity check
[12:08:10 EST(-0500)] <athena> does jsr-286 allow such things?
[12:08:22 EST(-0500)] <EricDalquist> if 168 does then 286 does
[12:08:46 EST(-0500)] <holdorph> will definitely be more used in the "serve resource" lifecycle
[12:08:52 EST(-0500)] <EricDalquist> yeah
[12:09:02 EST(-0500)] <athena> yeah
[12:09:03 EST(-0500)] <EricDalquist> then settings things like image or pdf will work
[12:09:04 EST(-0500)] <EricDalquist> though
[12:09:05 EST(-0500)] <EricDalquist> in uPortal
[12:09:13 EST(-0500)] <EricDalquist> if your portlet is rendering in EXCLUSIVE WindowState
[12:09:23 EST(-0500)] <EricDalquist> it passes setContentType() along directly to the browser
[12:09:39 EST(-0500)] <EricDalquist> EXCLUSIVE is really our local hack for serve resource
[12:27:56 EST(-0500)] * colinclark (n=colin@63-227-0-131.hlrn.qwest.net) has joined ##uportal
[12:27:58 EST(-0500)] * amadan (n=Benjie@41.204.49.187) has left ##uportal
[13:45:50 EST(-0500)] * michelled (n=michelle@63-227-0-131.hlrn.qwest.net) has joined ##uportal
[14:07:27 EST(-0500)] * tsnfoo (n=tsnfoo@wso-mbp15-2.test.denison.edu) has joined ##uportal
[15:11:29 EST(-0500)] * lennard2 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has joined ##uportal
[17:23:24 EST(-0500)] * egeste (n=egeste@70.85.237.250) has joined ##uportal
[17:23:32 EST(-0500)] <egeste> hello small channel
[17:53:51 EST(-0500)] * jayshao_ (n=jayshao@ool-4573130c.dyn.optonline.net) has joined ##uportal
[18:35:06 EST(-0500)] * lennard1 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has joined ##uportal
[18:50:38 EST(-0500)] * tsnfoo (n=tsnfoo@cpe-173-88-27-191.columbus.res.rr.com) has joined ##uportal
[22:13:42 EST(-0500)] * lennard1 (n=sparhk@68.98.56.21) has joined ##uportal