Weka Server 1.1.18 - weka 3-9-3 (linux)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Weka Server 1.1.18 - weka 3-9-3 (linux)

alessandroBalestrucci
I am using a server with 24 core and 128Gb of ram
I want to use weka server on this machine.
I install weka server from install package manager in weka suite and run it
by command line:
java -Djava.awt.headless=true -Xmx100g -cp
.:/home/draco/work/weka-3-9-3/weka.jar weka.Run WekaServer -host localhost
-port 8085 -slots 24

This is the output of command (right starting):
[WekaPackageManager] Skipping package timeseriesForecasting because it is
not compatible with Weka 3.9.3
[WekaPackageManager] Skipping package J48graft because it is not compatible
with Weka 3.9.3
[main] INFO org.mortbay.log - Logging to
org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
[main] INFO org.mortbay.log - jetty-6.1.21
[main] INFO org.mortbay.log - Started SocketConnector@localhost:8085
[WekaServer] Starting purge thread.
[WekaServer] Starting schedule checker.
3D [dev] 1.6.0-pre12-daily-experimental daily

When I open the weka Explorer and start to use "Run on Server" I got this:
Exception in thread "pool-1-thread-3" Exception in thread "pool-1-thread-9"
Exception in thread "pool-1-thread-6" Exception in thread "pool-1-thread-2"
Exception in thread "pool-1-thread-10" Exception in thread "pool-1-thread-5"
Exception in thread "pool-1-thread-1" java.lang.ExceptionInInitializerError
        javax.media.j3d.NodeRetained.dirtyBoundsCache(NodeRetained.java:974)
        javax.media.j3d.Shape3DRetained.setGeometry(Shape3DRetained.java:368)
        javax.media.j3d.Shape3D.setGeometry(Shape3D.java:253)
        com.sun.j3d.utils.geometry.Text2D.updateText2D(Text2D.java:223)
        com.sun.j3d.utils.geometry.Text2D.<init>(Text2D.java:126)
        weka.gui.visualize.VisualizePanel3D.<clinit>(VisualizePanel3D.java:569)
        java.lang.Class.forName0(Native Method)
        java.lang.Class.forName(Class.java:348)

weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)

weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
        weka.core.ClassDiscovery.find(ClassDiscovery.java:247)

weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)

weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)

weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:615)

weka.core.converters.ConverterResources.initialize(ConverterResources.java:168)
        weka.core.converters.ConverterUtils.initialize(ConverterUtils.java:688)
        weka.core.converters.ConverterUtils.<clinit>(ConverterUtils.java:684)
        java.lang.Class.forName0(Native Method)
        java.lang.Class.forName(Class.java:348)

weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)

weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
        weka.core.ClassDiscovery.find(ClassDiscovery.java:247)

weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)

weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)

weka.gui.GenericPropertiesCreator.<clinit>(GenericPropertiesCreator.java:167)
        weka.gui.GenericObjectEditor.determineClasses(GenericObjectEditor.java:179)
        weka.gui.GenericObjectEditor.<clinit>(GenericObjectEditor.java:242)
        weka.gui.explorer.ClassifierPanel.<clinit>(ClassifierPanel.java:348)

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

Exception in thread "pool-1-thread-7" Exception in thread "pool-1-thread-4"
at javax.media.j3d.NodeRetained.dirtyBoundsCache(NodeRetained.java:974)
Exception in thread "pool-1-thread-8" at
javax.media.j3d.Shape3DRetained.setGeometry(Shape3DRetained.java:368)
        at javax.media.j3d.Shape3D.setGeometry(Shape3D.java:253)
        at com.sun.j3d.utils.geometry.Text2D.updateText2D(Text2D.java:223)
        at com.sun.j3d.utils.geometry.Text2D.<init>(Text2D.java:126)
        at weka.gui.visualize.VisualizePanel3D.<clinit>(VisualizePanel3D.java:569)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at
weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)
        at
weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
        at weka.core.ClassDiscovery.find(ClassDiscovery.java:247)
        at
weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)
        at
weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)
        at
weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:615)
        at
weka.core.converters.ConverterResources.initialize(ConverterResources.java:168)
        at weka.core.converters.ConverterUtils.initialize(ConverterUtils.java:688)
        at weka.core.converters.ConverterUtils.<clinit>(ConverterUtils.java:684)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at
weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)
        at
weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
        at weka.core.ClassDiscovery.find(ClassDiscovery.java:247)
        at
weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)
        at
weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)
        at
weka.gui.GenericPropertiesCreator.<clinit>(GenericPropertiesCreator.java:167)
        at
weka.gui.GenericObjectEditor.determineClasses(GenericObjectEditor.java:179)
        at weka.gui.GenericObjectEditor.<clinit>(GenericObjectEditor.java:242)
        at weka.gui.explorer.ClassifierPanel.<clinit>(ClassifierPanel.java:348)
        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.awt.HeadlessException
        at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:269)
        ... 33 more
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Could not initialize class
weka.gui.explorer.ClassifierPanel

weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        weka.server.WekaServer$3.run(WekaServer.java:675)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        java.lang.Thread.run(Thread.java:748)

        at
weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
        at weka.server.WekaServer$3.run(WekaServer.java:675)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

If I don't use -Djava.awt.headless=true IT WORKS BUT only on the local
machine.
Form another machine (using port forwarding) it seems to go well but it
stacks, the wela-log is:
23:55:20: Weka Explorer
23:55:20: (c) 1999-2018 The University of Waikato, Hamilton, New Zealand
23:55:20: web: http://www.cs.waikato.ac.nz/~ml/weka/
23:55:20: Started on Thursday, 16 May 2019
23:55:34: Base relation is now iris (150 instances)
23:55:34: java.lang.NullPointerException
23:55:51: [RemoteExecutor] Starting remote execution...
23:55:51: [RemoteExecutor] Started remote execution of
weka.classifiers.trees.J48
23:55:51: [RemoteExecutor] Command: weka.classifiers.trees.J48 -C 0.25 -M 2
23:55:52: [RemoteExecutor] Waiting for remote tasks to complete...
23:55:57: [RemoteExecutor] An error occurred while trying to retrieve task
result from server: Unable to find class
weka.classifiers.evaluation.MeanAbsoluteLogarithmicError

Please Help me





--
Sent from: http://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: Weka Server 1.1.18 - weka 3-9-3 (linux)

Eibe Frank-2
Administrator
This sounds like there is a bug somewhere. Anyway, the exception is related to VisualizePanel3D, so try uninstalling (or disabling) the scatterPlot3D package.

Cheers,
Eibe

