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
- 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
- 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.