uPortal IRC Logs-2013-02-01

[08:47:15 CST(-0600)] <prabhu> How to add Sakai connector to uPortal

[08:47:51 CST(-0600)] <EricDalquist> were you the same person with the email thread on the uportal-user list?

[08:48:10 CST(-0600)] <prabhu> hi yes

[08:48:20 CST(-0600)] <EricDalquist> so I'm not sure anyone here has an answer

[08:48:32 CST(-0600)] <EricDalquist> Steve Swinsburg who responded once was the original author

[08:48:45 CST(-0600)] <EricDalquist> but with the errors you're seeing it sure looks like the portlet is not complete

[08:49:12 CST(-0600)] <prabhu> Can you suggest me the steps I should follow to integrate it?

[08:49:33 CST(-0600)] <EricDalquist> well your latest error was java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

[08:49:45 CST(-0600)] <EricDalquist> so I'd guess the portlet is missing the commons-logging jar for some reason

[08:49:59 CST(-0600)] <EricDalquist> so try adding that to the portlet's dependencies and deploying it again

[08:50:08 CST(-0600)] <prabhu> ok

[09:27:59 CST(-0600)] <prabhu> For deploying Sakai connector, will moving the sakai-connector.war into the tomcat/webapps work?

[09:28:22 CST(-0600)] <EricDalquist> no idea

[09:28:26 CST(-0600)] <EricDalquist> I've never used sakai (smile)

[09:29:14 CST(-0600)] <prabhu> ok

[09:54:01 CST(-0600)] <prabhu> ResourcesElementsProviderUtils [WARN] No ResourcesElementsProvider found as a ServletContext attribute. Creating a new ResourcesElementsProviderImpl and caching it in the ServletContext under key: org.jasig.resourceserver.utils.aggr.ResourcesElementsProvider

[09:54:02 CST(-0600)] <prabhu> Feb 1, 2013 9:59:24 AM org.apache.catalina.startup.HostConfig deployDescriptor

[09:54:13 CST(-0600)] <prabhu> anyone has the idea about this error?

[09:55:08 CST(-0600)] <EricDalquist> not a big deal, it means that the webapp that warning is from is using the resource server (a utility a lot of jasig portlets use to compress js/css) but doesn't have cross-context enabled

[09:55:16 CST(-0600)] <EricDalquist> won't cause any real problems

[09:55:22 CST(-0600)] <EricDalquist> just that the affected portlet won

[09:55:34 CST(-0600)] <EricDalquist> 't know about the "disable aggregation" toggle in uPortal

[09:55:57 CST(-0600)] <prabhu> how to fix this? any idea?

[09:56:25 CST(-0600)] <EricDalquist> do you know which webapp the warning is for?

[09:56:41 CST(-0600)] <prabhu> its for the sakai-connector thing

[09:57:10 CST(-0600)] <EricDalquist> https://github.com/Jasig/uPortal/blob/master/uportal-war/src/main/webapp/META-INF/context.xml

[09:57:17 CST(-0600)] <EricDalquist> you need a META-INF/context.xml file

[09:57:24 CST(-0600)] <EricDalquist> that sets that crossContext=true flag

[09:59:20 CST(-0600)] <prabhu> I see that its set to true

[10:00:05 CST(-0600)] <EricDalquist> ok, then it should resolve automatically at runtime

[10:00:08 CST(-0600)] <EricDalquist> and you cn ignore the warning

[10:00:47 CST(-0600)] <prabhu> let me show you the complete error so that you may get an idea

[10:01:11 CST(-0600)] <prabhu> INFO: Registering 5 portlets for context /jasig-widget-portlets

[10:01:12 CST(-0600)] <prabhu> Feb 1, 2013 9:59:23 AM org.apache.catalina.startup.HostConfig deployDescriptor

[10:01:12 CST(-0600)] <prabhu> INFO: Deploying configuration descriptor sakai-connector-1.4.2.xml

[10:01:12 CST(-0600)] <prabhu> 2013-02-01 09:59:23 ResourcesElementsProviderUtils [WARN] No ResourcesElementsProvider found as a ServletContext attribute. Creating a new ResourcesElementsProviderImpl and caching it in the ServletContext under key: org.jasig.resourceserver.utils.aggr.ResourcesElementsProvider

[10:01:12 CST(-0600)] <prabhu> Feb 1, 2013 9:59:24 AM org.apache.catalina.startup.HostConfig deployDescriptor

[10:05:20 CST(-0600)] <prabhu> orelse

[10:05:56 CST(-0600)] <prabhu> How can I deploy a portlet from source code ? using mvn clean install or ant?

[10:30:53 CST(-0600)] <EricDalquist> so from that snippet it looks like the portlet is starting correctly

[10:31:01 CST(-0600)] <EricDalquist> or are there more lines after that which show an error?

[10:33:47 CST(-0600)] <prabhu> no

