September 24, 2005

SubVersion on the Mac


http://metissian.com/projects/macosx/subversion/

Thanks to Glenn and Jeff.

Posted by csev at 06:59 AM

September 23, 2005

SVN Installation on a Mac

http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide20/Contents/Resources/en.lproj/UsingSubversion/chapter_50_section_2.html

This is wrong - it does not work with https - sheesh. See the later post.

Posted by csev at 09:08 AM

Sakai uPortal Integration Summary

This is a copy of a message to the Sakai Partners.


We have made significant progress along Sakai's roadmap for portal integration.

(1) We delivered the ability to integrate Sakai into portals using iFrames in release 1.5 and updated the capability in Sakai 2.0 using Charon.

(2) The Sakai work to include WSRP Producer is complete and available in the head of SVN and will be included with Sakai 2.1.

(3) A simple JSR-168 portlet has been written that allows the inclusion of Sakai in any JAR-168 compliant portal - this portlet is at a demonstration level.

Efforts (2) and (3) will need further work which will need to be done in the context of Sakai sites interested in actually integrating Sakai into their portals. That work should start now. If you are interested in working toward production deployments of either WSRP or the JSR-168 portlet, please indicate interest in the Portal group on collab.sakaiproject.org.

Beyond these Sakai directed efforts efforts, a nascent effort led by Andrew Petro and Yale to do a close integration of Sakai into uPortal 3. This effort is described in the following web pages maintained by Andrew:

http://jasigch.princeton.edu:9000/display/UPC/Sakai+Integration+Chicago
http://jasigch.princeton.edu:9000/display/UPC/uPortal+Sakai+Integration

This work will continue and be described both on the uPortal Confluence site and in the Sakai Portal group on collab.sakaiproject.org. The first step of the integration has been accomplished (Sakai and uPortal in the same Tomcat) and a nightly build of uPortal with Sakai available under the "Chuck's Nightly Builds" - on www.dr-chuck.com (please be patient as this is a small server).

Anyone who is interested in helping and/or collaborating on any of this work is encouraged to join the Portal group on collab.sakaiproject.org.

Posted by csev at 06:09 AM

September 17, 2005

Upotral CVS Notes

Boring stuff