> On 17/05/2019, at 9:59 AM, alessandroBalestrucci <[hidden email]> wrote:
>
> I am using a server with 24 core and 128Gb of ram
> I want to use weka server on this machine.
> I install weka server from install package manager in weka suite and run it
> by command line:
> java -Djava.awt.headless=true -Xmx100g -cp
> .:/home/draco/work/weka-3-9-3/weka.jar weka.Run WekaServer -host localhost
> -port 8085 -slots 24
>
> This is the output of command (right starting):
> [WekaPackageManager] Skipping package timeseriesForecasting because it is
> not compatible with Weka 3.9.3
> [WekaPackageManager] Skipping package J48graft because it is not compatible
> with Weka 3.9.3
> [main] INFO org.mortbay.log - Logging to
> org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
> [main] INFO org.mortbay.log - jetty-6.1.21
> [main] INFO org.mortbay.log - Started SocketConnector@localhost:8085
> [WekaServer] Starting purge thread.
> [WekaServer] Starting schedule checker.
> 3D [dev] 1.6.0-pre12-daily-experimental daily
>
> When I open the weka Explorer and start to use "Run on Server" I got this:
> Exception in thread "pool-1-thread-3" Exception in thread "pool-1-thread-9"
> Exception in thread "pool-1-thread-6" Exception in thread "pool-1-thread-2"
> Exception in thread "pool-1-thread-10" Exception in thread "pool-1-thread-5"
> Exception in thread "pool-1-thread-1" java.lang.ExceptionInInitializerError
> javax.media.j3d.NodeRetained.dirtyBoundsCache(NodeRetained.java:974)
> javax.media.j3d.Shape3DRetained.setGeometry(Shape3DRetained.java:368)
> javax.media.j3d.Shape3D.setGeometry(Shape3D.java:253)
> com.sun.j3d.utils.geometry.Text2D.updateText2D(Text2D.java:223)
> com.sun.j3d.utils.geometry.Text2D.<init>(Text2D.java:126)
> weka.gui.visualize.VisualizePanel3D.<clinit>(VisualizePanel3D.java:569)
> java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:348)
>
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)
>
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
> weka.core.ClassDiscovery.find(ClassDiscovery.java:247)
>
> weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)
>
> weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)
>
> weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:615)
>
> weka.core.converters.ConverterResources.initialize(ConverterResources.java:168)
> weka.core.converters.ConverterUtils.initialize(ConverterUtils.java:688)
> weka.core.converters.ConverterUtils.<clinit>(ConverterUtils.java:684)
> java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:348)
>
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)
>
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
> weka.core.ClassDiscovery.find(ClassDiscovery.java:247)
>
> weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)
>
> weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)
>
> weka.gui.GenericPropertiesCreator.<clinit>(GenericPropertiesCreator.java:167)
> weka.gui.GenericObjectEditor.determineClasses(GenericObjectEditor.java:179)
> weka.gui.GenericObjectEditor.<clinit>(GenericObjectEditor.java:242)
> weka.gui.explorer.ClassifierPanel.<clinit>(ClassifierPanel.java:348)
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> Exception in thread "pool-1-thread-7" Exception in thread "pool-1-thread-4"
> at javax.media.j3d.NodeRetained.dirtyBoundsCache(NodeRetained.java:974)
> Exception in thread "pool-1-thread-8" at
> javax.media.j3d.Shape3DRetained.setGeometry(Shape3DRetained.java:368)
> at javax.media.j3d.Shape3D.setGeometry(Shape3D.java:253)
> at com.sun.j3d.utils.geometry.Text2D.updateText2D(Text2D.java:223)
> at com.sun.j3d.utils.geometry.Text2D.<init>(Text2D.java:126)
> at weka.gui.visualize.VisualizePanel3D.<clinit>(VisualizePanel3D.java:569)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)
> at
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
> at weka.core.ClassDiscovery.find(ClassDiscovery.java:247)
> at
> weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)
> at
> weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)
> at
> weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:615)
> at
> weka.core.converters.ConverterResources.initialize(ConverterResources.java:168)
> at weka.core.converters.ConverterUtils.initialize(ConverterUtils.java:688)
> at weka.core.converters.ConverterUtils.<clinit>(ConverterUtils.java:684)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:198)
> at
> weka.core.WekaPackageClassLoaderManager.forName(WekaPackageClassLoaderManager.java:178)
> at weka.core.ClassDiscovery.find(ClassDiscovery.java:247)
> at
> weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:542)
> at
> weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:639)
> at
> weka.gui.GenericPropertiesCreator.<clinit>(GenericPropertiesCreator.java:167)
> at
> weka.gui.GenericObjectEditor.determineClasses(GenericObjectEditor.java:179)
> at weka.gui.GenericObjectEditor.<clinit>(GenericObjectEditor.java:242)
> at weka.gui.explorer.ClassifierPanel.<clinit>(ClassifierPanel.java:348)
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.awt.HeadlessException
> at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:269)
> ... 33 more
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> java.lang.NoClassDefFoundError: Could not initialize class
> weka.gui.explorer.ClassifierPanel
>
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> weka.server.WekaServer$3.run(WekaServer.java:675)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
>
> at
> weka.gui.explorer.ClassifierPanelRemoteLauncher$FoldTask.execute(ClassifierPanelRemoteLauncher.java:1268)
> at weka.server.WekaServer$3.run(WekaServer.java:675)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
>
> If I don't use -Djava.awt.headless=true IT WORKS BUT only on the local
> machine.
> Form another machine (using port forwarding) it seems to go well but it
> stacks, the wela-log is:
> 23:55:20: Weka Explorer
> 23:55:20: (c) 1999-2018 The University of Waikato, Hamilton, New Zealand
> 23:55:20: web: http://www.cs.waikato.ac.nz/~ml/weka/
> 23:55:20: Started on Thursday, 16 May 2019
> 23:55:34: Base relation is now iris (150 instances)
> 23:55:34: java.lang.NullPointerException
> 23:55:51: [RemoteExecutor] Starting remote execution...
> 23:55:51: [RemoteExecutor] Started remote execution of
> weka.classifiers.trees.J48
> 23:55:51: [RemoteExecutor] Command: weka.classifiers.trees.J48 -C 0.25 -M 2
> 23:55:52: [RemoteExecutor] Waiting for remote tasks to complete...
> 23:55:57: [RemoteExecutor] An error occurred while trying to retrieve task
> result from server: Unable to find class
> weka.classifiers.evaluation.MeanAbsoluteLogarithmicError
>
> Please Help me
>
>
>
>
>
> --
> Sent from: http://weka.8497.n7.nabble.com/
> _______________________________________________
> Wekalist mailing list
> Send posts to: [hidden email]
> To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: Weka Server 1.1.18 - weka 3-9-3 (linux)

alessandroBalestrucci
Thanks it worked and still working



--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html