ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oggo <oggok...@gmail.com>
Subject Re: Visor console
Date Fri, 06 Apr 2018 07:40:19 GMT
Hi Alexey, 
i am using the same approach, it starts the visor, but when i try to open a
configuration i get following exception (and 2 warnings): 
[17:26:30] (wrn) Failed to resolve IGNITE_HOME automatically for class
codebase [class=class o.a.i.i.util.IgniteUtils, e=URI is not hierarchical]
java.lang.NullPointerException
        at java.io.File.<init>(Unknown Source)
        at
org.apache.ignite.internal.util.GridConfigurationFinder.getConfigFiles(GridConfigurationFinder.java:61)
        at org.apache.ignite.visor.visor$.askConfigFile(visor.scala:1998)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand.open(VisorOpenCommand.scala:205)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand.open(VisorOpenCommand.scala:96)
        at
org.apache.ignite.visor.commands.open.VisorOpenCommand$$anonfun$1.apply$mcV$sp(VisorOpenCommand.scala:305)
        at
org.apache.ignite.visor.commands.VisorConsole.mainLoop(VisorConsole.scala:220)
        at
org.apache.ignite.visor.commands.VisorConsole$.delayedEndpoint$org$apache$ignite$visor$commands$VisorConsole$1(VisorConsole.scala:337)
        at
org.apache.ignite.visor.commands.VisorConsole$delayedInit$body.apply(VisorConsole.scala:326)
        at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
        at
scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.collection.immutable.List.foreach(List.scala:381)
        at
scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
        at scala.App$class.main(App.scala:76)
        at
org.apache.ignite.visor.commands.VisorConsole$.main(VisorConsole.scala:326)
        at
org.apache.ignite.visor.commands.VisorConsole.main(VisorConsole.scala)
        at
de.db.istp.oggo.demo.DemoVisorConsole.main(DemoVisorConsole.java:33)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
(wrn) <visor>: Invalid command name: 'open'
(wrn) <visor>: Type 'help' to print commands list.

... i guess the visor needs some of the jars in libs and bin/include
directories to work, but in my application i don't have full ignite
instance, just maven dependencies. Is there a way to get it working?

Thanx and cheers, 
Oggo




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Mime
View raw message