search for: java_opt

Displaying 5 results from an estimated 5 matches for "java_opt".

Did you mean: java_opts
2013 Mar 13
2
How to add a new line at a particular place in a file..
Hi all, How can i write a puppet code such that..it adds a line of content that i want..at a desired place in a file.. if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JB...
2008 Sep 11
3
Tomcat with squid username/password
...------------------------------------------------------------------------ -- Hi, I have an application deployed on tomcat 5.5 with java 1.6.0_07. Occasionally the application needs to connect through our proxy to the outside to collect patches. I've added the following options to the JAVA_OPTS and restarted tomcat. -Dhttp.proxyUser =username -Dhttp.proxyPassword =password -Dhttp.proxyHost=proxy.company.com.au <http://proxy.company.com.au> -Dhttp.proxyPort=3128 Using snoop on the squid proxy I can see the requests, but the username/password combinations are not being sent and th...
2009 Mar 30
0
Problem with Tomcat
....2 /etc/tomcat5/tomcat5.conf looks like as follows: JAVA_HOME="/usr/lib/jvm/java" CATALINA_HOME="/usr/share/tomcat5" JASPER_HOME="/usr/share/tomcat5" CATALINA_TMPDIR="/usr/share/tomcat5/temp" JAVA_ENDORSED_DIRS="/usr/share/tomcat5/common/endorsed" JAVA_OPTS="$JAVA_OPTS -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HOME/common/lib" TOMCAT_USER="tomcat" SHUTDOWN_WAIT=30 CATALINA_PID=/var/run/tomcat5.pid And var/log/tomcat5/catalina.out has: SEVERE: Begin event threw error java.lang.NoClassDefFoundError: javax/servlet/h...
2008 Mar 18
0
how to make virtual machine in xen allocate memory automatically?
...centOS5.1 virtual machine, and I set the virtual machine allocate 2 vcpu and minimum memory allocation is 256mb, and maximum memory allocation is 750mb. and the virtual machine running fine at idle status, and allocated 256mb memory. And today I install an application called dotcms, and it : Using JAVA_OPTS: -Ddotserver=dotcms_1.5.1 -Xss2048k -Xmn100M -Xms500M -Xmx500M , the application is hanged until I manually allocation 515mb memory for this virtual server. Why the guest os didn''t allocation available memory itself when it needed? How can I make it automatically? And if I set minimum me...
2010 Aug 11
0
Re: [fcrepo-user] Autostart-Script
...ut this command, I''m on Debian :-) ) > > Hope this helps, > > regards > > R > > --- > > #!/bin/bash > > RETVAL=$? export JAVA_HOME=/opt/java export JDK_HOME=/opt/jdk > export FEDORA_HOME=/var/fedora export > CATALINA_HOME=$FEDORA_HOME/tomcat export JAVA_OPTS=''-Xmx512M > -Xms128M -XX:MaxPermSize=256M -Dfile.encoding=UTF-8 > -Djavax.net.ssl.trustStore=/var/fedora/server/truststo re > -Djavax.net.ssl.trustStorePassword=tomcat'' export > PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$FEDORA_HOME/server/bin:$FEDORA_HOME/client/bin:$PATH...