Questions tagged [tomcat6]

Version 6.x (December 2006) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.

Version 6.x (December 2006) of the Apache Tomcat servlet container.

Apache Tomcat is one of the most popular open source servlet containers developed by the Apache Software Foundation (ASF). Questions here should relate to Tomcat Version 6.x.

Use only if your question is specifically related to features of this version. Just because you are using this version, doesn't mean you need this tag. Use in addition to or instead of this tag.

See for more information.

1866 questions
17
votes
4 answers

How to sanely configure security policy in Tomcat 6

I'm using Tomcat 6.0.24, as packaged for Ubuntu Karmic. The default security policy of Ubuntu's Tomcat package is pretty stringent, but appears straightforward. In /var/lib/tomcat6/conf/policy.d, there are a variety of files that establish default…
cemerick
  • 5,916
  • 5
  • 30
  • 51
17
votes
4 answers

Using EL 2.2 with Tomcat 6.0.24

With JSF 2 you should be able to do this: which would then call the action method, passing in the parameter (assume it's an Integer): @ManagedBean @SessionScoped public class MyBean { …
jamiebarrow
  • 2,473
  • 3
  • 30
  • 51
17
votes
6 answers

FAIL - Application at context path /Hello could not be started

I'm trying to deploy new web application in Tomcat 6.0, but whenever I click on start button, I repeatedly getting FAIL - Application at context path /Hello could not be started. Other deployed application running fine, whenever I click on start…
Dusk
  • 2,191
  • 6
  • 38
  • 57
17
votes
3 answers

use multiple CATALINA_BASE to setup tomcat 6 instances on windows

The RUNNING.txt that comes with tomcat distribution indicates the use of CATALINA_BASE variable to enable multiple tomcat instance. But how can I set the CATALINA_BASE environment variable for each tomcat instance directory?
robinmag
  • 17,520
  • 19
  • 54
  • 55
17
votes
3 answers

How to fix Solr Exception: Could not find necessary SLF4j logging jars?

I have big problems installing Solr 4.3 under Ubuntu 12.04. Firstly i installed tomcat. I can access tomcat via browser on localhost:8080. Into "Tomcat Web Application Manager" i try to install Solr 4.3 via 2solr.war" file. The file is been uploaded…
Stillmatic1985
  • 1,792
  • 6
  • 20
  • 39
17
votes
7 answers

Apache & Tomcat: ProxyPass and ProxyPassReverse

I'am having troubles configuring Apache and Tomcat, this is the scenario: I have an Apache Web Server, running and working normally, I can access to this one just typing: http://localhost Also, in this host, I have a Tomcat running and working…
karlos9o
  • 222
  • 1
  • 2
  • 7
16
votes
5 answers

Communication between two web application in same server

All, I have 2 web applications, Web1 and Web2, deployed on my tomcat server. I want classes in Web1 to call methods on classes in Web2. One way to do this is using webservice. Is there any other way similar to calling a method on class on same web…
Gaurav
  • 1,549
  • 2
  • 15
  • 31
16
votes
4 answers

Tomcat fails to start because of jdbc driver loading

Here's the relevant portion of the tomcat startup log: SEVERE: Context [/f360] startup failed due to previous errors Apr 8, 2010 6:45:56 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: A web application registered the…
Laran Evans
  • 1,283
  • 5
  • 15
  • 31
15
votes
4 answers

Unable to associate project with a runtime server in eclipse IDE

I had created a dynamic web project. AS of now it has a jsp file which am trying to run. When I tried to associate the project with a specific runtime(tomcat 6.0), it is not happening. I right clicked on the project/properties/Targeted Runtimes. It…
Anuj Balan
  • 7,629
  • 23
  • 58
  • 92
15
votes
4 answers

How can I restrict access to certain URLs by source IP in Tomcat?

I want to restrict access to certain URLs in my Tomcat webapp. Only 3 known IP addresses should be allowed access to URLs that fit a certain pattern. e.g. http://example.com:1234/abc/personId How can I achieve this?
Randeep
  • 533
  • 3
  • 7
  • 18
14
votes
4 answers

Jackson + Tomcat - java.lang.VerifyError: Cannot inherit from final class

I have a Java webservice running in Tomcat 6 which accepts JSON input. I am trying to use Jackson ObjectMapper to parse the input json. But when initializing the ObjectMapper object I am getting this error 16:08:13,616 ERROR [[jersey]]…
Jithin
  • 1,108
  • 2
  • 12
  • 26
14
votes
8 answers

Is there a way to enforce a deployment order in tomcat6?

I have 3 wars in my webapp folder. Two of them are built on services of the third one. I'm in a testing environment, i.e. I don't have control over their architectures, so I'm no able to change a thing. So... Question: Is there a way to enforce a…
wleao
  • 2,316
  • 1
  • 18
  • 17
14
votes
7 answers

starting tomcat on port 80 on CentOS release 5.5 (Final)

I want to start Tomcat 6.0.29 on port 80. My OS is CentOS release 5.5 (Final) I changed following line in $TOMCAT_HOME/conf/server.xml to
evgeniy44
  • 2,862
  • 7
  • 28
  • 51
14
votes
7 answers

Log4jConfigListener cannot be found -- context fails to start

I am trying to set up a web application on Eclipse. I am using Tomcat 6.0 and jdk 1.6.0_23. For some reason I am getting this error: SEVERE: Error configuring application listener of class…
1000Suns
  • 197
  • 1
  • 2
  • 6
14
votes
2 answers

Scheduled task in a web application?

I'm building a statistics apps for an online game, built using the servlet API in Java (to be deployed on Tomcat). It's easy enough to let the game send a message to the stats server every time a user logs in, because handling requests is what…
Bart van Heukelom
  • 43,244
  • 59
  • 186
  • 301