Versions Compared

Key

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

[09:54:27 EDT(-0400)] * theclown (n=theclown@142.150.154.101) has joined ##uportal
[10:00:47 EDT(-0400)] * esm (n=esm@128.220.212.115) has joined ##uportal
[10:02:01 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:03:50 EDT(-0400)] * dstn (n=dstn@unaffiliated/dstn) has joined ##uportal
[10:23:02 EDT(-0400)] <EricDalquist> dstn: you beat me on the replies on uportal-user (smile) Thanks for the help there
[10:23:39 EDT(-0400)] <dstn> hehe
[10:23:55 EDT(-0400)] <dstn> The one we had experienced before so I just looked at the old post
[10:24:11 EDT(-0400)] <EricDalquist> yeah
[10:24:30 EDT(-0400)] <EricDalquist> I'm really looking forward to getting new people on 3.0
[10:24:40 EDT(-0400)] <EricDalquist> that is going to resolve so many of these nagging portlet issues
[10:24:56 EDT(-0400)] <EricDalquist> and it is quite nice to see more and more people answering questions on the lists, it helps manage my stress level (smile)
[10:25:07 EDT(-0400)] <dstn> lol, ya, np
[10:26:40 EDT(-0400)] <jayshao> watch that twitch
[10:27:37 EDT(-0400)] <EricDalquist> (smile)
[10:28:10 EDT(-0400)] <EricDalquist> so on the objects disappearing from portlet sessions email ... I know that has been brought up before but I can't seem to find a related jira issue :/
[10:32:31 EDT(-0400)] * theclown_ (n=theclown@142.150.154.101) has joined ##uportal
[10:48:18 EDT(-0400)] <EricDalquist> hey esm, wasn't there a pluto bug where it would inccorectly invalidate sessions?
[10:48:31 EDT(-0400)] <esm> yeah
[10:48:44 EDT(-0400)] <esm> but IIRC it didn't affect tomcat
[10:48:52 EDT(-0400)] <EricDalquist> was that a 1.0 issue? Apache's Jira is down so I can't check on it (tongue)
[10:48:53 EDT(-0400)] <EricDalquist> ah
[10:49:03 EDT(-0400)] <esm> well... hmm
[10:49:13 EDT(-0400)] <esm> the one I have in mind just got fixed in 1.1.5
[10:49:19 EDT(-0400)] <EricDalquist> ok
[10:49:46 EDT(-0400)] * esm checks
[10:51:36 EDT(-0400)] <esm> 634169 in the asf repo is the one i'm thinking about
[10:51:56 EDT(-0400)] <esm> there is another session bug that was reported in Spring Portlet MVC
[10:52:10 EDT(-0400)] <esm> "bug". I'm not sure it was actually considered a spring issue
[10:52:18 EDT(-0400)] <EricDalquist> ah ok
[10:53:18 EDT(-0400)] * esm checks spring jira
[10:53:28 EDT(-0400)] * esm recovers password
[11:03:08 EDT(-0400)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[11:04:00 EDT(-0400)] <esm> http://jira.springframework.org/browse/SPR-3905 was the issue i was thinking about. It got reported as a pluto issue.
[11:04:16 EDT(-0400)] <esm> https://issues.apache.org/jira/browse/PLUTO-435
[11:04:59 EDT(-0400)] <EricDalquist> hrm ok
[11:18:23 EDT(-0400)] <esm> yeah i doubt that is it
[11:18:24 EDT(-0400)] <athena7> has anyone used the RSS portlet in up3 recently?
[11:18:34 EDT(-0400)] <EricDalquist> nope
[11:18:40 EDT(-0400)] <EricDalquist> problems?
[11:19:21 EDT(-0400)] <athena7> yeah
[11:19:27 EDT(-0400)] <athena7> i'll look into it
[11:19:45 EDT(-0400)] <athena7> was going through a few things to finally finish my list of current channels
[11:19:56 EDT(-0400)] <EricDalquist> ok
[11:20:04 EDT(-0400)] <EricDalquist> exceptions or just not working quite right?
[11:20:51 EDT(-0400)] <athena7> exceptions
[11:21:04 EDT(-0400)] <athena7> org.apache.pluto.PortletContainerException: Error loading portlet.xml at context RSS Portlet. Please validate the file structure of this portlets portlet.xml file.
[11:21:16 EDT(-0400)] <EricDalquist> ah
[11:21:42 EDT(-0400)] <EricDalquist> hey at least that is a good thing, in 2.x you would just get a 'channel failed to accept runtime data' message (wink)
[11:22:39 EDT(-0400)] <athena7> (smile)
[11:23:32 EDT(-0400)] <athena7> hm, you know, i actually have an error in my catalina log
[11:24:12 EDT(-0400)] <athena7> ok, that also seems to be referencing the portlet.xml
[11:24:35 EDT(-0400)] <EricDalquist> probably from the pluto servlet failing to register with the container due to the parse serror
[11:25:24 EDT(-0400)] <EricDalquist> interesting, I just checked the rss portlet's portlet.xml on my local machine and according to oxygen it validates
[11:25:38 EDT(-0400)] <EricDalquist> the web.xml looks good but doesn't have a DTD/XSD associated with it
[11:25:41 EDT(-0400)] <EricDalquist> but that should be ok
[11:26:08 EDT(-0400)] <athena7> yeah i didn't see any glaring errors
[11:26:19 EDT(-0400)] <athena7> although it seems weird that it claims not to support view mode
[11:26:29 EDT(-0400)] <EricDalquist> that is implicit
[11:26:37 EDT(-0400)] <EricDalquist> your portlet always supports VIEW and NORMAL
[11:26:44 EDT(-0400)] <EricDalquist> no matter what is in portlet.xml
[11:26:54 EDT(-0400)] <athena7> yeah
[11:27:14 EDT(-0400)] <athena7> i guess i always try and write files that claim to support view, just because it's a little clearer
[11:27:21 EDT(-0400)] <athena7> but it doesn't really matter
[11:27:26 EDT(-0400)] <EricDalquist> yup
[11:27:32 EDT(-0400)] <EricDalquist> it may be a parsing bug in pluto
[11:27:33 EDT(-0400)] <athena7> ok
[11:27:48 EDT(-0400)] <EricDalquist> let me know what you find (smile)
[11:27:50 EDT(-0400)] <athena7> i'm getting one other error in my tomcat file
[11:28:09 EDT(-0400)] <athena7> INFO: Loading mapping descriptors from jar:file:/usr/local/tomcat_instances/up3/shared/lib/pluto-descriptor-impl-1.1.5-SNAPSHOT.jar!/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
[11:28:09 EDT(-0400)] <athena7> java.lang.RuntimeException: Could not instantiate parser org.apache.xerces.parsers.SAXParser: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration
[11:28:31 EDT(-0400)] <EricDalquist> hrm
[11:28:47 EDT(-0400)] <athena7> which is right before the can't load portlet.xml error
[11:28:50 EDT(-0400)] <EricDalquist> do you have any extra libraries in shared/lib, common/lib or common/endoresed?
[11:29:02 EDT(-0400)] <EricDalquist> also what JDK/tomcat versions are you using?
[11:29:38 EDT(-0400)] <athena7> java 1.5/tomcat 5.5.25
[11:29:51 EDT(-0400)] <athena7> do you have a list of what's supposed to be in shared and common lib?
[11:30:15 EDT(-0400)] <EricDalquist> sure I can make one
[11:30:20 EDT(-0400)] <athena7> it's been a little bit since i've deleted and recreated that tomcat instance, i guess, although it's only been used for up3
[11:30:22 EDT(-0400)] <athena7> thanks
[11:30:30 EDT(-0400)] <athena7> actually that wouldn't be a bad list to keep somewhere anyway
[11:30:35 EDT(-0400)] <EricDalquist> how long since you've done a deploy-ear?
[11:30:44 EDT(-0400)] <athena7> does initportal do one?
[11:31:09 EDT(-0400)] <EricDalquist> yes
[11:31:15 EDT(-0400)] <athena7> then i've done it recently
[11:31:19 EDT(-0400)] <EricDalquist> ok
[11:31:20 EDT(-0400)] <athena7> but i assume that doesn't clear out old jars
[11:31:27 EDT(-0400)] <EricDalquist> not in shared
[11:31:33 EDT(-0400)] <athena7> ack, ok, yeah i've got multiple person directory jars there, which isn't awesome
[11:31:40 EDT(-0400)] <EricDalquist> so up3 doesn't put anything in common/lib or endorsed/lib
[11:31:48 EDT(-0400)] <athena7> ok
[11:32:00 EDT(-0400)] <EricDalquist> I just have the 9 jars from tomcat in common/lib
[11:32:26 EDT(-0400)] <EricDalquist> heh maybe we should add a 'clean shared/lib' options
[11:32:28 EDT(-0400)] <athena7> ok, i've got that in common/lib, and nothing in endorsed
[11:33:18 EDT(-0400)] <athena7> looks like i have 10 jars in shared
[11:33:50 EDT(-0400)] <athena7> castor, logging, persondir, 4 pluto type jars, portlet api, xercesImpl, and xmlParserAPIs
[11:33:53 EDT(-0400)] <EricDalquist> http://uportal.pastebin.com/d42ecb6bf
[11:34:08 EDT(-0400)] <athena7> ok, yep
[11:34:14 EDT(-0400)] <EricDalquist> that is what I have, I'm pretty sure that is what is needed
[11:34:24 EDT(-0400)] <EricDalquist> can you verify the size of your pluto jars?
[11:35:13 EDT(-0400)] <EricDalquist> oh and the Portlet Manager link renders correctly now: http://developer.ja-sig.org/source/changelog/jasigsvn/up2/trunk?cs=43377
[11:35:16 EDT(-0400)] <athena7> yep, exact match
[11:35:20 EDT(-0400)] <EricDalquist> that xalan elements stuff is pretty neat
[11:35:22 EDT(-0400)] <athena7> great!
[11:35:23 EDT(-0400)] <EricDalquist> ok
[11:35:26 EDT(-0400)] <EricDalquist> hrm
[11:35:52 EDT(-0400)] <athena7> here's the full trace on startup: http://uportal.pastebin.com/m1c50f219
[11:37:20 EDT(-0400)] <EricDalquist> hrm, so the RSS portlet includes its own xalan & xerces jars
[11:37:29 EDT(-0400)] <EricDalquist> I wonder if there is some classloader issue
[11:37:49 EDT(-0400)] <esm> EricDalquist: is the descriport-impl using JAXP?
[11:37:55 EDT(-0400)] <EricDalquist> it should be
[11:37:58 EDT(-0400)] <esm> k
[11:38:01 EDT(-0400)] <athena7> hm, xercesImpl.jar is in both shared and the webapp, it looks like
[11:38:03 EDT(-0400)] <EricDalquist> if that patch is applied
[11:38:08 EDT(-0400)] <EricDalquist> and there is a -SNAPSHOT with it enabled
[11:38:29 EDT(-0400)] <esm> well the patch is applied, it depends on if the snapshots that you have downloaded have it
[11:39:07 EDT(-0400)] <esm> typically we (Portals) don't publish snapshot artifacts (we have for 2.x but not for 1.1.x)
[11:39:14 EDT(-0400)] <EricDalquist> athena7: yeah that 'should' be ok
[11:39:21 EDT(-0400)] <athena7> yeah
[11:39:27 EDT(-0400)] <athena7> 'should' (smile)
[11:39:53 EDT(-0400)] <EricDalquist> this sounds like the jaxp patch isn't in the snapshot yet
[11:40:04 EDT(-0400)] <esm> yeah. where did you get the snapshots
[11:40:13 EDT(-0400)] <esm> did you build them or get them from the asf snapshot repo
[11:40:51 EDT(-0400)] <EricDalquist> asf repo
[11:40:58 EDT(-0400)] <EricDalquist> I just checked and I still have the system property set ...
[11:41:01 EDT(-0400)] <EricDalquist> I should un-set that
[11:41:15 EDT(-0400)] <esm> yeah. By the way on debug it will tell you on container init
[11:41:33 EDT(-0400)] <EricDalquist> so athena7 I have '-Dorg.apache.pluto.useJaxp=true' set when starting tomcat
[11:41:50 EDT(-0400)] <EricDalquist> until a recent patch pluto had to be explicitly told to use JAXP for parsing which fixed this problem
[11:42:15 EDT(-0400)] <esm> if you want you can get the 1.1.5 release candidate -bin distribution from http://people.apache.org/builds/portals-pluto/
[11:42:17 EDT(-0400)] <EricDalquist> so I bet if you add that to your startup the RssPortlet will work
[11:42:26 EDT(-0400)] <athena7> trying now
[11:42:29 EDT(-0400)] <EricDalquist> any chance of an updated -snapshot?
[11:42:57 EDT(-0400)] <esm> sure... or you can just use teh staging repo
[11:42:58 EDT(-0400)] <esm> here:
[11:43:12 EDT(-0400)] <athena7> tada!
[11:43:17 EDT(-0400)] <athena7> yes, that did the trick eric
[11:43:27 EDT(-0400)] <athena7> probably something that should get documented loudly somewhere
[11:43:37 EDT(-0400)] <EricDalquist> athena7: yeah it shouldn't be needed much longer
[11:43:42 EDT(-0400)] <athena7> even better
[11:43:50 EDT(-0400)] <esm> http://wiki.apache.org/portals/Pluto/Maven2Tips scroll down to "Using the staging Mavne 2 repository"
[11:44:02 EDT(-0400)] <EricDalquist> there should be an update in pluto which will auto-select it if you're running JDK5+
[11:44:54 EDT(-0400)] <esm> EricDalquist: there is. athena7 can download the rc if she wants - shoudl be a drop-in
[11:45:03 EDT(-0400)] <EricDalquist> hrm...
[11:45:30 EDT(-0400)] <EricDalquist> we have http://people.apache.org/builds/portals-pluto/m2-staging-repository/ set as a repo in the root uportal pom
[11:46:08 EDT(-0400)] <esm> ok. are you depending on snapshots though? That repo doesn't contain snaps
[11:46:10 EDT(-0400)] <EricDalquist> ahhh
[11:46:15 EDT(-0400)] <EricDalquist> but I need to change the version ...
[11:46:17 EDT(-0400)] <EricDalquist> so athena7
[11:46:27 EDT(-0400)] <athena7> yes
[11:46:27 EDT(-0400)] <EricDalquist> change the pluto.version in the root pom to just 1.1.5
[11:46:31 EDT(-0400)] <EricDalquist> then clear out shared/lib
[11:46:34 EDT(-0400)] <EricDalquist> and run deploy-ear
[11:46:45 EDT(-0400)] <athena7> ok
[11:46:48 EDT(-0400)] <esm> you really shouldn't be depending on that repo. It should be activated when you need it to be.
[11:46:53 EDT(-0400)] <EricDalquist> ah
[11:47:06 EDT(-0400)] <EricDalquist> stick it in a local profile?
[11:47:11 EDT(-0400)] <esm> cause stuff comes and goes from there
[11:47:36 EDT(-0400)] <esm> yeah the url I posted earlier.... you can keep it in your poms, but activate it selectivly
[11:47:45 EDT(-0400)] <esm> using a profile
[11:47:56 EDT(-0400)] <EricDalquist> ok
[11:48:06 EDT(-0400)] <esm> the repo url itself is stable, but the contents are not
[11:48:10 EDT(-0400)] <EricDalquist> oh and athena7, remove that system property after the update
[11:48:16 EDT(-0400)] <EricDalquist> to make sure it works without it
[11:48:17 EDT(-0400)] <athena7> right
[11:48:25 EDT(-0400)] <EricDalquist> esm: good point
[11:48:52 EDT(-0400)] <EricDalquist> oh and I had an people.apache.org question that I can't seem to find an answer for ... how do I get a little stub page up on people.apache.org/~edalquist?
[11:49:18 EDT(-0400)] <esm> mkdir public_html && echo "Hello world" publich_html/index.html I think
[11:49:25 EDT(-0400)] <esm> you know what i mean (smile)
[11:49:53 EDT(-0400)] <esm> your home dir needs to be 701 and public_html needs to be 755 IIRC
[11:50:13 EDT(-0400)] <EricDalquist> ah
[11:50:19 EDT(-0400)] <EricDalquist> I was trying htdocs
[11:50:26 EDT(-0400)] <EricDalquist> I can never remember the magic directory name
[11:50:31 EDT(-0400)] <esm> yeah (smile)
[11:51:11 EDT(-0400)] <EricDalquist> yay that worked
[11:51:40 EDT(-0400)] <esm> cool. also have you seen http://people.apache.org/
[11:51:49 EDT(-0400)] <esm> you can create a foaf
[11:52:01 EDT(-0400)] <EricDalquist> yeah I did
[11:52:09 EDT(-0400)] <EricDalquist> so now I stick that in there
[11:52:15 EDT(-0400)] <esm> yup
[11:52:15 EDT(-0400)] <EricDalquist> and do I need to do anything beyond that?
[11:52:31 EDT(-0400)] <esm> yeah
[11:52:35 EDT(-0400)] <esm> you have to commit the location
[11:52:50 EDT(-0400)] <esm> co https://svn.apache.org/repos/private/committers/info
[11:52:54 EDT(-0400)] <esm> and edit external.xml
[11:53:15 EDT(-0400)] <esm> http://people.apache.org/foaf/index.html has the info
[11:53:26 EDT(-0400)] <EricDalquist> that's right
[11:56:42 EDT(-0400)] <athena7> ok, my maven can't find pluto 1.1.5 - do i need to install this manually?
[11:57:08 EDT(-0400)] <EricDalquist> just a sec
[11:57:53 EDT(-0400)] <EricDalquist> http://uportal.pastebin.com/d76f36bd
[11:58:03 EDT(-0400)] <EricDalquist> apply that patch to your pom (do a revert first)
[11:58:16 EDT(-0400)] <EricDalquist> then run 'mvn clean install -P apache-staging'
[11:58:24 EDT(-0400)] <athena7> ok
[11:58:33 EDT(-0400)] <EricDalquist> which will activate the profile with the staging repository and grab the 1.1.5 jars
[11:58:52 EDT(-0400)] <EricDalquist> you should only need to activate the profile once then the jars will be cached in your local repository
[11:59:02 EDT(-0400)] <athena7> ok
[12:06:42 EDT(-0400)] <athena7> ok, thanks eric
[12:08:22 EDT(-0400)] <EricDalquist> working now?
[12:09:42 EDT(-0400)] <athena7> yep!
[12:09:43 EDT(-0400)] <athena7> thanks (smile)
[12:09:53 EDT(-0400)] <athena7> i think i'm almost done with my list of current channels
[12:10:38 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279621814.dsl.bell.ca) has joined ##uportal
[12:13:07 EDT(-0400)] <EricDalquist> once pluto 1.1.5 is actually released this will be completely resolved
[12:13:08 EDT(-0400)] <EricDalquist> cool
[12:13:09 EDT(-0400)] <athena7> i didn't even know what a bunch of the chanenls were
[12:13:10 EDT(-0400)] <athena7> yikes
[12:13:17 EDT(-0400)] <athena7> will it be released soon?
[12:13:56 EDT(-0400)] <EricDalquist> hopefully, the vote is open on the pluto lists right now
[12:14:07 EDT(-0400)] <EricDalquist> 3.0 GA won't go until 1.1.5 is final
[12:14:29 EDT(-0400)] <EricDalquist> I have a couple other dependencies I need to make sure have actual releases before we go GA
[12:14:36 EDT(-0400)] <athena7> ah ok
[12:14:45 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[14:05:23 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279621814.dsl.bell.ca) has joined ##uportal
[14:30:36 EDT(-0400)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[15:27:10 EDT(-0400)] * michelled_ (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[15:29:40 EDT(-0400)] * michelled__ (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[15:44:45 EDT(-0400)] * michelled__ (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has left ##uportal
[15:45:25 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[17:03:43 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has left ##uportal
[18:10:12 EDT(-0400)] * colinclark_ (n=colin@bas1-toronto09-1279621814.dsl.bell.ca) has joined ##uportal
[19:01:18 EDT(-0400)] * dstn (n=dstn@unaffiliated/dstn) has left ##uportal
[19:43:24 EDT(-0400)] * esm (n=esm@207-53-193-86.dynamic-dsl.qis.net) has joined ##uportal
[19:44:04 EDT(-0400)] * esm (n=esm@207-53-193-86.dynamic-dsl.qis.net) has joined ##uportal
[20:19:07 EDT(-0400)] * awills (n=awills@12.164.136.183) has joined ##uportal
[21:02:51 EDT(-0400)] * athena7 (n=athena7@c-24-2-189-230.hsd1.mn.comcast.net) has joined ##uportal
[21:25:58 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279621814.dsl.bell.ca) has joined ##uportal