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:

#|2006-06-17T13:02:12.735+1000|WARNING|sun-appserver-pe9.0|javax.enterprise
.system.core|_ThreadID=10;_ThreadName=main;_RequestID=2fea480e-9bfc-4b0b-843
6-051fbded3ecc;|CORE5016:
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(ClassLoader.java:620)
    at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at …

—–

Basically, there's a conflict caused by a slightly modified JSF class
in the Alfresco WAR file. A similar problem occurred with JBoss: http://forums.alfresco.com/viewtopic.php?t=1397

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

Outcomes