Building issues
Under OS X, the build fails with:
... [java] Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file [java] at java.lang.ClassLoader.defineClass1(Native Method) [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:675) [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) ...
This problem is caused by running Java 1.5 on an OS X that has 1.6 installed and isn't uPortal specific. During the 1.6 upgrade, Apple added a scripting jar to the global Java library space that should have been 1.6-only. To fix the problem, try the following:
sudo mv /System/Library/Java/Extensions/AppleScriptEngine.jar /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext\
Database Issues
MySql
Complains of missing tables despite the tables existing.
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'up26.up_layout_param' doesn't exist
Your mysql server is running in case-sensitive mode. Edit your mysql server configuration and set:
lower_case_table_names=1
This config file is found under /etc/mysql/my.cnf on unix systems. After setting this option, reboot your mysql server, drop the uPortal tables, and run the initportal task again.