users@jsf-extensions.java.net

Reg JSF Extensions Functionality in JSF

From: Shyam Prasad <khtshyam_at_gmail.com>
Date: Fri, 6 Apr 2007 15:34:27 -0400

 Hi,

I am using RAD 6.0 and Websphere server 6.0 (jdk 1.4 and jvm 1.4) . I have
included Sun web developer pack standalone module(swdp-R1.jar) and

jsf-extensions-dynamic-faces.jar, jsf-extensions-flash.jar,
jsf-facelets-1.1.11a.jar, shale-remoting-1.0.3.jar,
jsf-extensions-common.jar and commons-logging-1.1.jar in my project library.


During starting of Websphere server , I am getting LInkage Error as below :-
-------------------------------------------------------------------------------
------------------------------------

[4/3/07 16:20:20:300 EDT] 0000000a SystemErr R java.lang.LinkageError:
LinkageError while defining class:

com.sun.faces.extensions.avatar.event.DynaFacesContextListener
Could not be defined due to:
com/sun/faces/extensions/avatar/event/DynaFacesContextListener (Unsupported
major.minor version

49.0)
This is often caused by having a class defined at multiple
locations within the classloader hierarchy. Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy:
==> indicates defining classloader
==>[0]
com.ibm.ws.classloader.CompoundClassLoader_at_550decc
Local ClassPath:

C:\jsf\virtualtrainer\doc-root\WEB-INF\classes;C:\jsf\virtualtrainer\doc-root\W
EB-INF\lib\commons-beanutils-1.7.0.jar;C:\jsf\

virtualtrainer\doc-root\WEB-INF\lib\commons-codec-1.3.jar;C:\jsf\virtualtrainer
\doc-root\WEB-INF\lib\commons-collections-3.1.

jar;C:\jsf\virtualtrainer\doc-root\WEB-INF\lib\commons-digester-1.6.jar;C:\jsf\
virtualtrainer\doc-root\WEB-INF\lib\commons-la

ng-2.1.jar;C:\jsf\virtualtrainer\doc-root\WEB-INF\lib\jsf-
extensions-common.jar ;C:\jsf\virtualtrainer\doc-root\WEB-INF\lib\js

f-extensions-dynamic-faces.jar;C:\jsf\virtualtrainer\doc-root\WEB-INF\lib\jsf-e
xtensions-flash.jar;C:\jsf\virtualtrainer\doc-

root\WEB-INF\lib\jsf-facelets-1.1.11a.jar;C:\jsf\virtualtrainer\doc-root\WEB-IN
F\lib\jstl-1.1.0.jar;C:\jsf\virtualtrainer\doc

-root
Delegation Mode: PARENT_LAST
[1] com.ibm.ws.classloader.ProtectionClassLoader_at_1f1decc
[2] com.ibm.ws.bootstrap.ExtClassLoader_at_3c4c9ece
[3] sun.misc.Launcher$AppClassLoader_at_3c5a1ece
[4] sun.misc.Launcher$ExtClassLoader_at_3c261ece
---Original exception---
java.lang.UnsupportedClassVersionError:
com/sun/faces/extensions/avatar/event/DynaFacesContextListener (Unsupported

major.minor version 49.0)

-------------------------------------------------------------------------------
-------------------------------------


In Class Loader of the Application, I have made the below settings :-

Class Loader Module : PARENT LAST
WAR Class loaderpolicy : Application

Pls let me know how to solve the above Error. MY JSF APplication is working
fine as a separate module. When i tried to add
the JSF Extensions (Jar files) for performing AJAX functionality, i am
getting the above Error.


Thanks

Shyam Prasad