Versions Compared

Key

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

[08:38:22 CDT(-0500)] <dd2> hello
[08:45:01 CDT(-0500)] <b-rock> Greetings uPortal devs: I'm getting this message for all of our custom portlets in a build of umobile-trunk http://pastebin.com/2q67X8DB . Do I need to re-run a channel import for these portlets?
[10:11:09 CDT(-0500)] <b-rock> Hi EricDalquist. did you happend to see the warning im my pastebin above? http://pastebin.com/2q67X8DB
[10:11:33 CDT(-0500)] <EricDalquist> hi b-rock
[10:12:00 CDT(-0500)] <EricDalquist> that implies one of two things
[10:12:10 CDT(-0500)] <EricDalquist> either the webapp /FeedbackPortlet is not getting deployed correctly
[10:12:29 CDT(-0500)] <EricDalquist> or the AdminFeedbackPortlet portlet inside of the /FeedbackPortlet webapp is not starting correctly
[10:12:36 CDT(-0500)] <EricDalquist> I'm assuming you
[10:12:56 CDT(-0500)] <EricDalquist> 've deployed all these portlets via the uPortal 4 overlay process or the uPortal 4 deployPortletApp tool?
[10:13:11 CDT(-0500)] <EricDalquist> and you've checked catalina.out for any errors about web apps not starting?
[10:13:37 CDT(-0500)] <Arvids> First, try looking at catalina.out while tomcat is starting - it will tell you whether FeedbackPortlet has been started succesfully
[10:13:53 CDT(-0500)] <b-rock> ok. I'll have a quick check of that. thanks.
[10:14:19 CDT(-0500)] <Arvids> Tomcat will report log message with level of 'SEVERE' if it could not start the context
[10:15:13 CDT(-0500)] <Arvids> Eric, what's the strategy regarding local Login support?
[10:15:19 CDT(-0500)] <Arvids> Is it going to be deprecated?
[10:15:23 CDT(-0500)] <EricDalquist> nope
[10:15:39 CDT(-0500)] <EricDalquist> I think the long-term plan is to switch to spring-security
[10:15:54 CDT(-0500)] <EricDalquist> but we'd still make sure you can have multiple authn systems configured
[10:15:57 CDT(-0500)] <EricDalquist> including local users
[10:16:06 CDT(-0500)] <Arvids> Hmmm... my colleague is trying to configure LDAP login, but without any success... login boxes do not appear
[10:16:31 CDT(-0500)] <Arvids> it looks like uPortal integrates CAS pretty tightly
[10:16:36 CDT(-0500)] <EricDalquist> hrm
[10:16:40 CDT(-0500)] <EricDalquist> well that is just the out of the box config
[10:16:55 CDT(-0500)] <EricDalquist> I don't believe we've made any changes to preclude local auth or ldap auth
[10:17:48 CDT(-0500)] <Arvids> the problem is not about configuring - we managed to start uPortal without any exceptions, but the login portlet is not included in user layout, hence no login boxes can be shown.
[10:18:02 CDT(-0500)] <EricDalquist> ah
[10:18:14 CDT(-0500)] <EricDalquist> so it sounds like you need to add the login portlet to the guest-lo or guest layout
[10:18:14 CDT(-0500)] <Arvids> I'll double check tomorrow the root of this problem and report it
[10:18:34 CDT(-0500)] <EricDalquist> then re-import
[10:20:14 CDT(-0500)] <Arvids> But as i wrote to user list - i'd like to enable easier separation of CAS
[10:20:29 CDT(-0500)] <EricDalquist> it should be pretty easy
[10:20:36 CDT(-0500)] <EricDalquist> comment out the cas module in uportal-ear
[10:20:43 CDT(-0500)] <EricDalquist> and switch the security.properties config
[10:20:46 CDT(-0500)] <b-rock> ok EricDaulquist. I need to rewind a little bit. http://pastebin.com/kMc81FAx I believe that class exists in tomcat shared/lib in the pluto-container-driver-api-2.1.0-M2.jar or pluto-container-api-2.1.0-M2.jar
[10:20:49 CDT(-0500)] <EricDalquist> there may be an issue with the default guest user
[10:21:26 CDT(-0500)] <Arvids> Ok... I'll look into details tomorrow
[10:22:33 CDT(-0500)] <Arvids> b-rock: please check catalina.properties - check shared loader configuration
[10:22:38 CDT(-0500)] <EricDalquist> b-rock: it looks like your portlets have stuff in them from pluto 1.1
[10:22:55 CDT(-0500)] <EricDalquist> you cannot simply use the same webapps between uPortal releases
[10:23:07 CDT(-0500)] <EricDalquist> they must be re-deployed using the tools provided in the uPortal release
[10:23:26 CDT(-0500)] <EricDalquist> the pluto 2.1 servlet name is org.apache.pluto.container.driver.PortletServlet
[10:23:35 CDT(-0500)] <EricDalquist> not org.apache.pluto.core.PortletServlet
[10:24:07 CDT(-0500)] <EricDalquist> athena it sounds like Arvids is having some trouble getting the login portlet to display in uP4.0 when switching to local ldap auth
[10:24:14 CDT(-0500)] <EricDalquist> have you done anything like that in trunk recently?
[10:24:15 CDT(-0500)] <b-rock> ahh ok. thanks. I'll point them to the new version of the api.
[10:24:30 CDT(-0500)] <EricDalquist> you must not do it by hand
[10:25:10 CDT(-0500)] <athena> Arvids: my experience has been that you need to add the login portlet to the guest layout's header
[10:25:19 CDT(-0500)] <athena> as opposed to the guest-lo fragment owner's layout
[10:25:41 CDT(-0500)] <EricDalquist> you have to either use the maven-pluto-plugin from the exact same version of pluto that your uPortal install is using
[10:25:56 CDT(-0500)] <EricDalquist> or you have to use the deployPortletWebapp ant target from the uPortal install that you are using
[10:26:01 CDT(-0500)] <EricDalquist> any other approach will cause problems
[10:26:29 CDT(-0500)] <EricDalquist> Arvids: yeah I think I remember the issue now, I believe the guest.layout.xml file just needs to be modified to uncomment the login portlet
[10:26:32 CDT(-0500)] <EricDalquist> and then re-import it
[10:26:48 CDT(-0500)] <EricDalquist> if you open a jira issue about this I think we can find an easier approach for 4.0.1
[10:27:30 CDT(-0500)] <Arvids> yeah, that's what i was talking about - we need very easy switching between those login modules
[10:27:53 CDT(-0500)] <Arvids> it's just that documentation is also a bit unclear regarding this
[10:28:58 CDT(-0500)] <EricDalquist> yeah
[10:29:04 CDT(-0500)] <Arvids> I'll contact Laura if something must be changed
[10:29:47 CDT(-0500)] <Arvids> Btw, I saw you fixed my commit regarding database messages
[10:30:01 CDT(-0500)] <EricDalquist> yeah
[10:30:05 CDT(-0500)] <EricDalquist> it looked really good
[10:30:08 CDT(-0500)] <EricDalquist> just a few minor tweaks
[10:30:17 CDT(-0500)] <EricDalquist> one being a new thing I found in hibernate
[10:30:27 CDT(-0500)] <EricDalquist> and I still need to update the DAO HowTo on the wiki
[10:30:33 CDT(-0500)] <Arvids> ok
[10:30:44 CDT(-0500)] <EricDalquist> @NaturalId is really neat
[10:30:58 CDT(-0500)] <EricDalquist> makes the hibernate 2nd level cache much more effective
[10:31:11 CDT(-0500)] <EricDalquist> you add that to the field(s) that make up the immutable natural key for the object
[10:31:26 CDT(-0500)] <Arvids> but i also had in mind - you modified one index there - shouldn't be that there must be also one multi-column index? ... for cases where message string must be retrieved by its locale AND code?
[10:31:40 CDT(-0500)] <EricDalquist> then hibernate stores the object in the 2nd level cache using both the synthetic id and the natural id
[10:32:05 CDT(-0500)] <EricDalquist> so when you do a query based on the natural id fields it can go directly to the 2nd level cache
[10:32:16 CDT(-0500)] <Arvids> neat... those new features keep popping out every now and then... it's even hard to follow all of them
[10:32:20 CDT(-0500)] <EricDalquist> and it also adds a unique constraint and index on the field(s) that make up the natural id
[10:32:32 CDT(-0500)] <EricDalquist> so in this case I added @NaturalId to locale and code
[10:32:46 CDT(-0500)] <EricDalquist> which results in an index with a unique constraint being created in the DB
[10:32:54 CDT(-0500)] <Arvids> ow, i get it now... nice
[10:33:06 CDT(-0500)] <EricDalquist> yeah
[10:33:12 CDT(-0500)] <EricDalquist> its a really neat feature
[10:33:30 CDT(-0500)] <EricDalquist> especially since pretty much every jpa managed object we have we do a lot of natural id lookups
[10:33:44 CDT(-0500)] <EricDalquist> and all of them except portlet definition have immutable natural ids already
[10:34:35 CDT(-0500)] <EricDalquist> I have it on my todo to update the jpa docs we have in the wiki though
[10:34:42 CDT(-0500)] <EricDalquist> to highlight the feature
[10:36:06 CDT(-0500)] <EricDalquist> I'm also going to look at adding a db-update ant task
[10:36:13 CDT(-0500)] <EricDalquist> since 4.0.1 will have some db schema changes
[10:36:23 CDT(-0500)] <EricDalquist> but I think they can all be applied without having to do a data export/import
[10:36:33 CDT(-0500)] <EricDalquist> one of many things to try out before next Friday (tongue)
[10:36:56 CDT(-0500)] <Arvids> hmm... my experience shows that hibernate's schema update works pretty well
[10:37:02 CDT(-0500)] <EricDalquist> yup
[10:37:13 CDT(-0500)] <EricDalquist> and I think the only changes so far have been additive
[10:37:17 CDT(-0500)] <Arvids> i'm using that in production without any troubles... so far
[10:37:26 CDT(-0500)] <EricDalquist> we just run into export/import needs when things are removed/renamed
[10:38:20 CDT(-0500)] <Arvids> btw, I suspect, that messages.xml file is not referenced anywhere in the code... should it be removed?
[10:38:31 CDT(-0500)] <EricDalquist> hrm yeah
[10:38:36 CDT(-0500)] <EricDalquist> if you want to do that right now
[10:38:42 CDT(-0500)] <EricDalquist> we can have a week or so of testing with it missing
[10:38:52 CDT(-0500)] <EricDalquist> working on getting the live build working again
[10:38:58 CDT(-0500)] <Arvids> no - i'm packing my backpack and heading home now (smile)
[10:39:02 CDT(-0500)] <EricDalquist> (tongue)
[10:39:11 CDT(-0500)] <EricDalquist> I'll delete it then when I get a second (smile)
[10:39:20 CDT(-0500)] <EricDalquist> athena does that sound right? messages.xml is no longer used?
[10:40:29 CDT(-0500)] <Arvids> isn't there some kind of tool that can detect potentially unneeded project files?
[10:40:39 CDT(-0500)] <EricDalquist> I don't know
[10:40:43 CDT(-0500)] <EricDalquist> I'd love to find one
[10:40:52 CDT(-0500)] <EricDalquist> I stumble across unused java code all the time
[10:41:06 CDT(-0500)] <EricDalquist> I would bet there are at least 200 unused classes in uPortal
[10:41:21 CDT(-0500)] <EricDalquist> I had the idea once of trying to startup uPortal with like cobertura watching
[10:41:32 CDT(-0500)] <EricDalquist> and getting a code-coverage report after some usage
[10:41:35 CDT(-0500)] <Arvids> indeed... i saw ohloh stats for uPortal code - and there were some big drops in terms of LOC
[10:41:38 CDT(-0500)] <EricDalquist> see what classes were all red (tongue)
[10:41:41 CDT(-0500)] <EricDalquist> yeah
[10:41:47 CDT(-0500)] <EricDalquist> we've been deleting a lot of old stuff
[10:41:56 CDT(-0500)] <EricDalquist> replacing it with external libraries
[10:42:00 CDT(-0500)] <EricDalquist> in defense of the original coders
[10:42:15 CDT(-0500)] <EricDalquist> often the code was written before things like spring-security were even envisioned
[10:42:31 CDT(-0500)] <athena> yes, messages.xml is no longer used
[10:42:43 CDT(-0500)] <athena> should totally delete that
[10:42:45 CDT(-0500)] <athena> back soon
[10:42:53 CDT(-0500)] <Arvids> ok, heading home... bye
[10:43:07 CDT(-0500)] <EricDalquist> later Arvids
[12:27:11 CDT(-0500)] <EricDalquist> fyi athena: (2011-09-21 12:26:53) Nick B.: ical4j is in central fyi, new groupId of org.mnode.ical4j
[12:28:21 CDT(-0500)] <athena> yay!!
[12:28:26 CDT(-0500)] <athena> that's terrific to hear, thanks (smile)
[12:28:29 CDT(-0500)] <athena> will have to check that out
[12:32:50 CDT(-0500)] <EricDalquist> yay the live build site is finally back up
[12:32:51 CDT(-0500)] <EricDalquist> (tongue)
[12:34:45 CDT(-0500)] <athena> hurray!
[13:11:15 CDT(-0500)] <dd_> hello
[13:11:22 CDT(-0500)] <EricDalquist> hi
[13:11:44 CDT(-0500)] <dd_> i have uportal and cas setup and everything is working
[13:11:58 CDT(-0500)] <dd_> i was wondering if there was a way to have the cas login be on my uportal welcome screen
[13:12:05 CDT(-0500)] <dd_> instead of a separate page
[13:12:27 CDT(-0500)] <EricDalquist> I'm not sure
[13:12:36 CDT(-0500)] <EricDalquist> that would be a question for the #jasig-cas channel
[13:12:46 CDT(-0500)] <EricDalquist> to see if you can have the cas login form be hosted outside of the cas server
[13:13:07 CDT(-0500)] <dd_> hmm, ok. yeah they are on two separate servers
[13:18:50 CDT(-0500)] <holdorph> I know dd_ has left, but it seems like what he might have been asking was much more basic. Simply just not wanting the uPortal guest view at all. that if a user isn't authenticated automatically redirect them to the CAS login page
[13:19:45 CDT(-0500)] <holdorph> at least that's pretty common use case that a lot of universities adopt
[13:20:06 CDT(-0500)] <athena> yeah, think you'd just need an update to the cas filter config
[15:28:33 CDT(-0500)] <rlewis1> Trying to get umobile-app-1.0.0 to build, running on Windows7. Error msg says can't find javac. Looking in TitaniumStudio installation details it lists the following. eclipse.vm=D:\TitaniumStudio1\jre\bin\client\jvm.dll and in sun.boot.class.path it includes D:\TitaniumStudio1\jre\lib\modules\jdk.boot.jar;D:\TitaniumStudio1\jre\classes, but modules\jdk.boot.jar is not there and jre\classes is not there. I am guessing the missing jar file is wh
[16:09:24 CDT(-0500)] <athena> rlewis1: it looks to me like titanium is using a JRE rather than a JDK
[16:09:35 CDT(-0500)] <athena> from the documentation, it needs to be pointing to a JDK instead
[16:11:32 CDT(-0500)] <rlewis1> yes, i have tried, but cannot get TS to use jdk
[16:12:21 CDT(-0500)] <rlewis1> where di u guys change config to use jdk?
[16:13:06 CDT(-0500)] <athena> unfortunately neither of us are on windows
[16:13:24 CDT(-0500)] <athena> my suggestion would be to make sure the JDK is installed on your machine, make sure JAVA_HOME is set to the JDK rather than the JRE
[16:13:28 CDT(-0500)] <athena> and then reinstalled titanium
[16:13:46 CDT(-0500)] <athena> it could be the case that it's paths are set based on JAVA_HOME's value when titanium is installed and that it doesn't get updated after that
[16:14:05 CDT(-0500)] <athena> if that doesn't work, i can try to track down a windows key and do some testing
[16:15:30 CDT(-0500)] <rlewis1> unfortunately, I have tried that, JAVA_HOME was available at TS install, and no luck.
[16:15:38 CDT(-0500)] <athena> ok
[16:15:47 CDT(-0500)] <athena> in that case i'll work on tracking down a windows key tomorrow
[16:16:22 CDT(-0500)] <athena> i know we've had a couple people successfully install titanium, but it may be that something weird has cropped up in the latest version
[16:16:23 CDT(-0500)] <athena> sorry you'