Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

11
votes
2answers
4k views

Tomcat 7 trailing slash issue with webapps

Recently I upgraded my tomcat server from 6.x version to the most recent 7.x version. I came up with little trouble, hoping to get help. I have an application calls MyApp On tomcat6, when I went to ...
2
votes
1answer
4k views

JNDI Datasource Problem on Tomcat 6, Hibernate

I am using Tomcat 6 as application server, Struts-Hibernate and MyEclipse 6.0. My application uses JDBC driver but I should modify it to use JNDI Datasource. I followed steps as described in tomcat 6....
0
votes
0answers
7 views

Solr multi core installation error

My client has website which uses solr search which I am not expert on. He now needs to change the server. The previous server has two solr cores(ie: core0 and core1). I installed tomcat6 then added ...
4
votes
1answer
1k views

Reading files on network share from a Windows service (app over tomcat as service)

I have a webapp over tomcat6, which is installed as a service in a WinServer (2008 or 2003r2, don't know for sure, people haven't let me put a hand over it so far). The Tomcat service runs with a ...
2
votes
1answer
1k views

Disable public Tomcat6 stack trace

Can anyone advise me how I can go about disabling Tomcat6 from displaying stacktrace output to the browser? Tomcat: 6.0.29 I have made the following changes to /opt/apache-tomcat-6.0.29/conf/web.xml ...
0
votes
1answer
3k views

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, /...
1
vote
3answers
6k views

Configuring the Tomcat Plugin of Munin

It would be great if anyone can share a working configuration for the tomcat_ plugin of munin. I need to monitor several tomcat instances on one machine. So far I can't figure out: which are the ...
0
votes
0answers
19 views

Tomcat6 Client Authentication

I configured a Tomcat6 webserver on CentOS with SSL, and it works fine. Now I want to configure Client Authentication on it too: The server and the clients have their own certs signed by a local ...
0
votes
0answers
34 views

Solr 4.10 (Tomcat 6) on CentOS 6.7 throws 404 errors

I installed Tomcat 6 enabled port 8181 on a VPS and I am able to see the welcome page when I visit mydomain:8181. I then installed Solr using the tutorial here. When I visit mydomain:8181/solr i get a ...
0
votes
1answer
1k views

Failed to install Tomcat6 service in windows server 2003 enterprises

When I try to install Tomcat6 I am getting this error --------------------------- Apache Tomcat Setup --------------------------- Failed to install Tomcat6 service. Check your settings and ...
-1
votes
1answer
33 views

Record and replay HTTP requests/posts between a given period of time (Apache)

Disclaimer: I know that what I'm about to ask is not even close to best practices but due to very specific requirements, I see this as probably one of very few solutions. Context: We wish to ...
0
votes
1answer
62 views

SSL offloading from Apache to Tomcat get overwritten somewhere

I was asked to upgrade a server running Apache and Tomcat-6 on Debian Wheezy from HTTP to HTTPS. I have successfully obtained and install SSL certificates on the Apache part and checked that they work ...
0
votes
0answers
39 views

SSLv3 seems to be not disabled even after tomcat 6 server xml changes TLSv1

Even after setting in server.xml as sslProtocol="TLSv1" when we do vulnerability check, the below are the details of output.. # /usr/sfw/bin/ > openssl s_client -connect ipaddress:portNo -ssl3 ...
0
votes
1answer
149 views

how to install apache tomcat service on windows server 2012 R2

I'm attempting to install apache-tomcat-6.0.20.exe on windows server 2012 R2. It is being installed on a default amazon aws windows server 2012 R2 image. I am using jre version jdk-6u17-windows-i586....
0
votes
0answers
125 views

How can I use CORS with tomcat6?

How do I install and enable CORS for Tomcat 6? There is lots of documentation out there for Tomcat 7 or later, and lots assuming you already have the CORS filter jar file, but none that start with ...
0
votes
0answers
11 views

Tomcat 6 : changing path to store all the tomcat sessions

I want to persist the sessions on tomcat. I made sessionTimeOut as -1 for infinite session. It works fine, even after restarting tomcat. But whenever a new webapp is deployed, all the sessions ...
0
votes
2answers
262 views

symbol xmlOutputBufferGetSize, version LIBXML2_2.9.0 not defined in file libxml2.so.2 with link time reference

I've installed Apache2 and PHP5 via apt-get on Ubuntu 14 (amd64), Tomcat 6, and Postgres 8.4. I get this error message on an attempted restart: apache2: Syntax error on line 140 of /etc/apache2/...
2
votes
1answer
2k views

