Sakai will not start up with the default JVM settings. You need the following:
[csev@s-sakai-1 ~]$ grep OPT .bash_profile
JAVA_OPTS=’-Xmx512m -Xms512m -XX:PermSize=16m -XX:MaxPermSize=128m -XX:NewSize=128m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC’ ; export JAVA_OPTS
Here is the message you get when you forget this:
INFO: Deploying web application archive sakai-help-tool.war
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.OutOfMemoryError: PermGen space
Exception in thread “QuartzScheduler_QuartzSchedulerThread” java.lang.OutOfMemoryError: PermGen space
Exception in thread “QuartzScheduler_QuartzScheduler-s-sakai-1.dmc.dc.umich.edu_MisfireHandler” java.lang.OutOfMemoryError: PermGen space
Google Earth – Sakai
The following URL – based on code from John Leasia gives you Google Earth version of the Sakai Map data.
http://www.sakaiproject.org/sakai-map/kml.php
You have to save this as a file with a .kml extension and then open it in Google Earth.
If anyone knows how to make it auto start in Google Earth let me know.
Back from NZ and OZ
I am just back from a trip to New Zealand and Australia. I was an invited speaker at the University of Auckland so they covered the expenses of the trip.
The trip was great – I got to sail on the ocean for the first time in my life with Scott Diner. The whole crew at University of Auckland is first rate – Scott, Stephen, janet, and the dev team – I learned a lot while I was there.
I also visited Charles Sturt and talkedwith Mark about the IMS Enteprise Provider – we came up with a nice design that leverages the IMS Enterprise work from Scott Wilson of CETIS – this wil be pretty neat. We decided to go ahead and do the current IMS spec after I talked with Linda Feng of Oracle and got the scoop on the IMS Enterprise Interoperbility demo for next year’s learning impact – we will likely extend IMS Enterprise a bit for the demo – so it is good for us to go ahead and implement the current spec for IMS Enterprise Services for Sakai at Charles Sturt.
Had a great discussion with the Instructional Designers at CSU and realized that I need to make some more PowerPoint about how to teach with Sakai.
I talked to Paul about many different architecture bits – we came up with lots of cool designs to allow some nice upwards compatibilities with their old system – the idea was to make a special tool called “CSU setup” with buttons that say “Add Subject Outline”, “Add Osais” and other CSU local links – put that in the worksite setup – this is a better approach than patching site setup as it allows for business rules.
I ran into some SOA folks as there was a Australia-wide SOA conference at CSU the day after I left – had some great conversations – showed them my new favourite ZapThink SOA poster. Talked a lot about my new slogan “Free the Data” and how RSS and iCal federation is the way of the future – and to think about the Web interface as the “fall back” interface.
Talked a lot about the role of Portals, JSR-168, JSR-286, and all of that stuff. Debated whether or not to rewrite their local perl-based five-year-old MyCSU portal – I suggested not to rewrite but to add a cool synoptic web services to Sakai that returns a cool Dom and then put some simple XSLT in their current portal. Sweet idea. Free the Data! Redo the portal later as a separate project and do it right – perhaps waiting for 286 based portals to appear. At least if you are rewriting – have a reason other than “we need a Sakai Dashboard!”
Later met with James Dalziel of LAMS fame. They are just about done with V2 – looks great – talked about RAMS, CORDRA, Shib, XACML, et c etc etc. This is some really really good stuff. Take a look at the CORDRA project – tres interestingvous!
Notes to self:
– We need to have a Sakaiproject starting page for project managers, developers, designers, and other folks involved in the project. We can call this the Sakai Intranet page – it compliments the Sakai Home Page.
– The Continetal Presidents Club in SFO has free wireless – Sweet
– Register the domain www.freethedata.org
LAMS 2.0 Plays Melete Export Files
Take a look at this picture:
http://www.dr-chuck.com/images/2006/10/index.php?img=31-10-06_231808_02.jpg
This is James Dalziel (http://www.dr-chuck.com/media.php?comment=feed&id=59) of LAMS fame.
It turns out that Melete’s export format is a well-formed IMS Content Package with proper sequencing so that you can export content from Melete and import it into the LAMS 2.0 IMS Content Player and it works nicely!
This worked on the first try – I simply exported from Melete on my laptop – put it on a USB stick and James imported it into LAMS – Viola.
And we had a beer too!
Australia
Well, I went to dinner here in Bathurst with the folks from Charles Sturt and Nathan Bailey of Monash showed up for a meeting tomorrow and James Dalziel of LAMS and MacQuarie fame was there as well.
Here is a cool picture of Nathan Bailey, Mike RIbecci, and James Dalziel – Matt is just to the left out of the picture.
http://www.dr-chuck.com/images/2006/10/index.php?img=31-10-06_054806_01.jpg
What a trip – San Francisco, New Zealand and Australia. Tomorrow morning – back to San Francicso and then home :)
Open Source – “Free like a Puppy”
Brad Wheeler send around the following excerpt from the Chronicle of Higher Education:
http://chronicle.com/wiredcampus/article/1632/a-marriage-of-open-source-and-commercial-software.
It is a nice article about how there is often a place for a blending of commercial and open source products at an institution.
It also invented the phrase “Open Source Software is Free – as in Free Puppy”.
Should one use Service Location or Service Injection
This is just one opinion – Sakai deeply loves both Location and Injection – both will be around for a *long* time.
My rough rule of thumb actually is to use Location in tool code and Injection in Service code. Although my personal example code (Presentaion tool) uses Injection for the tool jsut to show how cool I am.
Rain in Phoenix
Yesterday I saw rain in Phoenix. I never thought I would ever see rain in Phoenix.
Here is a video of rain in Phoenix that I offer as proof:
http://www.dr-chuck.com/images/2006/10/index.php?img=05-10-06_180104_01.3gp
Cool thing – it is raining again today!
Which Language To Use
A friend asked me to comment on which language to use and which was better. I whipped up this response.
I also was at the bookstore and skimmed a idtiotic book called From Java to Ruby written by Bruce A. Tate. It is a fun read but the guy is a moron. it got me thinking.
Don’t get me wrong – I like Ruby and see it as a neat point on the evolution of languages and explores neat space blending framework and language – but it is only a point solution and the book suggests that Ruby is a whole new species and will be LAMP – Hah!
There are a lot of contenders for the “What will be next after C# and Java burn out”. Ruby is cool but does not raise its head above the crowd.
How does Sakai Work – How do Decisions get made
I wrote this up in an E-Mail discusison and figured that it was kind of cool so I figured I would blog it. Feel free to disagree.