Kurinchi Blogger Scribbles …


Posts Tagged ‘tomcat’

Nov 15
2012

How to setup Apache Tomcat, Java on CentOS?

Last updated: November 13th, 2012

Below set of steps involve setting up Tomcat 6 on CentOS 5 with Java 1.6

Download Apache Tomcat

$ wget http://apache.parentingamerica.com/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gz

Go to opt/ folder and extract Tomcat

$ cd /opt

$ tar -xzf apache-tomcat-6.0.36.tar.gz

Create a tomcat user

$ useradd -d /opt/apache-tomcat-6.0.36/ tomcatuser

Change user permission on tomcat folder

$ chown -R tomcatuser:tomcatuser apache-tomcat-6.0.36
(more…)

Oct 30
2012

Java Tomcat – SEVERE: Catalina.stop: java.net.ConnectException: Connection refused

Last updated: November 13th, 2012

This error pops up when you try to stop the Tomcat server when the server has not started. If you restart the Tomcat server, the error vanishes.

Feb 15
2011

Netbeans: Authentication required dialog box requesting user name and password

Last updated: March 13th, 2011

If a user role and his credentials are not set or is incorrect for Tomcat startup via NetBeans IDE you will get this dialog box opened

i) First check the Netbeans configuration settings Open Tools > Server

ii) Base path for Catalina will be set in the General tab andn it will be of the form \CATALINA_BASE\conf\tomcat-users.xml. Check if a user and his role is defined as stated in the below syntax. If not add these lines

<role rolename=”manager”/>
<user username=”tomcat” password=”secured” roles=”manager”/>

iii) In Tools > Server > General tab enter the username and password stated in the tomcat-users.xml file and this will stop the Netbeans IDE from asking you the name and password

May 07
2009

How to configure Tomcat in Ubuntu?

Last updated: May 6th, 2009

Configuring Tomcat in Ubuntu with Apache server running on it

Login with the root account. Check if java is already installed on the machine. If not, first install java on ubuntu.

Web get the apache-tomcat tar file from the below location
(more…)


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict