Open source web server developed by the Apache Software Foundation

learn more… | top users | synonyms

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
396 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 ...
2
votes
1answer
903 views

Tomcat doesn't appear to work out of the box on a fresh CentOS 6.5. Am I missing something?

I install CentOS 6.5 with the "Web Server" package selection and everything else as defaults. I do a service tomcat6 start, then a ss -ntlp to confirm that Tomcat is listening on port 8080, as ...
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 ...
1
vote
1answer
271 views

Tomcat resources not resolving correctly

I'm trying to deploy MITRE's OpenID Connect Java Spring Server using Tomcat. My server's FQDN is park.muller.io. I've compiled the MITRE server and placed the .war file into the Tomcat webapps ...
1
vote
1answer
692 views

Groovy-grails: grails run-war works, but grails run-app throws BindException: Address already in use: JVM_Bind<null>:80n

When I run grails -Dserver.port=80 run-app, I get LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind<n ...
1
vote
1answer
980 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 ...
1
vote
1answer
482 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 ...
1
vote
1answer
388 views

deploying application on tomcat server status is ok but hitting the url throws 404 not found

I have been put in to the project involving Spring, Hibernate, Drools, RabbitMq . Though I have no idea of how drools work in coherence with Spring,Hibernate etc but I need to learn it in no time ...
1
vote
1answer
653 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
1answer
35 views

Tomcat application Server (V 6.0.28) security issue

As we are using apache tomcat server version 6.0.28. [Problem Statement] While using tomcat version (6.0.28),we have faced few security vulnerability issues in this version(6.0.28). Below are the ...
0
votes
1answer
2k 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, ...
0
votes
1answer
553 views

Apache in front of JBoss 6 -> Some proxy errors

Here under my Apache configuration: <IfDefine TOMCAT> <IfModule mod_ssl.c> <IfModule mod_proxy_http.c> ProxyTimeout 300 SetEnv ...
0
votes
1answer
597 views

Tuning Garbage Collection in Apache Tomcat

I have the following parameters in tomcat6.conf JAVA_OPTS="-server -Xmx6144m -Xms3072m -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=999 -XX:ReservedCodeCacheSize=128m -XX:MaxPermSize=256m ...
0
votes
1answer
81 views

How to enable logging for virtual hosts on tomcat6?

I have established 2 domains on my tomcat 6 running on CentOS. But now my logging is broken. All logs except catalina.out are empty. I would like to have one log for each domain. I found a lot of ...
0
votes
1answer
158 views

How to find Apache memory utilization?

I want to measure memory utilization of my Apache Server. Can I use the pmap/ps command and pass all the process IDs of httpd and take that as total utilization? In most of the blog, they suggest ...
0
votes
1answer
622 views

Configure Plesk only for Tomcat-Java

I need to configure tomcat on Linux dedicate server only for Java project through Plesk . Following services is running on it. '1.Apache on port 80 ' '2.Tomcat on port 8080/9080' '3.Mysql on port ...
0
votes
1answer
363 views

Tomcat threads number inexplicably peaking immediately after end of load test

I am testing an app on Tomcat with one hour of crazy traffic from 200 users. Everything is fine during the test. But immediately AFTER the test (no more traffic), the number of threads rises ...
0
votes
1answer
250 views

Birt on Tomcat unable to find JARs

First, my setup: BiRT Runtime: 3.7.2. Ubuntu 10.04 Tomcat 6 Sun Java 1.6.0 I have a jar file I want to deploy onto the Tomcat server so it is usable by the runtime, so I placed the jar file in ...
0
votes
1answer
609 views

Shibboleth-Idp setup: Issue with the data-connectors in attribute-resolver.xml

I have setup the shibboleth-Idp as servelet in servelet container tomcat6. However, tomcat start the servelet fails to load. My data connectors are causing it. The code I am using for connectors is ...
0
votes
1answer
199 views

rvm for Jenkins under Tomcat 6

I've got Jenkins running under Tomcat 6. It's running as user tomcat6, with a home directory of /usr/share/tomcat6. I would like to install rvm for this user so I can use it for testing, but I can't ...
2
votes
0answers
200 views

URL Rewrite in Apache + Tomcat set up with change in web application context

How to make URL http:/hostname:8080/abc?func=ll point to the URL http:/hostname:8080/xyz?func=ll automatically. Set up is Apache behind which Tomcat is present. Application "xyz" is deployed on ...
1
vote
0answers
12 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 ...
1
vote
0answers
43 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
0answers
94 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" ...
1
vote
0answers
93 views

apache reverse proxy - make static content cachable

I have an apache web server (reverse proxy with mod_proxy) in a front of a tomcat java application. to improve performance, i would like to make static content (css, javascript and images) cachable ...
1
vote
0answers
427 views

TOMCAT Disable org.apache.http.wire logging

