Versions Compared

Key

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

[10:15:57 CDT(-0500)] <mklein21005> when i try to login it displays a uPortal error that says an error is preventing it from rendering. When i hit refresh it successfully log in
[10:16:20 CDT(-0500)] <mklein21005> this is the error information it give me http://dpaste.com/533234/
[10:16:33 CDT(-0500)] <mklein21005> any idea why this could be happening?
[10:17:04 CDT(-0500)] <EricDalquist> what versioon of uportal?
[10:17:59 CDT(-0500)] <mklein21005> 3.2.4
[10:19:06 CDT(-0500)] <EricDalquist> and you get this everytime you login with this user?
[10:19:09 CDT(-0500)] <EricDalquist> or with all users?
[10:19:43 CDT(-0500)] <mklein21005> just users that authenicate against AD
[10:20:07 CDT(-0500)] <mklein21005> the local users still work like "admin"
[10:20:12 CDT(-0500)] <EricDalquist> do you have DLM layouts setup ?
[10:21:36 CDT(-0500)] <mklein21005> ummm im not sure
[10:21:49 CDT(-0500)] <mklein21005> how could i check
[10:21:51 CDT(-0500)] <mklein21005> that
[10:22:07 CDT(-0500)] <EricDalquist> did you customize uportal-impl/src/main/resource/properties/dlm.xml
[10:22:21 CDT(-0500)] <EricDalquist> I'm wondering if there is a DLM fragment that only applies to users logging in via AD that has some problem with it
[10:23:03 CDT(-0500)] <mklein21005> nooo i haven't touched that file
[10:23:55 CDT(-0500)] <EricDalquist> and it only happens the first time an AD user logs in?
[10:24:01 CDT(-0500)] <EricDalquist> or every time that user logs in?
[10:24:16 CDT(-0500)] <mklein21005> it happens everytime
[10:25:32 CDT(-0500)] <mklein21005> it started doing this after i tried to enable clearview
[10:25:48 CDT(-0500)] <EricDalquist> CAS ClearPass?
[10:25:50 CDT(-0500)] <mklein21005> but then i decided against it so i undid my changes
[10:25:57 CDT(-0500)] <mklein21005> yeah
[10:26:01 CDT(-0500)] <mklein21005> thats what i ment
[10:26:08 CDT(-0500)] <EricDalquist> do you have a link to the instructions for enabling that?
[10:26:35 CDT(-0500)] <mklein21005> https://wiki.jasig.org/display/UPM32/ClearPass+Integration+-+Maven+Overlay
[10:27:19 CDT(-0500)] <EricDalquist> thnx
[10:27:25 CDT(-0500)] <EricDalquist> I'll be back in ~ 15 minutes
[10:27:30 CDT(-0500)] <mklein21005> ok
[10:51:31 CDT(-0500)] <athena> EricDalquist: when you're around again, i'm having some strange issues w/ the notice plugin
[11:05:14 CDT(-0500)] <EricDalquist> I'm back but a bit swamped
[11:05:24 CDT(-0500)] <EricDalquist> our HR system switch is not going so smooth
[11:06:15 CDT(-0500)] <EricDalquist> what are the issues with the notice plugin athena/
[11:06:43 CDT(-0500)] <athena> it doesn't seem to be finding a couple licenses that are in the license file
[11:06:55 CDT(-0500)] <athena> for example: [WARNING] Failed to find license info for: xalan:serializer:jar:2.7.0:compile
[11:07:09 CDT(-0500)] <athena> but it looks to me like that artifact is already in the file in svn?
[11:16:53 CDT(-0500)] <EricDalquist> huh
[11:17:28 CDT(-0500)] <EricDalquist> yeah I see it there
[11:17:30 CDT(-0500)] <athena> yeah i can't really figure out what's going on
[11:17:34 CDT(-0500)] <EricDalquist> that is really weird
[11:17:41 CDT(-0500)] <athena> there are two other dependencies it's doing that for as well
[11:17:48 CDT(-0500)] <EricDalquist> any extra info if you run maven in debug mode?
[11:18:06 CDT(-0500)] <athena> let me try
[11:21:12 CDT(-0500)] <athena> http://pastebin.com/syvhXQ06
[11:21:54 CDT(-0500)] <EricDalquist> [DEBUG] Found org.jasig.maven.notice.lookup.ArtifactLicense@22cb4138[groupId=xalan, artifactId=xalan, version={}, name=<null>, license=Apache License, Version 2.0] with match null for: xalan:xalan:2.7.0
[11:21:55 CDT(-0500)] <EricDalquist> hrm
[11:22:01 CDT(-0500)] <EricDalquist> that line is interesting
[11:22:45 CDT(-0500)] <EricDalquist> wait
[11:22:51 CDT(-0500)] <EricDalquist> no that's not the same artifact
[11:23:18 CDT(-0500)] <athena> yeah
[11:23:37 CDT(-0500)] <athena> hang on
[11:24:06 CDT(-0500)] <athena> http://pastebin.com/DVwPQFVg
[11:24:08 CDT(-0500)] <athena> that's better
[11:24:33 CDT(-0500)] <athena> don't really understand what's going on
[11:24:37 CDT(-0500)] <EricDalquist> wow
[11:24:43 CDT(-0500)] <EricDalquist> either do I
[11:25:08 CDT(-0500)] <EricDalquist> any indications the notice plugin is failing to load the license file?
[11:26:13 CDT(-0500)] <athena> no, i do see this line higher up:
[11:26:15 CDT(-0500)] <athena> [DEBUG] Mapped org.jasig.maven.notice.lookup.ArtifactLicense@648bfdea[groupId=xalan, artifactId=serializer, version={}, name=<null>, license=Apache License, Version 2.0] from: https://source.jasig.org/licenses/license-mappings.xml
[11:26:38 CDT(-0500)] <EricDalquist> yup
[11:26:43 CDT(-0500)] <EricDalquist> that is what is weird about that log
[11:26:48 CDT(-0500)] <EricDalquist> it looks like it finds the mapping
[11:26:51 CDT(-0500)] <EricDalquist> but then fails later on
[11:26:54 CDT(-0500)] <athena> yeah
[11:27:07 CDT(-0500)] <EricDalquist> do you have any maven proxies setup?
[11:27:07 CDT(-0500)] <athena> i don't get it
[11:27:11 CDT(-0500)] <athena> no
[11:27:35 CDT(-0500)] <athena> wonder if you'd get the same error
[11:27:52 CDT(-0500)] <EricDalquist> could you, just for humor, try renaming .m2/repository
[11:27:57 CDT(-0500)] <EricDalquist> and run it with a clean local repo
[11:28:11 CDT(-0500)] <EricDalquist> I do see the project connecting to a bunch of non-central repos in that log
[11:28:17 CDT(-0500)] <EricDalquist> maybe that's causing some sort of problem
[11:29:16 CDT(-0500)] <athena> i think it's still going to connect to those same repos - they're in the calendar portlet pom
[11:29:37 CDT(-0500)] <EricDalquist> :/
[11:30:00 CDT(-0500)] <EricDalquist> I really wonder if one of those has some bad data for xalan:serializer in it
[11:30:12 CDT(-0500)] <athena> guess it's possible
[11:30:48 CDT(-0500)] <athena> not sure what we would be able to do about it
[11:33:53 CDT(-0500)] <athena> you know, i'm not sure those artifacts exist in central
[11:34:03 CDT(-0500)] <athena> http://repo1.maven.org/maven2/javax/script/script-api/ returns a 404
[11:34:25 CDT(-0500)] <athena> so maybe that's the issue
[11:34:27 CDT(-0500)] <EricDalquist> right, that's the problem when not everything is in central
[11:34:44 CDT(-0500)] <EricDalquist> do doing a build and notice check with a clean local repo might be a good test
[11:35:08 CDT(-0500)] <mklein21005> @EricDalquist did you happen to notice anything in the instructions I sent you that might be causing my issues?
[11:36:00 CDT(-0500)] <EricDalquist> I haven't had a chance to look at the code yet
[11:36:06 CDT(-0500)] <EricDalquist> nothing obvious though (sad)
[11:43:13 CDT(-0500)] <athena> ok, it does seem to be because of missing dependencies
[11:43:22 CDT(-0500)] <athena> updated xalan:serializer to 2.7.1
[11:43:25 CDT(-0500)] <athena> which fixed that problem
[11:44:59 CDT(-0500)] <athena> script-api and js-engine are actually being included by cernunnos
[11:45:07 CDT(-0500)] <athena> not really sure where those dependencies disappeared to
[11:49:31 CDT(-0500)] <athena> ah.
[11:49:37 CDT(-0500)] <athena> adding the jasig 3rd party repo solved it
[11:49:44 CDT(-0500)] <EricDalquist> (smile)
[11:49:59 CDT(-0500)] <athena> didn't realize we still needed it (sad)
[11:50:19 CDT(-0500)] <EricDalquist> yeah crn uses a bunch of libs that aren't in central
[11:50:42 CDT(-0500)] <athena> yeah
[11:51:55 CDT(-0500)] <athena> least i'll be able to cut a release now!
[11:52:28 CDT(-0500)] <EricDalquist> (smile)
[12:02:32 CDT(-0500)] <rickard> Ran into this today: http://pastebin.com/G8nw73mA
[12:02:49 CDT(-0500)] <rickard> Followed by: http://pastebin.com/3QJkrQCH
[12:02:51 CDT(-0500)] <EricDalquist> rickard: try adding a validation query to your dbcp config
[12:03:00 CDT(-0500)] <rickard> Yeah, I just did. Hope it helps.
[12:03:10 CDT(-0500)] <rickard> I was just curious if you had run into it before.
[12:03:26 CDT(-0500)] <EricDalquist> it was caused by your jdbc driver and/or db
[12:03:41 CDT(-0500)] <EricDalquist> somehow the connection between the two dropped or was stale or something
[12:03:53 CDT(-0500)] <rickard> I added:
[12:03:54 CDT(-0500)] <rickard> <property name="testOnBorrow" value="true"/>
[12:03:55 CDT(-0500)] <rickard> <property name="validationQuery" value="SELECT 1"/>
[12:04:12 CDT(-0500)] <EricDalquist> sounds good ... if select 1 works for your db
[12:04:17 CDT(-0500)] <rickard> It does.
[12:04:38 CDT(-0500)] <rickard> Speaking of which, is it possible to use the uPortal DB pool from within my own portlets?