Logstash aborts with warning - pass JVM parameters via LS_JAVA_OPTS..Version - 7.0.0

C:\ccstg\logstash-7.0.0\bin>logstash.bat
\IBM\WebSphere was unexpected at this time.

C:\ccstg\logstash-7.0.0\bin>
C:\ccstg\logstash-7.0.0\bin>logstash.bat
warning: ignoring JAVA_OPTS= -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitia
tingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=
true -Dfile.encoding=UTF-8 -Djruby.compile.invokedynamic=true -Djruby.jit.thresh
old=0 -XX:+HeapDumpOnOutOfMemoryError -Djava.security.egd=file:/dev/urandom ; pa
ss JVM parameters via LS_JAVA_OPTS

Check you environment variables. You prolly have a JAVA_OPTS, which should be LS_JAVA_OPTS. Look in the logstash.bat file what it sets. And if your environment has JAVA_OPTS set remove it.

I don't have JAVA_OPTS set in my environment variable..Not sure where it fails..

Can someone please help on this?

\IBM\WebSphere was unexpected at this time.

ALso i get this error sometime..Searched on forum about this and found this - https://github.com/elastic/logstash/issues/5357....It look like some bat file is not accepting the path variable set with (x86) version..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.