I need to shut up the org.apache.http.wire logging level because its logging every single HTTP request and it produces Gigabytes of logging, I'm using the default logging of tomcat6 which I think it ...
1
vote
0answers
51 views

Apache/Tomcat proxy configuration

I have a server that is running Apache and Tomcat. Apache functions as: reverse proxy for Tomcat serve static files Tomcat: serve dynamic content Apache is serving static files from: ...
1
vote
0answers
79 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
0answers
168 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
0answers
30 views

Dynamic apache2 configuration with POST Form Parameters

I'm building a SSO system (with Apache2, Tomcat Realmn, Mod_JK) and I'd like to change dynamically the RequestHeader value in my apache configuration file (or in the .htaccess file), so that I can ...
1
vote
0answers
39 views

apache2 javascript HTML DOM issue

I'm running apache2 and tomcat6 with catalina on an ubuntu 11.10 box. I have the javascript functioning but when I use this.form it passes as "[object HTMLFormElement]" instead of the actual form ...
1
vote
0answers
264 views

mod_jk with Tomcat 6 and HTTP Authentication

Are there any gotchas using ModJK to forward to an application protected by standard HTTP Authentication? We have two web apps installed on our Tomcat 6.0.14, one is the standard Tomcat Manager while ...
1
vote
0answers
697 views

tomcat max number of threads

I have a very confusing scenario.. We are using tomcat6 to host an internal application. In server.xml file maxthreads attributes is set to 150 but if I log on to the manager, in "http-8080" section I ...
1
vote
0answers
453 views

Coldfusion deployment under Apache Tomcat with Virtual Hosts

I'm looking for the proper way to share the Coldfusion engine for all my Virtual Hosts. This is how I have the virtual hosts configured on server.xml in the Tomcat conf: <Host ...
0
votes
0answers
10 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 ...
0
votes
0answers
22 views

Tomcat6 showing huge number of processes(or child threads). Is this expected

Our tomcat server is showing huge number child processes/threads. Following is the command i have used- ps -eLf | grep tomcatUserId | wc -l This is the count i have received 1600 This ...
0
votes
0answers
24 views

CATALINA_HOME not exported properly in Ubuntu 12.04

Running Ubuntu 12.04 and Tomcat6 A Java web app (ClinCapture) attempts to access catalina_home and instead of returning CATALINA_HOME=/usr/share/tomcat6 it returns ...
0
votes
0answers
28 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
27 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: ...
0
votes
0answers
268 views

how to check which forward secrecy cipher is enabled in tomcat 6.0.28 while I use TLSv1.0 protocol?

I am using tomcat 6.0.28 and using TLSv1.0 ssl protocol only. I have configured ciphers as ...
0
votes
0answers
286 views

RestEasy - Could not find MessageBodyWriter for response object of type

Was successfully publishing webservices on OpenShift for last few months, with no code change, suddenly started receiving exception like Could not find MessageBodyWriter for response object of type: ...
0
votes
0answers
321 views

Tomcat failed to start - Port being used while nothing is really using that port

Currently i have an issue with my tomcat application where it always mentioned that port is being used. The thing is, this issue only happened sporadically and whenever this issue happened, i did run ...
0
votes
0answers
201 views

Starting a second tomcat instance with a user other than root on redhat linux

I am running RHEL Server 6.1 After intalling tomcat6 using yum install tomcat6, I needed a different tomcat instance on the same server. Following instructions on ...
0
votes
0answers
150 views

Installing tomcat6 on centos 64

I've tried: # yum install tomcat6 The result is as below: Transaction Summary ===================================================================================================================== ...
0
votes
0answers
68 views

Error while Installing Tomcat6 on Linux Debian Squeeze

I install Tomcat6 and try to run the server but its not starting up. I checked the log and found out this error. Apr 29, 2014 3:29:13 PM org.apache.catalina.core.StandardContext resourcesStart ...
0
votes
0answers
168 views

Connections pending Apache + Tomcat Setup

I have a Web App deployed using Tomcat . I'm also using Apache to do the port forwarding from 80 to 8080. I have an API service passing from apache to tomcat which gets large number of hits per day ...
0
votes
0answers
42 views

performance issue in tomcat

I have a load balancer, under load balancer I have to apache webservers with Mod_jk. Sticky session enabled in both load balancer and webservers. I have two tomcat servers(both are clustered/session ...
0
votes
0answers
550 views

Tomcat with SSL - java.io.IOException: Keystore was tampered with, or password was incorrect

I am trying to use tomcat setup over SSL. I generated the keystore using this command $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /home/user/.keystore Then I used the ...
0
votes
0answers
160 views

Consolidating Tomcat connectors in server.xml

I'm looking to see if there is a way to consolidate the follow two Tomcat (v6.0.x, on Windows 2008 Server) connectors below (in conf/server.xml): This one is used to get to the app directly, via ...