tomcat

Tools for Performance Testing Grails Wep Applications

I am searching for an Tool to test an Grails Wep Application on a Tomcat Server. I need some Data about the Performance when 30 Users work with my app.(Creating/Editing/Deleting Entries on my Database (Firebird). ...

SSL Tomcat Configuration

I am using tomcat 5.5 and configured keystore and added this connector inside server.xml file <Connector port="443" minProcessors="5" maxProcessors="75" enableLookups="true" disableUploadTimeout="true" acceptCount="100" debug="0" scheme="https" secure="true"; clientAuth="false" sslProtocol="TLS"/> But I am not sur...

catalina.out rolling with Tomcat 6.0

I have a default tomcat installation with no change to the logging configuration. The log files (in particular catalina.out) appear to be getting rolled (daily) correctly. However as well as the daily logs there is also a catalina.out file, which just continues to grow. This is what I need to fix, ie have it cleared daily (or remove it ...

library dependencies in META-INF/MANIFEST.MF file

Hi, What's the meaning of library dependencies in MANIFEST.MF file stores in Tomcat. I don't understand it, while reading this in book. I need some clarification on it. Why do we ever need to create MANIFEST.MF file in Tomcat, if the jar file in Tomcat is enough to handle all the requirements. Thanks in advance for any valuable sugge...

what does "class libraries on the classpath" mean?

Hi, could anyone please clarify the meaning of class libraries on the classpath in the case of Tomcat in the following line: Actually all classes used by the web-app(unless they're part of the class libraries on the classpath) must follow the same rules as servlet classes-inside WEB-INF/classes, in a directory structure matching the pa...

How much load can a standard Jira on Tomcat installation take?

We are running Jira on a 4 way 32 bit RHEL box with 4 GB RAM with no problems so far. However we anticipate an increase in the number of users and would like to know the maximum no. of simultaneous requests that a Tomcat-Jira server can handle. (The Jira application is deployed on a standalone tomcat server that runs nothing else, so eve...

Setting default locale for Tomcat Service in Windows XP

I have installed Apache Tomcat 6 as a Service in a Windows XP computer (French) My problem is that Tomcat itself and all webapps (Sonar and Hudson) now show french messages. I want English messages of course so I went to the "Regional Settings" window in Control panel and changed everything to English (US) Tomcat however is still in Fr...

How to start Tomcat with a specific server.xml under Windows?

Hello! I want to start Tomcat 6 with special configuration sometimes, not using the "server.xml". So I created another xml file named "server_test.xml". Now I want to tell tomcat to use this configuration. How is this done? I found nearly nothing searching the web. Only that: "Use different server.xml file in Tomcat configuration: ./t...

How create HttpSession using old JSESSIONID?

How can I recreate HttpSession (with cookie, on servlet filters) using JSESSIONID from still active session, passed in request? Thanks for help. ...

Access Tomcat localhost:8080 of guest VirtualBox VM from Host OS

I an XP laptop. I am running a Ubuntu distro inside VirtualBox which is running a website in Tomcat. When inside the VM I can access the site with http://localhost:8080/ What I really need to do though is access the VM localhost from XP. http://vm-computer-name:8080/ isnt recognized. Any help is much appreciated. ...

Why Tomcat ignores META-INF/context.xml when run from netbeans?

I have following situation: I have a Maven war project in NetBeans 6.7 I added Tomcat 6.0 as a server, which I use to run this project NetBeans itself creates context.xml file in META-INF directory, I added jdbc resources there, I am sure they are correct. The name is 'jdbc/defaultDS'; I checked in the target directory, context.xml fil...

How to intall Tomcat as a daemon on OS X?

How do I install Tomcat as a daemon on OS X? It should run even when a user is not logged on. I could probably survive installing Tomcat for a single users and having it run at log in, for now. But long term I need it installed and running as a service on boot. ...

How to call this Comets application from a web page

I have implemented the two classes shown at http://tomcat.apache.org/tomcat-6.0-doc/aio.html which gives a messenger application using Tomcat's comet implementation. How do I connect this to a web interface and get something to display. I am thinking these are the basic steps (I don't know the details). I should create some tradition...

Disable access by file extension in Tomcat web.xml

Thanks to everyone in advance - How would I go about disabling access via the browser by filetype? For instance if I wanted to disable all access to .xml files how would I go about doing this? Thanks ...

Why is it not possible to install tomcat as a service on WinowsXP SP3?

When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the message from the Tomcat Setup as "Failed to install tomcat6 service check your settings and permissions".I have the permissions.The only thing I think that is different from the setup needs is the JRE version.But the tomcat-preconfigured-6.0.18.zip downloaded from cor...

set tomcat path

Hi guys I'm facing a problem in setting the path of tomcat.I useed a batch file to set the path, which is cd\ set JAVA_HOME=C:\Sun\SDK\jdk set CATALINA_HOME=c:\Tomcat5.5 set PATH=%CATALINA_HOME%\bin;%JAVA_HOME%\bin;%path% set CLASSPATH=.;%JAVA_HOME%\lib;%CATALINA_HOME%\common\lib\servlet-api.jar; cd %CATALINA_HOME%\webapps start ...

Apache Tomcat 404 Error

I downloaded Apache Tomcat 6.0.2 And created a new server in Eclipse New -> Server Select "Tomcat v6.0 Server", Next Tomcat Installation Directory -> Where I unzipped Apache Tomcat 6.0.2 Finish Then I start the server and go to http://localhost:8080/ to see if it works. And I get a 404 error. I've already googled it and tried to fin...

implement webcache as web application

looking for someone to verify whether this approach is good or not . let say i have web app A run on tomcat. By deploying one webcache web app on the same tomcat. will that minimum the likelyhood that my web app crash due to overload by web visitors? if yes, what webcache should i used to implement this technique? or should i forget ab...

Performance and information JSP compilation and runtimes (websphere, tomcat)

Does anyone have any information on the performance of JSP runtimes. I haven't found any statistics on them. For example,are there any performance or memory issues with how I use jsp includes or EL expressions, which ones should I stay away from. Does tomcat have any issues? ...

Understanding JSP errorPage attribute

Thanks to everyone in advance - So I setup a simple test to see how <%@ page errorPage="error.jsp" %> behaves. It seems to execute the said page "error.jsp" when I throw an exception, but if I test syntax errors like missing a ";", I am still getting the tomcat error page. Am I missing something or shouldnt this execute the error page o...