This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes GlassFishConfigureListener Version Exception while deploying on Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "GlassFishConfigureListener Version Exception while deploying on Weblogic" Watch "GlassFishConfigureListener Version Exception while deploying on Weblogic" New topic
Author

GlassFishConfigureListener Version Exception while deploying on Weblogic

Mustafa Garhi
Ranch Hand

Joined: Nov 05, 2008
Posts: 111
I have configured a JSF app and when i try to deploy it through the weblogic console, i get the following trace:


java.lang.UnsupportedClassVersionError: com/sun/faces/config/GlassFishConfigureListener (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.ProtectionDomain;)Ljava.lang.Class;(Unknown Source)
at java.security.SecureClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.CodeSource;)Ljava.lang.Class;(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(Ljava.lang.String;Lsun.misc.Resource;)Ljava.lang.Class;(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(Ljava.net.URLClassLoader;Ljava.lang.String;Lsun.misc.Resource;)Ljava.lang.Class;(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run()Ljava.lang.Object;(URLClassLoader.java:194)
at jrockit.vm.AccessController.do_privileged_exc(Ljava.security.PrivilegedExceptionAction;Ljava.security.AccessControlContext;I)Ljava.lang.Object;(Unknown Source)
at jrockit.vm.AccessController.doPrivileged(Ljava.security.PrivilegedExceptionAction;Ljava.security.AccessControlContext;)Ljava.lang.Object;(Unknown Source)
at java.net.URLClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Launcher.java:274)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:224)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(ChangeAwareClassLoader.java:41)
at weblogic.servlet.internal.WebAppServletContext.loadClass(Ljava.lang.String;)Ljava.lang.Class;(WebAppServletContext.java:5868)
at weblogic.servlet.internal.WebAppServletContext.registerEventListener(Ljava.lang.String;)V(WebAppServletContext.java:2882)
at weblogic.servlet.internal.WebAppHelper.parseAndRegisterListeners(Lweblogic.servlet.internal.WebAppServletContext;Lweblogic.management.descriptors.webapp.TLDMBean;)V(WebAppHelper.java:394)
at weblogic.servlet.internal.WebAppHelper.registerImplicitTagLibListeners(Lweblogic.servlet.internal.WebAppServletContext;Ljava.util.Map;)V(WebAppHelper.java:359)
at weblogic.servlet.internal.WebAppServletContext.activateFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2434)
at weblogic.servlet.internal.WebAppServletContext.activate()V(WebAppServletContext.java:5904)
at weblogic.servlet.internal.WebAppServletContext.setActive(Z)V(WebAppServletContext.java:5882)
at weblogic.servlet.internal.WebAppModule.activate(Ljava.lang.ClassLoader;)V(WebAppModule.java:834)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;)V(J2EEApplicationContainer.java:3315)
at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic.j2ee.J2EEApplicationContainer$Component;)V(J2EEApplicationContainer.java:2194)
at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic.management.configuration.ComponentMBean;)V(J2EEApplicationContainer.java:2167)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer()V(SlaveDeployer.java:2503)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit()V(SlaveDeployer.java:2421)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit()V(SlaveDeployer.java:2138)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit()V(SlaveDeployer.java:2237)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[java.lang.UnsupportedClassVersionError: com/sun/faces/config/GlassFishConfigureListener (Unsupported major.minor version 49.0)]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer;)Z(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)>

When i tried changing the jsf-impl.jar i got same exception for another class ConfigureListener(instead of GlassFishConfigureListener).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GlassFishConfigureListener Version Exception while deploying on Weblogic
 
Similar Threads
EJB not deploying
Struts+Weblogic
ClassCastException: occured
Problem in accessing the Action class
deployment problem