Questions tagged [tomcat5.5]

Version 5.5.x (August 2004) of the Apache Tomcat servlet container. Use only if your question is specifically related to features of this version.

Version 5.5.x (August 2004) of the Apache Tomcat servlet container.

Apache Tomcat is an open source servlet container and is developed by the Apache Software Foundation (ASF). Questions here should relate to Tomcat Version 5.5.x.

Note that the ASF has announced 30 September 2012 as the end of life date for the Apache Tomcat 5.5.x release series.

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.

252 questions
114
votes
11 answers

Eclipse "Server Locations" section disabled and need to change to use Tomcat installation

I have set up a dynamic web project in Eclipse with a Tomcat 5.5 installation. I want to be to set the server to us the Tomcat installation instead of the workspace metadata location, but when Eclipse displays the "Overview" screen for the server…
Craig Angus
  • 21,343
  • 17
  • 53
  • 62
56
votes
7 answers

Eclipse - How can I change a 'Project Facet' from Tomcat 6 to Tomcat 5.5?

(Eclipse 3.4, Ganymede) I have an existing Dynamic Web Application project in Eclipse. When I created the project, I specified 'Default configuration for Apache Tomcat v6' under the 'Configuration' drop down. It's a month or 2 down the line, and I…
user13360
  • 563
  • 1
  • 4
  • 5
52
votes
7 answers

How to change Java version used by TOMCAT?

I have Java 1.6 and Tomcat 5.5 installed on my system. But Tomcat 5.5 accesses Java 1.5 and hence as the outcome I get the error Bad version number in .class file while executing java code with JSP. How can I change the Tomcat version to Java…
LGAP
  • 2,151
  • 14
  • 47
  • 68
31
votes
6 answers

How to solve this java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream?

I am using the below code to upload a file in to tomcat5.5 and it gives me the following exception java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream could you please help me to find it out? import…
Joe
  • 4,142
  • 17
  • 52
  • 96
22
votes
8 answers

What can be done with 'PermGen out of space' exception in Tomcat-Spring-Hibernate web application?

We have an web application that uses Spring-Hibernate to persist registered users data in Oracle database. The application works fine in development environment, but when we copy it int live environment with much more data, it failed. Initially the…
igorg
20
votes
1 answer

GlassFish vs tomcat

I would like to start using JEE6 in the next project that I have to work on at my job, but there is also a limitation (sort of): Tomcat 5.5 My question is, what improvements would bring GlassFish to the table (security/speed) vs the existing…
Bogdan
  • 349
  • 1
  • 3
  • 14
14
votes
10 answers

Tomcat consuming high CPU

Tomcat.exe is consuming 75% of CPU. Is anyone having any idea why it happens and how can that be decreased? I am using Tomcat5.5 & J2SDK v 1.4.2_12
Miral
  • 5,898
  • 15
  • 54
  • 84
11
votes
3 answers

Find out the number of connections to tomcat server

I have a Java/Java EE web application deployed on Tomcat Server 5.5.17. I want to know the number of clients which are connected to the server. How can we find it out?
Thunderhashy
  • 5,191
  • 13
  • 39
  • 46
11
votes
6 answers

javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25

I am getting issue while sending email. javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: …
Sri Niwash
  • 111
  • 1
  • 1
  • 4
9
votes
2 answers

Read HTTPServletRequest's POST body AND then call getParameter in Tomcat

I am in the situation where my application needs to inspect the content/data/body/payload of a POST request without changing the results of subsequent getParameter calls. Reading the body from the inputStream: The body can be read using the…
rewolf
  • 4,631
  • 2
  • 35
  • 45
8
votes
3 answers

Cause of 'tmpFile.renameTo(classFile) failed' during JSP compilation

Recently, I started to experience strange behaviour in JBOss 4.0.5 JSP application. The JSP compilation fails on first (second, third,..) attempt with exception: 17:24:29,909 ERROR [[jsp]] Servlet.service() for servlet jsp threw…
Miro A.
  • 6,813
  • 2
  • 20
  • 21
8
votes
1 answer

Running tag library from older Tomcat version

First some background. I am developing a web application. This application is installed as an extension of a third party commercial web application. The thrid party provides an SDK for our application to interact with the main web application. As…
Dave Rager
  • 7,377
  • 2
  • 29
  • 51
7
votes
1 answer

ClassNotFoundException Error in Tomcat 5.5 and Tomcat 6.0

I am having this strange issue with the tomcat 5.5 and tomcat 6.0 servers. I have two web applications which will be installed on tomcat.When tomcat is started these two web applications also get started simultaneously but sometimes one web…
Dungeon Hunter
  • 17,873
  • 13
  • 53
  • 78
6
votes
4 answers

Tomcat 5.5: .jar not releasing on .war rebuild

Synopsis I am attempting to export a WAR to my webapps folder but everytiime I update the war it deletes all of the content of the webapp minus /WEB-INF/lib/struts.jar System info Windows 2K3 Tomcat 5.5 JRE 1.6.23 Ok here is what is…
PseudoNinja
  • 2,677
  • 1
  • 25
  • 35
6
votes
2 answers

How to clear ehcache without server restart

Though I guess its highly unlikely - but is there any way to clear the ehcache without restarting the server? I need to clear the cache for some testing - I cannot change the code and cannot afford to restart server at multiple times. PS: I am…
Vishal
  • 2,625
  • 7
  • 29
  • 40
1
2 3
16 17