dr-charles-severances-powerbook-g4-15:~/dev/sandbox/up3/portal csev$ cvs diff lib
? lib/activation-1.0.2.jar
? lib/aopalliance-1.0.jar
? lib/asm-1.5.3.jar
? lib/asm-attrs-1.5.3.jar
? lib/axis-1.2.1.jar
? lib/axis-ant-1.2.1.jar
? lib/axis-jaxrpc-1.2.1.jar
? lib/axis-saaj-1.2.1.jar
? lib/commons-digester-1.6.jar
? lib/commons-discovery-0.2.jar
? lib/commons-logging-1.0.4.jar
? lib/hibernate-3.0.5.jar
? lib/hsqldb-1.7.3.3.jar
? lib/jdom-1.0.jar
? lib/jpox-2005-03-20.jar
? lib/jpox-enhancer-1.1.0-beta-3.jar
? lib/jstl-1.1.2.jar
? lib/jta-h2.1.8.jar
? lib/junit-3.8.1.jar
? lib/oro-2.0.8.jar
? lib/servlet-2003-07-31.jar
? lib/spring-1.2.jar
? lib/standard-1.0.5.jar
? lib/wsdl4j-2005-04-12.jar
? lib/xercesImpl-2.6.2.jar
? lib/xmlParserAPIs-2.6.2.jar
? lib/xmlunit-1.0.jar
cvs diff: Diffing lib
cvs diff: cannot find lib/activation.jar
cvs diff: cannot find lib/aopalliance.jar
cvs diff: cannot find lib/asm-attrs.jar
cvs diff: cannot find lib/asm.jar
cvs diff: cannot find lib/axis-ant.jar
cvs diff: cannot find lib/axis.jar
cvs diff: cannot find lib/commons-digester-1.7.jar
cvs diff: cannot find lib/commons-discovery.jar
cvs diff: cannot find lib/commons-logging.jar
cvs diff: lib/hibernate3.jar was removed, no comparison available
cvs diff: lib/hsqldb.jar was removed, no comparison available
cvs diff: lib/jaxrpc.jar was removed, no comparison available
cvs diff: lib/jdom.jar was removed, no comparison available
cvs diff: lib/jpox-enhancer.jar was removed, no comparison available
cvs diff: lib/jpox.jar was removed, no comparison available
cvs diff: lib/jstl.jar was removed, no comparison available
cvs diff: lib/jta.jar was removed, no comparison available
cvs diff: lib/junit.jar was removed, no comparison available
cvs diff: lib/saaj.jar was removed, no comparison available
cvs diff: lib/servlet.jar was removed, no comparison available
cvs diff: lib/spring.jar was removed, no comparison available
cvs diff: lib/standard.jar was removed, no comparison available
cvs diff: lib/wsdl4j.jar was removed, no comparison available
cvs diff: lib/xercesImpl.jar was removed, no comparison available
cvs diff: lib/xml-apis.jar was removed, no comparison available
cvs diff: lib/xmlunit1.0.jar was removed, no comparison available
cvs diff: Diffing lib/portlets
cvs diff: Diffing lib/test
dr-charles-severances-powerbook-g4-15:~/dev/sandbox/up3/portal csev$ cvs delete lib/commons-logging.jar lib/commons-discovery.jar lib/commons-digester-1.7.jar lib/axis.jar lib/axis-ant.jar lib/asm.jar lib/asm-attrs.jar lib/aopalliance.jar lib/activation.jar
cvs remove: scheduling `lib/commons-logging.jar' for removal
cvs remove: scheduling `lib/commons-discovery.jar' for removal
cvs remove: scheduling `lib/commons-digester-1.7.jar' for removal
cvs remove: scheduling `lib/axis.jar' for removal
cvs remove: scheduling `lib/axis-ant.jar' for removal
cvs remove: scheduling `lib/asm.jar' for removal
cvs remove: scheduling `lib/asm-attrs.jar' for removal
cvs remove: scheduling `lib/aopalliance.jar' for removal
cvs remove: scheduling `lib/activation.jar' for removal
cvs remove: use 'cvs commit' to remove these files permanently
dr-charles-severances-powerbook-g4-15:~/dev/sandbox/up3/portal csev$ vi /tmp/z
idr-charles-severances-powerbook-g4-15:~/dev/sandbox/up3/portal csev$ cvs add -kb `cat /tmp/z`
cvs add: scheduling file `lib/activation-1.0.2.jar' for addition
cvs add: scheduling file `lib/aopalliance-1.0.jar' for addition
cvs add: scheduling file `lib/asm-1.5.3.jar' for addition
cvs add: scheduling file `lib/asm-attrs-1.5.3.jar' for addition
cvs add: scheduling file `lib/axis-1.2.1.jar' for addition
cvs add: scheduling file `lib/axis-ant-1.2.1.jar' for addition
cvs add: scheduling file `lib/axis-jaxrpc-1.2.1.jar' for addition
cvs add: scheduling file `lib/axis-saaj-1.2.1.jar' for addition
cvs add: Re-adding file `lib/commons-digester-1.6.jar' (in place of dead revision 1.2).
cvs add: scheduling file `lib/commons-discovery-0.2.jar' for addition
cvs add: scheduling file `lib/commons-logging-1.0.4.jar' for addition
cvs add: scheduling file `lib/hibernate-3.0.5.jar' for addition
cvs add: scheduling file `lib/hsqldb-1.7.3.3.jar' for addition
cvs add: scheduling file `lib/jdom-1.0.jar' for addition
cvs add: scheduling file `lib/jpox-2005-03-20.jar' for addition
cvs add: scheduling file `lib/jpox-enhancer-1.1.0-beta-3.jar' for addition
cvs add: scheduling file `lib/jstl-1.1.2.jar' for addition
cvs add: scheduling file `lib/jta-h2.1.8.jar' for addition
cvs add: Re-adding file `lib/junit-3.8.1.jar' (in place of dead revision 1.2).
cvs add: scheduling file `lib/oro-2.0.8.jar' for addition
cvs add: scheduling file `lib/servlet-2003-07-31.jar' for addition
cvs add: scheduling file `lib/spring-1.2.jar' for addition
cvs add: scheduling file `lib/standard-1.0.5.jar' for addition
cvs add: scheduling file `lib/wsdl4j-2005-04-12.jar' for addition
cvs add: scheduling file `lib/xercesImpl-2.6.2.jar' for addition
cvs add: scheduling file `lib/xmlParserAPIs-2.6.2.jar' for addition
cvs add: scheduling file `lib/xmlunit-1.0.jar' for addition
cvs add: use 'cvs commit' to add these files permanently
dr-charles-severances-powerbook-g4-15:~/dev/sandbox/up3/portal csev$ cvs diff lib
cvs diff: Diffing lib
cvs diff: lib/activation-1.0.2.jar is a new entry, no comparison available
cvs diff: lib/activation.jar was removed, no comparison available
cvs diff: lib/aopalliance-1.0.jar is a new entry, no comparison available
cvs diff: lib/aopalliance.jar was removed, no comparison available
cvs diff: lib/asm-1.5.3.jar is a new entry, no comparison available
cvs diff: lib/asm-attrs-1.5.3.jar is a new entry, no comparison available
cvs diff: lib/asm-attrs.jar was removed, no comparison available
cvs diff: lib/asm.jar was removed, no comparison available
cvs diff: lib/axis-1.2.1.jar is a new entry, no comparison available
cvs diff: lib/axis-ant-1.2.1.jar is a new entry, no comparison available
cvs diff: lib/axis-ant.jar was removed, no comparison available
cvs diff: lib/axis-jaxrpc-1.2.1.jar is a new entry, no comparison available
cvs diff: lib/axis-saaj-1.2.1.jar is a new entry, no comparison available
cvs diff: lib/axis.jar was removed, no comparison available
cvs diff: lib/commons-digester-1.6.jar is a new entry, no comparison available
cvs diff: lib/commons-digester-1.7.jar was removed, no comparison available
cvs diff: lib/commons-discovery-0.2.jar is a new entry, no comparison available
cvs diff: lib/commons-discovery.jar was removed, no comparison available
cvs diff: lib/commons-logging-1.0.4.jar is a new entry, no comparison available
cvs diff: lib/commons-logging.jar was removed, no comparison available
cvs diff: lib/hibernate-3.0.5.jar is a new entry, no comparison available
cvs diff: lib/hibernate3.jar was removed, no comparison available
cvs diff: lib/hsqldb-1.7.3.3.jar is a new entry, no comparison available
cvs diff: lib/hsqldb.jar was removed, no comparison available
cvs diff: lib/jaxrpc.jar was removed, no comparison available
cvs diff: lib/jdom-1.0.jar is a new entry, no comparison available
cvs diff: lib/jdom.jar was removed, no comparison available
cvs diff: lib/jpox-2005-03-20.jar is a new entry, no comparison available
cvs diff: lib/jpox-enhancer-1.1.0-beta-3.jar is a new entry, no comparison available
cvs diff: lib/jpox-enhancer.jar was removed, no comparison available
cvs diff: lib/jpox.jar was removed, no comparison available
cvs diff: lib/jstl-1.1.2.jar is a new entry, no comparison available
cvs diff: lib/jstl.jar was removed, no comparison available
cvs diff: lib/jta-h2.1.8.jar is a new entry, no comparison available
cvs diff: lib/jta.jar was removed, no comparison available
cvs diff: lib/junit-3.8.1.jar is a new entry, no comparison available
cvs diff: lib/junit.jar was removed, no comparison available
cvs diff: lib/oro-2.0.8.jar is a new entry, no comparison available
cvs diff: lib/saaj.jar was removed, no comparison available
cvs diff: lib/servlet-2003-07-31.jar is a new entry, no comparison available
cvs diff: lib/servlet.jar was removed, no comparison available
cvs diff: lib/spring-1.2.jar is a new entry, no comparison available
cvs diff: lib/spring.jar was removed, no comparison available
cvs diff: lib/standard-1.0.5.jar is a new entry, no comparison available
cvs diff: lib/standard.jar was removed, no comparison available
cvs diff: lib/wsdl4j-2005-04-12.jar is a new entry, no comparison available
cvs diff: lib/wsdl4j.jar was removed, no comparison available
cvs diff: lib/xercesImpl-2.6.2.jar is a new entry, no comparison available
cvs diff: lib/xercesImpl.jar was removed, no comparison available
cvs diff: lib/xml-apis.jar was removed, no comparison available
cvs diff: lib/xmlParserAPIs-2.6.2.jar is a new entry, no comparison available
cvs diff: lib/xmlunit-1.0.jar is a new entry, no comparison available
cvs diff: lib/xmlunit1.0.jar was removed, no comparison available
cvs diff: Diffing lib/portlets
cvs diff: Diffing lib/test
dr-charles-severances-powerbook-g4-15:~/dev/sandbox/up3/portal csev$

