Re: Place .ini conf file inside the war package.

2010-12-07 Thread srd.pl
Thank's guys. I am now loading the properties file, but in order to provide changes in the file i need to restart the webservice on tomcat. I'll at the appach commons closer for that. -- View this message in context:

Step by Step Guide – Install Jakarta on Windows 20 03 and 2008 Server

2010-12-07 Thread Gabriel Pedersen
These Step by Step Guides covers the installation of Apache Tomcat Connector Jakarta on Windows 2003 and 2008 Server. In these guides Jakarta are used by Nordic Edge products to integrate with Windows IIS to enable Single Sign-On to SAML applications or other Nordic Edge products but the guides

Re: Tomcat dying on its own

2010-12-07 Thread Rainer Jung
On 06.12.2010 23:36, Guillaume Carbonneau wrote: On Mon, Dec 6, 2010 at 2:25 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/12/6 Guillaume Carbonneauguillaume.carbonn...@gmail.com: Hi everyone, My tomcat server seems to die on its own without leaving any backtrace... The last

Re: java thread open after Tomcat shutting down

2010-12-07 Thread pix_siro
I solved writing a simple script to shutting down tomacat and kill the java process: # stop tomcat su - primelife -c /usr/local/apache-tomcat-7.0.4/bin; ./shutdown.sh /dev/null 21 # give application 5 seconds to stop itself sleep 2 # if application is still running kill it anyway app_pid=$(ps

Setting listings=true on a per context basis

2010-12-07 Thread Fergus McMenemie
Beginner Question! I have a c:/tomcat/conf/catalina/localhost/vendoraDocs.xml which contains two lines:- Context docBase=D:\vendora\Docs /Context The defaultServlet as defined within c:/tomcat/conf/web.xml has listings=false which suites fine for most cases. But for vendora I need

Re: java thread open after Tomcat shutting down

2010-12-07 Thread Pid
On 12/7/10 10:13 AM, pix_siro wrote: I solved writing a simple script to shutting down tomacat and kill the java process: # stop tomcat su - primelife -c /usr/local/apache-tomcat-7.0.4/bin; ./shutdown.sh /dev/null 21 # give application 5 seconds to stop itself sleep 2 # if

Re: java thread open after Tomcat shutting down

2010-12-07 Thread pix_siro
You're right but for the moment this is not my priority. Anyway I post the lines of code in the catalina.out logfile with errors: 3-dic-2010 11.32.05 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc GRAVE: The web application [/OverEncrypt] registered the JBDC driver

configure the web.xml file to display the index.jsp page of a web application

2010-12-07 Thread pix_siro
Hi all, I'm working on Ubuntu 9.10 where I have installed Tomcat 7. I have a problem with following web.xml file: the program work fine but when I try to connect to localhost:8080/OverEncrypt I can not show any page even if I set index.jsp. The folder configuration is the following:

JMX.mbean.unregistered - Stopping Coyote

