Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread André Warnier
Lev A KARATUN wrote: Andre, but if a symbolic link is deleted, its target remains unaffected. Are you sure that undeployment can damage my logs somehow? I'd have to dig through the documentation (which you can also do). But I am pretty sure that up to some version, Tomcat by default first

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
Andre, thanks for precaution, I'll check the docs. Best Regards, Karatun Lev, RBRU IT Application Support , (495) 5464 André Warnier a...@ice-sa.com 06.02.2012 12:04 Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject Re:

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
John, unfortunately, I can't neither open symlinks via my browser (404) nor see them in the file list. John Renne j...@gniffelnieuws.net wrote on 03.02.2012 18:54:37: John Renne j...@gniffelnieuws.net 03.02.2012 18:55 Please respond to Tomcat Users List users@tomcat.apache.org To

Re: tomcat 7.0.25 - tomcat7 //US//.... ++jmvOptions broken ??

2012-02-06 Thread Mark Thomas
On 06/02/2012 04:53, Caldarale, Charles R wrote: From: Dan Tran [mailto:dant...@gmail.com] Subject: Re: tomcat 7.0.25 - tomcat7 //US// ++jmvOptions broken ?? it seems procrun already fixed this issue at its end. Only in SVN, no new commons-daemon releases yet. does tomcat team has

Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread Amol Puglia
Hello Team, I have configured apache to load balanced six tomcat instances in the backend using mod_proxy_balance and mod_proxy_ajp modules. I am frequently getting service temporary unavailable message and following error in the apache error logs. [Mon Feb 06 09:07:28 2012] [error] proxy:

Re: [OT] problems with performance with IIS 7.5 and Tomcat Connector

2012-02-06 Thread Pid
On 05/02/2012 19:59, Bilal S wrote: On Thu, Feb 2, 2012 at 3:38 PM, Mark Thomas ma...@apache.org wrote: On 02/02/2012 20:19, Bilal S wrote: I am willing to learn but finding the Apache related processes singularly difficult to deal with. We are working with mailing list, in the age of

Re: Dependencies on extensions functionality

2012-02-06 Thread Pid
On 05/02/2012 15:03, Violeta Georgieva wrote: Hi, As I wrote I'm placing the extension jar in C:\apache-tomcat-7.0.25\ext. I tried the following: I specified C:\apache-tomcat-7.0.25\lib as value for catalina.ext.dirs property and now the web application is working. But then I have two

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread Pid
On 06/02/2012 08:58, Amol Puglia wrote: Hello Team, I have configured apache to load balanced six tomcat instances in the backend using mod_proxy_balance and mod_proxy_ajp modules. I am frequently getting service temporary unavailable message and following error in the apache error

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread Amol Puglia
Hello , Thanks for the response. I am using following worker and no of threads. Worker is Prefork and ThreadsPerChild 25 Below is the details for the same. Server version: Apache/2.2.16 (Unix) Server built:   Sep 27 2010 12:48:44 Server's Module Magic Number: 20051115:24 Server loaded: 

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread André Warnier
Hi. Amol Puglia wrote: Hello , Thanks for the response. I am using following worker and no of threads. Worker is Prefork and ThreadsPerChild 25 In the context of a pre-fork Apache, ThreadsPerChild has no meaning and is not used. Below is the details for the same. Server

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread Pid
On 06/02/2012 10:26, Amol Puglia wrote: Hello , Thanks for the response. I am using following worker and no of threads. Worker is Prefork and ThreadsPerChild 25 Below is the details for the same. Please post your reply below the relevant part of the previous email. In most

Re: Dependencies on extensions functionality

2012-02-06 Thread Violeta Georgieva
I was going to ask you why you were using it! So is your interest purely academic? I have existing applications that are moving to Tomcat from another application server. As dependencies on extensions is a standard mechanism for shared libraries, they use it in order to be independent from the

Re: Dependencies on extensions functionality

2012-02-06 Thread Pid
On 06/02/2012 11:08, Violeta Georgieva wrote: I was going to ask you why you were using it! So is your interest purely academic? I have existing applications that are moving to Tomcat from another application server. As dependencies on extensions is a standard mechanism for shared

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
Charles, thank for your explanation. Now everything (exept one thing) seems to work fine. The only problem left is - when I'm copypasting the default servlet block to $CATALINA_BASE/logs/WEB-INF/web.xml , the application no longer works. Without it everything works fine (but I can't disable

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread Amol Puglia
Hi, Thanks for the information. Is it advisable to use worker mpm or prefork mpm? If i use worker mpm will it resolve this issue? Please let me know what shall i do if i have to use worker mpm. kindly Let me know your inputs. From: André Warnier

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Martin Gainty
The catalina logger has exclusive access for writing but you can try RandomAccessFile with read only mode for a quick peek at the loghttp://docs.oracle.com/javase/6/docs/api/java/io/RandomAccessFile.html#RandomAccessFile(java.io.File, java.lang.String) Saludos Cordiales Martin

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Pid
On 06/02/2012 11:53, Lev A KARATUN wrote: Charles, thank for your explanation. Now everything (exept one thing) seems to work fine. The only problem left is - when I'm copypasting the default servlet block to $CATALINA_BASE/logs/WEB-INF/web.xml , the application no longer works. What

