Skip to content

Tonka Loading Error #33

@Toejam123

Description

@Toejam123

For some reason, I'm unable to deploy Tonka. I was able to download / load the file successfully with:

java -jar beanshooter-4.1.0-jar-with-dependencies.jar mlet load 127.0.0.1 1234 tonka http://127.0.0.1 --jmxmp

The unsupported version error makes me think the tonka jar file is not compatible with the current java version running on the server. Would you have any ideas on how to resolve?

java -jar beanshooter-4.1.0-jar-with-dependencies.jar tonka deploy 127.0.0.1 1234 --jmxmp

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
[+] Starting MBean deployment.
[+]
[+]     Deplyoing MBean: TonkaBean
[-]     Caught unexpected javax.management.remote.JMXServerErrorException during registering MBean.
[-]     Please report this to improve beanshooter :)
[-]     StackTrace:
javax.management.remote.JMXServerErrorException: java.lang.UnsupportedClassVersionError: de/qtc/beanshooter/tonkabean/TonkaBean : Unsupported major.minor version 52.0
        at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqMessage(ServerIntermediary.java:751)
        at javax.management.remote.generic.ServerIntermediary$RequestHandler.execute(ServerIntermediary.java:629)
        at com.sun.jmx.remote.generic.ServerSynchroMessageConnectionImpl$RemoteJob.run(ServerSynchroMessageConnectionImpl.java:266)
        at com.sun.jmx.remote.opt.util.ThreadService$ThreadServiceJob.run(ThreadService.java:208)
        at com.sun.jmx.remote.opt.util.JobExecutor.run(JobExecutor.java:59)
Caused by: java.lang.UnsupportedClassVersionError: de/qtc/beanshooter/tonkabean/TonkaBean : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at javax.management.loading.MLet.findClass(Unknown Source)
        at javax.management.loading.MLet.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.sun.jmx.mbeanserver.ClassLoaderRepositorySupport.loadClass(Unknown Source)
        at com.sun.jmx.mbeanserver.ClassLoaderRepositorySupport.loadClass(Unknown Source)
        at com.sun.jmx.mbeanserver.MBeanInstantiator.findClassWithDefaultLoaderRepository(Unknown Source)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(Unknown Source)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(Unknown Source)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.createMBean(Unknown Source)
        at javax.management.remote.generic.ServerIntermediary.handleRequest(ServerIntermediary.java:176)
        at javax.management.remote.generic.ServerIntermediary$PrivilegedRequestJob.run(ServerIntermediary.java:951)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.management.remote.generic.ServerIntermediary$RequestHandler.handleMBSReqMessage(ServerIntermediary.java:727)
        ... 4 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions