Versions Compared

Key

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

[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