2010-12-07 Thread Christoph Kukulies
I'm trying to figure out why my apache2/tomcat5.5 combo isn't working any longer since some update I did on my debian 5.0.6 machine. I have three connetors on port 8080, 8081 and 8082 between apache2 and tomcat5.5 to serve some VirtualHosts. None of the Vhosts is working (they are all giving

Re: JMX.mbean.unregistered - Stopping Coyote

2010-12-07 Thread André Warnier
Christoph Kukulies wrote: I'm trying to figure out why my apache2/tomcat5.5 combo isn't working any longer since some update I did on my debian 5.0.6 machine. What did you update ? What kind of connector is supposed to be used between Apache httpd and Tomcat ? (mod_proxy_http, mod_proxy_ajp,

Re: java thread open after Tomcat shutting down

2010-12-07 Thread Pid
On 12/7/10 10:38 AM, pix_siro wrote: GRAVE: The web application [/OverEncrypt] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak. I think the second GRAVE error is that significant. That'll be the one. Ensure

FORM based authentication with MD5 encrypted password

2010-12-07 Thread mike lan
Hello everyone, is there a way to do FORM based authentication in tomcat but with MD5 encrypted password ? thanks

Re: JMX.mbean.unregistered - Stopping Coyote

2010-12-07 Thread Christoph Kukulies
Am 07.12.2010 12:01, schrieb André Warnier: Christoph Kukulies wrote: I'm trying to figure out why my apache2/tomcat5.5 combo isn't working any longer since some update I did on my debian 5.0.6 machine. What did you update ? It's a couple of months back and I did some apt-get

Re: Setting listings=true on a per context basis

2010-12-07 Thread Mark Thomas
On 07/12/2010 10:27, Fergus McMenemie wrote: Beginner Question! I have a c:/tomcat/conf/catalina/localhost/vendoraDocs.xml which contains two lines:- Context docBase=D:\vendora\Docs /Context The defaultServlet as defined within c:/tomcat/conf/web.xml has listings=false which suites fine for

Re: FORM based authentication with MD5 encrypted password

2010-12-07 Thread Mark Thomas
On 07/12/2010 11:14, mike lan wrote: Hello everyone, is there a way to do FORM based authentication in tomcat but with MD5 encrypted password ? Yes. Read the realm docs for details. Mark - To unsubscribe, e-mail:

Re: Tomcat dying on its own

2010-12-07 Thread Ronald Klop
Op dinsdag, 7 december 2010 09:52 schreef Rainer Jung rainer.j...@kippdata.de: On 06.12.2010 23:36, Guillaume Carbonneau wrote: On Mon, Dec 6, 2010 at 2:25 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/12/6 Guillaume Carbonneauguillaume.carbonn...@gmail.com: Hi everyone,

what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Christoph Kukulies
In seeking what screwed my installation I'm stumbling across a directory /usr/share/tomcat5.5/server /usr/share/tomcat5.5# find server server server/classes server/webapps server/webapps/host-manager server/webapps/host-manager/manager.xml server/webapps/host-manager/host-manager.xml

Re: Setting listings=true on a per context basis

2010-12-07 Thread Fergus McMenemie
Mark, Thanks for the prompt reply, After lots of surfing the next I had tried adjusting c:/tomcat/conf/catalina/localhost/vendoraDocs.xml as follows:- servlet servlet-nameVendorAlistings/servlet-name servlet-classorg.apache.catalina.servlets.DefaultServlet /servlet-class init-param

Quick question on version number

2010-12-07 Thread Norman Wills
Hi Folks, I was taking a look at a Tomcat 5.0.30 server for a client and checked out the security pages at tomcat.apache.org for updates and such. I had a quick question about the '.SVN' portion of the label Fixed in Apache Tomcat 5.5.25, 5.0.SVN on the security pages for 5.x. What is

RE: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Caldarale, Charles R
From: Christoph Kukulies [mailto:k...@kukulies.org] Subject: what ist $CATALINA_HOME/server ? (debian) In seeking what screwed my installation I'm stumbling across a directory /usr/share/tomcat5.5/server Nothing wrong with that. What is this? Some Debian specific stuff? No, it's part of

Re: Quick question on version number

2010-12-07 Thread Mark Thomas
On 07/12/2010 13:29, Norman Wills wrote: Hi Folks, I was taking a look at a Tomcat 5.0.30 server for a client and checked out the security pages at tomcat.apache.org for updates and such. I had a quick question about the '.SVN' portion of the label Fixed in Apache Tomcat 5.5.25, 5.0.SVN on the

Re: Tomcat dying on its own

2010-12-07 Thread Rainer Jung
On 07.12.2010 12:27, Ronald Klop wrote: Op dinsdag, 7 december 2010 09:52 schreef Rainer Jung rainer.j...@kippdata.de: On 06.12.2010 23:36, Guillaume Carbonneau wrote: When starting Tomcat interactively you should be aware that some shells kill all child processes when you log out (or get

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: Fergus McMenemie [mailto:fer...@twig.me.uk] Subject: Re: Setting listings=true on a per context basis After lots of surfing the next I had tried adjusting c:/tomcat/conf/catalina/localhost/vendoraDocs.xml as follows:- Sorry, you got the wrong place. The servlet settings go in your

RE: Setting listings=true on a per context basis

2010-12-07 Thread Fergus McMenemie
Thanks for the response. Other than reading the 300 page servlet spec is there a quicker way to accomplish what I want. Further, are you saying that use of catalina/localhost/vendoraDocs.xml is a tomcat only solution. How do I best standup a set of vendor supplied HTML docs and files for

Re: Step by Step Guide – Install Jakarta on Windows 2003 and 2008 Server

2010-12-07 Thread Ognjen Blagojevic
Hi Gabriel, These Step by Step Guides covers the installation of Apache Tomcat Connector Jakarta on Windows 2003 and 2008 Server. The name you chose for your product is confusing. IANAL, but I also think it is against the Apache License. Please read guidelines [1], section What is the

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: Fergus McMenemie [mailto:fer...@twig.me.uk] Subject: RE: Setting listings=true on a per context basis Other than reading the 300 page servlet spec is there a quicker way to accomplish what I want. My response told you exactly where to make the updates. Regardless, the spec is an

Re: Setting listings=true on a per context basis

2010-12-07 Thread André Warnier
Fergus McMenemie wrote: Thanks for the response. Other than reading the 300 page servlet spec is there a quicker way to accomplish what I want. Further, are you saying that use of catalina/localhost/vendoraDocs.xml is a tomcat only solution. How do I best standup a set of vendor supplied

RE: Setting listings=true on a per context basis

2010-12-07 Thread Fergus McMenemie
Charles, So the servlet declaration goes in tomcat/conf/web.xml can the rest of the stuff stay in tomcat/conf/Catalina/localhost/vendorAdocs.xml ? Thanks Fergus. On Tue, 7 Dec 2010 08:36:13 -0600, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Fergus McMenemie

Re: Setting listings=true on a per context basis

2010-12-07 Thread André Warnier
Fergus McMenemie wrote: On Tue, 07 Dec 2010 15:37:33 +0100, André Warnier a...@ice-sa.com wrote: Fergus McMenemie wrote: Thanks for the response. Other than reading the 300 page servlet spec is there a quicker way to accomplish what I want. Further, are you saying that use of

RE: Questions about installing APR

2010-12-07 Thread Aggarwal, Ajay
One more question. I was thinking of compiling it on a different machine (call it my build machine) and then copying the necessary files on to the target machines. These target machines are running the same (linux) OS as my build machine. But on my build machine I want to use

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: Fergus McMenemie [mailto:fer...@twig.me.uk] Subject: RE: Setting listings=true on a per context basis So the servlet declaration goes in tomcat/conf/web.xml No. The conf/web.xml file contains settings shared by *all* webapps. The servlet declaration for a particular webapp goes in

RE: Setting listings=true on a per context basis

2010-12-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Setting listings=true on a per context basis in which you will find a file named server.xml. Can you paste the content of that file here, after removing the comments and sensitive information such as passwords ? That would give us

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Konstantin Kolinko
2010/12/7 Caldarale, Charles R chuck.caldar...@unisys.com: What is this? Some Debian specific stuff? No, it's part of every Tomcat 5.5 distribution.  Debian may have modified it. +1. In TC 5.5 there were separate server, common and shared directories. In TC6+ all those are replaced by a

Issues on startup for tomcat 5.5 on RHEL 5.5

2010-12-07 Thread Jason Pyeron
I am not sure what happened but something changed in the last week and now tomcat does not want to start up. All my googling points to a selinux or permission problem. I have reviewed audit.log and verified that the tomcat user can write, modify and delete file in the directoy. Any suggestion

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Christoph Kukulies
Am 07.12.2010 16:15, schrieb Konstantin Kolinko: 2010/12/7 Caldarale, Charles Rchuck.caldar...@unisys.com: What is this? Some Debian specific stuff? No, it's part of every Tomcat 5.5 distribution. Debian may have modified it. +1. In TC 5.5 there were separate server, common and shared

Re: Tomcat dying on its own

2010-12-07 Thread Guillaume Carbonneau
On Tue, Dec 7, 2010 at 12:52 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 06.12.2010 23:36, Guillaume Carbonneau wrote: On Mon, Dec 6, 2010 at 2:25 PM, Konstantin Kolinko knst.koli...@gmail.com  wrote: 2010/12/6 Guillaume Carbonneauguillaume.carbonn...@gmail.com: Hi everyone, My

Re: Step by Step Guide – Install Jakarta on Windows 2003 and 2008 Server

2010-12-07 Thread Mark Thomas
On 07/12/2010 14:35, Ognjen Blagojevic wrote: Hi Gabriel, These Step by Step Guides covers the installation of Apache Tomcat Connector Jakarta on Windows 2003 and 2008 Server. The name you chose for your product is confusing. IANAL, but I also think it is against the Apache License.

Re: Questions about installing APR

2010-12-07 Thread Mark Eggers
man pkg-config From the description of pkg-config: The pkg-config program is used to retrieve information about installed libraries in the system. It is typically used to compile and link against one or more libraries. In short, you don't need to copy the .pc files over. . . . . just

class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-07 Thread frank
Hi Experts: I have read class not found in FAQ and class loader howto of tomcat6, unfortunately, they don't resolve my problem. I set CATALINA_BASE and CATALINA_HOME to my directory like: CATALINA_BASE=/usr/share/mydir CATALINA_HOME=/usr/share/mydir then link subdirs

enforcing SSL only for external clients

2010-12-07 Thread Aggarwal, Ajay
My tomcat application (running on a linux host) has 2 types of clients. Local clients coming on localhost (127.0.0.1) and external clients coming on external interfaces. I want to enforce use of SSL only for external clients. How do I do that? If I use security-constraint I am assuming it will

Re: JMX.mbean.unregistered - Stopping Coyote

2010-12-07 Thread Pid
On 12/7/10 11:22 AM, Christoph Kukulies wrote: I also wonder why this jmx stuff was there (I removed the jmx related jars from the bin and lib directory and now the listeners keep up running. Which jars did you remove? p 0x62590808.asc Description: application/pgp-keys signature.asc

Re: enforcing SSL only for external clients

2010-12-07 Thread André Warnier
Aggarwal, Ajay wrote: My tomcat application (running on a linux host) has 2 types of clients. Local clients coming on localhost (127.0.0.1) that sounds strange, unless the clients are really programs running on the same machine as the server. and external clients coming on external

Re: class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-07 Thread Mark Eggers
Out of curiosity, couldn't you use the information in RUNNING.txt under Advanced Configuration - Multiple Tomcat Instances to meet your requirements? . . . just a thought. /mde/ - Original Message From: frank fr...@cloud.com Hi Experts: I have read class not found in FAQ and

RE: enforcing SSL only for external clients

2010-12-07 Thread Aggarwal, Ajay
Yes local clients are programs running on the same machine as the server and they access my application over the localhost IP, i.e. 127.0.0.1. Whereas external clients access my application over external interface, i.e. public IP. And yes, this machine running the server is connected directly

Re: class not found in tomcat's JARs (in $CATALINA_HOME/lib)

2010-12-07 Thread Pid
On 12/7/10 5:59 PM, frank wrote: Hi Experts: I have read class not found in FAQ and class loader howto of tomcat6, unfortunately, they don't resolve my problem. I set CATALINA_BASE and CATALINA_HOME to my directory like: CATALINA_BASE=/usr/share/mydir

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Juha Laiho
On 7.12.2010 18:45, Christoph Kukulies wrote: Can be found any instructions to build your own /etc/init.d/tomcat_startup script. catalina.sh seems to have provisions for it but I don't see a hook where to put in the user (e.g. tomcat55 or tomcat6) catalina runs under. No need to have a hook

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread g f
Did you aptitude install tomcat6? If so why not modify the init.d script that came with that. If not perhaps you want to try to use the debs. apt-get install tomcat6 G On Tue, Dec 7, 2010 at 1:45 PM, Juha Laiho juha.la...@iki.fi wrote: On 7.12.2010 18:45, Christoph Kukulies wrote: Can be

Re: enforcing SSL only for external clients

2010-12-07 Thread André Warnier
Aggarwal, Ajay wrote: Yes local clients are programs running on the same machine as the server and they access my application over the localhost IP, i.e. 127.0.0.1. Whereas external clients access my application over external interface, i.e. public IP. And yes, this machine running the server

RE: enforcing SSL only for external clients

2010-12-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: enforcing SSL only for external clients You will probably need 2 separate Connectors, one for HTTP and the other for HTTPS. I think that's true. You probably need to set the useIPVHosts attribute inside your Connector tags to

RE: enforcing SSL only for external clients

2010-12-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: enforcing SSL only for external clients And, while we are at it, how about IP-based VHosts ? Are they described anywhere in the docs ? Not that I can find, other than the attribute description for the Connector elements which you

Re: Issues on startup for tomcat 5.5 on RHEL 5.5

2010-12-07 Thread Konstantin Kolinko
2010/12/7 Jason Pyeron jpye...@pdinc.us: The permissions on /usr/share/tomcat5/conf/ are 775 and owned by root.tomcat. It is a bad idea to have the configuration files world-readable. Especially tomcat-uses.xml and server.xml. java.io.IOException: IOException writing to

TOMCAT be in Hung state?

2010-12-07 Thread Karthik Nanjangude
Hi Spec a) JDK 1.6 b) 2 Web Server Tomcat 5.0.20 (on same O/s with different Startup /shutdown portsshare the same RAM / CPU Processor] c) O/s Linux Red hat [ Linux DTVMS1 2.6.18-128.1.10.el5PAE #1 SMP Wed Apr 29 14:24:53 EDT 2009 i686 i686 i386 GNU/Linux ] 1. RHEL AS 4U6 2.