ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgenii Zhuravlev <e.zhuravlev...@gmail.com>
Subject Re: SEVERE: Failed to resolve default logging config file: config/java.util.logging.properties
Date Tue, 07 Aug 2018 07:35:36 GMT
-DIGNITE_LOG_DIR=somePath/toBin/apache-ignite-fabric-2.
5.0-bin/config/java.util.logging.properties

DIGNITE_LOG_DIR should be a directory, not a full path to file with name

2018-08-07 10:32 GMT+03:00 monstereo <mehmetozanguven@gmail.com>:

> no it does not work
> there is java.util.logging.propeties file in my
> apache-ignite-fabric-2.5.0-bin/config/
>
> when I run the jar file via:
> java
> -DIGNITE_LOG_DIR=somePath/toBin/apache-ignite-fabric-2.
> 5.0-bin/config/java.util.logging.properties
> -jar DifferentHosts-1.0-SNAPSHOT.one-jar.jar
> give me the same error SEVERE: Failed to resolve ....
>
> when I run the jar file via:
> java -DIGNITE_HOME=somePath/toBin//apache-ignite-fabric-2.5.0-bin/ -jar
> DifferentHosts-1.0-SNAPSHOT.one-jar.jar
>
> give me this error:
> java.lang.ClassNotFoundException:
> org.apache.ignite.logger.java.JavaLoggerFileHandler
>
>
> As I said early, when I run in intellij , there is no problem
>
>
>
> ezhuravlev wrote
> > well, because you need to have config/java.util.logging.properties in
> > IGNITE_HOME directory, or you can configure path to this file explicitly
> > using IGNITE_LOG_DIR
> >
> > 2018-08-07 10:18 GMT+03:00 monstereo &lt;
>
> > mehmetozanguven@
>
> > &gt;:
> >
> >> thanks,
> >> I can solve this error via adding -DIGNITE_HOME in my vm option
> >> But when I convert to the jar file, can not see the -DIGNITE_HOME
> >> even if I say:
> >>                             java -DIGNITE_HOME=pathToBin -jar jarName
> >>
> >>
> >>
> >> --
> >> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
> >>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Mime
View raw message