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
0
votes
1 answer

Java code not closing MySQL connections despite closing resources in reverse order

The code below doesn't appear to close MySQL connections properly even though we're closing resources in reverse order. When this code is run again, it seems to reuse the same MySQL process thread, which you can see below from looking at the MySQL…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
0
votes
1 answer

Issue with CAS on Ubuntu 12.04

I setup a CAS 3.5.5 server with Ubuntu 12.04 and Tomcat6 We have a Active Directory Server with LDAPS it does not allow anonymous searches. I use the deployerConfigContext.xml listed below. When I try to Authenticate I get the following…
Riley Childs
  • 189
  • 2
  • 3
  • 10
0
votes
2 answers

How to clear tomcat auto created copy (cache) of Dspace

Here is one of my experiences I want to share, regarding Debian Linux and Dspace. After working a day on Dspace and its cache directory in Tomcat, I realized that there is a cache directory of Dspace JSP pages. If you want modified JSP pages (in the…
Mohsen Abasi
  • 2,050
  • 28
  • 30
0
votes
2 answers

Why is my web app looking for needed file in tomcat/bin and not in webapps?

I am working on a fork of Oryx Editor. In oryxRoot\editor\server\src\org\oryxeditor\server I added a Java servlet in which I try to apply an XSL file to a stream representing an XML document. The code is below: protected void…
0
votes
0 answers

Issue with all my requests going twice through our filters on Tomcat 7

I have a problem with Tomcat 7, where all my requests are going twice through our filters. This results in a web-page where static text is displayed twice and all our ajax requests are also displayed twice. This started happening when we implemented…
Jan-Terje Sørensen
  • 14,468
  • 8
  • 37
  • 37
0
votes
1 answer

running shutdown.bat shuts down wrong Tomcat instance

I have 2 tomcat instances configured. 1 as a service and one stand-alone. If I shutdown the standalone tomcat installation using shutdown.bat in the /bin folder then both the standalone and the Tomcat service is stopped. Has anyone encountered this…
bvanvelsen - ACA Group
  • 1,741
  • 1
  • 14
  • 25
0
votes
1 answer

tomcat6 shutdown port not listening

I am running tomcat6 on ubuntu9, and i specified shutdown port in server.xml to 8005. When I do netstat -tln however, i cannot see port 8005 listening. I can do tomcat6 restart|start|stop no problem. Why is it not listening on port 8005? Thanks
Lydon Ch
  • 8,637
  • 20
  • 79
  • 132
0
votes
2 answers

tomcat: how can i place parameters in web.xml and fetch them in my application?

I would like to store db connection information in the application web.xml file and to fetch it in the application. i read somewhere that it's possible i just don't know how. any ideas? thanks!
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
2 answers

Fatal error has been detected in JRE while using Eclipse-Juno

I am new to Eclipse. I wanted to run a simple HelloWorld servlet program in Apache-Tomcat. I am forced to use Eclipse and Tomcat combo. I am using Eclipse-Juno in Ubuntu 13.10 and Apache-Tomcat-6.0.39. I added the server to the Eclipse and typed my…
Pragatheeswaran
  • 120
  • 1
  • 9
0
votes
0 answers

Java, JSTL, MySql, Apache Tomcat 6 - Data not retrieved - Session Issue

I am shiva, developing an dashboard application in Java, JSTL, MySql, Apache Tomcat 6. I have the below files 1. Dashboard.java (model) 2. DashboardDAO.java (dao) 3. DashboardController.java (Controller) //Source protected void…
Shiva
  • 11
  • 2
0
votes
2 answers

Insertion of Link(href) in JSP to open Excelsheet not working in IE

I am inserted an href Link to open Excel Sheet(already existing in Server directory) in a JSP page. It is working perfectly fine in local eclipse browser but unable to open the sheet in InternetExplorer (client side). The snippet is as below.
ACJ
  • 11
  • 9
0
votes
1 answer

How to remove the Port number from my url?

I am using Apache Tomcat6.0.i am relatively new to servers.i want to remove my port number from my URL.i searched for the listening port it is "wampapache". Example: localhost:8080/myappname/ (it is like this) localhost/myappname(my…
user3300851
  • 87
  • 1
  • 3
  • 12
0
votes
1 answer

WebService works with Jetty but not with Tomcat

I am banging my head against a wall at the moment. I did some development to create a WebService using CXF and Spring. It all worked fine with Jetty 8, but when I try and run it with Tomcat 6 I can't even get the WSDL from the request. Below are the…
Ash
  • 215
  • 1
  • 3
  • 10
0
votes
1 answer

404 error for tomcat 6 for spring application

My app is deployed properly but getting 404 error. Unable to find what is happening. In this deployed means pointing my webapp folder to location in computer. URL used : localhost:8080/studentspringmvc/ web.xml
Shoaib Chikate
  • 8,665
  • 12
  • 47
  • 70
0
votes
2 answers

Access DAO in REST call TOMCAT

I want to access data through my dao when using REST call. My dao works well with the webapp. But when I use the webservices I created, I have a null pointer exception. Here is my code : @Path("/hello") public class HelloWorldResource…
user1687267
  • 43
  • 1
  • 5