Posted by csev at 12:59 PM

September 11, 2005

Cleaning up jars

This is some detail as I cleaned up the jars in portal/lib...

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ jar tfv asm-1.5.3.jar
0 Fri Jan 21 10:08:44 EST 2005 META-INF/
207 Fri Jan 21 10:08:42 EST 2005 META-INF/MANIFEST.MF
0 Fri Jan 21 10:08:42 EST 2005 org/
0 Fri Jan 21 10:08:42 EST 2005 org/objectweb/
0 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/
1856 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/Attribute.class
1826 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/ByteVector.class
1147 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/ClassAdapter.class
9026 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/ClassReader.class
605 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/ClassVisitor.class
9083 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/ClassWriter.class
2031 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/CodeAdapter.class
1098 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/CodeVisitor.class
11316 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/CodeWriter.class
5725 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/Constants.class
270 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/Edge.class
1481 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/Item.class
1838 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/Label.class
5347 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/Type.class
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ jar tfv asm.jar 0 Thu Jan 27 08:53:36 EST 2005 META-INF/
207 Thu Jan 27 08:53:34 EST 2005 META-INF/MANIFEST.MF
0 Thu Jan 27 08:53:26 EST 2005 org/
0 Thu Jan 27 08:53:26 EST 2005 org/objectweb/
0 Thu Jan 27 08:53:30 EST 2005 org/objectweb/asm/
1873 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/Attribute.class
1826 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/ByteVector.class
1147 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/ClassAdapter.class
9026 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/ClassReader.class
605 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/ClassVisitor.class
9083 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/ClassWriter.class
2031 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/CodeAdapter.class
1098 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/CodeVisitor.class
11325 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/CodeWriter.class
5725 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/Constants.class
270 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/Edge.class
1481 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/Item.class
1838 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/Label.class
5347 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/Type.class
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$


dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ jar tfv asm-attrs.jar
0 Thu Jan 27 08:53:34 EST 2005 META-INF/
225 Thu Jan 27 08:53:32 EST 2005 META-INF/MANIFEST.MF
0 Thu Jan 27 08:53:26 EST 2005 org/
0 Thu Jan 27 08:53:26 EST 2005 org/objectweb/
0 Thu Jan 27 08:53:30 EST 2005 org/objectweb/asm/
0 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/
590 Thu Jan 27 08:53:26 EST 2005 org/objectweb/asm/attrs/Annotation$EnumConstValue.class
6248 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/Annotation.class
1189 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/AnnotationDefaultAttribute.class
993 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/Attributes.class
1451 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/EnclosingMethodAttribute.class
1000 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/LocalVariableType.class
2493 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/LocalVariableTypeTableAttribute.class
1054 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/RuntimeInvisibleAnnotations.class
1098 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/RuntimeInvisibleParameterAnnotations.class
1050 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/RuntimeVisibleAnnotations.class
1094 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/RuntimeVisibleParameterAnnotations.class
901 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/SignatureAttribute.class
1561 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/SourceDebugExtensionAttribute.class
2178 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/StackMapAttribute.class
2913 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/StackMapFrame.class
1706 Thu Jan 27 08:53:28 EST 2005 org/objectweb/asm/attrs/StackMapType.class
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ jar tfv asm-attrs-1.5.3.jar
0 Fri Jan 21 10:08:42 EST 2005 META-INF/
225 Fri Jan 21 10:08:40 EST 2005 META-INF/MANIFEST.MF
0 Fri Jan 21 10:08:42 EST 2005 org/
0 Fri Jan 21 10:08:42 EST 2005 org/objectweb/
0 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/
0 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/
590 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/Annotation$EnumConstValue.class
6182 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/Annotation.class
1189 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/AnnotationDefaultAttribute.class
993 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/Attributes.class
1451 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/EnclosingMethodAttribute.class
1000 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/LocalVariableType.class
2490 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/LocalVariableTypeTableAttribute.class
1054 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/RuntimeInvisibleAnnotations.class
1098 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/RuntimeInvisibleParameterAnnotations.class
1050 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/RuntimeVisibleAnnotations.class
1094 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/RuntimeVisibleParameterAnnotations.class
901 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/SignatureAttribute.class
1561 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/SourceDebugExtensionAttribute.class
2175 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/StackMapAttribute.class
2913 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/StackMapFrame.class
1706 Fri Jan 21 10:08:42 EST 2005 org/objectweb/asm/attrs/StackMapType.class
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$


dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ md5 axis.jar
MD5 (axis.jar) = 2d48dac2d98a66bbdffc1287526e1edc
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ md5 axis-1.2.1.jar
MD5 (axis-1.2.1.jar) = 2d48dac2d98a66bbdffc1287526e1edc

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ diff axis-ant.jar axis-ant-1.2.1.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ ls -l hib*
-rw-r--r-- 1 csev csev 1674454 Sep 10 09:58 hibernate-3.0.5.jar
-rw-r--r-- 1 csev csev 1674454 Aug 18 17:55 hibernate3.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ diff hibernate*
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ ls -l jpox-enhancer*
-rw-r--r-- 1 csev csev 185915 Sep 10 10:03 jpox-enhancer-1.1.0-beta-3.jar
-rw-r--r-- 1 csev csev 185915 May 12 19:56 jpox-enhancer.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ diff jpox-enhancer*
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ ls -l *saaj*
-rw-r--r-- 1 csev csev 19427 Sep 10 10:08 axis-saaj-1.2.1.jar
-rw-r--r-- 1 csev csev 19427 Jul 4 16:51 saaj.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ diff *saaj*
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ ls -l *jaxrpc*
-rw-r--r-- 1 csev csev 32071 Sep 10 10:09 axis-jaxrpc-1.2.1.jar
-rw-r--r-- 1 csev csev 32071 Jul 4 16:51 jaxrpc.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ diff *jaxrpc*
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ ls -l spring*
-rw-r--r-- 1 csev csev 1760641 Sep 10 10:13 spring-1.2.jar
-rw-r--r-- 1 csev csev 69098 Jun 24 19:34 spring-beandoc.jar
-rw-r--r-- 1 csev csev 1760641 Jun 24 19:34 spring.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ diff spring.jar spring-1.2.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ ls -l xer*
-rw-r--r-- 1 csev csev 1010675 Sep 10 10:27 xercesImpl-2.6.2.jar
-rw-r--r-- 1 csev csev 1010806 Apr 26 2004 xercesImpl.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ jar tfv xercesImpl.jar | head
0 Fri Feb 20 14:01:10 EST 2004 META-INF/
2198 Fri Feb 20 14:01:10 EST 2004 META-INF/MANIFEST.MF
0 Fri Feb 20 13:58:34 EST 2004 META-INF/services/
0 Fri Feb 20 14:00:36 EST 2004 org/
0 Fri Feb 20 14:00:38 EST 2004 org/apache/
0 Fri Feb 20 14:00:34 EST 2004 org/apache/html/
0 Fri Feb 20 14:00:38 EST 2004 org/apache/html/dom/
0 Fri Feb 20 14:00:38 EST 2004 org/apache/wml/
0 Fri Feb 20 14:00:38 EST 2004 org/apache/wml/dom/
0 Fri Feb 20 14:00:44 EST 2004 org/apache/xerces/
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ jar tfv xercesImpl-2.6.2.jar | head
0 Fri Feb 20 13:57:30 EST 2004 META-INF/
2198 Fri Feb 20 13:57:30 EST 2004 META-INF/MANIFEST.MF
0 Fri Feb 20 13:52:24 EST 2004 META-INF/services/
0 Fri Feb 20 13:56:54 EST 2004 org/
0 Fri Feb 20 13:57:08 EST 2004 org/apache/
0 Fri Feb 20 13:56:20 EST 2004 org/apache/xml/
0 Fri Feb 20 13:57:08 EST 2004 org/apache/xml/serialize/
0 Fri Feb 20 13:57:06 EST 2004 org/apache/xerces/
0 Fri Feb 20 13:57:06 EST 2004 org/apache/xerces/impl/
0 Fri Feb 20 13:57:06 EST 2004 org/apache/xerces/impl/msg/
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ ls -l xml*
-rw-r--r-- 1 csev csev 124724 Apr 26 2004 xml-apis.jar
-rw-r--r-- 1 csev csev 124724 Sep 10 10:30 xmlParserAPIs-2.6.2.jar
-rw-r--r-- 1 csev csev 63798 Apr 29 2004 xmlunit1.0.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ diff xml-apis.jar xmlParserAPIs-2.6.2.jar
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ md5 commons-lang-2.1.jar
MD5 (commons-lang-2.1.jar) = 51591549f1662a64543f08a1d4a0cf87
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$ md5 commons-lang-2.1.jar
MD5 (commons-lang-2.1.jar) = 4dda637fea09b3bb1e6eaa5d321d98dc
dr-charles-severances-powerbook-g4-15:~/dev/uportal/sandbox/up3/portal/lib csev$

