tomcat

Tomcat/BlazeDS/ActiveMQ disconnect problem

We are experiencing disconnects on our Tomcat/BlazeDS/ActiveMQ stack. Although our BlazeDS StreamingAMFChannel is configured with the default idle-timeout-minutes of 0, it seems to timeout after about 30 minutes of idle time (see log). The client does not do any requests during that time and we are also not pushing messages from the Acti...

Tomcat 6.x Administration

With the Administration tool was not ported from Tomcat 5.x to Tomcat 6.x, how do people manage Tomcat configuration? Are there other 3rd party Admin applications available? Or is all configuration done through editing xml files. Thanks ...

Howto embed Tomcat 6?

I'm currently running my webapps on Tomcat 6 in production, and would like to evaluate running Tomcat in embedded mode. Is there a good tutorial or other resource besides what's in the api documentation? ...

What is the best IDE for developing in Tomcat?

Recently I've been doing a bunch of work developing servlets for deployment in Tomcat 5.5. My current IDE is Eclipse Ganymede with WTP. I've been very unhappy with the Tomcat integration, as the configuration is constantly breaking and needing tweaking. I was wondering if anyone could recommend another IDE that handles this integrat...

Alternate port for Tomcat (not 8080) when starting with Maven?

Is there an easy way to specify an alternate port for Tomcat in the pom or on the commandline. I'd like to have several projects running on the same machine. ...

understand tomcat HTTP connector port from JMX MBeans

Hello All, I am connecting to tomcat over JMX. I wrote a simple JMX client to connect to tomcat and read different JMX MBean attributes to monitor tomcat. My problem is, I would like to know which port tomcat's HTTP connector is listenting. Is there a way to get this details over JMX Mbean - without reading the server.xml file of tomcat...

How much slower is serving static content from Tomcat?

So, I have a webapp with a fair amount of JSPs, servlets, alot of which are using IceFaces. Obviously, most of this will have to stay in Tomcat. However, I've been told that static content (HTML, Images, etc.) is slower on Tomcat than a pure webserver like Apache. My understanding is that when you're using Tomcat as a stand-alone webse...

IIS -> Isapi_Redirect -> Tomcat

I've been trying for days to get Tomcat up and running through IIS via the Jakarta Connector. I've followed all of Microsoft's instructions -- put the connector .dll in %tomcatdir%\bin\win32\i386\, added the registry entry, added a filter (pointing to the .dll) to the default web site... and yet, any time I try to access a Tomcat web ap...

How to install VeriSign's Intermediate CA Certificates?

I running tomcat on Solaris server and I would like to know how can install VeriSign's Intermediate CA certificates? I have been struggling for days and keep having keytool error: java.io.EOFException How do I solve it? ...

Installing Tomcat + Solr problem

Hi, I'm trying to install Tomcat + Solr on my Ubuntu machine. I was using ubuntu repo: http://packages.ubuntu.com/intrepid/web/solr-tomcat5.5 http://packages.ubuntu.com/intrepid/tomcat5.5 When i launch tomcat, solr do not work: sudo service tomcat5.5 start The webpanel do not find solr, and give me this error: HTTP Status 404 - /...

Binding to a socket in Tomcat

I am writing a Tomcat app. As part of its functionality, it needs to send out a UDP multicast when certain events happen. Right now my code goes something like this (host and group are fake, exception handling ripped out to save space): import java.net.*; /* ..... */ DatagramSocket socket = new DatagramSocket(12345); InetAddress group...

How to deploy external webapp in tomcat?

Could anyone answer my question, please? I'd like to deploy a web application folder C:\app\myapp to Tomcat6.x instead of having a copy under %TOMCAT_HOME%\webapps Which configuration is required on tomcat server? Thanks ...

What does the crossContext attribute do in Tomcat? Does it enable session sharing?

All I can find in the Tomcat 5.5 docs is: Set to true if you want calls within this application to ServletContext.getContext() to successfully return a request dispatcher for other web applications running on this virtual host. Set to false (the default) in security conscious environments, to make getContext() always return null. I...

Reinstall TeamCity when Tomcat becomes corrupt

I've got a TeamCity 4 installation where tomcat has bit the dust with the following error "The APR Based Apache Tomcat Native library which allows for optimal performance in production environments was not found in java.library path". It appears this started happening once the JDK was installed on the server to allow for a compile. The...

Debugging a tomcat project in Eclipse 3.4.2

Hi, I downloaded eclipse 3.4.2 and tried installing tomcat plugin (version 3.2.1)for eclipse from sysdeo (http://www.eclipsetotale.com/tomcatPlugin.html) I have followed installation instructions but when is start tomcat from eclipse toolbar i got the following error java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLo...

How do you specify the root context in your <web-app> tags in web.xml?

I would like specify the root context of my Java Web Application in my WAR file. How can I do this using valid web-app xml in web.xml file? Oh, yes I would like to do this in an Application Server agnostic way. Thank you in advance, Rob ...

Redirect URL path to forward to tomcat servlet using Apache/mod_proxy

I currently have a tomcat servlet 1 running under the ROOT: api1.myhost.com:8080/ I'm using mod_proxy and simply forwarding all requests from api1.myhost.com to this instance. This is working as of today. I now have installed a second servlet 2 which runs under the same instance of tomcat (same IP address): www.myhost.com:8080/servle...

Any way to share session state between different applications in tomcat?

We want to split a working application in two different wars in order to be able to update one app without affecting the other. Each webapp will have different ui, different users and different deploy schedule. The easiest path seams to be sharing the same session, so if app A set session.setAttribute("foo", "bar") app B will be able t...

Java Listener not starting Under Tomcat

In my Tomcat logs (catalina) I am getting the following error preventing my application from starting up: SEVERE: Error listenerStart 24-Mar-2009 13:23:10 org.apache.catalina.core.StandardContext start SEVERE: Context [/exampleA] startup failed due to previous errors I do not know why I am getting this. In my web.xml I have the follo...

Can a Tomcat web app programmatically change the jsp servlet's "development=true" parameter?

I am referring to the following parameter of Tomcat's web.xml file: <servlet> <servlet-name>jsp</servlet-name> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> . . . <init-param> <param-name>development</param-name> <param-value>true</param-value> </init-param> . . . ...