Archive for the ‘Uncategorized’ Category

Faster Liferay

26 June 2008

Having one of my entries on the Liferay forum answered by the ever helpful Ray Augé, I followed the suggestions of this thread upon doing so our installation of Liferay sped up, in some cases by a 1000%, The main issue that we where having was when using your browser of choice, it seemed to be holding onto all of you systems memory, the more you used the system the more memory that Liferay kept to itself – Never seeming to release it.

We’ve also since found out that apparently “Liferay out of the box is tuned for developer comfort, so caches are turned off, javascript and css packing are disabled, and the product ships with Hypersonic DB, which is not intended for production.”

We using MySQL for our back end database and using Liferay build 4.3 bundled with Tomcat 5, we’re currently testing our extra portlets with Liferay version 5.01, if all goes well we will be over to that.

Advertisements

Liferay Tomcat bundle Upgrade (Liferay as root webapp)

4 March 2008

Upgrade from 4.3.3 to 4.4.2 on crusldi2

If try upgrading liferay follow the upgrade instruction from liferay wiki, liferay can start, but system returns some errors-message : org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named, so we do not use the liferay wiki method and use the downloaded liferay-tomcat-4.4.2 bundle to upgrade.

  • Shut down Tomcat.
  • Upload the 4.4.2-tomcat6 bundle to /LDIapps/Tomcat/liferay-portal-tomcat-6.0-4.4.2/
  • cd /usr/local
  • Remove tomcat softlink
  • Create new tomcat softlink by

ln -s /LDIapps/Tomcat/liferay-portal-tomcat-6.0-4.4.2/ tomcat

  • Register wblway theme files
  1. Copy <Tomcat4.3.3>/webapps/liferay/html/themes/wblway to /LDIapps/Tomcat/liferay-portal-tomcat-6.0-4.4.2/webapps/Root/html/themes/wblway
  2. edit /LDIapps/Tomcat/liferay-portal-tomcat-6.0-4.4.2/webapps/Root/WEB-INF/liferay-look-and-feel.xml
  • Copy portal-ext.properties file from 4.3.3/webapps/liferay/WEB-INF/classes/ to 4.4.2/webapps/Root/WEB-INF/classes/ .
  • Copy log4j.properties file from 4.3.3/webapps/liferay/WEB-INF/classes/ to 4.4.2/webapps/Root/WEB-INF/classes/ .
  • Restart Tomcat.
  • Compile all the portlets with new 4.4.2 dependence jar files

replace portal-kenel.jar and portal-service.jar to lib directory at portlet projects source files.

  • Redeploy the portlets from liferay administration portlet.

Liferay – What’s it all about?

24 January 2008

Portlets! That’s what – Liferay complies with the JSR-168 and JSR-286 portlet standards, and can therefore consume any portlets written to these standards.

  • Runs on any Java EE major app server & servlet container and all major databases, and operating systems (over 700 deployment combinations)
  • Out-of-the-box usablility —choose from over 60 portlets
  • Out-of-the-box development tools
  • Built in Content Management System (CMS) & Collaboration Suite
  • Award winning AJAX enabled user interface
  • Localized to 22 languages, out-of-the-box
  • Full LDAP synchronization
  • Benchmarked as among the most secure portal platforms using LogicLibrary’s Logiscan suite
  • Business-friendly MIT License

Of the above features we use the LDAP functionality, to allow Students and Staff access, aswell as some of the standard included portlets, though mainly ones that we have made ourselves.

The server which runs our version of Liferay is running, Red Hat Enterprise Linux ES release 3 & MySQL 5.0.45

Ray’s visit to Burton Nursery

22 January 2008

I’ve just come back from visiting one of Mike Parker’s clients in Burton college – Ruth Gill, the manager of the Nursery there. It was really useful to find out what problems she had with the system and how long it took for them to be solved. I also explained what features we would be adding to the system in the coming months.

Such as linking the Award codes to the UCAS course information – so, as a Manager or Learner you can find out all the details of any course that your either studying or what the person your managing is doing, all at the click of a button.

I’ll hopefully be visiting a lot more people who are using the ‘Work Based Learning Support Point’ over the coming months – with the guys from Stoke, Shrewsbury and Burton.

When I do, I’ll be writing up any useful information here.

SURF WBL-Way?

11 July 2007

SURF WBL-Way is a UK-based project focusing on the support of mentors, employers and FE staff in the development and delivery of foundation degrees and work based learning. Visit the WBLWay web site and read the Project Manager’s blog for more information about the project and progress.This blog will cover the technical side of WBLWay and detail issues encountered in implementing the WBLWay portal.