Problem upgrading to 7.10.0


#1

Tried to upgrade from 7.8.0-ee to 7.10.0-ee today.
Environment:

  • Wildfly 8.2.1.Final in standalone mode
  • java version “1.7.0_71”
    Java™ SE Runtime Environment (build 1.7.0_71-b14)
    Java HotSpot™ 64-Bit Server VM (build 24.71-b01, mixed mode)
  • camunda deployed as server-module

According to the docs, 7.10.0 still supports java 7 and wildfly 8.
But on server start, i get the following exception when the module is loaded:
java.lang.UnsupportedClassVersionError: org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension : Unsupported major.minor version 52.0

management-handler-thread - 3 2018-11-30 16:58:27,960 WARN  [org.jboss.modules] ccc= csc= Failed to define class org.camunda.bpm.container.impl.jboss.extension.BpmPlatformExtension in Module "org.camunda.bpm.wildfly.camunda-wildfly-subsystem:main" from local module loader @670fb8f3 (finder: local module finder @39378e61 (roots: /home/wildfly/wildfly_plosam/modules,/home/wildfly/wildfly_plosam/modules/system/layers/base)): java.lang.UnsupportedClassVersionError: org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
at org.jboss.modules.Module.loadModuleClass(Module.java:568)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:363)
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:87)
at org.jboss.as.controller.extension.ExtensionAddHandler.execute(ExtensionAddHandler.java:73)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:660)
at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:501)
at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:293)
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:276)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:150)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:199)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:150)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:146)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:146)
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:283)
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

management-handler-thread - 3 2018-11-30 16:58:27,963 ERROR [org.jboss.as.controller.management-operation] ccc= csc= JBAS014612: Operation ("add") failed - address: ([("extension" => "org.camunda.bpm.wildfly.camunda-wildfly-subsystem")]): java.lang.UnsupportedClassVersionError: org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
at org.jboss.modules.Module.loadModuleClass(Module.java:568)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:363)
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:87)
at org.jboss.as.controller.extension.ExtensionAddHandler.execute(ExtensionAddHandler.java:73)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:660)
at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:501)
at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:298)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:293)
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:276)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:150)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:199)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:150)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:146)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:146)
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:283)
at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

Any hints? Thx.


#2

Hi,

Did you followed the update procedure described here:
https://docs.camunda.org/manual/7.10/update/minor/79-to-710/jboss/
And more specifically:

if you are a WildFly 8 user, please download the Camunda WildFly 8 Modules archive for updating the Camunda BPM Modules.


#3

Hi Yana,
thanks, i haven’t seen that!

But why don’t you offer the module as jar-Type in your Repo, just zip-Type?
(see attached screenshot)

Thx
Michael


#4

Hi Michael,

It is zip because you have to unpack it in modules dir.
We usually provide the zip/tar packaging (not jar).

Best regards,
Yana


#5

Hi Yana,
you provided jar-Type in previous releases and in 7.10.0 for wildfly >8 (see camunda-wildfly-modules). So why not for camunda-wildfly8-modules?

Otherwise we have to change our build-process, because we have a dependency on the module.

Thx
Michael


#6

updated our project to use zip-type now for camunda-wildfly8-modules.
everything seems to work now.
thx


#7

I am happy to hear that.
Yes, we provided in 7.10.0-alphaX jar files but we were not finished the adjustments for wildfly distros at that point.