How to force Tomcat to serialize UserPrincipal so that the user is kept logged in when Tomcat has restarted? Right now the user has to login again everytime.
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 thread,…
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…
Hello stackoverflow community,
I'm looking for a hint how to make tomcat CI ready or an servlet container / application container which stand often redeploys like they happen when using hudson ci.
I experienced that Tomcat 6 does not properly undeploy webapps, leaving classes in jvm.
For example I monitored tomcat 6 with VisualVM:…
Hi All,
I want to implement the load balancing in tomcat 6.0 so that we can create more than one instance of a tomcat and when any of the instance is down then other instance will run our application. so that our application will never be down even when the large number of concurrent request comes.
But i have no idea to implement it.…
How do you install Tomcat 6 as a service using the Wix ServiceInstall Tag? Is there a way to do it, or do I need to use a custom action to call the executable or batch file that comes with it to install the service?
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...
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…
Hi,
What I want to do is index some documents in Solr and know how it works. I have installed Solr and Tomcat and can see Solr Admin UI at localhost:8080/ solr/ admin/
Now, I want to add some documents to the index, may I know how to proceed further? I find very less documentation on Internet regarding this.
In the tutorial…
I have tomcat 6.0.18 running on one server without a problem. With the exact same settings it fails to launch on my colleague's machine. He's even running from the same folder as me (I've stopped my copy while he tries to make it work)
All we get when we fire off tomcat using bin/startup.sh is this:
CATALINA_OPTS=-server…
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…
How to force Tomcat to serialize UserPrinciple so that the user is kept logged in when Tomcat has restarted? Right now the user has to login again everytime.
Added the following lines into web-app context.xml:
<Manager className="org.apache.catalina.session.PersistentManager">
<Store…
Hello.
I have a form that accepts image file, i want to be able to convert this image from any common format to jpg and to create a thumbnail. what's the recommended method to achieve such a thing?
Working with latest apache-tomcat on a gentoo linux server.
thanks
Hi,
I'm doing a performance study for a web application framework running on Apache Tomcat 6.
I'm trying to measure the time overhead of handling HTTP requests.
What I would like to do is:
/
// just before first request byte is read
long t1 = System.nanoTime();
// request is processed...
//…
How to force Tomcat to serialize Session so that the user is kept logged in when Tomcat has restarted? Right now the user has to login again everytime.
Added the following lines into web-app context.xml:
<Manager className="org.apache.catalina.session.PersistentManager">
<Store…
I am trying to send json data and get back json data as well. I've <annotation-driven /> configured in my servlet-context.xml and I am using Spring framework version 3.1.0.RELEASE. When I send the request the browser tells me that it is not happy with the data returned from the server and…
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…
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!
Hello,
I'm using JNDIRealm with Tomcat for authentication, which at the moment works fine. However, we do not store any roles in the LDAP, so all authenticated users are not returning any roles. This sends user's to an HTTP 401 failed authorization page.
I'd like to assign an "Admin" role…
Hi I have design/architecture question. I would like to send emails from one of my jsp pages. I have one particular issue that has been a little bit of a problem. there is an instance where one of the pages will need to send around 50 emails at near the same time. I would like the…
I'm developping a web application in Eclipse and I'm using maven, spring and tomcat.
Now the problem I have is that debug as = debug on server doesn't work.
I just get exceptions. (and yes I've created the server)
If I use the mvn command to compile it, put the war in my tomcat…
How can I set Tomcat to automatically redirect to "www"?
I want that if a user enters my domain like:
mydomain.com
he will be redirected to: www.mydomain.com
I'm trying to deploy a war file onto my server which is tomcat 6 and it run on a linux machine. My project run 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…