Comments on: How to install Tomcat and Java 6 on CentOS 5.2 http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2 Release Candidate Fri, 03 Feb 2012 12:07:56 +0000 hourly 1 http://wordpress.org/?v=3.3.1 By: Nathan http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-39696 Nathan Thu, 17 Nov 2011 00:53:48 +0000 http://www.satollo.net/?p=370#comment-39696 Thank! really helped me out Thank! really helped me out

]]>
By: Manny http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-38931 Manny Tue, 08 Nov 2011 21:17:19 +0000 http://www.satollo.net/?p=370#comment-38931 First off, thank you for the article. I will be going over it and consuming it in detail shortly. But coming from an IIS background (from 4.0 to 7.5) my first reaction is... really? ...Wow..umm ok. It just seems really high touch and archaic. Maybe I am missing the elegance. Time will tell I suppose. First off, thank you for the article.
I will be going over it and consuming it in detail shortly.
But coming from an IIS background (from 4.0 to 7.5) my first reaction is… really? …Wow..umm ok.
It just seems really high touch and archaic.
Maybe I am missing the elegance. Time will tell I suppose.

]]>
By: daniele http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-34391 daniele Thu, 22 Sep 2011 12:56:50 +0000 http://www.satollo.net/?p=370#comment-34391 status) if [[ `ps auxww | grep tomcat | grep -v grep | grep -c java` -gt 0 ]] then echo "Tomcat is running with pid: `ps auxww | grep tomcat | grep -v grep | grep java | awk '{ print $2 }'`" else echo "PID does not exist. Tomcat is stopped" fi ;; status)
if [[ `ps auxww | grep tomcat | grep -v grep | grep -c java` -gt 0 ]]
then
echo “Tomcat is running with pid: `ps auxww | grep tomcat | grep -v grep | grep java | awk ‘{ print $2 }’`”
else
echo “PID does not exist. Tomcat is stopped”
fi
;;

]]>
By: Keuka Lake Real Estate http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-33529 Keuka Lake Real Estate Mon, 12 Sep 2011 16:56:56 +0000 http://www.satollo.net/?p=370#comment-33529 This information was very helpful. This information was very helpful.
]]>
By: Kunal sagar http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-25016 Kunal sagar Tue, 28 Jun 2011 07:32:26 +0000 http://www.satollo.net/?p=370#comment-25016 Thanks a lot!!! Thanks a lot!!!

]]>
By: ivansh http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-24796 ivansh Mon, 27 Jun 2011 16:56:17 +0000 http://www.satollo.net/?p=370#comment-24796 Nice article, quite helpful. Nice article, quite helpful.

]]>
By: Sandy http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-24652 Sandy Sun, 26 Jun 2011 12:11:01 +0000 http://www.satollo.net/?p=370#comment-24652 My VPS Configuration OS: centos-5-x86_64 VPS Platform: OpenVZ HDD : 50 GB Ram : 1 GB I am trying to install 1 software on my VPS. But java is giving me some problem [property] java.io.IOException: Cannot run program "/bin/env": java.io.IOException: error=12, Cannot allocate memory So then I am tried to allocate heap memory to JVM by using command # java -Xms128m -Xmx128m DoRunTime It will give such type of error Exception in thread "DoRunTime" java.lang.NoClassDefFoundError: DoRunTime Caused by: java.lang.ClassNotFoundException: DoRunTime I am install JAVA using Command # yum install java-1.6.0-openjdk-devel I have set my JAVA_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64 Also I have set my CLASSPATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/ Also is there need to set PATH??? I Don't know what is going wrong. My VPS Configuration
OS: centos-5-x86_64
VPS Platform: OpenVZ
HDD : 50 GB
Ram : 1 GB

I am trying to install 1 software on my VPS. But java is giving me some problem

[property] java.io.IOException: Cannot run program “/bin/env”: java.io.IOException: error=12, Cannot allocate memory

So then I am tried to allocate heap memory to JVM by using command
# java -Xms128m -Xmx128m DoRunTime

It will give such type of error

Exception in thread “DoRunTime” java.lang.NoClassDefFoundError: DoRunTime
Caused by: java.lang.ClassNotFoundException: DoRunTime

I am install JAVA using Command # yum install java-1.6.0-openjdk-devel

I have set my JAVA_PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64

Also I have set my CLASSPATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext/

Also is there need to set PATH???
I Don’t know what is going wrong.

]]>
By: Giuseppe Frattura http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-23817 Giuseppe Frattura Tue, 21 Jun 2011 09:13:08 +0000 http://www.satollo.net/?p=370#comment-23817 Thank you this post is very useful, helped me to set up my application on a remote dedicated server. Thank you this post is very useful, helped me to set up my application on a remote dedicated server.

]]>
By: Melak http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-23492 Melak Sun, 19 Jun 2011 11:42:00 +0000 http://www.satollo.net/?p=370#comment-23492 Hi, When I entered the command usr/tomcat/bin/shutdown.sh i get the permission denied error. How to solve this problem? I'm in CentOS 5.5 Hi,

When I entered the command usr/tomcat/bin/shutdown.sh i get the permission denied error. How to solve this problem?

I’m in CentOS 5.5

]]>
By: Stefano http://www.satollo.net/how-to-install-tomcat-and-java-6-on-centos-5-2/comment-page-1#comment-17944 Stefano Fri, 06 May 2011 12:36:39 +0000 http://www.satollo.net/?p=370#comment-17944 A simple iptable rule can let tomcat to run on port 8080 (for example) but respond on port 80, so one can use it without apache if he have no resource to manage a frontend web server too. A simple iptable rule can let tomcat to run on port 8080 (for example) but respond on port 80, so one can use it without apache if he have no resource to manage a frontend web server too.

]]>