0
votes
1answer
60 views

Starting Tomcat 7 as a user - init.d script can't write pid

I want to run Tomcat 7 as a user on CentOS 6. I've created a user tomcat:tomcat and changed the ownership under /var/lib/apache-tomcat* etc... There are lots of docs online on how to do that but I ...
-4
votes
2answers
35 views

How to install tomcat server in centos? [closed]

I'm new to server's technologies.Please suggest me how to install the tomcat server on centos machine,please tell me
0
votes
1answer
250 views

permission denied to start tomcat as root

I just started using CentOS. I install Java yum install java-1.7.0-openjdk-devel Added a user: $useradd supersite Downloaded tomcat: $wget ...
-1
votes
1answer
48 views

Tomcat can't start on CentsOS

Tomcat 6 installed via yum. When i try to start it, catalina.out contain: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual ...
0
votes
2answers
46 views

How to change what a web address displays by server settings?

I'm not too familiar with server configuration especially CentOS or Redhat based server configuration. The problem that I am currently having is that I have Tomcat6 installed. When I go to my website ...
1
vote
2answers
524 views

Install Tomcat5 on CentOS 6.4

I'm trying to port an old application to a new server and need to install Tomcat5 on CentOS 6.4. This is apparently not a straightforward task. When I try: yum install tomcat5 tomcat5-admin-webapps ...
0
votes
0answers
85 views

Tomcat web application consuming most ammont of CPU and stops after some time

I have a dedicated server running CentOS 5.9, Apache-Tomcat 5.5.36. I have written a JAVA web applications which runs every minute to collect the data from multiple sensors. I am using ...
1
vote
3answers
567 views

Proxies, Apache, Tomcat - VHosts

I have a setup as so: Internet -- router -[DMZ]- pfsense -- webserver router =jenky plastic cheap-o router (my nice mikrotik/routerboard died). Has ip address of pfsense set to DMZ. pfsense ...
0
votes
1answer
250 views

forward port 80 to 8080 failed

I am trying to forward a port from 80 to 8080 (default to tomcat). below is what I added to the httpd file. <VirtualHost www.example.com:80> ProxyPreserveHost On ProxyRequests Off ...
1
vote
1answer
2k views

Tomcat always returns status code 400

I've just installed Tomcat on CentOS 6.3. # yum install tomcat6 # service tomcat6 start According to the tutorials I've looked at, I should be able to see a test page now. # curl -I 127.0.0.1:8080 ...
0
votes
1answer
310 views

/etc/rc.local doesn't execute apache tomcat startup script on boot

I'm having some problem with my centOS machine.I want to insert a line inside the rc.local to execute apache tomcat on startup. Below are the configuration for /etc/rc.local #!/bin/sh # # This ...
0
votes
0answers
356 views

Java for Tomcat on Centos 5.8

I am trying to install Tomcat to use Solr on my server running Centos 5.8 but am running into problems with the Java component - I have installed Java and confirmed it is installed: java version ...
1
vote
0answers
132 views

Difference between Admin and Manager role in Tomcat6

What are the roles admin and manager used for in Tomcat6? The manager role appears to give me access to http://domain.com:8080/manager/html. Which page does the admin role give me? In the file, the ...
1
vote
1answer
815 views

Unable to start tomcat6: Java error (Exception in thread “main”)

After installing tomcat6 on CentOS 6.3, I am unable to start tomcat6 server. root@host [/var/log/tomcat6]# service tomcat6 start Starting tomcat6: [ OK ] ...
1
vote
1answer
2k views

How to update Tomcat on Centos 6.3?

I'm running CentOS release 6.3 (Final) and I have Tomcat 6.0.24 installed: # yum info tomcat6 Loaded plugins: fastestmirror, presto, priorities Loading mirror speeds from cached hostfile * base: ...
0
votes
1answer
2k views

Installing Tomcat 6 on CentOS 6.3

