tomcat7

Http Session Management / Alternative Session Management (in Java)

Hi guys, I'll try as best as possible to explain what I'm doing in order to get best possible advice/solution. This is all done in java. My client has a SWING based desktop application that will load using WebStart. I was assigned to create a Session Manager for user account information. My friend suggested to rather use Http Session ...

How do I enable REST communication with Tomcat 7's CSRF protection?

I have two webapps. One that is serving content to the other over XHR/REST calls. One is in Tomcat 7 (with CSRF protection), and the other is in Spring's tcServer 6 (Tomcat 6.x). The servers and webapps are setup as such: Tomcat 7 with CSRF on port 8081; webapp communicates with other apps via REST Tomcat 6 on port 8080; webapp calls ...

Missing comet events on Tomcat 7 CometProcessor

I am using CometProcessor to implement long-polling on Tomcat 7.0. The thing that bothering me is I don't get any other events except CometEvent.EventType.BEGIN. The code sample: @Override public void event(CometEvent event) throws IOException, ServletException { HttpServletRequest request = event.getHttpServletRequest(); ...

Tomcat 7 - Maven Plugin?

Hi all, I just wanted to double-check, has anyone found or is working on a Tomcat 7 plugin? If not, is anyone interested in helping me get it up and running? I want another quick alternative to Glassfish, JBoss AS 6.0 is a bit heavy still for quick mockups. Walter ...

unable to start tomcat gives Exception in CatalinaProperties and closes.

i am trying to start tomcat i have recently installed it and setup all the Enviornment Variables but on running startup it gives Exeption in CatalinaProperites.loadProperties what should i look for? ...

Get full servlet URL during startup under Tomcat 7

I have a web application written using Tomcat 6 and I'm trying to make it work with Tomcat 7. During its startup the application, besides other things, registers its web service component at some remote directory. For this it needs to supply its own URL. The following (a little bit naive) method should return webservice URL: import org....

Integrating Apache HTTP with Tomcat, possible to output combination in one page?

I am planning to integrate Apache httpd server with Tomcat using the proxy module to forward certain addresses to be processed by Tomcat. However I wanted to ask if it is possible to combine the output from Tomcat with content from apache httpd so that they are returned to the client as part of one html page? (no frames or funny business...

Spring MVC and Spring Security limit quota requests per IP

Is there a way to limit the number of requests that a user can make in a period of time? Ex: max 200 requests per minute. My environment is Apache Tomcat 7.0 with APR libraries, Spring MVC 3, and Spring Security 3. That feature can be a Tomcat configuration or a Spring configuration. Any suggestions? ...

What Eclipse plugin is available for integrating Tomcat 7?

What Eclipse plugin is available for integrating Tomcat 7 in its IDE? ...

Jetty or Tomcat with Non-blocking IO (servlet 3.0)

I need a point to start from. I read from Yakov Fain about a performance break through with jetty and blazeds. I realized that we already have some trouble with about 1200 concurrent users, some consumers dont get messages and cpu is under heavy fire. Did somebody already tried this Nio with BlazeDS? Did this work with Tomcat too? Whe...

Spring 3 - Petclinic - ${owner.new} invalid expression in Tomcat 7

I have deployed the petclinic code from the SPring 3 svn samples repository in Tomcat7 and I get the following exception: Internal error Root cause is: /WEB-INF/jsp/owners/form.jsp(4,1) "${owner.new}" contains invalid expression(s): javax.el.ELException: [new] is not a valid Java identifier org.apache.jasper.JasperException: /WEB-IN...

Deploy application on custom host of Tomcat

Hi all! I got some issues to deploy my application. Environment: Ubuntu 10.04, Tomcat 7.02 (Install from archive from tomcat site, not from repositories), server is run and stoped manualy, not using any IDE. For the first I've created host in $CATALINA_HOME/conf/server.xml <Host name="java.dev" appBase="/home/krasilich/java/"...

Tomcat 7 session cookie path

Hi guys, I'm having a huge problem with my application and Tomcat 7. My application needs to set session cookie to "/" path instead of "/context" path. In tomcat 6 it was a matter of adding another property to Connector (emptySessionPath="true") and Tomcat 7 doesn't recognize this thing. I know that Servlet 3.0 spec allows to configure ...

Starting up Tomcat using "$CATALINA_HOME\bin\startup.bat" command

Hello, Trying to get an working environment for Struts 2, I'm trying to do things as suggested by this tutorial. I've downloaded Eclipse Helios Which, I heard, comes whith JDK 1.6. I've downloaded Tomcat 7.00-preconfigured. I'm told to (1) Unzip the Tomcat files, then (2) start Tomcat by executing the "$CATALINA_HOME\bin\startup.ba...