uPortal IRC Logs-2008-09-03
[00:17:56 EDT(-0400)] * apetro-_ (n=apetro@ip68-98-37-188.ph.ph.cox.net) has joined ##uportal
[03:56:25 EDT(-0400)] * mad (n=chatzill@pcit-8752.HIG.SE) has joined ##uportal
[08:28:46 EDT(-0400)] * athena7 (n=athena7@adsl-99-149-83-32.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:52:32 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[09:54:36 EDT(-0400)] * anastasiac (n=team@142.150.154.160) has joined ##uportal
[10:00:48 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.3) has joined ##uportal
[10:01:56 EDT(-0400)] * EiNZTEiN_ (n=einztein@205.241.143.3) has joined ##uportal
[10:03:09 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:06:31 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[10:19:16 EDT(-0400)] <athena7> anyone have thoughts on good resources for doing unit tests on IMAP code?
[10:19:35 EDT(-0400)] <EricDalquist> never had to do that
[10:19:58 EDT(-0400)] <EricDalquist> are the javax.mail APIs interface based? (can they be mocked via easymock or some such?)
[10:19:58 EDT(-0400)] <athena7> ok
[10:20:04 EDT(-0400)] <athena7> i'm not sure
[10:20:28 EDT(-0400)] <athena7> i know gary weaver tried using greenmail for the mail portlet but didn't sound like he was liking it a huge amount
[10:20:44 EDT(-0400)] <athena7> the mail APIs are kind of ugly
[10:21:56 EDT(-0400)] <athena7> by the way, i found some issues with the CSyndFeed channel
[10:22:11 EDT(-0400)] <athena7> it doesn't seem to behave well if your feed is UTF-8
[10:25:35 EDT(-0400)] <EricDalquist> :/
[10:25:50 EDT(-0400)] <EricDalquist> so I'm finally done tuning the uPortal export script
[10:26:10 EDT(-0400)] <athena7> ohh
[10:26:13 EDT(-0400)] <athena7> working well?
[10:26:22 EDT(-0400)] <EricDalquist> went from an estimated 8 hours to do an export of a 150k user db to an actual run last night of 14.218 minutes
[10:26:54 EDT(-0400)] <athena7> wow!
[10:26:59 EDT(-0400)] <athena7> that's pretty impressive
[10:28:04 EDT(-0400)] <EricDalquist> yeah, and much more reasonable
[10:28:33 EDT(-0400)] <EricDalquist> I'm going to try and get the export side packaged up and put out there soon
[10:28:43 EDT(-0400)] <EricDalquist> the import side hasn't had any work done yet though
[10:32:37 EDT(-0400)] * jessm (n=Jess@c-76-19-199-61.hsd1.ma.comcast.net) has joined ##uportal
[11:13:47 EDT(-0400)] * holdorph (n=holdorph@wsip-68-107-216-2.ph.ph.cox.net) has joined ##uportal
[11:18:05 EDT(-0400)] * lennar1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:27:07 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:39:36 EDT(-0400)] <awills> that's really awesome
[13:39:43 EDT(-0400)] <awills> very impressive
[13:39:55 EDT(-0400)] <awills> got a meeting... be back in a bit
[13:42:44 EDT(-0400)] * lennar1 (n=sparhk@uni1.unicon.net) has joined ##uportal
[14:42:18 EDT(-0400)] * simonwang (n=chatzill@swang.itservices.ubc.ca) has joined ##uportal
[14:45:59 EDT(-0400)] <simonwang> I did deploy-war, deploy-ear, mvn package site, and started tomcat. In portal.log I got error: "java.lang.ClassNotFoundException: javax.portlet.PortletMode". Can someone tell me why?
[14:47:36 EDT(-0400)] <EricDalquist> what version of uPortal did you download?
[14:50:55 EDT(-0400)] <simonwang> uportal 3 on linux. I checked ~/.m2... the portlet-api-1.0.jar.
[14:51:16 EDT(-0400)] <simonwang> uportal 3 from trunk.
[14:51:54 EDT(-0400)] <EricDalquist> you checked out the source code from the trunk
[14:52:08 EDT(-0400)] <simonwang> yes
[14:52:12 EDT(-0400)] <EricDalquist> ok
[14:52:28 EDT(-0400)] <EricDalquist> so when setting up a 'new' instance you need to run 'ant initportal' and that is it
[14:52:35 EDT(-0400)] <EricDalquist> that will deploy uPortal and setup the database
[14:52:56 EDT(-0400)] <EricDalquist> if you already have the database setup then you need to run ant deploy-ear OR ant deploy-war depending on your goal.
[14:53:19 EDT(-0400)] <EricDalquist> deploy-ear deploys uPortal, all portlets and shared libraries to tomcat, deploy-war just deploys uPortal
[14:53:35 EDT(-0400)] <EricDalquist> also you need to be wary of database changes when working with the trunk
[14:53:44 EDT(-0400)] <EricDalquist> thinks may just change there and require re-running initportal
[14:54:06 EDT(-0400)] <EricDalquist> so my first recommendation is running initportal if you can afford to blow away your existing db if you have one
[14:54:32 EDT(-0400)] <EricDalquist> after that use http://uportal.pastebin.com and paste the portal.log that has the error message in it
[14:55:00 EDT(-0400)] <simonwang> I did ant deploy-war, deploy-ear, and mvn package site. I will try initportal. Thanks E.
[14:56:10 EDT(-0400)] <EricDalquist> you usually don't need to run any mvn commands for up3
[14:56:26 EDT(-0400)] <EricDalquist> package just build the uPortal artifacts into the local build directory, nothing is deployed
[14:56:35 EDT(-0400)] <EricDalquist> site would build the Maven generated project info website
[14:56:41 EDT(-0400)] <EricDalquist> which has no functional relation to uPortal
[15:02:43 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[15:10:30 EDT(-0400)] <simonwang> Hi Eric, after initportal, I still got the error. I pasted the error message to pastebin, please take a look.
[15:10:53 EDT(-0400)] <EricDalquist> can you provide the pastbin link to your post?
[15:13:31 EDT(-0400)] <EricDalquist> oh ... so you must be using Tomcat 6 right?
[15:13:33 EDT(-0400)] <simonwang> It is http://uportal.pastebin.com/d696ce743
[15:13:35 EDT(-0400)] <EricDalquist> http://www.ja-sig.org/wiki/display/UPM30/01+Tomcat
[15:13:42 EDT(-0400)] <EricDalquist> tomcat 6.0 requires extra configuration
[15:18:01 EDT(-0400)] <simonwang> Thanks! It is the reason.
[15:29:09 EDT(-0400)] * jessm (n=Jess@c-76-19-199-61.hsd1.ma.comcast.net) has joined ##uportal
[16:13:42 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[18:37:49 EDT(-0400)] * EiNZTEiN (n=einztein@65.174.105.57) has joined ##uportal
[18:52:01 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[19:58:26 EDT(-0400)] * lennar1 (n=sparhk@uni1.unicon.net) has left ##uportal
[21:33:30 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279723126.dsl.bell.ca) has joined ##uportal