Apache2 proxy Tomcat6 prevent 503 error while starting

While tomcat6 is starting up all my http requests are retained by the server and sends the response when the server is up. But when I use an apache2 as a proxy the apache2 responds inmediatly a 503 ...
2
votes
2answers
3k views

Why isn't tomcat serving the correct SSL certificate

I configured tomcat with SSL successfully and was using a self-signed certificate. Recently an issue arose where just having the client "Accept/trust" our certificate wasn't easy. We ended up ...
0
votes
2answers
30 views

allowing access to Tomcat 6 manager on specific interface only

I have Tomcat 6 installed on a server with multiple network interfaces; one is public-facing, and the other is on our internal network. Is there a way to configure Tomcat such that internal users are ...
1
vote
1answer
230 views

CentOS, Tomcat 6 failed and won't start - java issue?

Linux isn't my strong suit so bear with me if this seems a little newbish. I have a virtual linux box rented, has CentOS (not sure which version) and Apache with Tomcat 6. Over the past 24 hours, the ...
2
votes
1answer
70 views

Unable to stop tomcat6 when using jmx port options

We have tomcat6 running in two different environments, both running CentOS 6.6 and OpenJDK 1.7. In one environment, I'm not able to stop tomcat6 when issuing service tomcat6 stop In the ...
1
vote
2answers
73 views

How to configure Tomcat WebApp to accept credentials from Apache