Posted by csev at 12:31 AM

September 08, 2005

uPortal Notes

Portlet Lifecycle in uPortal and WSRP

Deployed - This is effectively reading the portlet.xml and noting that said portlet exists. This is basically the "Portlet Registry" and the best way to get in here is to have a portlet.xml (i.e. it is not easily "fakable"). In Sakai this is effectively the same as being regfistered in a tool (i.e. visible in mercury).

Published - After a portlet is loaded, it is published. The notion of published is a "UPortal" notion and indicates that something is subscribable. When published, a portlet can be published to selected groups. Publishing is comething done by admins generally.

Subscribed - This is a situation where the portlet has an entity - someone - either an end user or an owner of a tab has selected the published channel from a list and indicated a placement without the layout. Subscribed is more of a "layout" notion. For Sakai this is roughtly equivalent to a placement.

While the portlet is running, it has a weindow ID. This structure holds items like Poetlet mode and Window state.

Posted by csev at 10:36 AM

September 07, 2005

uPortal Task Notes

Just some notes...

Make Sakai/uPortal run in the same Tomcat

Build two portlets: Sakai/iFrame and Sakai/JSR-168 - both effectively take a tool placement ID and render properly.

Sakai/JSR-168 makes "request.portlet.fragement" calls

Sakai/Iframe simply puts in the Charon URL into an iFrame

Make sakai "fragment source" which populates the structure under a tab based on the Sakai site/page/tool structure.

Make API-Only jars for uPortal and GAPs integration APIs

Make Sakai User Directory Provider which reads from uPortal's Person Attribute DAO in uPortal (person.jar)

Make Sakai tools appear as portlets in a portlet.xml so they can be published and scribed in the normal manner. Alter the iframe/jsr-168 portlets to self-instance and look to portlet roles such as admin/peon.

Make a GAPS plugin which causes any and all Sakai groups appear as uPortal Groups (place in in a tree structure in GAPs).

Make Sakai existing placements for tools appear as channels in a tree structure in GAPS (site/page/tool).


Switch to maven
Switch to SVN

Posted by csev at 03:35 PM

September 04, 2005

uPortal Part III

Continued Activity

Today the goal is to make sure uP3 can work with all of Sakai and try to do all the patches with changes to the uP3 build.xml rather than patches to my tomcat instance after the fact.

Start with clean Tomcat, deploy full Sakai - modify build.xml in uPortal - deploy uP, Drat - forgot "ant hsql" in my quickstart - I must figure out how to do this without my quickstart crutch.

Sweet - both come up with nothing more than uP3 build.xml changes commenting out jar deployments.

vi webpages/stylesheets/uP2/adaptedLayoutSample.xml
cp webpages/stylesheets/uP2/adaptedLayoutSample.xml ~/dev/jakarta-tomcat-5.5.9/webapps/uP3/WEB-INF/classes/uP2/adaptedLayoutSample.xml

oops - layout is now in a database.

vi properties/db/data.xml

Sweet - admin now has a Sakai folder... Now what to do about it?

- Stick in the Sakai-168 portlet?

- Stick in a iframe to Charon

- Build a peer to Charon?

- Modify the 168 portlet to short-circuit web services when in the same JVM

- What about making worksites dynamically appear as possible channels...

- What about making registered Sakai tools appear as uPortal channels and when placed they get context that is completely unique.

And how to do all this without adding hard Sakai dependencies throughout uPortal. (i.e. how to best factor all of this stuff??) Hmmm.

Posted by csev at 10:46 AM

September 03, 2005

More uPortal Notes

Just some stuff I wanted to write down and come back to months later.

webpages/stylesheets/uP2/adaptedLayoutSample.xml
webpages/stylesheets/uP2/layoutSample.xml
webapp/uP2_static_context.xml

clean build deploy initportal

cvs -d:pserver:anonymous@www.uportal.org:2401/home/cvs/jasig login
cvs -d:pserver:anonymous@www.uportal.org:2401/home/cvs/jasig co sandbox/up3

ant hsql (in QUickstart directory)

ant clean compile deploy initportal

diff -r jakarta-tomcat-5.5.9/bin/startup.sh tomcat-5.5.9-withsakai/bin/startup.sh
8,13d7
<
< rm ../common/lib/commons-dbcp-1.2.1.jar
< rm ../common/lib/commons-pool-1.2.jar
< rm ../common/lib/hsqldb.jar
<
<
Only in jakarta-tomcat-5.5.9/common/endorsed: xalan-2-6-0-ru-patch-1-0.jar
Only in jakarta-tomcat-5.5.9/common/lib: commons-dbcp-1.2.1.jar
Only in jakarta-tomcat-5.5.9/common/lib: commons-pool-1.2.jar
Only in jakarta-tomcat-5.5.9/common/lib: hsqldb.jar
Only in jakarta-tomcat-5.5.9/conf/Catalina/localhost: uP3.xml
Only in jakarta-tomcat-5.5.9/shared/lib: acegi-security-0.8.3.jar
Only in jakarta-tomcat-5.5.9/shared/lib: commons-beanutils-1.7.0.jar
Only in jakarta-tomcat-5.5.9/shared/lib: commons-digester-1.7.jar
Only in jakarta-tomcat-5.5.9/shared/lib: junit.jar
Only in jakarta-tomcat-5.5.9/shared/lib: pluto-1.0.1-rc2.jar
Only in jakarta-tomcat-5.5.9/shared/lib: portlet-api-1.0.jar
Only in jakarta-tomcat-5.5.9/webapps: testWebapp.war
Only in jakarta-tomcat-5.5.9/webapps: uP3

The rm's in startup are my additions.

Crap!

javax.servlet.ServletException: Unable to resolve portal context
net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:214)

javax.servlet.ServletException: Unable to resolve portal context
org.jasig.portal.core.PortalServlet.service(PortalServlet.java:95)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processorListController' defined in ServletContext resource [/WEB-INF/uP2_static_context.xml]: Can't resolve reference to bean 'acegiUserController' while setting property 'processors[0]'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'acegiUserController' defined in ServletContext resource [/WEB-INF/uP2_static_context.xml]: Can't resolve reference to bean '../persistence/userDao' while setting property 'userDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in ServletContext resource [/WEB-INF/persistence_beans.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]; constructor threw exception; nested exception is java.lang.ExceptionInInitializerError: null
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:180)

Drat - Back to the drawing board. And me out of time this morning...

Is this a typo?

webapps/uP3/login.jsp:%@ page session="true" import="net.sf.acegisecurity.ui.AbstractProcessingFilter,java.util.*"%

Back to clean 5.5.9 - Seeing this

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletParameterProcessor' defined in ServletContext resource [/WEB-INF/uP2_static_context.xml]: Can't resolve reference to bean 'portletWindowManager' while setting property 'windowManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletWindowManager' defined in ServletContext resource [/WEB-INF/uP2_static_context.xml]: Can't resolve reference to bean 'portletErrorHandler' while setting property 'portletErrorHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletErrorHandler' defined in ServletContext resource [/WEB-INF/uP2_static_context.xml]: Can't resolve reference to bean '../registries/portletDefinitionRegistry' while setting property 'portletDefinitionRegistry'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletDefinitionRegistry' defined in ServletContext resource [/WEB-INF/registry_beans.xml]: Can't resolve reference to bean '../persistence/portletApplicationDefinitionDao' while setting property 'portletApplicationDefinitionDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portletApplicationDefinitionDao' defined in ServletContext resource [/WEB-INF/persistence_beans.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/persistence_beans.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList

~/dev/jakarta-tomcat-5.5.9/common/lib csev$ cp ~/.maven/repository/commons-collections/jars/commons-collections-3.1.jar .

Start back up...

Viola! uPortal comes up in 5.5.9 with a login, admin, and more than one portlet!

Logged in as admin admin (just like Sakai) and it worked too.

Now I really have to go to the the family picnic...

When I come back it will be time to make Sakai and up3 (head) work in the same Tomcat ...

Hey - while everyone else was getting ready, I came back for a while..

dr-charles-severances-powerbook-g4-15:~/dev/jakarta-tomcat-5.5.9/webapps/uP3/WEB-INF/lib csev$ cat /tmp/b
OkiOSID-2.0.jar
acegi-security-0.8.3.jar
activation-1.0.2.jar
aopalliance-1.0.jar
cglib-full-2.0.2.jar
commons-beanutils-1.7.0.jar
commons-collections-3.1.jar
commons-dbcp-1.2.1.jar
commons-digester-1.7.jar
commons-fileupload-1.0.jar
commons-logging-1.0.4.jar
commons-pool-1.2.jar
dom4j-1.4.jar
ehcache-1.1.jar
hibernate-2.1.8.jar
hsqldb-1.7.3.3.jar
jdbc2_0-stdext-h2.1.8.jar
jdom-1.0.jar
jstl-1.1.2.jar
jta-h2.1.8.jar
junit.jar
mail-1.3.1.jar
odmg-3.0.jar
pluto-1.0.1-rc2.jar
portlet-api-1.0.jar
spring-1.1.5.jar
xalan-2.6.0.jar
dr-charles-severances-powerbook-g4-15:~/dev/jakarta-tomcat-5.5.9/webapps/uP3/WEB-INF/lib csev$ ls
acegi-security-0.8.3.jar axis.jar commons-io-1.0.jar hibernate3.jar jta.jar wsdl4j.jar
activation.jar backport-util-concurrent.jar commons-lang-2.1.jar jakarta-oro-2.0.8.jar log4j-1.2.9.jar wsrp4j-consumer-0.3.jar
antlr-2.7.5H3.jar castor-0.9.6-xml.jar commons-logging.jar jaxrpc.jar proxyportlet.jar wsrp4j-shared-0.3.jar
aopalliance.jar cglib-2.1.jar dom4j-1.6.jar jpox-enhancer.jar saaj.jar
asm-attrs.jar commons-collections-3.1.jar ehcache-1.1.jar jpox.jar spring.jar
asm.jar commons-discovery.jar gap-full.jar jstl.jar standard.jar
dr-charles-severances-powerbook-g4-15:~/dev/jakarta-tomcat-5.5.9/webapps/uP3/WEB-INF/lib csev$ rm activation.jar aopalliance.jar cglib-2.1.jar commons-collections-3.1.jar commons-logging.jar dom4j-1.6.jar ehcache-1.1.jar jstl.jar jta.jar
dr-charles-severances-powerbook-g4-15:~/dev/jakarta-tomcat-5.5.9/webapps/uP3/WEB-INF/lib csev$
INFO: XML validation disabled
0.000: [GC 0.000: [DefNew: 46591K->3965K(52416K), 0.0998399 secs] 46591K->3965K(518464K), 0.1004229 secs]
log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@66bfd8] whereas object of type
log4j:ERROR "org.apache.log4j.RollingFileAppender" was loaded by [WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@af84e
].
log4j:ERROR Could not instantiate appender named "R".
log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@66bfd8] whereas object of type
log4j:ERROR "org.apache.log4j.RollingFileAppender" was loaded by [WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@af84e
].
log4j:ERROR Could not instantiate appender named "R".
log4j:WARN No appenders could be found for logger (org.jasig.portal.spring.ContextResolvingXmlWebApplicationContext).
log4j:WARN Please initialize the log4j system properly.

