• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Problem starting project on Websphere

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hii everybody

i have deployed a project (.ear file) on websphere application server v6.

when i try to run the project, i am not able to run the project. The following error occur when i try to run it:

Error :

Error 500: java.lang.LinkageError: LinkageError while defining class: vigilance.Login Could not be defined due to: vigilance/Login (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@aef0498 Local ClassPath: /opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/classes:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/db2jcc_license_cu.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/db2jcc_javax.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance .ear/Vigilance.war/WEB-INF/lib/commons-digester.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/commons-collections.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/jsf-api.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/jstl.jar:/opt/IBM/WebSphere/AppServer1/profile s/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/commons-logging.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/commons-beanutils.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/db2jcc.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/ lib/tomahawk-1.1.3.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/standard.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/jsf-impl.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/ws-jsf.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Nod e01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/jstl_el.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war/WEB-INF/lib/jsf-ibm.jar:/opt/IBM/WebSphere/AppServer1/profiles/default/installedApps/bpa-srv-05Node01Cell/Vigilance.ear/Vigilance.war Delegation Mode: PARENT_FIRST [1] com.ibm.ws.classloader.JarClassLoader@971998361 Local Classpath: Delegation mode: PARENT_FIRST [2] com.ibm.ws.classloader.ProtectionClassLoader@a4b8498 [3] com.ibm.ws.bootstrap.ExtClassLoader@69038499 [4] sun.misc.Launcher$AppClassLoader@69124499 [5] sun.misc.Launcher$ExtClassLoader@69164499 ---Original exception--- java.lang.UnsupportedClassVersionError: vigilance/Login (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code)) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:518) at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at java.beans.Beans.instantiate(Beans.java:202) at java.beans.Beans.instantiate(Beans.java:63) at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:204) at com.sun.faces.application.ApplicationImpl.createAndMaybeStoreManagedBeans(ApplicationImpl.java:913) at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:84) at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125) at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146) at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:156) at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:137) at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:344) at javax.faces.webapp.UIComponentTag.isSuppressed(UIComponentTag.java:826) at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:458) at com.sun.faces.taglib.html_basic.OutputTextTag.doStartTag(OutputTextTag.java:184) at com.ibm._jsp._login._jspx_meth_h_outputText_0(_login.java:233) at com.ibm._jsp._login._jspx_meth_h_form_0(_login.java:719) at com.ibm._jsp._login._jspx_meth_f_view_0(_login.java:1192) at com.ibm._jsp._login._jspService(_login.java:112) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code)) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code)) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:334) at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:320) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:254) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3004) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code)) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code)) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code)) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) --- end Original exception----

any help is appreciated. thanks in advance

mayur
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unsupported major.minor version 49.0

This message means that you are trying to run a class compiled with JDK 5.0 on an older JVM (Java 1.4 or older). That doesn't work.

Compile your source code with the JDK version that matches the JVM version on which you are running the code.
 
I think she's lovely. It's this tiny ad that called her crazy:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic