-3
votes
4answers
96 views

How to configure Tomcat6 to run Php5 [closed]

I am using Tomcat6 as a server and i want to run php5 application on tomcat . Is there anyway to configure tomcat6 to run php on it .? I am using Ubntu 13.10 to run tomcat6
1
vote
0answers
52 views

Committed memory on my tomcat server

I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server. Actually I have configured JVM like that: ...
1
vote
1answer
37 views

Tomcat looks different when installed using yum and apt-get

I just installed tomcat6 on Ubuntu using apt-get and on CentOs using yum. When I visit www.domain.com:8080, I get 2 different looking page. Not that it really matters if just the visuals, but did I ...
1
vote
2answers
321 views

Bring up squirrelmail using tomcat

I am trying to bring up squirrelmail using tomcat. I would like know if that is possible at all. This is because i already have tomcat running on that server for my application. Ido not want to start ...
2
votes
2answers
239 views

Start tomcat webapp with root privileges

I built a webapp that uses libpcap (via jpcap). In order to be able to get the network interfaces list or to bind to a network interface, the application (in this case a webaap that runs from tomcat ...
2
votes
1answer
963 views

Do we need to reboot Ubuntu server after un-installing tomcat6

i am on ubuntu 10.04 server, having tomcat6. because of some reasons i had to un-install it so i used apt-get purge tomcat6 it removed tomcat and config files. now i am trying to install tomcat6 ...
2
votes
2answers
3k views

Farm Deployer not working in Tomcat Cluster

I have setup apache-tomcat clustering(Ubuntu Server) and I used tomcat supported clustering technique with mod_jk following the link. I've setup with One Load Balancer and Two web servers. The major ...
1
vote
1answer
146 views

Problem when deploying new app in tomcat6 server

i have written the webservices suing SOAP, and its still under development. When have set of code which are already running the webapps folder of tomcat6. When I make changes in particular file I ...
1
vote
1answer
205 views

MongoDB Java, R2.5.3 - NoSuchMethodError on DBCollection.save(DBObject) in Tomcat6

java.lang.NoSuchMethodError: com.mongodb.DBCollection.save(Lcom/mongodb/DBObject;)V Here is the sample code. Error is on Line 3. 1 BasicDBObject dbo=new BasicDBObject(data); 2 DBCollection coll ...
0
votes
1answer
835 views

Run a cron job as the tomcat user

I want to be able to run a cron job as the tomcat6 user. I tried to su tomcat6 but I don't know the default password for that user. Should I run them as tomcat6 (if I can find out the password - ...
7
votes
1answer
7k views

How to start tomcat in remote debug mode under Ubuntu 10?

I'm getting crazy to set up Tomcat in remote debug mode under ubuntu 10. Basically I added this to /etc/init.d/tomcat6 (at the beginning): JAVA_OPTS="-Djava.awt.headless=true -Xmx256M -Xdebug ...
0
votes
1answer
435 views

How to debug POST issue related to Squid / Tomcat on Ubuntu / EC2?

I am running a Tomcat server (6.0.28) on a Ubuntu (10.10) with APR enabled (direct on port 80 without any Web server fronting). When I submit a page from the browser and the POST data is big (> 1444 ...
2
votes
1answer
269 views

Enabling APR for Tomcat 6 on Ubuntu Maverick 10.10

I have installed tomcat6, libapr1 & libtcnative-1 on Ubuntu Maverick. However, when Tomcat starts it says it is using "org.apache.coyote.http11.Http11Protocol" instead of loading APR. Is there a ...
0
votes
3answers
3k views

Running Tomcat6 on port 80 on Ubuntu LTS 10.04.2

I've recent un-installed apache2 so I could run Tomcat6 on port 80 directly. I've been pulling my hair out trying to get this set up correctly. I've read this post regarding setting up tomcat to ...
0
votes
2answers
505 views

Downgrading Tomcat on Ubuntu?

I installed Tomcat 7 and it is giving me all sorts of fits :) .jar files are missing and I have many error messages coming at me from different directions :) As I understand it, deleting tomcat is ...
0
votes
1answer
2k views

Setting up Tomcat6 properly in Ubuntu 10.04

We have a Tomcat6 instance running on Ubuntu 10.04LTS. Our test box was just a Windows machine running Tomcat6. Both machines (Linux and Windows) have 1GB of ram. Via the Tomcat configuration tool ...
1
vote
1answer
502 views

apache tomcat IE caching problem

I'm running apche2 and tomcat6 both on port 80 with mod_jk setup on ubuntu servers(8.10,9.10). Tomcat is being used for serving jsp pages. I've a small problem with the IE browser which doesn't cache ...
0
votes
3answers
888 views

How to get html/css/jpg pages server by both apache & tomcat with mod_jk

I've apache2 and tomcat6 both running on port 80 with mod_jk setup on ubutnu servers. I had to setup an error document 503 ErrorDocument 503 /maintenance.html in the apache configuration and somehow I ...
0
votes
1answer
1k views

Setting Environment Variable for Tomcat 6 Servlet

I'm using Ubuntu's default installation of Tomcat 6. I'm deploying a ROOT.war, and trying to set an environment variable specific to it, i.e. accessible from System.getenv() in the ...
9
votes
1answer
10k views

How to configure Tomcat to only listen to 127.0.0.1?

The environment is Ubuntu 10.04.1 LTS running Tomcat 6 and Apache 2.2 from the repos. Apache is configured to proxy requests to Tomcat, so I really want to turn off Tomcat listening to requests on ...
2
votes
2answers
499 views

Tomcat 6 init.d/SysV script

I have a custom Tomcat 6 installation on an Ubuntu box. I'm trying to get it to start on system boot, but can't seem to find a script to put in /etc/init.d. Where can I find one? Or how do I write it ...
0
votes
1answer
317 views

Ubuntu 10, tomcat, Apache, concurrent user load

I have a question regarding the web server that I am setting up. It is a dual core 2.67 G AMD 64 bit X2 based machine with 2GB of ram (667MHZ). I am setting it up with tomcat, apache2 and MySql(all ...
0
votes
1answer
308 views

Configuring Ubuntu as a webserver for tomcat

Our SysAdmin has been in an accident and is out of action (Coma) for a while and we're in desperate need of setting up Confluence on our clients domain, as the resident "java drinker" at work I've ...
0
votes
4answers
1k views

Fix a tomcat6 error message “/bin/bash already running” when starting tomcat?

I have a Ubuntu 10.04 machine that has tomcat6 on it. When I start tomcat6 with /etc/init.d/tomcat6 start I get * Starting Tomcat servlet engine tomcat6 /bin/bash already running. and the server ...
0
votes
2answers
603 views

In Ubuntu 10.04, how can I add the “manager” webapp to a private tomcat6 instance?

I created a tomcat6 instance using the tomcat6-instance-create command from the tomcat6-user package. However, there are no webapps by default, and I want to add the "manager" webapp to this instance. ...
1
vote
1answer
4k views

Where does tomcat6 put standard output by default (Ubuntu apt install)

Where does tomcat6 put logs by default? catalina.out seems to contain startup/shutdown information in /var/lib/tomcat6/logs, but standard out is either being swallowed or redirected somewhere else. ...