Re: Clustering and https configuration

2012-02-06 Thread Riccardo Venittelli
Hi Daniel, i've configured my apache 2.2 server in https an my tomcat nodes with ajp. Now my test web app work fine but i'm unable to find a configuration for SingleSignOn in cluster. Please help me :-) Thanks a lot. On Tue, 2012-01-31 at 09:52 -0800, Riccardo Venittelli wrote: Hy, I

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread André Warnier
Pid wrote: On 06/02/2012 11:53, Lev A KARATUN wrote: And one more question - if myapp's docBase is set to $CATALINA_BASE/logs , does it matter what is in the webapps/myapp folder? No. Wait.. If the myapp application is deployed via a context file under conf/Catalina/[hostName]/myapp.xml

Re: Clustering and https configuration

2012-02-06 Thread Daniel Mikusa
On Mon, 2012-02-06 at 05:10 -0800, Riccardo Venittelli wrote: Hi Daniel, i've configured my apache 2.2 server in https an my tomcat nodes with ajp. Now my test web app work fine Glad to see that you got this working! but i'm unable to find a configuration for SingleSignOn in cluster.

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Pid
On 06/02/2012 13:14, André Warnier wrote: Pid wrote: On 06/02/2012 11:53, Lev A KARATUN wrote: And one more question - if myapp's docBase is set to $CATALINA_BASE/logs , does it matter what is in the webapps/myapp folder? No. Wait.. If the myapp application is deployed via a context

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Caldarale, Charles R
From: Lev A KARATUN [mailto:lev.kara...@raiffeisen.ru] Subject: RE: How can I access tomcat's logs using my jsp? when I'm copypasting the default servlet block to $CATALINA_BASE/logs/WEB-INF/web.xml, the application no longer works. There's an additional step required for Tomcat 6 that's

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread André Warnier
Amol Puglia wrote: Hi, Thanks for the information. Is it advisable to use worker mpm or prefork mpm? The Apache httpd on-line documentation or support mailing list would be a better place for that question. Without guarantees, what I remember : the prefork mpm is very stable, and the

starting connectors after the tomcat startup

2012-02-06 Thread Pradeep Fernando
Hi all, I'm using embedded tomcat within my application. I configured the org.apache.catalina.startup.Tomcat class using the server.xml found in tomcat distribution. But i want to start my connectors after some requirement are met (The necessary resources being initialized). My approach was to

Re: starting connectors after the tomcat startup

2012-02-06 Thread Domenico Briganti
Hi Fernando, open HTTP/AJP il the last step that tomcat do when it starts. Why don't you put your initializzations on webapp's context initialize and wait the ready of your resource that? Regards Domenico Il giorno lun, 06/02/2012 alle 21.51 +0530, Pradeep Fernando ha scritto: Hi all,

archived mailing list activity

2012-02-06 Thread Sanjeev Sharma
Does anyone know if the messages on this mailing list are archived anywhere? I sent a question to the mailing list last night, but was not able to sign up for the mailing list from my Yahoo email account. I am signed up using my work email address, but don't know if anyone answered my

RE: archived mailing list activity

2012-02-06 Thread Caldarale, Charles R
From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com] Subject: archived mailing list activity Does anyone know if the messages on this mailing list are archived anywhere? The archives for each mailing list are documented here: http://tomcat.apache.org/lists.html - Chuck

Client Authentication--getting certificate information on the server side

2012-02-06 Thread Sanjeev Sharma
Hello, I'm trying to configure client authentication in Tomcat 7 on Windows 7. I have the following connector in the server.xml: Connector port=443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true

Re: Client Authentication--getting certificate information on the server side

2012-02-06 Thread Pid
On 06/02/2012 17:01, Sanjeev Sharma wrote: Hello, I'm trying to configure client authentication in Tomcat 7 on Windows 7. I have the following connector in the server.xml: Connector port=443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150

RE: Client Authentication--getting certificate information on the server side

2012-02-06 Thread Sanjeev Sharma
Thanks so much. I was just dumping session in psi-probe. I didn't think to look in the request. I get exactly what I need when I us request.getAttribute(org.apache.catalina.Globals.CERTIFICATES_ATTR). Thanks again! -Original Message- From: Pid [mailto:p...@pidster.com] Sent:

Re: starting connectors after the tomcat startup

2012-02-06 Thread Pradeep Fernando
Hi, Let me explain my scenario. I'm running tomcat inside an OSGi environment. There I create http.service out of tomcat. I do that in a servlet init method and set the loadOnStartup to '1' for that servlet. Now during the server startup my http.service get exposed and other bundles make use of

Re: [OT] Dependencies on extensions functionality

2012-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casper, On 2/6/12 2:27 AM, Casper Wandahl Schmidt wrote: I was just saying what others use to say whenever someone attaches something :) (eg. Pid is normally on the spot and tell people to post xml-files inline instead attaching) Fair enough. I

Re: Dependencies on extensions functionality

2012-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 2/6/12 6:48 AM, Pid wrote: On 06/02/2012 11:08, Violeta Georgieva wrote: I was going to ask you why you were using it! So is your interest purely academic? I have existing applications that are moving to Tomcat from another application

Re: Clustering and https configuration

2012-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Riccardo, On 2/6/12 8:10 AM, Riccardo Venittelli wrote: Now my test web app work fine but i'm unable to find a configuration for SingleSignOn in cluster. Are you trying to set up a Cluster to communicate over SSL? I don't believe Cluster supports

Re: Dependencies on extensions functionality

2012-02-06 Thread Violeta Georgieva
Actually as I wrote in the mail with the scenario: , when I do not specify the catalina.ext.dirs, deployment fails INFO: Deploying web application archive C:\apache-tomcat-7.0.25\webapps\test-web-app.war Feb 4, 2012 10:41:44 PM org.apache.catalina.util.ExtensionValidator

Re: Client Authentication--getting certificate information on the server side

2012-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sanjeev, On 2/6/12 12:01 PM, Sanjeev Sharma wrote: This forces client authentication when I try to access the app using a browser and when I provide a trusted certificate, I'm able get authenticated. After the authentication I was expecting to

Odd interface binding observations

2012-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, During a recent production deployment (Debian Linux), we added a localhost-only connector like this: Connector port=8187 protocol=org.apache.coyote.http11.Http11NioProtocol address=127.0.0.1 secure=true

Re: Dependencies on extensions functionality

2012-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Violeta, On 2/6/12 1:31 PM, Violeta Georgieva wrote: Actually as I wrote in the mail with the scenario: when I do not specify the catalina.ext.dirs, deployment fails INFO: Deploying web application archive

Re: Dependencies on extensions functionality

2012-02-06 Thread Violeta Georgieva
Gotcha: so, the validation works properly, but the catalina.ext.dirs doesn't actually get added to the classpath. Oops. that's correct 2012/2/6 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Violeta, On 2/6/12 1:31 PM, Violeta Georgieva

Re: Clustering and https configuration

2012-02-06 Thread Pid
On 06/02/2012 18:29, Christopher Schultz wrote: Riccardo, On 2/6/12 8:10 AM, Riccardo Venittelli wrote: Now my test web app work fine but i'm unable to find a configuration for SingleSignOn in cluster. Are you trying to set up a Cluster to communicate over SSL? I don't believe Cluster

Re: Odd interface binding observations

2012-02-06 Thread Konstantin Kolinko
2012/2/6 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, During a recent production deployment (Debian Linux), we added a localhost-only connector like this:    Connector port=8187              

Re: POST data (single character) cleared when using tomcat 6.0.33 and Character Encoding Filter

2012-02-06 Thread kitagawa
FYI: The same issue reported against 5.5.35: https://issues.apache.org/bugzilla/show_bug.cgi?id=52579 Thank you for your research. I think you are right. Though I am not sure how much this can be fixed in Tomcat now. Thank you for your responses. We were able to find the reason for the

RE: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Lev A KARATUN
Charles, I made the adjustments and it works now. Thank you! Best Regards, Karatun Lev, Caldarale, Charles R chuck.caldar...@unisys.com wrote on 06.02.2012 18:41:18: Caldarale, Charles R chuck.caldar...@unisys.com 06.02.2012 18:42 Please respond to Tomcat Users List

Re: Web app calls JMS over SSL - certificates

2012-02-06 Thread Pid *
On 6 Feb 2012, at 23:10, Peter Kleczka pklec...@gmail.com wrote: Hello I have a web app on Tomcat 6.0.24. The app needs to call a JMS app on another server over SSL. I installed the keystore/truststore files in $CatalinaHome/conf/certs and set VM arguments so that the JVM knows where to