This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line!
See this thread for details.
Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

deployment problem

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi pal,

i am getting problem when i deploye my application in the weblogic server 8.1

Please give me advice.my error message like this:..........



This page allows you to view status information related to this task.
Description: [Deployer:149026]Deploy application web on Reg44Test.
A description of this task.
Status: Deploy Failed
The status of this task.
Begin Time: Wed Dec 27 16:04:47 IST 2006
The time this task was started.
End Time: Wed Dec 27 16:04:57 IST 2006
The time this task was completed.
Exception: Exception:weblogic.management.ApplicationException: activate failed for web Module: web Error: weblogic.management.DeploymentException: - with nested exception: [java.lang.UnsupportedClassVersionError: com/sysarris/register/listeners/RegisterApplicationListener (Unsupported major.minor version 49.0)] java.lang.UnsupportedClassVersionError: com/sysarris/register/listeners/RegisterApplicationListener (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431) at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169) at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:62) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41) at weblogic.servlet.internal.WebAppServletContext.loadClass(WebAppServletContext.java:5486) at weblogic.servlet.internal.WebAppServletContext.registerEventListener(WebAppServletContext.java:2736) at weblogic.servlet.internal.WebAppServletContext.activateFromDescriptors(WebAppServletContext.java:2328) at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:5522) at weblogic.servlet.internal.WebAppServletContext.setActive(WebAppServletContext.java:5500) at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:825) at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3007) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2071) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2052) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2390) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2302) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2455) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) --------------- nested within: ------------------ weblogic.management.DeploymentException: - with nested exception: [java.lang.UnsupportedClassVersionError: com/sysarris/register/listeners/RegisterApplicationListener (Unsupported major.minor version 49.0)] at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:5524) at weblogic.servlet.internal.WebAppServletContext.setActive(WebAppServletContext.java:5500) at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:825) at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3007) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2071) at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2052) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483) at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308) at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2390) at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2302) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2455) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
The exception that occurred while performing this task.
Log:
A log of the task's activities.
[Deployer:149033]preparing application web on Reg44Test
[Deployer:149033]prepared application web on Reg44Test
[Deployer:149033]activating application web on Reg44Test
[Deployer:149033]failed application web on Reg44Test
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application web on Reg44Test.:
Exception:weblogic.management.ApplicationException: activate failed for web
Module: web Error: weblogic.management.DeploymentException: - with nested exception:
[java.lang.UnsupportedClassVersionError: com/sysarris/register/listeners/RegisterApplicationListener (Unsupported major.minor version 49.0)]
java.lang.UnsupportedClassVersionError: com/sysarris/register/listeners/RegisterApplicationListener (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
at weblogic.servlet.internal.WebAppServletContext.loadClass(WebAppServletContext.java:5486)
at weblogic.servlet.internal.WebAppServletContext.registerEventListener(WebAppServletContext.java:2736)
at weblogic.servlet.internal.WebAppServletContext.activateFromDescriptors(WebAppServletContext.java:2328)
at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:5522)
at weblogic.servlet.internal.WebAppServletContext.setActive(WebAppServletContext.java:5500)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:825)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3007)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2071)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2052)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2390)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2302)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2455)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
--------------- nested within: ------------------
weblogic.management.DeploymentException: - with nested exception:
[java.lang.UnsupportedClassVersionError: com/sysarris/register/listeners/RegisterApplicationListener (Unsupported major.minor version 49.0)]
at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:5524)
at weblogic.servlet.internal.WebAppServletContext.setActive(WebAppServletContext.java:5500)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:825)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3007)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2071)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2052)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2390)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2302)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2455)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
.



Regards
Mallikarjuna
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your problem is right here:

You are compiling your code with one version of Java and running Weblogic with another.
 
reply
    Bookmark Topic Watch Topic
  • New Topic