[10:34:11 CST(-0600)] <EricDalquist> no SEVERE messages about a context not starting?

[10:34:47 CST(-0600)] <prabhu> ok, but I didnt see it when I register for new portlet

[10:35:40 CST(-0600)] <EricDalquist> any error's in the portlet's log file?

[11:22:23 CST(-0600)] <goldmantx> Hey EricDalquist, are you there?

[11:22:29 CST(-0600)] <EricDalquist> yup

[11:23:36 CST(-0600)] <goldmantx> I am going to clean up the Voting area for coop dev and want to make sure that I don't close something out that should stay open..

[11:23:55 CST(-0600)] <EricDalquist> ok

[11:25:02 CST(-0600)] <goldmantx> You have been cleaning up the Jira's recently as well, right?

[11:25:23 CST(-0600)] <goldmantx> So if status is closed, I can remove?

[11:29:43 CST(-0600)] <EricDalquist> correct

[11:29:52 CST(-0600)] <goldmantx> ok, just wanted to make sure. Thanks...

[11:32:28 CST(-0600)] <EricDalquist> yup (smile)

[11:34:03 CST(-0600)] <prabhu> Hi eric

[11:34:13 CST(-0600)] <prabhu> I dont see any log for that portlet

[11:34:35 CST(-0600)] <prabhu> Even I tried to install portlet by building from source as well

[11:34:46 CST(-0600)] <prabhu> Even I tried to install portlet by building from uPortal source as well

[11:35:00 CST(-0600)] <prabhu> I dont see any issues while doing ant initportal

[11:35:19 CST(-0600)] <prabhu> but when I start the Tomcat I see that Warn

[11:36:38 CST(-0600)] <EricDalquist> that warn isn't a problem

[11:36:52 CST(-0600)] <EricDalquist> it only affects a specific feature for developing CSS/JS within uportal

[11:37:00 CST(-0600)] <EricDalquist> that won't affect the portlet actually working or not

[11:37:40 CST(-0600)] <drewwills> do you get the portlet-dev list EricDalquist?

[11:37:45 CST(-0600)] <EricDalquist> yes

[11:38:05 CST(-0600)] <drewwills> I sent some snapshots of progress with Notifications

[11:38:09 CST(-0600)] <EricDalquist> neat

[11:38:15 CST(-0600)] <EricDalquist> Jim will be happy (smile)

[11:38:21 CST(-0600)] <drewwills> I hope so (smile)

[11:39:56 CST(-0600)] <prabhu> but I dont see that portlet when i register it as per the instructions in https://wiki.jasig.org/display/PLT/Sakai+Connector+Portlet+-+Configuration+and+Installation

[11:40:22 CST(-0600)] <EricDalquist> can you go into tomcat

[11:40:27 CST(-0600)] <EricDalquist> open up the web.xml of the portlet

[11:40:30 CST(-0600)] <EricDalquist> and post the contents?

[11:40:43 CST(-0600)] <prabhu> sure

[11:46:55 CST(-0600)] <prabhu> <?xml version="1.0" encoding="UTF-8"?>

[11:46:56 CST(-0600)] <prabhu> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"

[11:46:56 CST(-0600)] <prabhu> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

[11:46:56 CST(-0600)] <prabhu> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

[11:46:56 CST(-0600)] <prabhu> version="2.4">

[11:46:56 CST(-0600)] <prabhu> <display-name>sakai-connector</display-name>

[11:46:56 CST(-0600)] <prabhu> <filter>

[11:46:57 CST(-0600)] <prabhu> <filter-name>gzipFilter</filter-name>

[11:46:57 CST(-0600)] <prabhu> <filter-class>net.sf.ehcache.constructs.web.filter.GzipFilter</filter-class>

[11:46:58 CST(-0600)] <prabhu> </filter>

[11:46:58 CST(-0600)] <prabhu> <filter>

[11:46:59 CST(-0600)] <prabhu> <filter-name>CacheExpiresFilter</filter-name>

[11:46:59 CST(-0600)] <prabhu> <filter-class>org.jasig.resourceserver.utils.filter.PathBasedCacheExpirationFilter</filter-class>

[11:47:00 CST(-0600)] <prabhu> </filter>

[11:47:15 CST(-0600)] <EricDalquist> prabhu: use a service lik gist.github.com

[11:47:20 CST(-0600)] <EricDalquist> IRC does not like large pastes

[11:47:31 CST(-0600)] <prabhu> ok I have mailed to you

[11:48:17 CST(-0600)] <EricDalquist> please use gist

[11:48:19 CST(-0600)] <EricDalquist> or pastebin

[11:48:21 CST(-0600)] <EricDalquist> and post the link

[11:48:27 CST(-0600)] <prabhu> ok

[11:52:00 CST(-0600)] <prabhu> https://gist.github.com/4692882

[11:52:30 CST(-0600)] <EricDalquist> ok so that portlet has not been deployed correctly

[11:52:35 CST(-0600)] <EricDalquist> how did you get it into tomcat/webapps?

[11:53:22 CST(-0600)] <prabhu> using Cd

[11:53:52 CST(-0600)] <prabhu> I didnt understand what you are asking

[11:53:58 CST(-0600)] <EricDalquist> https://wiki.jasig.org/display/UPM40/Deploy+and+Publish+a+Portlet

[11:54:08 CST(-0600)] <EricDalquist> to deploy a portlet in uportal

[11:54:14 CST(-0600)] <EricDalquist> you have to do "ant deployPortletApp -DportletApp=/path/to/yourProject.war"

[11:54:23 CST(-0600)] <EricDalquist> you can't just drop in the WAR file

[11:54:36 CST(-0600)] <EricDalquist> the portlet spec requires that portals do some portal specific modifications to the web.xml file

[11:55:34 CST(-0600)] <prabhu> ok, so what should I do now exactly?

[11:56:19 CST(-0600)] <EricDalquist> run that deployPortletApp command against the WAR file

[11:56:30 CST(-0600)] <EricDalquist> that will rewrite modify the webapp and copy it into tomcat

[11:56:43 CST(-0600)] <prabhu> ok

[11:57:41 CST(-0600)] <prabhu> It says build.xml does not exit

[11:57:43 CST(-0600)] <prabhu> It says build.xml does not exist

[11:58:24 CST(-0600)] <EricDalquist> did you read the manual page on where to run that command from?

[11:59:37 CST(-0600)] <prabhu> do I need to run that from the uPortal location/

[12:00:35 CST(-0600)] <prabhu> I got it build

[12:00:49 CST(-0600)] <EricDalquist> yes I believe that is what the manual page says

[12:01:14 CST(-0600)] <prabhu> i think it will work mam

[12:01:17 CST(-0600)] <prabhu> i think it will work man

[12:05:30 CST(-0600)] <prabhu> Yes its working,

[12:05:33 CST(-0600)] <prabhu> thanks alot

[12:05:50 CST(-0600)] <EricDalquist> yup

[12:54:52 CST(-0600)] <prabhu> SEVERE: A connection error occurred: class org.apache.axis.AxisFault: ; nested exception is:

[12:54:52 CST(-0600)] <prabhu> org.xml.sax.SAXException: Processing instructions are not allowed within SOAP messages

[12:54:58 CST(-0600)] <prabhu> what does it mean?

[12:55:18 CST(-0600)] <EricDalquist> means whatever you're talking to isn't talking valid SOAP

[12:55:38 CST(-0600)] <prabhu> what is mean by that SOAP?

[12:56:12 CST(-0600)] <EricDalquist> http://en.wikipedia.org/wiki/SOAP

[12:57:31 CST(-0600)] <prabhu> Do I need to use Single Sign on for using this sakai connector in uPortal?

[12:58:16 CST(-0600)] <EricDalquist> I have no idea

[12:58:25 CST(-0600)] <EricDalquist> like I said, we don't use sakai

[13:02:01 CST(-0600)] <prabhu> ok

[13:56:24 CST(-0600)] <drewwills1> EricDalquist how close are we to a person-directory v2?

[13:56:36 CST(-0600)] <drewwills1> i see updates to github commonly

[13:56:38 CST(-0600)] <EricDalquist> probably another couple weeks

[13:56:50 CST(-0600)] <EricDalquist> I'll see if I have any time this weekend

[13:56:57 CST(-0600)] <EricDalquist> I think most of the core logic is there

[13:57:04 CST(-0600)] <EricDalquist> writing unit tests now

[13:57:08 CST(-0600)] <drewwills1> i'll be delighted to have it when it's here (wink)

[13:57:14 CST(-0600)] <EricDalquist> I just finished up a bunch of tests for the matching logic

[13:57:52 CST(-0600)] <drewwills1> planning to link it into the uportal-platform-api work that cwaymire is helping with

[13:57:58 CST(-0600)] <EricDalquist> cool

[13:58:12 CST(-0600)] <EricDalquist> yeah I need to review that more

[13:58:35 CST(-0600)] <EricDalquist> I'm thinking that API might be a chance to take a pass at doing a "clean" groups/permissions API

[13:58:37 CST(-0600)] <drewwills1> i think those are the "power trio" for an enhanced api: (1) groups, (2) permissions, (3) user attributes

[13:58:45 CST(-0600)] <EricDalquist> that the implementation layer just translates until we get to actual GaP work

[13:58:54 CST(-0600)] <drewwills1> souns excellent... would love to have it

[14:41:53 CST(-0600)] <prabhu> can anyone help me with CAS ssl?

[14:42:03 CST(-0600)] <prabhu> can anyone help me with CAS ssl for uPorta?l

[16:43:42 CST(-0600)] <prabhu> hi