Samigo broken by compiling with Java 1.6

Description

http://jira.sakaiproject.org/browse/SAK-17578

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)

See: http://jira.sakaiproject.org/browse/SAK-17578

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

is related to

Activity

Show:

Lydia Li November 4, 2010 at 11:14 AM

Similar to and SAK-16745. I'm also 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.

amberg1 November 4, 2010 at 2:23 AM

Can a member of the project please comment on any plans for improvement during the 2.8 cycle.

amberg1 March 27, 2010 at 1:17 AM

Teh JAVA_OPTS in the demo version of Sakai have been modified to allow Samigo to run unhindered in 2.7, so I agree with the fix by date of 2.8

Won't Fix

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Environment

qa1-nl, qa1-za 2.7.0-M2
Created December 14, 2009 at 6:23 AM
Updated April 17, 2018 at 8:32 AM
Resolved November 4, 2010 at 11:14 AM