users@jsf-extensions.java.net

RE: Re: Reg JSF Extensions Functionality in JSF

From: Jason Lee <lee_at_iecokc.com>
Date: Tue, 10 Apr 2007 14:08:10 -0500

It has been tried and succeeded, if I recall correctly, though I believe
1.2_05 amy use JDK 5 classes that may make retroweaving difficult or
impossible, so I'd use that approach with caution.

-----
Jason Lee, SCJP
JSF RI Dev Team
Senior Software Engineer
http://www.iec-okc.com
 

> -----Original Message-----
> From: noah [mailto:iamnoah_at_gmail.com]
> Sent: Tuesday, April 10, 2007 12:09 PM
> To: users_at_jsf-extensions.dev.java.net
> Subject: Re: Reg JSF Extensions Functionality in JSF
>
> JSF 1.2 requires Java 5 or higher. JSF Extensions only works
> with JSF 1.2. You might be able to get 1.4 compatible jars
> by running them through Retroweaver, but I don't know of
> anyone who has tried it.
>
> On 4/6/07, Shyam Prasad <khtshyam_at_gmail.com> wrote:
> > 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\d
> > oc-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\virtu
> > altrainer \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-c
> > ommon.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-ro
> > ot\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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsf-extensions.dev.java.net
> For additional commands, e-mail:
> users-help_at_jsf-extensions.dev.java.net
>
>