tomcat5.5

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 would now like to change the configuration to Tomcat 'v5.5'. (This will be the version of...

Which open-source comet/ reverse-ajax libraries will you recommend to be used with Tomcat 5.5? Why?

I have seen continuations in Jetty 6.0 that addresses scaling for comet/reverse-ajax applications. Are there any other libraries/frameworks to be used with Tomcat 5.5? ...

Database record reverting after manual change

Problem solved: Thanks guys, see my answer below. I have a website running in Tomcat 5.5 hooked up to a MySQL5 database using Hibernate3. One record simply refuses to keep any changes performed on it. If I change the record programmatically, the values revert back to what they were previously. If I manually modify the record in the d...

Best tools to monitor Tomcat

Hi all, I'm searching free tools for monitor tomcat (traffic, memory usage, threads, requests, CPU, logs,...). I'm currently using lambdaprobe on Tomcat 5.5.x, but it seems that is no more developed (or not? the site lambdaprobe.org is always down for me...). Has someone good experiences to share? In lambdaprobe there are some info avail...

how to retrieve additional LDAP data fields via Tomcat ( getRemoteUser gives just name)

Hi, I have configured Tomcat to use LDAP / AD. How can I get more details about the logged in user, the userid is returned by request.getRemoteUser() but not the full name that I need. how do I get the actual "displayName" (full name) from AD ? I am using ldap/activedirectory/tomcat 5.5 ...

Safari 3.2.1 sends POST followed by GET requests

I've a servlet running on Tomcat 5.5.27 and 5.5.26 and have a web form with POST method. If I use Safari 3.2.1 I see from the logs that Tomcat receives a POST followed immediately/contemporarily by GET and it fails. If I use Firefox 3.0.5 I see that it sends only POST and everything works. Trying to debug with Eclipse I see that when us...

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 ...

Tomcat 5.5 as service on Windows Server 2008 64bit

Hi, Has anybody managed to get Tomcat to run as a service on Win2008 64bit? I need it for a 3rd party component that my site relies on. It works fine otherwise, but I just can't get it to run as a service. I've tried all the googling I can, and experimented with various 64bit tomcat.exe / tomcatw.exe without success. Upgrading to Tomcat...

How do I use logback-access in combination with Tomcat 5.5?

I've got several Web apps running on a Tomcat 5.5 server, and I'm working on improving/updating the overall logging system used throughout the system. I already had some success with logback-classic. However, when I try to use logback-access (i.e. access the lbAccessStatus servlet), I get this exception: exception javax.servlet.Servle...

Error with Tomcat 6 and Tomcat 5.5 Incompatibility

I developed a Tomcat application using Tomcat 6 for testing. I have now deployed it to Tomcat 5.5 - when I invoke the servlet I get an error which doesn't make much sense to me. Does anyone know what causes this error. exception javax.servlet.ServletException: Error allocating a servlet instance org.apache.catalina.valves.ErrorRepo...

eclipse server locations 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 the Server locations section is disabled and therefore I am unable to change it. The overview...

tomcat oracle (9.2i) oci pool connection server.xml and usage syntax

I've been searching for a good example of how to configure a Oracle OCI pool connection in tomcat's server.xml (defining a JNDI resource) and subsequently how to use it. Here's what I have now in conf\server.xml: <Context docBase="ips" path="/ips" reloadable="true"> <Resource name="jdbc/IPS_DB" auth="Container" ...

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 application starts normally, but after few actions 'PermGen out of space' exception occure...

How do you set JAVA_OPTS for a service based version of tomcat using plesk on linux?

I have installed a servlet (solr) that requires that I set the variable solr.solr.home equal to solr home. Something like: JAVA_OPTS=-D=solr.solr.home='/usr/share/tomcat/solr' The version of tomcat I am using is running as a service setup through plesk control panel. After googling this I found a page that said I should edit the web.x...

Spring ApplicationContext taking up grotesque amounts of memory

Hello, I have numerous Spring Framework-based applications that run on a Tomcat 5.5 server. Some of them have their own instances, some share a server with other applications. The one thing they all have in common is that they require huge amounts of memory, more than I think they should really require. Are there any tools out there ...

Maven embedded Tomcat version

Is there a way to control the Maven embedded Tomcat version? mvn tomcat:run This command will run a Tomcat 6.0.16 instance. I'd like to run a 5.5 version of Tomcat. Is there a way to configure this? Searching the plugin docs didn't help... Thanks! ...

java.lang.NoClassDefFoundError: ProceedingJoinPoint

We have a number of web service client applications which interface between our main customer facing application and backend web services. These web service application generate their own JAXWS stub code to directly interface with the web services and implementation code to provide a clean interface between the JAXWS code and any applica...

JAAS - isUserInRole returns false for all roles in Tomcat

Here is the issue, The JAAS realm connects to the database fine, the user name and password match, the session is authenticated. HOWEVER, none of the roles seem to be getting into the Principal. Tomcat's isInUserRole returns false for every role, and tomcat security doesn't see them either. Here is the realm configuration in the Serv...

Webservice problem - methods can't take more than 1 parameter

Hi, I'm using IntelliJ IDEA 8 and Axis to set up a webservice that's deployed on Tomcat5.5. The generated wsdl looks like this: http://track.priskick.se/Tracker.wsdl A method is declared as public void storeImpressionReport(int siteId, int adId, int zoneId, int count, int excludeCount) { ... } and e...

How to get tomcat 5.5 to shut down from netbeans

I have to run tomcat 5.5 with netbeans 6.7. This is NOT my choice. I have some legacy software that I am not allowed to re-write and must be supported. The question is how do i get tomcat 5.5 to shut down properly using netbeans commands to shut it down? It starts up fine with a bat file I created, but when I try to stop it, netbeans t...