Hi,
I'm using Tomcat to deploy two web-services endpoints but on one WAR file (I used one WAR because the two endpoint implementations are calling one another).
How can I define different login methods to each endpoint?
I actually need two different custom realm for each endpoint...
Thanks
...
I'm trying to get my Tomcat to use pretty URLs, similar to Apache's MultiViews option. I tried using AJP to proxy Tomcat to Apache, but the .htaccess file is still ignored.
What are my options for Tomcat?
...
Hi,
How can I tell e.g. Tomcat to use a specific context path when given my WAR-File?
Example:
I have a war file created by maven build and the resulting name of the file is rather long.
So I do not want the tomcat manager application to use the filename of the war as the context.
Supplying a context.xml in META-INF did not produce th...
Hi
I start indexing DB articles with solr, but after add about 58 million article (and about 113 GB size of disk) , i get below error message on tomcat log error
Note1: i already set Init memory pool to 256MB, and Max memory pool:1400MB to tomcat server.
Note2: I can post or search article but must wait over 3 min for get response.
...
Here's the relevant portion of the tomcat startup log:
SEVERE: Context [/f360] startup failed due to previous errors
Apr 8, 2010 6:45:56 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web ap...
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
...
I am mostly following this page:
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
I used this command to create the keystore
keytool -genkey -alias tomcat -keyalg RSA -keystore /etc/tomcat6/keystore
and answered the prompts
Then i edited my server.xml file and uncommented/edited this line
<Connector port="8443" protocol="HTTP...
Hi,
We have an application running in resin.
We are sending HTTP get and post request to this application & it gives 200 ok response with some text in the response body, as expected.
But when same application deployed on tomcat6.0 ,and HTTP get and post request are made ,
the url gets excuted as expected ,but 404 not found response is...
HI,
I recently installed tomcat 6.024 on windows 2008 R2 to run a java app.The app uses quartz-1.6.5 to schedule some jobs that need to run 3 times a day. The server freezes every now and then and have to reboot the machine.
The catalina log displays the following when I shut down tomcat:
SEVERE: A web application appears to have start...
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...
// just after final byte is written to resp...
Hello all,
I am using Apache Tomcat 6.0 to deploy and run my JSP projects. But time and again one issue crops up while running the project. Sessions.ser is created which does not allow to run the project. The error message displayed on the browser is like 'Requested resource not found'.
Everytime, this .ser file needs to be deleted man...
I'm using Tomcat 6.0.24, as packaged for Ubuntu Karmic. The default security policy of Ubuntu's Tomcat package is pretty stringent, but appears straightforward. In /var/lib/tomcat6/conf/policy.d, there are a variety of files that establish default policy.
Worth noting at the start:
I've not changed the stock tomcat install at all --...
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 webapps dir and start my tomcat the application works fine...
Hi,
I have an application which runs on tomcat 6.0.20 server on linux ubuntu server.
It generates a huge amount of logs in the catalina.out folder, most of these are generated while using the application, but are not generated by the application.
Some of the logs it generates are given below,
Apr 16, 2010 2:55:24 PM org.apache.to...
I am able to deploy the application on my local system.... connecting to the same remote database... however when I deploy the same war file on the ubuntu server I get the following exception
javax.servlet.ServletException: Could not connect to wikipedia database...
org.wikipedia.miner.service.WikipediaMinerServlet.init(WikipediaMin...
Anyone knows the steps to run Apache on server A as front end and run mod_proxy_ajp to connect to tomcat instances on server B? I want to run apache on sever A to do name based vhost that connects to many tomcat servers.
I can run mod_proxy_ajp, only if apache and tomcat are on the same server.
What I've tried so far:
In server A, run...
In Tomcat 5.0.x you had the ability to set useDirtyFlag="false" to force replication of the session after every request rather than checking for set/removeAttribute calls.
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
managerClassName="org.apache.catalina.cluster.session.SimpleTcpReplicationMana...
I have a feeling this is a stupid question but I can't find the answer anywhere...
I need to deploy 2 Jira instances on asingle Tomcat server, I can't figure out how to pass in the jira.home property
The documentation says I need to:-
Add a web context property called 'jira.home' — this property is set in different files depending o...
Hi,
I am deploying an application on Tomcat 6, using a war file. I've compiled the source code given by the vendor on the same machine, then moved the war file to {tomcat-home}/webapps/
When I start up the application, I see a error message:
The SystemInformationService could not be retrieved from the container. Therefore very limit...
Hello,
I'm using IntelliJ IDEA 9.0.2 but I assume this question applies to previous versions as well. In the Run/Debug Configurations dialog there is an option called "Deploy 'Tomcat Manager' application", but I haven't been able to find any documentation for how to use it in the IntelliJ help or online. Has anyone had experience usin...