Looks like I need to move commons-logging back.

But Viola! Sakai and Uportal from head are in the same Tomcat

Note to self - need to get uP3 to name jars in the maven convention.

~/dev/jakarta-tomcat-5.5.9/webapps/uP3/WEB-INF/lib csev$ cp ~/dev/jakarta-tomcat-5.5.9/shared/lib/commons-logging-1.0.4.jar .
~/dev/jakarta-tomcat-5.5.9/webapps/uP3/WEB-INF/lib csev$ ls
acegi-security-0.8.3.jar backport-util-concurrent.jar commons-logging-1.0.4.jar jpox-enhancer.jar spring.jar
antlr-2.7.5H3.jar castor-0.9.6-xml.jar gap-full.jar jpox.jar standard.jar
asm-attrs.jar commons-discovery.jar hibernate3.jar log4j-1.2.9.jar wsdl4j.jar
asm.jar commons-io-1.0.jar jakarta-oro-2.0.8.jar proxyportlet.jar wsrp4j-consumer-0.3.jar
axis.jar commons-lang-2.1.jar jaxrpc.jar saaj.jar wsrp4j-shared-0.3.jar

Coming back up...

No Log4 complaints and Both Sakai and uPortal 3 from head run from head.

Next up, add a property to uP3 "deploy.with.sakai" so that the deploy puts the right jars in the right places. Time to re-learn ant :(

Posted by csev at 09:33 AM

Governance Notes

Just some notes looking at Apache Governance. No meaning here - just notes.

When in doubt, look to Apache.  The essential power over all in the technical domain is in the hands of the PMC Chair.

High level concepts to get the gist based on mail discussions:

http://www.mail-archive.com/community@apache.org/msg03961.html

http://www.mail-archive.com/community@apache.org/msg04005.html

About the most explicit statment w.r.t. becoming a committer I could find:

http://jakarta.apache.org/site/contributing.html

This is only one person's opinion. A small excerpt: "...At some point, when it is evident that you're not a bozo :-), you can get nominated for committer status and voted on by the developer community, and then be able to post the changes directly yourself.";

In summary - there are no pre-negotiated rules. This done by a flow of a value system from the top - not a careful constitution which spells out all the precise details.

ASF Bylaws

The bylaws of the Apache Foundation do not mention the word committer at all.

http://www.apache.org/foundation/bylaws.html

The ASF bylaws establish that there will be project management committees.  The board retains no rights w.r.t. the PMC other than the right to disband it.

Section 6.3. Project Management Committees. In addition to the officers of the corporation, the Board of Directors may, by resolution, establish one or more Project Management Committees consisting of at least one officer of the corporation, who shall be designated chairman of such committee, and may include one or more other members of the corporation. Unless elected or appointed as an officer in accordance with Sections 6.1 and 6.4 of these Bylaws, a member of a Project Management Committee shall not be deemed an officer of the corporation.
Each Project Management Committee shall be responsible for the active management of one or more projects identified by resolution of the Board of Directors which may include, without limitation, the creation or maintenance of "open-source" software for distribution to the public at no charge. Subject to the direction of the Board of Directors, the chairman of each Project Management Committee shall be primarily responsible for project(s) managed by such committee, and he or she shall establish rules and procedures for the day to day management of project(s) for which the committee is responsible.
The Board of Directors of the corporation may, by resolution, terminate a Project Management Committee at any time.

The rules for making a PMC are as follows:

http://www.apache.org/dev/project-creation.html

You will also need to determine bylaws and guidelines, including:
• Project procedures (CTR vs RTC? release management? etc)
• Voting procedures
• Committer access process
• PMC membership process

Jakarta's Charter:

http://jakarta.apache.org/site/management.html
http://jakarta.apache.org/site/decisions.html
http://jakarta.apache.org/site/roles.html
Excerpt:
In order for a Contributor to become a Committer, another Committer can nominate that Contributor or the Contributor can ask for it.
Once a Contributor is nominated, all of the Committers for a subproject will vote. If there are at least 3 positive votes and no negative votes, the Contributor is converted into a Committer and given write access to the source code repository for that subproject.


Apache Logging's Charter:

http://jakarta.apache.org/site/decisions.html

