General :: Manually Starting Tomcat On Ubuntu?
Dec 9, 2010
I have installed tomcat6 on Ubuntu. It starts it automatically at the startup. I do not want it to start automatically, I want to start it manually because I use same 8080 port for different servers. If tomcat is already started on 8080, it becomes problem.
How do I stop Ubuntu from not starting tomcat automatically at startup.
View 2 Replies
ADVERTISEMENT
May 13, 2010
So researching how to install Tomcat 6, I ran across a guide that specifically states there are issues with the repository version of Tomcat. Doing some more research it seems like this is reported in multiple places including a disussion on the official mailing list that was inconclusive. So my question is, if this is intended for a production server should I use the repository one or manually install it
View 2 Replies
View Related
May 10, 2010
I'd like to start tomcat from eclipse, however, I get several Exceptions preventing tomcat to start. I can however start tomcat from the console, provided I do this as root :
Code:
# su -
# service tomcat5 start
Starting tomcat5: [ OK ]
And I do get the page saying that I've setup Tomcat successfully when going to http://localhost:8080 in my browser.
View 2 Replies
View Related
Feb 26, 2010
I am running Ubuntu 9.10, and every time the computer starts, cups does not appear to be running. I have to run the following from the command line:
Code:
sudo /etc/init.d/cups start
After cups is started, printing works fine. Does anyone know how I can get cups to start on it's own when the computer boots?
View 9 Replies
View Related
Apr 29, 2010
As the title states.
Code:
# /etc/init.d/mysql status
Checking for service MySQL: unused
# /etc/init.d/mythbackend status
Checking for service MythTV backend unused
View 9 Replies
View Related
Aug 10, 2010
My Slackware64 13.1 system is running off a notebook that does not leave the desk often so I stay connected via a ethernet cable. Recently I set up the wireless configuration for my home network and while I would like to have it so that it automatically goes to the wireless interface when the wired is down, I do not think that is possible without wicd or some other network manager. Anyway, whenever I start up Slackware both the wired and wireless interfaces activate and acquire their own IP addresses. What I would like is for the wireless configuration to remain dormant so that all I would have to do is issue "ifconfig wlan0 up" to turn on the wireless interface/connection. Is this possible? As it stands I have to manually issue the "ifconfig wlan0 down" to turn it off once the system boots up and I log in.
View 4 Replies
View Related
Sep 1, 2010
I installed eclipse and tomcat with package manager. Eclipse and tomcat are running but i can't see tomcat in the eclipse. I just see 'Basic' folder. That is a screenshot [URL]
View 1 Replies
View Related
Jan 20, 2011
I am trying to set up an Apache frontend server followed by a Tomcat server. Tomcat needs to run as an https service. I will have two services, both accessible independently, if desired.This login module is a webapp, running inside Tomcat.
Question:
Do I configure the Tomcat on port 8443 (I want to run it as a non-root) and do nothing with Apache or do I run on the standard port 8080 and configure Apache?
If Tomcat, is it server.xml? (connector?)
If Apache, is it httpd.conf?
View 1 Replies
View Related
Jan 23, 2010
Anyone who can help me with good tutorials to learn Apache tomcat Administration? any ebook or material?
View 1 Replies
View Related
May 11, 2010
I succesfully extract it and run it. This code is shown
Problems: [url]
View 6 Replies
View Related
Aug 5, 2011
I am trying to install tomcat on my centos 5.6 box(vm) and it is giving me failure for make operation.
[panther@localhost unix]$ make
(cd native; make all)
make[1]: Entering directory
`/home/panther/apache-tomcat-7.0.19/bin/commons-daemon-1.0.6-native-src/unix/native'
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU="i386" -Wall -Wstrict-prototypes
[Code].....
View 3 Replies
View Related
May 13, 2010
I know that tomcat is the higher level server, and catalina is the servlet container. What is the difference between tomcat.log and catalina.out? Which one would tell if tomcat was down, which one would tell if catalina was down, and what is the difference?
View 1 Replies
View Related
Sep 19, 2011
Every time I need to start or stop Tomcat, I am navigating to:
/Tomcat_Dir/bin
and once I am in the folder I enter:
./Startup.sh
And to stop the server, I navigate to the same directory and enter:
./Shutdown.sh
I was wondering if there was a way in Linux to alias the above described process, so that from any location in the filesystem, I can simply type in something like
StartTomcat or StopTomcat to perform the Startup and Shutdown of the web-server?
View 2 Replies
View Related
Jan 13, 2010
I'm developing some small application runs on tomcat 6This web application just query data from MySQLBut I'm concern about performanceHow can I check how many request It can serve as well ?I'm thinking about to change the application to runs on httpd (will write in PHP)Normally, how many request httpd can handle for simple database query ?
View 5 Replies
View Related
Apr 27, 2010
I am trying to configure tomcat on port 8443 using the following document [URL] instead of changing the port to 433 i kept it as 8443.i set the ip tables as follows
/sbin/iptables -A INPUT -i eth0 -p tcp --destination-port 8443 -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -s 10.200.2.0/24 -p tcp --destination-port 8443 -j ACCEPT
service iptables save
restarted the tomcat service tomcat works on http://10.200.2.191:8080/ but it doesn't on https://10.200.2.191:8443 i did a little investigation of my own using nmap and found that the port 8443 is not open instead of making changes in the firewall table
View 1 Replies
View Related
Aug 18, 2010
I am having problems getting my fedora 13 system to recognize my apache tomcat lib which contains lots of jar files needed to compile servlets and jsp based Java programs; i have set the classpath env variable code...
View 2 Replies
View Related
May 9, 2011
Friends currently we are accessing tomcat manager using web page ]
http://localhost:8080 ,
is it possible to start the tomcat manager using command prompt!
View 4 Replies
View Related
Aug 5, 2010
I am trying to start remote tomcat server, it's not working as expected. I like to mansion that..I am able to stop tomcat server remotly. Below command i am using
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh start
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/startup.sh
Both are not working..when i run this script locally it's working file
same way when i run tomcat stop command it's working fine.
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh stop
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/shutdown.sh
I check log file also..when i am executing tomcat start there is no log entry in log file
Using CATALINA_BASE: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
Using CATALINA_HOME: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
[code]....
View 14 Replies
View Related
May 12, 2010
Just wanted to know Where would i get the Tomcat manager's username and password .My tomcat version is apache-tomcat-5.5.29.
Quote:
/install/apache-tomcat-5.5.29/conf/tomcat-users.xml
Code:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
[code]....
View 1 Replies
View Related
Nov 25, 2010
Below is an example output of what I see when I run the 'ls' command on some directories in linux (this is from a tomcat/common/lib directory). However I'm not clear on why some of the filenames are appearing inside [square brackets]
-rw-r--r-- 1 root root 1038825 Aug 30 2006 [ant].jar
-rw-r--r-- 1 root root 566376 Apr 1 2008 [commons-collections].jar
-rw-r--r-- 1 root root 107392 Aug 18 2006 [commons-dbcp].jar
[code]...
View 2 Replies
View Related
Jul 10, 2011
I am trying to run Tomcat on Ubuntu System from a remote host. However, when I exit the terminal, Tomcat process shuts down.
The command I am using to run it is
nohup ./startup.sh &
View 1 Replies
View Related
Aug 20, 2010
I want to deploy war file on tomcat server remotly.
View 4 Replies
View Related
Jun 23, 2011
I have Linux server with cent OS.I have installed tomacat6.0 and postgresSQL8.3 on it.The thing is i wanna know whether the tomcat and postgresSQL is running or not using the script.
View 1 Replies
View Related
May 30, 2010
I am using liferay5.2 with tomcat 6. after installation of liferay5.2 i am unable to configure the datasource that points to the database mysql.without this liferay wont function. how to create a mail session in tomcat that points to the mail server. i am using fedora 6.
View 5 Replies
View Related
May 25, 2010
I have a startup script placed in /etc/init.d wherein I make the following call:
nohup sudo -u myuser $CATALINA_HOME/bin/startup.sh 2>&1
This causes Tomcat to be run as myuser, which is expected. However after issuing the reboot command the system starts up and root is now the owner of this process. How can I force the process to be started off as myuser on reboot?
View 1 Replies
View Related
May 18, 2010
I have made a cluster between two server.
In luci I can see that my cluster is green and the two nodes to.
I have make an IP resource and associate it to a service : green : I can relocate the service from a node to the other one and the IP appears in the list of IP addresses
The problem is that I have made the same in order to configure tomcat and postgresql and it does not work...
I put my configuration only for ip and tomcat:
My host configuration code...
View 4 Replies
View Related
Feb 2, 2010
The Network Manager on KDE gets DNS configuration from DHCP and sets it automatically, but I would like to use the Google Public DNS. If I overwrite /etc/resolv.conf with nameserver 8.8.8.8 it still resolves names with the old DNS (probably cached in memory) and, of course, even if it worked, it would be annoying having to do that every time I connect to a network.
I've noticed the Network Manager lets you specify a fixed DNS with the rest being taken from DHCP, but that's on a per network basis, and I would like to set it once for whichever network I connect to (if you're on the go with a laptop that becomes an issue).
View 1 Replies
View Related
Apr 16, 2010
A. I want to manually set the Window Clamp for my experiment.I came to know we can do that in net/ipv4/tcp_output.c::tcp_grow_window. I'm really confused with the flow. Even i tried in net/ipv4/tcp_output.c::tcp_select_window, but things are asusual.
B. Can I really improve the throughput by increasing the buffer space ? Do i have to go for netfileters or altering the existing data structure will do ?
View 3 Replies
View Related
Sep 14, 2011
I have a VPS with Ubuntu. I host a small website (~10 visitors at the same time). Sometimes the website starts lagging. It lags so bad that my SSH connection starts lagging too. Running top says that 2 instances of apache2 take up 50 %CPU each.
I assume this is a DoS attack. I've copy-paste installed a few iptables scripts that made sense, but this has not helped. I installed libapache2-mod-evasive -- I'm sure it blocks the attacker, but I'm still lagging.
What can I do? Can I at least find the IP of the attacker? I have strong experience with Linux, but almost zero experience with being a server admin.
View 2 Replies
View Related
Apr 26, 2011
I had installed this drive as a slave drive yesterday, and it had worked perfectly, mounted good, etc., etc.
Today, I fire up ol' trusty, and my slave drive doesn't show in either "Places," "System Monitor," or "Disk Usage Analyzer." It does, however, show up in BIOS and "Gparted Partition Editor." A mounting option isn't present in "Places" as it was yesterday.
If I need to manually mount it or whatever, would someone please list the steps I need to take to get my HD back?
My main harddrive is a Western Digital 160 Gb IDE and is listed as /dev/sda. My slave is a Seagate 80 Gb SATA and is listed as /dev/sdb
View 14 Replies
View Related