Compiling with Java 1.6 breaks tools in Sakai
GENERAL
TESTING
GENERAL
TESTING
Description
100% Done
0
incorporates
is related to
Activity
Show:
Anthony Whyte November 16, 2010 at 8:43 AM
Setting fix version to unknown.
Steve Swinsburg November 2, 2010 at 10:08 PM
Marking this issue as Won't Fix as we do not have the resources to fix this. The workaround of specifying the extra JAVA_OPTS is suitable.
Beth Kirschner July 13, 2010 at 11:14 AM
Changing components to "Other", to allow for more accurate bug counts within each component
Anthony Whyte March 2, 2010 at 1:15 AM
Lowering the status to critcal.
Anthony Whyte March 2, 2010 at 1:10 AM
Addressing this issue will be deferred to either 2.8 or a later 2.7 maintenance release. The current workaround is to add the following environment parameter to JAVA_OPTS.
-Dsun.lang.ClassLoader.allowArraySyntax=true
A number of tools are broken in a similar way to: http://jira.sakaiproject.org/browse/SAK-16745
2009-07-23 14:48:57,191 INFO main org.apache.catalina.startup.HostConfig - Deploying web application archive sakai-chat-tool.war
java.lang.ClassNotFoundException: [Ljava.lang.String;
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
This happens due to compiling with Java 1.6. The short term work around is to add the following option in the tomcat startup script.
-Dsun.lang.ClassLoader.allowArraySyntax=true
Code needs to be updated to avoid this.
Effected
Samiog-app,
sakai-chat
sakai-blogger
osp-wizaard-tool
osp-matrix-tool