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 25 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

  • No labels