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 38 Next »

[03:32:25 EDT(-0400)] * higmad (n=chatzill@pcit-8752.HIG.SE) has joined ##uportal
[05:44:34 EDT(-0400)] * athena7_ (n=athena@adsl-75-58-127-15.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:07:05 EDT(-0400)] * sanji (n=Sanji@luna.it.fit.edu) has joined ##uportal
[09:20:05 EDT(-0400)] * EricDalquist (n=EricDalq@76.210.73.13) has joined ##uportal
[09:35:29 EDT(-0400)] * jessm (n=Jess@c-71-232-1-65.hsd1.ma.comcast.net) has joined ##uportal
[09:38:49 EDT(-0400)] * michelled (n=team@142.150.154.193) has joined ##uportal
[09:47:33 EDT(-0400)] <sanji> is there a way to tell if uportal is recieving anything from ldap?
[09:47:57 EDT(-0400)] <EricDalquist> for user attributes?
[09:48:02 EDT(-0400)] <sanji> yes
[09:48:17 EDT(-0400)] <EricDalquist> which version of uPortal?
[09:48:21 EDT(-0400)] <sanji> 3.1.1
[09:49:38 EDT(-0400)] <EricDalquist> turn debug logging on for the package org.jasig.services.persondir
[09:51:17 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[09:52:20 EDT(-0400)] <sanji> where do you do that?
[09:52:46 EDT(-0400)] <EricDalquist> uportal-war/src/main/webapp/WEB-INF/log4j.properties
[09:52:54 EDT(-0400)] <EricDalquist> back in a little bit ....
[10:15:28 EDT(-0400)] * athena (n=athena@adsl-75-58-127-15.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[10:30:47 EDT(-0400)] <EricDalquist> so we're seeing a really weird classloader issue with one portlet app right now
[10:30:52 EDT(-0400)] <EricDalquist> it has a lot of JSPs
[10:30:56 EDT(-0400)] <EricDalquist> which we precompile
[10:31:17 EDT(-0400)] <EricDalquist> randomly during the first visit to the portlet it fails with a NoClassDefFoundError
[10:31:25 EDT(-0400)] <EricDalquist> referring to one of the precompiled .tag files
[10:31:54 EDT(-0400)] <EricDalquist> after digging through the logs I found a cause:
[10:31:55 EDT(-0400)] <EricDalquist> java.io.InterruptedIOException
[10:31:55 EDT(-0400)] <EricDalquist> at java.io.FileInputStream.readBytes(Native Method)
[10:31:55 EDT(-0400)] <EricDalquist> at java.io.FileInputStream.read(FileInputStream.java:199)
[10:31:55 EDT(-0400)] <EricDalquist> at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:2093)
[10:32:20 EDT(-0400)] <EricDalquist> so the java code reading the .class file is getting interrupted
[10:32:27 EDT(-0400)] <EricDalquist> causing a no class def error
[10:32:39 EDT(-0400)] <EricDalquist> and classloading only happens once
[10:32:46 EDT(-0400)] <EricDalquist> so once it breaks we have to restart tomcat to fix it
[10:32:59 EDT(-0400)] <EricDalquist> and I have no idea what is causing the InterruptedIOException
[10:33:00 EDT(-0400)] <EricDalquist> (sad)
[10:33:33 EDT(-0400)] <athena> wow
[10:33:33 EDT(-0400)] <athena> (sad)
[10:34:11 EDT(-0400)] <EricDalquist> yeah
[10:51:06 EDT(-0400)] * tsnfoo (n=tsnfoo@140.141.15.78) has joined ##uportal
[10:53:25 EDT(-0400)] * lennard (n=sparhk@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[10:54:03 EDT(-0400)] <athena> i was thinking of maybe adding in some sort of shared CPD fragment that all channel types should pick up
[10:54:32 EDT(-0400)] <athena> so that we can get all those shared chrome settings and stuff in there
[10:54:47 EDT(-0400)] <EricDalquist> sounds good
[10:55:13 EDT(-0400)] <athena> thinking maybe just a fragment that gets tacked on at the end, rather than a full cpd
[10:55:17 EDT(-0400)] <athena> i'll have to play with it and see
[10:55:37 EDT(-0400)] <athena> it might be worth thinking about adding a channel property to mark channels as hidden in the mobile view
[10:55:42 EDT(-0400)] <athena> since we don't have multiple layouts
[10:55:59 EDT(-0400)] <athena> that'd probably work poorly if editing was allowed in the mobile theme right now, but since it's not . . .
[11:06:34 EDT(-0400)] * holdorph (n=holdorph@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[11:43:14 EDT(-0400)] <sanji> how is the baseDN supposed to look in uPortalLdapAttributeSource?
[11:43:51 EDT(-0400)] <athena> it depends on your ldap server's configuration
[11:43:59 EDT(-0400)] <athena> you may or may not need one
[11:44:53 EDT(-0400)] <sanji> well i'm getting this in the portal.log
[11:44:54 EDT(-0400)] <sanji> Exception thrown by 'org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao@f596b2'
[11:44:54 EDT(-0400)] <sanji> org.springframework.ldap.InvalidNameException: [LDAP: error code 34 - Invalid DN syntax]; nested exception is javax.naming.InvalidNameException: [LDAP: error code 34 - Invalid DN syntax]
[12:03:48 EDT(-0400)] <sanji> well i took out basedn and i'm still getting that error
[12:17:52 EDT(-0400)] <athena> it's kind of hard to know - the configuration is different for every ldap server
[12:18:10 EDT(-0400)] <athena> if it's an ldap server that you didn't personally configure, you may want to talk to the person that set it up
[12:31:26 EDT(-0400)] <sanji> great... that'll take a good few days
[12:32:34 EDT(-0400)] <sanji> when i do get that, and i look at the debug log for services.persondir will there be any messages discriptive as to the problem uportal encounters
[12:36:27 EDT(-0400)] * Sememmon (n=Sememmon@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[12:43:46 EDT(-0400)] <athena> sanji: you might try turning up debugging for the person directory and for spring ldap in the log file
[12:45:44 EDT(-0400)] <sanji> i have it on, i am just having a some trouble what is causing the messages excatly
[12:46:18 EDT(-0400)]

<sanji> like with this one: EBUG [http-8080-6] support.MergingPersonAttributeDaoImpl.[] Oct/20 12:43:48 - Retrieved attributes='[CaseInsensitiveNamedPersonImpl[name=sbrabant,attributes=

Unknown macro: {serverName=[localhost]}

]]' for query='

Unknown macro: {username=[sbrabant]}

', isFirstQuery=false, currentlyConsidering='org.jasig.services.persondir.support.AdditionalDescriptorsPersonAttributeDao@1967348', resultAttributes='null'


[12:46:48 EDT(-0400)] <sanji> was that caused by not being able to connect to ldap or am i requesting the wrong attributes?
[12:47:39 EDT(-0400)] <EricDalquist> so that is getting data from AdditionalDescriptorsPersonAttributeDao
[12:47:50 EDT(-0400)] <EricDalquist> which isn't the LDAP dao
[12:48:59 EDT(-0400)] <sanji> ah yes copied the wrong line
[12:49:00 EDT(-0400)] <sanji> DEBUG [http-8080-6] ldap.LdapPersonAttributeDao.[] Oct/20 12:43:48 - Adding attribute 'uid' with value '[sbrabant]' to query builder 'null'
[12:49:35 EDT(-0400)] <EricDalquist> do you want to use http://uportal.pastebin.com/ and paste the log data?
[12:49:43 EDT(-0400)] <EricDalquist> I can take a quick look
[12:55:45 EDT(-0400)] <sanji> http://uportal.pastebin.com/m71ed8b51
[12:56:11 EDT(-0400)] <sanji> i just copied the stuff from the latest try because the entire file is quite big
[12:57:47 EDT(-0400)] <EricDalquist> you're going to need to restart the JVM, try as a different user or wait a little while before trying again, it looks like the portal has your user attributes cached from a previous login
[12:59:07 EDT(-0400)] <sanji> alright, i've got a class to go to so i'll try after that
[12:59:11 EDT(-0400)] <sanji> thank you
[15:33:04 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[18:51:36 EDT(-0400)] * tsnfoo (n=tsnfoo@173.88.27.191) has joined ##uportal
[20:29:54 EDT(-0400)] * lennard (n=sparhk@wsip-72-215-204-133.ph.ph.cox.net) has left ##uportal
[21:13:04 EDT(-0400)] * lennard (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has joined ##uportal

  • No labels