I have a CentOS 6.3 server with cPanel. I want to install tomcat 6 (not 5.5 that cPanel supports). When I tried : yum -y install tomcat6 tomcat6-webapps tomcat6-admin-webapps I get the error: (View ...
0
votes
1answer
207 views

Tomcat not retrieving files with accents after restart

A few days ago I had a problem with an application running on Tomcat, it wasn't able to find files in the filesystem containing accents in the name (like, for example, "reportsandonà.pdf"). I ...
0
votes
2answers
944 views

Tomcat partial startup on linux

My server: CentOs 6 64-bit. Installed jre by downloading Linux x64 (64-bit) jre rpm and used command rpm -Uvh myJreFileName.rpm Installed tomcat6 with yum and then tomcat7 without yum to see if my ...
2
votes
0answers
472 views

Tomcat Unable to Connect

I have done a fresh install of Tomcat 7 on CentOS 6.2 system. Tomcat starts successfully without any errors in logs, but I am not able to access it on mydomain.com:8080. I get "cannot connect" ...
0
votes
1answer
2k views

opening port for tomcat on centos server using iptables?

i have added a rule in iptables in my server like this. -A INPUT -m state --state NEW -m tcp -p tcp --dport 8005 -j ACCEPT allowing port 8005. when run this command netstat -plunt it shows that ...
1
vote
1answer
730 views

tomcat server port and tomcat connector port are these same?

Is the Tomcat server port and the Tomcat connector port the same or should they be same? I changed my Tomcat5 server port to 8005. my centOS server shows that the Tomcat service is running. Howver, I ...
0
votes
1answer
1k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
0
votes
1answer
336 views

Rpm repo for java on centos 6

Is there any other repo from jpackage available for centos 6? I don't like to build tomcat, maven from sources. many thanks.
2
votes
2answers
424 views

Installing/Configuring PHP to work with tomcat5 and mysql on CentOS

I need to install php on a CentOS machine and configure it to work with tomcat5 and mysql Anyone know how i can do this? the home folder for tomcat and mysql is /usr/share/tomcat5 /usr/share/mysql ...
1
vote
2answers
432 views

SSL certificate for HTTPS website running tomcat as non-root user on centos

Is it possible to setup SSL certificate for HTTPS website (on centos 6.2) running tomcat server (6 or 7) as non-root account (/home/user/tomcat)? Previously, I has this working on ubuntu but after ...
1
vote
2answers
1k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
2
votes
2answers
3k views

How to reduce the memory used by Tomcat?

I bought a virtual server with 1gb of memory to run java web site application. I have installed Tomcat 6.0.33 . Each time i run tomcat, it s taking around 450 mb of memory. I tried everything to ...
0
votes
1answer
114 views

Can i host multiple websites in java container in linux

I have linuc VPS server. I want to know that is it possible that i can host multiple java j2ee sites on that
0
votes
1answer
319 views

centos 5.5 + tomcat 6.0 + sun jvm = ???? instead of russian characters

I installed in user's home directory jdk 1.6, tomcat 6. When i deploy my app to server (no matter war or exploded) all my russian letters (response.getWriter().write("SOME_RUSSIAN_TEXT_HERE")) becomes ...
0
votes
1answer
750 views

Tomcat 6 crashes under CentOS 5

We have CentOS 5, OpenJDK 1.6 and Tomcat 6. Every week or two our server fatally crashes with the following output in catalina.out: Exception while removing reference: java.lang.NullPointerException ...
2
votes
1answer
1k views

Using javamail under tomcat (centos 5.5)

So this could be a fun question. I installed tomcat5 on centos 5.5 x64, and am able to get it up and running and whatnot. My issue is that one of the webapps needs to use javamail, however in the ...
0
votes
1answer
442 views

How do you relay HTTP Port 80 Connections to Tomcat Port 8080?

I am working with a CentOS VPS and would like to achieve this without running tomcat as root.
0
votes
1answer
571 views

TeamCity Install on centOS with tomcat5 or jboss

It my 1st time using EC2 (amazon amis) i want install on cent os teamcity and tomcat5, if any one has done please share the same doc or hows to Thanks
1
vote
1answer
1k views

how do i disable mod_proxy from apache?

I have a CentOS running Apache Tomcat, I would like to replace mod_proxy by mod_jk, I can see with httpd -l that these modules are loaded: mod_proxy_connect.c mod_proxy_ftp.c mod_proxy_http.c ...
0
votes
1answer
489 views

Tomcat & lighttpd/apache on same CentOS server

I'm wondering whether it would be possible to setup Tomcat 6 (for hosting Confluence) and either lighttpd or Apache (for PHP things) on the same machine. Ideally I want to have the root be PHP and ...
0
votes
1answer
2k views

Change Tomcat Port on CentOS 5.3

I installed Tomcat5 on CentOS 5.3, by default tomcat runs on port 8080 but i already have ISPConfig running on that port. Port 80 is taken up by Apache How do I know which port tomcat is listening ...
1
vote
2answers
4k views

Unable to understand why Alfresco doesn't start on Tomcat

I have a problem that I've been inspecting for a while now, googling and everything but could not begin to understand. I'm really not used to java, even less tomcat. So there it is. First, the setup. ...
0
votes
2answers
689 views

What's the best VMWare appliance for a Tomcat deployment environment on CentOS? [closed]

Such a VM should be well-maintained with latest updates.
0
votes
1answer
8k views

Tomcat 6 on Centos 5 - only RPMs

I'm going through the exercise of setting up Tomcat 6 on CentOS 5 using RPM packages. Right now I'm stuck with old versions of tomcat5-jsp-2.0-api and tomcat5-servlet-2.4-api-5.5.27-7.jpp5, since they ...
0
votes
3answers
2k views

Tomcat with virtual hosts - 404

I have a CentOS 5.2 server set up with Apache 2.2.3 and Tomcat 5.5.27. The server hosts multiple virtual hosts connected to multiple Tomcats. For instance we have one tomcat for development and ...
2
votes
2answers
3k views

Hudson fails to start in tomcat5

Hudson is a continuous integration engine that runs as a Java Servlet in tomcat. https://hudson.dev.java.net/ I have Tomcat 5.5 successfully installed on my CentOS 5.3 system. I can see and interact ...
1
vote
3answers
333 views

Why stoping httpd with -k stop kills tomcat instances?

For some reason every time I stop a second instance of httpd using /usr/sbin/httpd -f /otherplace/httpd.conf -k stop One or two of my tomcat instances are killed (taken out of memory), without ...
1
vote
3answers
2k views

Remotely reboot tomcat

I am trying to reboot my tomcat version 5 on a centos server from my dev box. I can login as a normal user(not root) but I need to be able to reboot the service. Is there a config file that I can ...
3
votes
5answers
19k views

Installing Tomcat on CentOS 5

Disclaimer: I am not a server admin, I am a windows user that has lead a life of sinful installation wizards and drag and drop I'm attempting to install Tomcat on CentOS 5 hosted by a MediaTemple ...
1
vote
3answers
569 views

Centos fonts

I am using inkscape/gs on a Cent OS 5 server. Where do I need to put the fonts so that inkscape, which uses gs, will be able to find the fonts when it is rendering a pdf or ps file from a svg?