ClassNotFound on new install. com.jitlogic.zorka.core.spy.MainSubmitter

440 views
Skip to first unread message

Ólafur Búi Ólafsson

unread,
Jan 13, 2015, 9:37:06 AM1/13/15
to zorka...@googlegroups.com
Hi all!

Having problems installing zorka on jboss 7.1.1.

When i enable the following line in zorka.properties i get the following error:

scripts = jvm.bsh, zabbix.bsh, jboss/jboss7.bsh


4:33:15,171 ERROR [org.jboss.as.controller] (Controller Boot Thread) JBAS014601: Error booting the container: java.lang.NoClassDefFoundError: com/jitlogic/zorka/core/spy/MainSubmitter
        at org.jboss.as.controller.ModelControllerImpl.finishBoot(ModelControllerImpl.java) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:194) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.as.server.ServerService.boot(ServerService.java:268) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
        at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_72]
Caused by: java.lang.ClassNotFoundException: com.jitlogic.zorka.core.spy.MainSubmitter from [Module "org.jboss.as.controller:main" from local module loader @51036271 (roots: /opt/jboss/modules)]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]
        ... 5 more

I've done changes to standalone.conf as requred.

Any ideas?

-Búi

--
The content of this e-mail, together with any of its attachments, is for the exclusive and confidential use of the named addressee(s) and it may contain legally privileged and confidential information and/or copyrighted material. Any other distribution, use or reproduction without the sender's prior consent is unauthorized and strictly prohibited. If you have by coincidence, mistake or without specific authorization received this e-mail in error, please notify the sender by e-mail immediately, uphold strict confidentiality and neither read, copy, transfer, disseminate, disclose nor otherwise make use of its content in any way and delete the material from your computer.

The content of the e-mail and its attachments is the liability of the individual sender, if it does not relate to the affairs of Betware.
Betware does not assume any civil or criminal liability should the e-mail or it´s attachments be virus infected.

Rafal Lewczuk

unread,
Jan 19, 2015, 2:57:52 PM1/19/15
to zorka...@googlegroups.com
Hello,

Sorry for so late answer.

On JBoss 7 it is crucial to adjust JBOSS_MODULES_SYSTEM_PKGS variable. Find and modify the following line in standalone.conf:

if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
   JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,com.jitlogic.zorka.core.spy"
fi

Note that if JAVA_OPTS is set before calling standalone.sh script, above settings will be ignored and you need to add following option to JAVA_OPTS:

-Djboss.modules.system.pkgs=org.jboss.byteman,com.jitlogic.zorka.core.spy

Regards,
rle



Reply all
Reply to author
Forward
0 new messages