Questions tagged [tomcat7]

For questions specific to Apache Tomcat version 7.

242 questions
1
vote
1 answer

How to install tomcat for many instances with CHEF?

I would like to install tomcat with a recipe through chef at some folder, like /company/tomcat6.0.45-port8081. But sometimes I have many instances of tomcat, like /company/tomcat7.0.41-port8082, /company/tomcat7.0.39-port8083 and go on, how can I do…
Valter Silva
  • 155
  • 1
  • 4
  • 14
1
vote
1 answer

Is it still best practice to run Tomcat behind Apache HTTPD?

Is it still considered best practice to run Apache Tomcat behind an HTTP proxy like Apache HTTPD or Nginx on a Linux server? A decade ago I was told it was necessary as Tomcat 3 was slow at serving static content, plus it had stability and security…
1
vote
1 answer

Add a new tomcat(worker) to a existing cluster made using Apache server and mod_jk without having to restart Apache

I have set up cluster for loading balancing for the two different tomcat that are running on different machines using Apache Server and mod_jk. I have configured workers.properties and everything seems to be working fine that is one by one the…
user578219
  • 113
  • 3
1
vote
0 answers

Apache Tomcat 7: Reverse Proxy

I need to you Apache Tomcat as a reverse proxy (this is a requirement) for 2 other services (sonar and jenkins) that are running on their standalone modes each one on a different port. My client wants to access them as sonar.clienturl.com and…
duduklein
  • 111
  • 3
1
vote
3 answers

Adding a webapp "alias" to Tomcat 7 on Linux

I have a Tomcat 7 running on CentOS. Given is a configuration where I have my webapp "foo" placed in webapps/foo.war. I can access it without any problems using http://host.name/foo. Now I want to get access to the same webapp using a 2nd URL -…
Pascal Schmiel
  • 1,738
  • 12
  • 17
1
vote
1 answer

Can't connect to localhost on port 8443 for tomcat https

I've installed tomcat and it is running perfectly fine. However, I can't access it via https layer. Port 8080 works fine: curl -IL http://localhost:8080 HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type:…
Omnipresent
  • 227
  • 2
  • 7
  • 13
1
vote
2 answers

how do I avoid spam domains to point to my site or IP hosting tomcat application

I can across a issue where I saw some xyz.com is pointing to mydomain.com. I am not using Apache, nor IIS but Tomcat 7 directly. How to I avoid such other spam domains pointing to mydomain.com? I read across some posts setting by virtual hosts etc,…
1
vote
0 answers

Upgrading JIRA 5.0.1 to JIRA 6

I am trying to upgrade my jira version from 5.1 to 6 in my test server. with windows(64) platform. So I downloaded jira 6 version with folder name as "atlassian-jira-6.0-m08-standalone". then I strated jira with in command prompt bin> start-jira.bat…
user2190806
  • 111
  • 2
1
vote
1 answer

I just installed a profiler into Tomcat 7 and now I'm getting BindException on shutdown

So the HOWTO I just read says to add these JAVA_OPTS to the startup script: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=[place port number…
user447607
  • 493
  • 1
  • 6
  • 9
1
vote
2 answers

how to install ssl on tomcat 7?

I know this question might sound too easy and I should had read all docs available on internet, the true is that I did, and I had no luck, its kinda confusing for me, I have installed many times this thing but for Apache, never for Tomcat. I want to…
user156355
  • 99
  • 1
  • 3
  • 9
1
vote
0 answers

Unabled to open service Tomcat7

I recently installed Apache Tomcat 7 on Windows Server 2012. After a reboot, logging in as an administrator generates the following error message: Application System Error. Access is denied. Unable to open the service 'Tomcat7'. I believe the…
Melikoth
  • 383
  • 2
  • 3
  • 14
1
vote
0 answers

tomcat7 - how to enable tomcat manager for a specific domain

I am trying to configure Tomcat Manager on 2 domains. I am accessing the Tomcat Host Manager using the IP address of the server. Now, once I have added the 2 domains via Host Manager, I am trying to access the Tomcat manager app for each domain(so…
Arvind
  • 501
  • 4
  • 9
  • 18
1
vote
1 answer

Apache frontend for Tomcat, proxy security

I have a server that hosts Tomcat for apps and Apache2 for it's frontend. They communicate to each other through ajp protocol over mod_moxy and proxy_ajp modules. Am I really safe using apache virtualhosts in this form: ... ProxyRequests…
user1492810
  • 31
  • 1
  • 6
1
vote
1 answer

Tomcat RequestProcessor errorCount - what counts as an error?

We have a Zabbix server that reports on Tomcat's errorCount, from the GlobalRequestProcessor. I'm trying to figure out exactly what gets counted in this errorCount. Is it any request to Tomcat the results in an error? If so, how are these measured?…
0
votes
1 answer

Webapp not working with proxy

On a single server I'm using to demo a system, I have a static website running on apache2 and a demo web app running on an instance of tomcat. Both are working fine when accessed directly. I've setup a proxy to convert the web app port and messy…