tomcat6

BeanCreationException in Spring Framework .WAR deploy to Tomcat 6 on Ubuntu 9.10

I am in the process of switching from a Windows box to Ubunutu and I want to run my own local instance of Tomcat 6. I have installed Tomcat 6 without any basic issues. When I try to deploy a .war file that I had running on the Tomcat 6 instance on my Windows box I am getting the following error.... Apr 26, 2010 3:30:27 PM org.apache.c...

Apache: Tomcat "any version" .exe or .zip

Hello..., I have little bit confusion regarding apache tomcat installation. So, I would like to know that whats the difference between the .zip and the .exe tomcat ? Thanks in advance... ...

Tomcat 6 | What's the significance of antiResourceLocking & antiJARLocking?

Hi, I am working on a project where we'll be using Tomcat 6.0.20 for Development and production. I came across some issues related to hot deployment which requires one to set Context.antiResourceLocking to false in server.xml. I had some questions on antiResourceLocking and antiJARLocking. I have gone through the reference at http://to...

run tomcat server on lan

I am running a server on Windows XP SP2 computer . Lets call it computer_1. The ip address of computer is 192.168.1.2 Now I have another computer ( computer_2) on the lan with ip address 192.168.1.3 I want to access the site on computer_1 from computer_2. comupter_2 can ping computer_1 (ping 192.168.1.2 works) But when I type http://...

Why is my Tomcat 6 executor thread pool not being used by the connector?

My server.xml looks like the following: <!--The connectors can use a shared executor, you can define one or more named thread pools--> <Executor name="tomcatThreadPool" namePrefix="catalina-exec-" maxThreads="200" minSpareThreads="4"/> <Connector executor="tomcatThreadPool" port="8080" pro...

How to give a name to ip address?

Hi All, I am developing a web app using Tomcat. I want to give a name like "google" to access my site.(Domain name) How to do that? Thanks ...

Setting Dynamic proxyName in server.xml

I have a complicated set up involving an F5 Load Balancer and a server running 3 applications on tomcat 6. For reasons I won't go too deep into, I had to set up my applications like this: The Load Balancer has the certificates for the domains: appA.mydomain.com appB.mydomain.com appC.mydomain.com Between the load balancer and the appl...

Where does Tomcat append / to directory paths?

Suppose my Tomcat webapps directory looks like this: webapps/ webapps/fooapp/ webapps/fooapp/WEB-INF/ webapps/fooapp/WEB-INF/web.xml webapps/fooapp/bardir/ When I make a GET request for /fooapp/bardir, Tomcat sees that webapps/fooapp/bardir is a directory and sends back a 302 to /fooapp/bardir/ (with a slash at the end). Here is my q...

java.lang.NoClassDefFoundError: groovyx.net.http.HTTPBuilder

When I run my grails application locally under Tomcat, I get no errors. When I deploy my WAR on my remote web server, I get this exception when I try to make an AJAX request that uses HTTPBuilder. How could this be happening? ...

How to generate custom JSESSIONID, based on some hash of user's data in order to replicate session

Is it possible to override Tomcat's embedded generator of JSESSIONID, to be able to create custom values of this cookie, based on user's login? Why do I need this: I have a load balancer with "sticky sessions", configured to route requests with the same JSESSIONID to the same server, and I want to prevent situation, when same user can ...

Deploy a project in tomcat 6

I'm trying to deploy a war file onto my server which is tomcat 6 and it runs on a linux machine. My project runs if i give the url with the port number eg: http://192.168.1.8:8080/uctc but it fails to run if i run it without the port number eg ://192.168.1.8/uctc ...can anyone tell me how to run my website without the port number?? ...

Tomcat/Apache Redirect for different file extensions or web directories

Is there anyway possible to create a way for tomcat to render files out of one directory and apache to render files out of another? I have a java based CMS (Liferay) running on my ubuntu server running with Tomcat 6 and Apache 2... but I also have several PHP applications that need to be ran as well... Is there anyway to run PHP files ...

Tomcat servlet-api.jar problem

I am running a web application using Tomcat and Java Servlets, JSP's, etc. I am aware that in order to use Servlets, it is dependent on the Servlet-api.jar file. Initially I placed this jar file in the WEB-INF/lib/ directory. This has worked fine for me for months during the developmental phase. When we put the application onto the ...

Tomcat works but I cant reach http://localhost:8080/

Hi everybody, When I run tomcat from the windows tray, it starts and I cant reach http://localhost:8080/ Tomcat homepage, but if I run it from Eclipse, it works, my applications works, but I cant reach the http://localhost:8080/... how to solve it? or is it normal? Thanks! ...

Tomcat stops responding to JK requests

Hello. I have a nasty issue with load-balanced Tomcat servers that are hanging up. Any help would be greatly appreciated. The system I'm running Tomcat 6.0.26 on HotSpot Server 14.3-b01 (Java 1.6.0_17-b04) on three servers sitting behind another server that acts as load balancer. The load balancer runs Apache (2.2.8-1) + MOD_JK (1.2.25...

java logging nightmare and log4j not behaving as expected with spring + tomcat6

I have a spring application that has configured log4j (via xml) and that runs on Tomcat6 that was working fine until we add a bunch of dependencies via Maven. At some point the whole application just started logging part of what it was supposed to be declared into the log4.xml "a small rant here" Why logging has to be that hard in java ...

tomcat multithreading problem

Hi all I'm writing a java application that runs in Tomcat, on a multi-core hardware. The application executes an algorithm and returns the answer to the user. The problem is that even when I run two requests simultaneously, the tomcat process uses at most one CPU core. As far as I understand each request in Tomcat is executed in separate...

ValidatorResources not found in application

I had been told to deploy a *.war file within tomcat and this application should be working fine. But for an unknown reason all I get is: System Exception: javax.servlet.jsp.JspException: ValidatorResources not found in application scope under key "org.apache.commons.validator.VALIDATOR_RESOURCES" I know that this application has been ...

running jboss-el with tomcat 6 and jsp2.1

Hi! I need to send parameters in my EL Expression. So i put jboss-el jar. as well, I added the tag: <context-param> <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name> <param-value>org.jboss.el.ExpressionFactoryImpl</param-value> </context-param> in my web.xml of the project. But it seems to me that it stil uses...

Binding Jackrabbit Standalone server repository to Tomcat as jndi resource using http url

Is there a way to bind the Jackrabbit Standalone Server repository to Tomcat using http url? In server.xml, instead of the ClientRepositoryFactory(which is for RMI): <Resource name="jcr/globalRepository" auth="Container" type="javax.jcr.Repository" factory="org.apache.jackrabbit.rmi.client.ClientRepositor...