AnsweredAssumed Answered

Alfresco on Sun Java Application Server 9.0/8.2

Question asked by joey on Jun 18, 2006
Hi folks,

We came across a problem deploying Alfresco on Sun Java App Server - 9/8.2. (SunOne)

The following error occurred when trying to start the server:

Unexpected error occurred while loading applications
java.lang.VerifyError: Cannot inherit from final class
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(
    at …


Basically, there's a conflict caused by a slightly modified JSF class
in the Alfresco WAR file. A similar problem occurred with JBoss:

You should replace two files: C:\Sun\AppServer\lib\jsp-api.jar and jsp-impl.jar with alfresco\WEB-INF\lib\myfaces-api.jar and myfaces-impl.jar.

Also, 8.2 deployed with a server policy that stops Spring bean loading up properly - access permission error. To fix this, you can either add permissions to C:\Sun\AppServer\domains\domain1\config\server.policy or remove it.

Joe - Lateral Minds