I am attempting to get a web application, running in Tomcat 6, to authorize a user that was authenticated by Apache. I have configured Apache 2.4 to use Active Directory for user authentication (...
0
votes
1answer
100 views

Cannot authenticate with Kerberos if both client and server on the same machine

I have a Tomcat webapp that supports Kerberos authentication. It works fine and I can log in to that app if I use a built-in account like LOCAL SYSTEM or NETWORK SERVICE, but I'm having problems with ...
0
votes
2answers
2k views

EC2 instance running apache tomcat not accessible from outside

I have a 64-bit amazon linux instance in aws. I am running apache tomcat6 running on that machine. sudo fuser -v -n tcp 8080 USER PID ACCESS COMMAND 8080/tcp: ...
0
votes
1answer
69 views

Can't seem to get mod_jk to forward 443 to tomcat?

I'm pretty new to Apache and Tomcat, and I'm finding myself working with it a lot of my job, so I'm having to learn as I go. One thing I struggle with a lot is mod_jk, and I'm pretty stumped by an ...
0
votes
0answers
16 views

How tie tomcat host to engine and server? (tomcat6)

I'm trying to get one tomcat instance to run two different sets of webapps from two different directories, on different ports. It seems like it should be simple and I'm just missing something. This ...
1
vote
0answers
20 views

Java Webapp on Tomcat6 using libservlet3

I am quite new to all this Java stuff. I Installed a bunch of War-Packed Webapps on a Ubuntu Machine with tomcat6. One of them does not work (skos-play), apparently because it needs libservlet3 and ...
0
votes
0answers
25 views

Tomcat 6 uses old, non-existing web.xml

I have a weird issue with Tomcat 6 and OpenGrok webapp, Tomcat seems to use some old, nowadays non-existing web.xml. I'm trying to add some roles for access control to the web.xml, but Tomcat never ...
19
votes
5answers
40k views

How does one get tomcat to bind to ipv4 address?

I recently installed tomcat via an installation script from the apache solr typo3 community and spent the last 3 days trying to figure out why it won't work until by chance I noticed that when I ...
2
votes
0answers
174 views

How to specify the timeout for health check in memcached session manager for tomcat

Basically the setup consists of two tomcat6 and two memcached nodes. memcached session manager version - 1.8.3 (latest release). I'm testing the following scenario: Client logs in into the ...
1
vote
4answers
2k views

Tomcat6 cannot find java enviroment variable

Here is a stupid noob question. I installed Tomcat6 and java-6-oracle. I set the /env/environment to contain JAVA_HOME and JRE_HOME (and both point to the correct directory). However when I try and ...
14
votes
5answers
128k views

Where are my Tomcat Logs?

I installed Tomcat6 on a Ubuntu 9.04 server using apt-get install tomcat6. I uploaded a WAR using the manager interface and tried to start the application but get a pretty generic error on the Web ...
2
votes
2answers
4k views

How can I determine the optimal size of the maxThreads of my NIO/APR Connector for Tomcat?

I am using NIO/APR Connector for Tomcat7. E.g. <Connector port="8080" protocol="org.apache.coyote.http11.Http11AprProtocol" connectionTimeout="3000" redirectPort="8443" ...
1
vote
0answers
236 views

Specifiying Cipher Suites in Tomcat6 not working

I'm trying to specify which cipher suites should be used in my Tomcat configuration like so: <Connector port="9443" protocol="org.apache.coyote.http11.Http11Protocol" enableLookups="...
1
vote
2answers
116 views

Locking down Jenkins on port 8080

My colleague has installed Jenkins on one of our test servers. When I access the server ip and port 8080, Jenkins is running i.e. 99.999.999.999:8080 I want to lock down the Jenkins application to ...
0
votes
1answer
64 views

How to handle POODLE vulnerabilities on web service running on tomcat 6.0

I have a web service which is running on Tomcat 6.0, Java 7. The Connector uses the JSSE configuration. Below is what the connector in the server.xml file looks like, with a few modifications: <...
2
votes
1answer
565 views

Tomcat 6 session replication does not work with HAProxy

I have HAProxy loadbalancer and two Tomcat backend servers. HAProxy is configured with cookie based persistence, Tomcat is configured with SimpleTcpCluster according to documentation. Multicast ...
5
votes
3answers
8k views

Connecting tomcat6 to apache2

Disclaimier: Not a server admin I've been scratching my head over this for weeks now (not consistently mind you, as that would be maddening). I've been trying to connect my apache2 server to my ...
1
vote
4answers
4k views

rpmbuild on Cent OS 6: “cpio: bad magic”

When I try to run this command : rpmbuild -bb SPECS/software.spec I get an error when the WAR file (as in tomcat java web archive file) is being added to the rpm: error: create archive failed on ...
1
vote
3answers
4k views

Tomcat6 Manager Webapp is 404 on apt-get install on Ubuntu 10.10

http://localhost:8080/manager/html gives a 404 error on apt-get install of tomcat6 (6.0.28 on JVM 1.6.0_20-b20 on 2.6.35-27-generic amd64). http://localhost:8080/host-manager/html works. Lists one ...
2
votes
1answer
1k views

Log warnings and errors only in Tomcat

I'm running an instance of Apache Solr with Tomcat 6. The scripts I used for installing configured Tomcat to log "everything" which means that it generates huge logfiles because every query etc. is ...
2
votes
1answer
206 views

How to find the JVM version that ran Apache Tomcat from its logs?

I have a Tomcat log directory with very many log files in it. I want to determine which JVM was running this Tomcat. I could not find anything in the logs I lessed and I do not even know if it's ...
0
votes
0answers
56 views

org.apache.tomcat.util.net.JIoEndpoint takes more memory

org.apache.tomcat.util.net.JIoEndpoint takes more memory as per new relic Thread profiler. The memory utilization never reduced even in idle time. It seems there is a memory leak in this class. Could ...
0
votes
0answers
36 views

Our tomcat just crashed due to classnotfound, not sure how to investigate

Our server has been in production for years without issues, but today it crashed out of the blue. Last in the logs: Exception in thread "main" java.lang.NoClassDefFoundError: ...
7
votes
3answers
28k views

Forwarding apache requests (port 80) to Tomcat (port 8080)?

I want to run a Tomcat application through a regular website URL, such as www.xyz.com. I would like the root of this domain to act as the base directory for the web application, so each request to www....
1
vote
0answers
14 views

Apache Rewrite of HTTPS on another specific port with hidden subdirectory [duplicate]

I have a Tomcat behind an Apache server and I would like to use the https request to be rewritten to the Tomcat on port 9001 with a hidden subfolder /test. hosts entry: 127.0.0.1 local.domain.com ...
-1
votes
2answers
3k views

Install GoDaddy Wildcard SSL Certificate on Tomcat 6

I have a wildcard ssl certificate that was generated by one of our Server Admins. I would like to use a copy for one of our sub-domains. Do I need to go through recreating a CSR file using keytool. ...
0
votes
1answer
38 views

Tomcat service dies on startup

I have added the following arguments to the JVM options for a Tomcat Windows service: -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote....
-1
votes
1answer
134 views

Cache Memory Growing very fast Cent Os -Tomcat

i am running Java application on Tomcat-6 on CentOs . JAVA_OPTS Like this : JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask` -server -Xms256m -Xmx2536m -XX:+...