Setting JVM/JRE to use Windows Proxy Automatically

I did see the question about setting the proxy for the JVM but what I want to ask is how one can utilize the proxy that is already configured(on Windows). Here is a demonstration of my issue: Go…


java - Troubleshooting Grails/Groovy memory leaks?

I've got a Grails application that does a fairly decent amount of domain object creation and destruction, and it seems to run out of PermGen space at a very, very rapid rate. I've done the usual twea…


Running java with JAVA_OPTS env variable

In a shell script, I have set the JAVA_OPTS environment variable(to enable remote debugging and increase memory), and then I execute the jar file as follows: export JAVA_OPTS="-Xdebug-Xrunjdwp:trans…


How do I use the JAVA_OPTS environment variable?

How do I use the JAVA_OPTS variable to configure a web server(a linux server)? How can I set-Djava.awt.headless=true using JAVA_OPTS?…


Tomcat: remote programmatic deploy?

I'd like to deploy to Tomcat programatically remotely, What are my options? I know about/manager/deploy. Is it possible over JMX? Even an MBean not comming with Tomcat is okay. Edit: It seems that d…



java - How to increase heap size for jBoss server

I have an upload files scenario in my project. When I'm trying to upload the large files it's giving me an OutOfMemory error. That error is related to Java heap size. How can you increase the heap s…


add jvm options in tomcat

How can I add jvm(Java virtual machine) options in Apache Tomcat 6? Is there a administration console in tomcat? I tried http://localhost:8080/admin but I could not get anything out of it. I want to a…


How to change java_opts for tomcat when we run it as a windows service manually?

I'm manually running tomcat 6 as a windows service on the console. I need to change java_opts before starting it. How do I do that? Also, Is there a way I can see the logs dynamically?…


Java verbose class loading

I am trying to list the order in which the Java class loader is loading my classes. if I use-verbose parameter it will list every single interface/class it loads, including tons of interfaces such as…


set catalina opts in tomcat configuration

Hi i set parameters for tomcat in configuration window on tab java and field java options. I'd like add to configuration to catalina_opts is there a way how to do it?? In that field i have-Dcatalina.…




java tomcat set linux how jvm windows options memory heap