Questions tagged [java-opts]
80 questions
0
votes
1 answer
How to use inlinedConfScript to configure JAVA_OPTS with maven?
I have tried to configure it like this but there will be an exception!
org.springframework.boot
spring-boot-maven-plugin
…
0
votes
1 answer
How to customize the jvm startup parameters in the gRPC-java startup script
gRPC-version:
1.7.0
I want to add some JVM startup parameters to the gRPC-java startup script.
For example by customizing the CreateStartScripts Task or other methods.
Does anyone know how to do it?

aouchinx.eth
- 3
- 3
0
votes
0 answers
Monitoring Application Metrics Using JMX & VisualVM
I am trying to monitor some Java Application specific Metrics. Appliation is running on Hadoop(yarn) and I'm using Linus Ubuntu to run some local jobs. I have HADOOP_OPTS set up in hadoop-env.sh for namenode datanode & resourceManager and I can see…

faranak777
- 449
- 2
- 8
- 19
0
votes
2 answers
Use and resolve URL as -Djavax.net.ssl.trustStore= in JAVA_OPTS PCF
I am working on deploying an application that connects with a third party application via SSL connection. For that earlier I was using these certs and keeping them in the build pack and pick them from there. Now due to limited number of production…

Sagar Kharab
- 369
- 2
- 18
0
votes
0 answers
Understanding Java Opts Locale Settings
Basically, what is the difference between LANG and user.language?
I've got the following java opts set:
-DLANG=de_DE.UTF-8 -Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=EN
However, if my *.properties file contains an special character…

0x45
- 779
- 3
- 7
- 26
0
votes
1 answer
How can I start tomcat by .bat and add JAVA_OPTS
set JAVA_HOME=
echo deploy web service ......
set CATALINA_HOME=%WEBTIER_HOME%
call "%CATALINA_HOME%\bin\service.bat" install %webtier%
"%CATALINA_HOME%\bin\tomcat7.exe" //US//%webtier% ++JvmOptions…

袁文涛
- 735
- 1
- 10
- 23
0
votes
1 answer
Set a JAVA_OPT parameter to "Override high DPI scaling behavior" in Windows10/Java8
Does anyone know if you can pass a JAVA_OPT parameter that will "Override high DPI scaling behavior" in Windows 10 with Java8?
NOTE: I do not want to use a registry setting change.
Below is the setting done manually on the java.exe
java.exe…

ProtoHumanCam
- 31
- 5
0
votes
1 answer
Error when shutting down tomcat server
I had started tomcat in debug mode by setting the java_opts. It worked I was able to debug using IntelliJ.
However, when I try to stop tomcat using
./catalina stop
I am getting the following error:
ERROR: transport error 202: bind failed: Address…

Ravi
- 323
- 2
- 6
- 18
0
votes
1 answer
Edit java options with sed
...
tomcat.javaoptions=-Djava.net.preferIPv4Stack\=true \
-Djava.net.preferIPv6Addresses\=false \
-Dcom.sun.management.jmxremote.port\=12345 \
-Djava.rmi.server.hostname=${application.hostname}
...
I need add new line to the end of…

Tobymaro
- 11
- 3
0
votes
1 answer
Tomcat 8 and Java 8: High Memory usage
Background:
Windows Server 2012 R2- 64 bit
16 GB RAM
Tomcat 8
Java 8
I am running a java application on Tomcat 8. I am facing high memory usage problem. The memory usage goes up to 95% and server crashes. No problem with CPU usage.
I am setting…

AKumar
- 95
- 2
- 14
0
votes
1 answer
run spark application locally via sbt
I want to run a spark job locally for testing. If spark-submit and a assembled jar are used it works just fine.
However if sbt run is used I get a very strange error https://gist.github.com/geoHeil/946dd7706f44f338101c8332f4e13c1a
Trying to set…

Georg Heiler
- 16,916
- 36
- 162
- 292
0
votes
1 answer
Changing Xmx to something else than 1024m leads to failing startup
I want to allocate more heap space to my tomcat JVM running on a Windows machine. Regardless which value I choose or how/where I configure it, the startup.bat refuses to do its job afterwards. It only runs if it's set to "1024m".
I even have…

OddDev
- 3,644
- 5
- 30
- 53
0
votes
1 answer
How to set property -Djavax.net.ssl.trustStore="E:\trust.jks" for testng?
I am running testng file using ANT and I want to set the property -Djavax.net.ssl.trustStore="E:\trust.jks".

Nikhil R Chaudhari
- 21
- 1
- 7
0
votes
2 answers
Spark Executor Id in JAVA_OPTS
I was trying to profile some Spark jobs and I want to collect Java Flight Recorder(JFR) files from each executor. I am running my job on a YARN cluster with several nodes, so I cannot manually collect JRF file for each run. I want to write a script…

Surbhi Mungre
- 31
- 2
0
votes
0 answers
Tomcat with JAVA_OPTS fail to start
this is the memory i have on my server (from webmin page) :
Operating system Debian Linux 7
Webmin version 1.760
Kernel and CPU Linux 3.2.0-4-686-pae on i686
Processor information Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 2 cores
Real memory …

afterbit
- 383
- 7
- 20