webMethods on Java 6

There seems to be a known bug in Sun's Java JDK 1.6, it has been given number 6434149 in Sun's bug database.

In earlier versions of JRE calling method loadClass("[Ljava.lang.String;") would return String array class, but it throws java.lang.ClassNotFoundException: [Ljava.lang.String; now, which in turn causes IntegrationServer to print failed to validate parameters message and exit with error.

This can be fixed by adding -Dsun.lang.ClassLoader.allowArraySyntax=true to java command line. Put that in server.sh. For example, redefine JAVA_RUN variable to include this extra parameter just after java executable ($JAVA_EXE).