Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 53 Next »

[11:12:56 CDT(-0500)] * Topic is 'http://uportal.pastebin.com/ - http://www.ja-sig.org/wiki/display/UPC/uportal+IRC+Logs' set by EricDalquist on 11:32:13 CST(-0600)
[11:13:07 CDT(-0500)] <EricDalquist> it apparently decided it disconnect a few days ago
[11:13:09 CDT(-0500)] <EricDalquist> weird
[11:13:51 CDT(-0500)] <jessm> thanks a billion EricDalquist!
[11:13:55 CDT(-0500)] <EricDalquist> yup
[11:14:10 CDT(-0500)] <EricDalquist> I need to figure out why it decides to quit the server randomly
[11:14:10 CDT(-0500)] <athena> silly logbot
[11:14:13 CDT(-0500)] <EricDalquist> it was still running
[11:14:16 CDT(-0500)] <athena> maybe it gets bored
[11:14:18 CDT(-0500)] <EricDalquist> just not connected to anything
[11:14:19 CDT(-0500)] <EricDalquist> lol
[11:14:20 CDT(-0500)] * athena tries to entertain the bot
[11:14:25 CDT(-0500)] * athena does cartwheels
[11:14:39 CDT(-0500)] <EricDalquist> someone needs to add chatbot AI to our logbot (tongue)
[11:15:12 CDT(-0500)] <jessm> i thought it used to reply to my messages – it would be fun if it just insulted us!
[11:15:21 CDT(-0500)] <EricDalquist> lol
[11:16:55 CDT(-0500)] <athena> yeah i've been in some channels where they trained it to say things
[11:17:01 CDT(-0500)] <athena> mostly quoting from LOTR, it hink
[11:25:26 CDT(-0500)] <Bananobot> I'm trying to install uPortal from source. It says the build was successful, but when I actually go to start the service, it says it can't load org.apache.log4j.spi.NOPLoggerRepository. I'm on Ubuntu 10.04 and can see that the liblog4j1.2-java package is installed, and /var/lib/tomcat6/webapps/uPortal/WEB-INF/lib/log4j-1.2.15.jar also exists.
[11:27:04 CDT(-0500)] <athena> are you using the tomcat instance provided by ubuntu or one you manually installed?
[11:27:11 CDT(-0500)] <Bananobot> Provided by Ubuntu
[11:27:30 CDT(-0500)] <athena> i'd probably recommend installing a fresh download of tomcat from the apache site
[11:27:45 CDT(-0500)] <athena> they may have made some modifications
[11:27:51 CDT(-0500)] <Bananobot> I'd prefer to stay with Ubuntu's repositories so I can take advantage of automatic updates
[11:28:02 CDT(-0500)] <EricDalquist> it is likely from one of the portlets
[11:28:16 CDT(-0500)] <EricDalquist> uPortal deploys a bunch of portlet apps
[11:28:34 CDT(-0500)] <athena> i don't personally develop on linux, but most of the sysadmins i've worked with try not to use the linux-packaged tomcat instances - i'm not sure you actually want it to update automatically
[11:28:42 CDT(-0500)] <EricDalquist> and one of them could potentially have a bad log4j config
[11:28:58 CDT(-0500)] <EricDalquist> which context was tomcat starting when that message is logged
[11:32:34 CDT(-0500)] <Bananobot> Hm.. it was pluto-testsuite
[11:32:39 CDT(-0500)] <Bananobot> So maybe that wasn't related
[11:32:47 CDT(-0500)] <Bananobot> At any rate, uPortal isn't starting up
[11:33:56 CDT(-0500)] <Bananobot> Here's what I get when I restart Tomcat and try to start uPortal via the host manager: http://pastebin.com/Q7HLaXab
[11:34:51 CDT(-0500)] <EricDalquist> have you looked in the uPortal log file?
[11:35:37 CDT(-0500)] <Bananobot> Hm... it's unable to find javax.portlet.PortletMode
[11:36:15 CDT(-0500)] <athena> have you followed the instructions here? https://wiki.jasig.org/display/UPM32/The+Servlet+Container
[11:36:22 CDT(-0500)] <athena> sounds like maybe it's not finding the shared jars
[11:45:59 CDT(-0500)] <Bananobot> Aha! I think that was it
[11:46:12 CDT(-0500)] <Bananobot> It was looking in /shared/.jar but not /shared/lib/.jar
[11:46:24 CDT(-0500)] <Bananobot> uPortal started up
[11:47:19 CDT(-0500)] <EricDalquist> great (smile)
[11:47:30 CDT(-0500)] <Bananobot> "CAS is Unavailable" (sad)
[11:47:38 CDT(-0500)] <Bananobot> The app is running
[11:49:29 CDT(-0500)] <Bananobot> I don't see any errors in cas.log
[11:49:51 CDT(-0500)] <EricDalquist> have you done any customization to the source or config yet?
[11:50:51 CDT(-0500)] <athena> no errors about cas in catalina.out either?
[11:54:13 CDT(-0500)] <Bananobot> EricDalquist: Customization on what source/config? I customized uPortal's database setup and build.properties.
[11:54:31 CDT(-0500)] <EricDalquist> how did you do the database setup configuration?
[11:54:39 CDT(-0500)] <EricDalquist> and did you run deploy-ear after doing so?
[11:54:48 CDT(-0500)] <mpolizzotti> Does anyone know of any rendering issues that might occur when viewing the announcements portlet on an iPhone with uPortal 3.2.2? The portlet does not render upon initial load, but when refreshed it loads.
[11:56:44 CDT(-0500)] <EricDalquist> mpolizzotti: that initdb bug is fixed
[11:56:54 CDT(-0500)] <Bananobot> EricDalquist: I first modified build.properties, then pom.xml (changed the two hsql references to postgresql and set the version), and then opened uportal-impl/somethingsomething/rdbm.properties, commented the hsql stuff, uncommented the postgresql stuff, and changed the connection info.
[11:57:02 CDT(-0500)] <Bananobot> Then I ran ant initportal
[11:57:07 CDT(-0500)] <EricDalquist> got it
[11:57:14 CDT(-0500)] <athena> mpolizzotti: i'd forgotten it even had a mobile view until andrew said something about it yesterday
[11:57:19 CDT(-0500)] <EricDalquist> that should have configured the built-in cas WAR correctly as well
[11:57:30 CDT(-0500)] <EricDalquist> just wondering if it is having issues connecting to the DB ...
[11:57:52 CDT(-0500)] <Bananobot> During the setup, uPortal did a bunch of database stuff seemingly without trouble
[11:58:41 CDT(-0500)] <EricDalquist> yeah
[11:59:05 CDT(-0500)] <EricDalquist> and when it builds it should have stuck the postgres JDBC driver in the cas webapp as well as the config from rdbm.properties
[11:59:17 CDT(-0500)] <EricDalquist> since CAS also connects to the portal DB in the default install
[12:00:25 CDT(-0500)] <Bananobot> In the deployed cas.properties, I see database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
[12:00:30 CDT(-0500)] <Bananobot> Uncommented
[12:01:10 CDT(-0500)] <EricDalquist> hrm
[12:01:17 CDT(-0500)] <EricDalquist> what version of uPortal are you working with?
[12:01:30 CDT(-0500)] <Bananobot> 3.2.3
[12:05:51 CDT(-0500)] <EricDalquist> I think the DB config should end up in cas/WEB-INF/deployerConfigContext.xml
[12:06:28 CDT(-0500)] <Bananobot> Yep, I see it in there
[12:06:43 CDT(-0500)] <Bananobot> In <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
[12:07:01 CDT(-0500)] <EricDalquist> does that have the correct config?
[12:07:02 CDT(-0500)] <Bananobot> It's the correct values
[12:07:41 CDT(-0500)] <EricDalquist> well that worked then
[12:07:42 CDT(-0500)] <EricDalquist> hrm
[12:07:51 CDT(-0500)] <Bananobot> But cas.properties says HSQL, and cas/META-INF/maven/org.jasig.portal.portlets-overlay/cas/pom.properties depends on hsql
[12:08:11 CDT(-0500)] <EricDalquist> yeah that shouldn't matter as far as I know
[12:08:15 CDT(-0500)] <EricDalquist> any thoughts on that athena?
[12:08:44 CDT(-0500)] <athena> hmm
[12:08:57 CDT(-0500)] <athena> cas.properties?
[12:09:10 CDT(-0500)] <Bananobot> webapps/cas/WEB-INF/cas.properties
[12:09:16 CDT(-0500)] <athena> interesting
[12:09:25 CDT(-0500)] <athena> so we may need to create an overlay for that file as wel
[12:09:32 CDT(-0500)] <athena> kind of doubt that's causing the problems though
[12:09:47 CDT(-0500)] <Bananobot> It shows Oracle and MySQL commented out, HSQL uncomments, and no line for PostgreSQL
[12:09:54 CDT(-0500)] <Bananobot> *uncommented
[12:10:17 CDT(-0500)] <Bananobot> I tried adding a line for PostgreSQL and commenting out HSQL, then reloading the app, but I'm getting the same results
[12:11:53 CDT(-0500)] <athena> i'm actually not sure that line's related
[12:12:06 CDT(-0500)] <athena> so this would be a lot easier to track down with an error message
[12:12:15 CDT(-0500)] <athena> can you check catalina.out as well as cas.log?
[12:13:36 CDT(-0500)] <Bananobot> Error getting flow information for URL:/cas/login
[12:13:36 CDT(-0500)] <Bananobot> org.springframework.webflow.execution.repository.NoSuchFlowExecutionException: No flow execution could be found with key '_c82588F67-311B-45E4-DB2F-DDBB023C3B19_kF73C839A-AEE9-475F-445C-B9DEC52B469F' – perhaps this executing flow has ended or expired? This could happen if your users are relying on browser history (typically via the back button) that references ended flows.; nested exception is org.springframework.webflow.conversation.NoSuchConvers
[12:13:36 CDT(-0500)] <Bananobot> ationException: No conversation could be found with id '82588F67-311B-45E4-DB2F-DDBB023C3B19' – perhaps this conversation has ended?
[12:14:09 CDT(-0500)] <Bananobot> That was probably when I hit reload on the login page
[12:14:30 CDT(-0500)] <athena> or possibly the result of going back to a URL after a tomcat restart?
[12:14:36 CDT(-0500)] <Bananobot> After that, I retyped the username and password and got the in-browser error message, but no further errors in the log
[12:15:00 CDT(-0500)] <athena> ok, so the cas webapp comes up now, but you get an authentication message? something like that?
[12:15:29 CDT(-0500)] <Bananobot> When I try to log in, I get the CAS interface with the message "CAS is Unavailable There was an error trying to complete your request. Please notify your support desk or try again."
[12:15:44 CDT(-0500)] <athena> huh
[12:15:50 CDT(-0500)] <EricDalquist> so there is never the normal cas user/password prompt
[12:15:56 CDT(-0500)] <Bananobot> Yes there is
[12:15:59 CDT(-0500)] <athena> and no log messages in either cas.log or catalina.out?
[12:16:04 CDT(-0500)] <EricDalquist> ah ok
[12:16:08 CDT(-0500)] <Bananobot> I type in my username and password, submit, and then I get that
[12:16:20 CDT(-0500)] <Bananobot> athena: Nothing marked as an error or severe
[12:16:37 CDT(-0500)] <EricDalquist> weird, I wonder if CAS has an issue with postgres as it is bundled
[12:16:37 CDT(-0500)] <athena> anything informative that shows what it was doing before the error?
[12:16:39 CDT(-0500)] <Bananobot> I can't make out what the various messages mean
[12:16:50 CDT(-0500)] <athena> no i'm actually using postgres and it works ok
[12:17:01 CDT(-0500)] <athena> if you'd like you can copy them to uportal.pastebin.com
[12:17:27 CDT(-0500)] <Bananobot> cas.log: http://pastebin.com/umw2kJAi
[12:18:09 CDT(-0500)] <Bananobot> Oh , huh
[12:18:25 CDT(-0500)] <Bananobot> Now I'm seeing a bazillion SEVERE messages in catalina.out. Let me see which context it's from
[12:18:50 CDT(-0500)] <athena> oh well that sounds like something to look at at least (smile)
[12:19:20 CDT(-0500)] <Bananobot> catalina.out: http://uportal.pastebin.com/VYsvQBqU
[12:19:54 CDT(-0500)] <EricDalquist> hrm, is there a postgres jar in cas/webinf/lib?
[12:20:28 CDT(-0500)] <Bananobot> Nope
[12:20:49 CDT(-0500)] <EricDalquist> how did you add the JDBC driver in uPortal?
[12:21:00 CDT(-0500)] <EricDalquist> did you change the jdbc. properties in the root pom.xml?
[12:21:10 CDT(-0500)] <Bananobot> Yeah
[12:21:30 CDT(-0500)] <EricDalquist> hrm, that should result it that JAR ending up in cas
[12:21:47 CDT(-0500)] <athena> it should
[12:22:06 CDT(-0500)] <EricDalquist> you can the postgres jar to uportal-portlets-overlay/cas/pom.xml
[12:22:11 CDT(-0500)] <EricDalquist> and re-run deploy-ear
[12:22:12 CDT(-0500)] <athena> though sometimes if you build uportal, then change the pom, then re-build it doesn't know that the cas dependency needs to be updated
[12:22:25 CDT(-0500)] <athena> so you may need to run a clean, then run deploy-ear again
[12:22:33 CDT(-0500)] <EricDalquist> that could be do "ant clean deploy-ear" without any changes may fix it
[12:22:37 CDT(-0500)] <EricDalquist> brb
[12:22:56 CDT(-0500)] <athena> basically what happens is that the CAS war is included as a maven dependency, but changing a property in the root pom doesn't invalidate the built dependency even though it seems like it should
[12:23:35 CDT(-0500)] <Bananobot> That may be what happened, because IIRC I didn't have the configuration right the first time I did initportal
[12:23:45 CDT(-0500)] <athena> yeah, i bet that's what happened then
[12:24:01 CDT(-0500)] <athena> the maven stuff can be pretty confusing if you don't know what it's doing under the covers
[12:24:15 CDT(-0500)] <Bananobot> Hey, copying the postgresql jar to cas/WEB-INF/lib caused it to work
[12:24:21 CDT(-0500)] <athena> good (smile)
[12:24:22 CDT(-0500)] <Bananobot> I'll do the clean and deploy-ear now
[12:24:32 CDT(-0500)] <athena> hopefully that'll take care of it
[12:25:00 CDT(-0500)] <Bananobot> Thanks
[12:26:38 CDT(-0500)] <mpolizzotti> Anyone have any idea what might cause this portlet stack trace: http://uportal.pastebin.com/RiynN3kB
[12:26:52 CDT(-0500)] <mpolizzotti> It only occurs on the iphone.
[12:27:14 CDT(-0500)] <mpolizzotti> Rebooting the portlet will force it to render correctly.
[12:27:59 CDT(-0500)] <athena> looks like one of the views has a bad jsp tag or something
[12:28:34 CDT(-0500)] <mpolizzotti> yeah
[12:28:34 CDT(-0500)] <athena> or there's something worse going on and it just can't render the namespace
[12:28:36 CDT(-0500)] <athena> which would be weird
[12:28:38 CDT(-0500)] <mpolizzotti> I just notced that
[12:28:40 CDT(-0500)] <mpolizzotti> noticed
[12:28:50 CDT(-0500)] <mpolizzotti> okay. that gives me something to look at
[12:29:14 CDT(-0500)] <athena> so actually that's kidn of weird
[12:29:26 CDT(-0500)] <athena> it's trying to render the regular announcements view instead of the mobile one, it looks like?
[12:29:38 CDT(-0500)] <mpolizzotti> Really.
[12:29:56 CDT(-0500)] <athena> is it calling that via ajax?
[12:30:27 CDT(-0500)] <athena> probably just a regular view i'd think
[12:30:31 CDT(-0500)] <mpolizzotti> This is more of a support case issue. I don't know the ins and outs of the implementation.
[12:30:36 CDT(-0500)] <mpolizzotti> Could it be an issue in the jsp
[12:30:47 CDT(-0500)] <mpolizzotti> or is it more likely with the java
[12:42:10 CDT(-0500)] <athena> i don't really know
[12:42:17 CDT(-0500)] <athena> i haven't looked at the mobile stuff in that portlet at all
[12:42:23 CDT(-0500)] <EricDalquist> weird stack trace
[12:42:32 CDT(-0500)] <EricDalquist> I'm not sure what pluto is trying to do there
[12:43:36 CDT(-0500)] <mpolizzotti> Okay. Thanks for looking.
[12:43:47 CDT(-0500)] <EricDalquist> looks like renderResponse might be null somehow
[12:43:56 CDT(-0500)] <EricDalquist> which I'm not sure how that can happen ...
[12:44:04 CDT(-0500)] <EricDalquist> especially if it works correctly on the next call
[12:45:07 CDT(-0500)] <athena> EricDalquist: i need to switch LoginServlet over to the new password implementation
[12:45:18 CDT(-0500)] <EricDalquist> in trunk? ok
[12:45:26 CDT(-0500)] <athena> should we just switch this over to a spring-configured controller?
[12:46:03 CDT(-0500)] <EricDalquist> yes
[12:46:05 CDT(-0500)] <EricDalquist> that would be great
[12:46:07 CDT(-0500)] <athena> ok
[12:46:18 CDT(-0500)] <athena> maybe i'll just do that rather than writing yet another spring locator
[12:46:29 CDT(-0500)] <athena> though i suppose i'll probably still need it for the ant md5password commmand
[12:46:30 CDT(-0500)] <athena> bleh
[12:46:39 CDT(-0500)] <athena> this servlet is older than dirt though
[12:48:01 CDT(-0500)] <EricDalquist> yes it is
[12:53:45 CDT(-0500)] <athena> with some of these variable names you'd think that letters were expensive or something.
[12:56:45 CDT(-0500)] <mpolizzotti> Is trunk in a state that it should be able to render on the iPhone? I tried to view the portal with FF's user agent plugin and it failed to transform.
[12:59:17 CDT(-0500)] <EricDalquist> honestly haven't tried it
[12:59:21 CDT(-0500)] <EricDalquist> so it may not be working right now
[12:59:33 CDT(-0500)] <mpolizzotti> okay.
[13:02:46 CDT(-0500)] <athena> i haven't tried it recently either
[13:02:52 CDT(-0500)] <athena> though i don't know of a specific reason it wouldn't work
[13:03:28 CDT(-0500)] <EricDalquist> my guess is there could be a problem with the mobile XSL and the new rendering pipeline
[13:03:36 CDT(-0500)] <EricDalquist> since that hasn't been tried yet
[13:11:42 CDT(-0500)] <athena> sounds pretty plausible
[13:11:53 CDT(-0500)] <athena> and i guess actually all of the URLs would be wrong, too
[13:12:09 CDT(-0500)] <EricDalquist> I think I did the URL work in there
[13:12:12 CDT(-0500)] <EricDalquist> but not positive
[13:48:14 CDT(-0500)] <athena> ok, have all our password persistence working w/ salted SHA-256 now
[13:48:26 CDT(-0500)] <athena> and have it also working with legacy passwords
[13:48:47 CDT(-0500)] <athena> they validate fine, but get updated to SHA when they're changed
[13:48:57 CDT(-0500)] <athena> just need to write a portlet to edit your own password now

  • No labels