Apache HTTP Server Redirect to Tomcat

2008-04-20 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=33186 Posted on behalf of a User Hi, I'm using an Apache HTTP server that connects to Tomcat via mod_jk. All my servlet mappings work correctly. My question is that I want my default page for the Apache http server to be a servlet rather

Re: get Tomcat perfomance using JMX

2008-04-20 Thread Leon Rosenberg
well it measures at different points, in a filter, which basically measures almost everything, in the servlet, in a service and so on. you can break down the times to the part of the aplication which is slow. contanct me offlist for details. leon On Sat, Apr 19, 2008 at 9:09 PM, ubekhet [EMAIL

How to prevent deletion of comments from tomcat-users.xml

2008-04-20 Thread Ben Stover
As far as I noticed all comments in tomcat-users.xml are striped off after Tomcat started. How do I prevent this deletion of comments (permanently)? Ben - To start a new topic, e-mail: users@tomcat.apache.org To

RE: How to prevent deletion of comments from tomcat-users.xml

2008-04-20 Thread Caldarale, Charles R
From: Ben Stover [mailto:[EMAIL PROTECTED] Subject: How to prevent deletion of comments from tomcat-users.xml As far as I noticed all comments in tomcat-users.xml are striped off after Tomcat started. How do I prevent this deletion of comments (permanently)? Other than by making the file

Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
Hi, I'm running a WebService using Tomcat 5.5 on Ubuntu 7.10 with Axis2. Files (and directories) are created by this service on a local directory: /myfiles/ The permission of the new directories and files in this directory are: Directories:'drwxr-xr-x 2 tomcat55 nogroup 4096'

Re: Share session cookie across subdomains

2008-04-20 Thread Zach Cox
That's a really good idea and could definitely be done by modifying the getCookieDomain method. I whipped that method up pretty quickly for my own purposes - and you're correct, this currently won't work with two-part TLDs like .co.uk. If I get some spare time (already used 2 days of this

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Alan Chaney
This is really a linux permissions issue. How are you starting tomcat? with the $TOMCAT_HOME/bin/startup.sh or with jsvc or are you using an ubuntu startup script? You don't say anything about the user who will run the java application. Generally, the way to control the access permissions

RE: tomcat embedded

2008-04-20 Thread Steffen Heil
Hi Sorry to ask again, but this is a common feature that I cannot find any documentation for... I think the answer is google like hell, that what we ended up doing a long while ago... Its not that no one uses it, its everywhere... like inside every application server out there. But

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
Alan, this is very useful, thank you. After a bit of Googling I decided to upgrade to Tomcat6 (apparently is has less security ussies with Ubuntu). This means that the files/dirs are now created (from the tomcat app) by 'root:root' (with the same permissions described in my first post).

New Website on Tomcat

2008-04-20 Thread Abhay Srivastava
Hello Folks,I have launched a new site on Tomcat. It is called www.FlickDiary.comSomething about the site.Flick Diary is a Movie blogging/gossiping site made with the intention to allow people discuss anything and everything about Movies. For example movie reviews, interviews, actors,

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Alan Chaney
Hi Daniel Really the issues are to do with the JVM and linux rather more than tomcat directly. I can't claim to be a linux guru but you should look at it in the following way Any application which runs on linux is 'owned' by a user. There two classifications - 'system' users and 'normal'

Using tomcat with MYSQL

2008-04-20 Thread Arkanin
Hi guys, I'm having some trouble getting MYSQL to work on a tomcat server. Here are the details: I am using MyEclipse workbench to code a JSP file. I installed MySQL 5.0 on my local machine. I then put the JDBC code to link MySQL and JDBC on my local host. I then wrote a test program to

Re: How to prevent deletion of comments from tomcat-users.xml

2008-04-20 Thread Markus Schönhaber
Ben Stover wrote: As far as I noticed all comments in tomcat-users.xml are striped off after Tomcat started. How do I prevent this deletion of comments (permanently)? In server.xml, add readonly=true to the UserDatabase Resource, for example: Resource name=UserDatabase auth=Container

Re: Permissions of File Created by Tomcat

2008-04-20 Thread Daniel J Hulme
SORTED! Thanks Alan. In the end I created a new user, and I'm running tomcat and my java app with this new user. Thanks again, you've been a great help. Daniel Alan Chaney wrote: Hi Daniel Really the issues are to do with the JVM and linux rather more than tomcat directly. I can't

Re: Using tomcat with MYSQL

2008-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arkanin, Arkanin wrote: | I'm having some trouble getting MYSQL to work on a tomcat server. Here are | the details: Note that your question is extremely light on details. | It works on my local machine just fine. As it stands, when loaded on my |