Committer access is by invitation only and must be approved by lazy consensus of the active PMC members. A Committer is considered emeritus by their own declaration or by not contributing in any form to the project for over six months. An emeritus committer may request reinstatement of commit access from the PMC. Such reinstatement is subject to lazy consensus of active PMC members.

http://www.apache.org/foundation/how-it-works.html#meritocracy

Posted by csev at 09:32 AM

September 02, 2005

Playing With uPortal Notes

Just some notes trying to get uPortal and Sakai into the same Tomcat.

Quickstart worked. I got source to run in Tomcat 5.0.28 - make sure to get the HSQL database running.

I could not figure out how to make HSQL start from the stock distro. But I cheated and used

ant hsql

From the quickstart.

Tried to make source work with Tomcat 5.5.9 -

Error creating bean with name 'portletApplDefIncrementer' defined in resource [/WEB-INF/persistence_beans.xml] of ServletContext: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList

I needed to add this file:

common/lib/commons-collections-3.1.jar

Up comes uPortal 3 in Tomcat 5.5.9

Now trying to make it work in the same Tomcat (5.5.9) as Sakai.

Deploy both.

Found commons-collections-3.1.jar in both shared/lib and common/lib - removed the shared/lib version...

Came up with

Error creating bean with name 'sectionsSessionFactory' defined in ServletContext resource [/WEB-INF/spring-beans.xml]: Initialization of bean failed; nested exception is java.lang.IllegalAccessError: tried to access method org.apache.commons.dbcp.DelegatingConnection.passivate()V from class org.apache.commons.dbcp.SakaiPoolableConnectionFactory
java.lang.IllegalAccessError: tried to access method org.apache.commons.dbcp.DelegatingConnection.passivate()V from class org.apache.commons.dbcp.SakaiPoolableConnectionFactory

uPortal comes up but Sakai does not.

mv commons-collections-3.1.jar commons-dbcp-1.2.1.jar ../../shared/lib/

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sectionsSessionFactory' defined in ServletContext resource [/WEB-INF/spring-beans.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList

uPortal blows up

WARN: get(org.sakaiproject.service.legacy.site.SiteService): org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.service.legacy.site.SiteService' defined in file [/Users/csev/dev/jakarta-tomcat-5.5.9/components/sakai-legacy-components/WEB-INF/components.xml]: Can't resolve reference to bean 'org.sakaiproject.service.framework.sql.SqlService' while setting property 'sqlService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.service.framework.sql.SqlService' defined in file [/Users/csev/dev/jakarta-tomcat-5.5.9/components/sakai-legacy-components/WEB-INF/components.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/collections/CursorableLinkedList (2005-09-02 16:37:12,080 http-8080-Processor24_org.sakaiproject.component.kernel.component.SpringCompMgr)

Sakai blows up.

Start over with a clean Tomcat and deploy Sakai first. Then deploy uPortal. Here is a diff:

dr-charles-severances-powerbook-g4-15:~/dev csev$ diff -r jakarta-tomcat-5.5.9/ tomcat-5.5.9-withsakai/
Only in jakarta-tomcat-5.5.9/common/endorsed: xalan.jar
Only in jakarta-tomcat-5.5.9/common/lib: commons-dbcp-1.2.1.jar
Only in jakarta-tomcat-5.5.9/common/lib: commons-pool-1.2.jar
Only in jakarta-tomcat-5.5.9/common/lib: hsqldb.jar
Only in jakarta-tomcat-5.5.9/conf/Catalina/localhost: uP3.xml
Only in jakarta-tomcat-5.5.9/shared/lib: commons-beanutils-1.7.0.jar
Only in jakarta-tomcat-5.5.9/shared/lib: commons-digester-1.6.jar
Only in jakarta-tomcat-5.5.9/shared/lib: junit.jar
Only in jakarta-tomcat-5.5.9/shared/lib: pluto-1.0.1-rc2.jar
Only in jakarta-tomcat-5.5.9/shared/lib: portlet-api-1.0.jar
Only in jakarta-tomcat-5.5.9/webapps: testWebapp.war
Only in jakarta-tomcat-5.5.9/webapps: uP3

$ find . -name 'xalan.jar'
./common/endorsed/xalan.jar
$ find . -name '*dbcp*.jar'
uPortal: ./common/lib/commons-dbcp-1.2.1.jar
Sakai: ./common/lib/naming-factory-dbcp.jar
Sakai: ./shared/lib/commons-dbcp-1.2.1.jar
$ find . -name 'commons-pool*jar'
uPortal: ./common/lib/commons-pool-1.2.jar
Sakai: ./shared/lib/commons-pool-1.2.jar
$ find . -name 'hsql*jar'
uPortal: ./common/lib/hsqldb.jar
Sakai: ./shared/lib/hsqldb-1.7.3.3.jar
$ find . -name 'commons-beanutils*jar'
Sakai: ./components/sakai-common-components/WEB-INF/lib/commons-beanutils-1.7.0.jar
uPortal: ./shared/lib/commons-beanutils-1.7.0.jar
$ find . -name 'commons-digester*jar'
uPortal: ./shared/lib/commons-digester-1.6.jar
$

Hmmm..

Step 1: Remove some stuff uPortal puts in common and Sakai puts in shared

rm ./common/lib/commons-dbcp-1.2.1.jar
rm ./common/lib/commons-pool-1.2.jar
rm ./common/lib/hsqldb.jar


Viola! Both come up...

Posted by csev at 04:40 PM