Configuring embedded tomcat using server.xml

2012-01-27 Thread Pradeep Fernando
Hi, I have embedded the tomcat server within my application. Right now i'm using the org.apache.catalina.startup.Tomcat.java class to start my server. However I would like to get more control over Engine creation, connector initialization, etc. My idea is to configure the tomcat instance by lookin

Re: hi..all..plase tell me about tomcat7.0 with JOTM

2012-01-27 Thread André Warnier
이재만 wrote: hi, all is possible tomcat7.0 with JOTM combination ? please tell me about it. if it's impossible please let me know another way.. http://www.lmgtfy.com/?q=jotm+and+tomcat ? - To unsubscribe, e-mail: users-

Re: Configuring embedded tomcat using server.xml

2012-01-27 Thread Mikolaj Rydzewski
On Fri, 27 Jan 2012 13:35:45 +0530, Pradeep Fernando wrote: I have embedded the tomcat server within my application. Right now i'm using the org.apache.catalina.startup.Tomcat.java class to start my server. However I would like to get more control over Engine creation, connector initialization

Re: Configuring embedded tomcat using server.xml

2012-01-27 Thread Pid *
On 27 Jan 2012, at 08:06, Pradeep Fernando wrote: > Hi, > > I have embedded the tomcat server within my application. Right now i'm > using the org.apache.catalina.startup.Tomcat.java class to start my server. > However I would like to get more control over Engine creation, connector > initializat

Re: Dead lock with tomcat-jdbc.jar on Tomcat 6.0.35

2012-01-27 Thread Pid *
On 27 Jan 2012, at 07:04, gnath wrote: > Hi All, > > Quick update: after i looked at the dead lock trace, it looked to me like an > issue with mysql driver jar. As i mentioned that we are using > mysql-connector-java.3.1.12-bin.jar, and i have been seeing these bugs that > are filed against so

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread Pid *
On 27 Jan 2012, at 05:32, gnath wrote: > Hello Chris, > > > After seeing the initial connection pool issue, i started searching online > for help and i found this article : > http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html > so, i thought may be tomcat's jar would

Re: Configuring embedded tomcat using server.xml

2012-01-27 Thread Pradeep Fernando
On Fri, Jan 27, 2012 at 2:29 PM, Pid * wrote: > On 27 Jan 2012, at 08:06, Pradeep Fernando wrote: > > > Hi, > > > > I have embedded the tomcat server within my application. Right now i'm > > using the org.apache.catalina.startup.Tomcat.java class to start my > server. > > However I would like to

Re: Problems after reinstall - Sorry, trying again.

2012-01-27 Thread Pid
On 26/01/2012 23:19, Caldarale, Charles R wrote: >> From: Benjamin Madore [mailto:bc...@pitt.edu] >> Subject: RE: Problems after reinstall - Sorry, trying again. > >> 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] >> "POST /eli2121/login.jsp HTTP/1.1" 302 - > > The above looks ok. > >> 136.14

Re: SSL client auth

2012-01-27 Thread Pid
Please don't 'top-post', just add your reply below the question(s) or it makes reading the thread impossible. On 27/01/2012 02:40, Harish S K wrote: > Actually, the server is IBM WAS and the client is running in Tomcat which > runs on JRE6, I assume it uses JSSE libraries from jre6. Tomcat is

Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Konstantin Preißer
Hi all, I was using Tomcat 7.0.23 with Java 1.7.0_02 on Windows Server 2008 (32-Bit). I installed it as service, by using the service.bat file with "service install" command. Let's say the installation path is "C:\Tomcat7". For Tomcat to work, I added the "JAVA_HOME" environment variable which po

Re: Problem with apache sharing tomcat files

2012-01-27 Thread Luciano Andress Martini
Oh thank you friends now i found a solution, a changed the UID of the user www-data to the same as tomcat6 and now it works fine. 2012/1/26, Luciano Andress Martini <777u...@gmail.com>: > Right. First sorry about my bad english, im from Brazil. > > We have a server running Xen Hypervisor. > > In

Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
I need to do this in tomcat6: Apache2 form: Order allow,deny deny from all Thank you friends! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Thomas Rohde
Am 27.01.2012 13:23, schrieb Luciano Andress Martini: I need to do this in tomcat6: Apache2 form: Order allow,deny deny from all Thank you friends! - To unsubscribe, e-mail: users-unsubscr

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Mark Thomas
On 27/01/2012 11:19, Konstantin Preißer wrote: > Is this change intentional? Does that mean that I must any additional > environment variable like CATALINA_BASE? It means you messed up your install. A clean install of 7.0.25 (with the installer) works fine for me. Mark -

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Where i specify the directory? 2012/1/27, Thomas Rohde : > > > Am 27.01.2012 13:23, schrieb Luciano Andress Martini: >> I need to do this in tomcat6: >> Apache2 form: >> >> Order allow,deny >> deny from all >> >> >> >> Thank you friends! >> >> ---

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread André Warnier
Luciano Andress Martini wrote: I need to do this in tomcat6: Apache2 form: Order allow,deny deny from all I think that you are again not very clear, but I will try to guess. There is no direct equivalent of the above in Tomcat, because Tomcat works on the bas

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
I really want to block a directory like /webapps/temporarios/upload_contracheque Yes is the first option but withou moving the directory outside tomcat, because im not the developer of the system, and i just put this system on the server and i really need to simple block this directory...=//

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Thomas Rohde
Am 27.01.2012 15:07, schrieb Luciano Andress Martini: I really want to block a directory like /webapps/temporarios/upload_contracheque Yes is the first option but withou moving the directory outside tomcat, because im not the developer of the system, and i just put this system on the server...

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Humm sorry friends im not trying to fight, i just really need to do that. I will try to draw what i want to happen, maybe my english is very poor. (TOMCAT SERVER) says -Yes i can access /var/lib/tomcat6/webapps/temporarios/upload_contracheque i can upload files here. (USER) says -No i cant ac

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Thomas Rohde Man thank you very much, i will try it now! =] 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: > Humm sorry friends im not trying to fight, i just really need to do that. > > I will try to draw what i want to happen, maybe my english is very poor. > > (TOMCAT SERVER) say

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Thomas Rohde: With this tomcat still can upload files? Cause it need to can =[ 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: > Thomas Rohde > Man thank you very much, i will try it now! =] > > > 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: >> Humm sorry friends im not t

Re: Dead lock with tomcat-jdbc.jar on Tomcat 6.0.35

2012-01-27 Thread gnath
We have Mysql 5.0. What version should be stable enough to not run into these issues for my Mysql version? Please let me know. Thanks -G From: Pid * To: Tomcat Users List Sent: Friday, January 27, 2012 1:02 AM Subject: Re: Dead lock with tomcat-jdbc.jar on

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread gnath
We defined our data sources in spring configuration file. We did not have any DB configuration defined on Server. Thanks -G From: Pid * To: Tomcat Users List Sent: Friday, January 27, 2012 1:03 AM Subject: Re: Tomcat 6.0.35-SocketException: Too many open fi

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Sorry where is the correct place to put this security constraint? 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: > Thomas Rohde: > > With this tomcat still can upload files? Cause it need to can =[ > > > 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: >> Thomas Rohde >> Man

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread André Warnier
Luciano Andress Martini wrote: I really want to block a directory like /webapps/temporarios/upload_contracheque Yes is the first option but withou moving the directory outside tomcat, because im not the developer of the system, then why are you messing it up ? ;-) and i just put this system

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Thomas Rohde
Am 27.01.2012 15:28, schrieb Luciano Andress Martini: Sorry where is the correct place to put this security constraint? The web.xml file is an essential part of each Tomat web application. It is located in /WEB-INF/web.xml. 2012/1/27, Luciano Andress Martini<777u...@gmail.com>: Thoma

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread André Warnier
Luciano Andress Martini wrote: Humm sorry friends im not trying to fight, i just really need to do that. I will try to draw what i want to happen, maybe my english is very poor. (TOMCAT SERVER) says -Yes i can access /var/lib/tomcat6/webapps/temporarios/upload_contracheque i can upload files

Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? 2. Do i get any advantages if i use Sync Servlet Api with Http11NioProtocol connector or do i have to use Async Servlet Api to get the advan

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread verlag.preis...@t-online.de
-Original-Nachricht- > Von: Mark Thomas > An: Tomcat Users List > Betreff: Re: Path of log files changed in Tomcat 7.0.25 when > installing as Windows Service > Datum: Fri, 27 Jan 2012 14:38:42 +0100 > > It means you messed up your install. A clean install of 7.0.25 (with > the install

HTTP pseudostreaming in tomcat

2012-01-27 Thread Jason Fowler
Hi all. New to the list. I had a quick question. First, the obligatory... Server version: Apache Tomcat/6.0.26 Server built: March 9 2010 1805 Server number: 6.0.26.0 OS Name:Linux OS Version: 2.6.18-53.1.13.el5 Architecture: amd64 JVM Version:1.6.0_20-b02 JVM Vendor: Sun

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread André Warnier
verlag.preis...@t-online.de wrote: -Original-Nachricht- Von: Mark Thomas An: Tomcat Users List Betreff: Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service Datum: Fri, 27 Jan 2012 14:38:42 +0100 It means you messed up your install. A clean install of 7.

Re: HTTP pseudostreaming in tomcat

2012-01-27 Thread André Warnier
Jason Fowler wrote: Hi all. New to the list. I had a quick question. First, the obligatory... Server version: Apache Tomcat/6.0.26 Server built: March 9 2010 1805 Server number: 6.0.26.0 OS Name:Linux OS Version: 2.6.18-53.1.13.el5 Architecture: amd64 JVM Version:1.6.0_20-b0

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Monika Solanki
On Thu, Jan 26, 2012 at 2:45 PM, Pid wrote: > On 26/01/2012 08:50, Monika Solanki wrote: > > On Thu, Jan 26, 2012 at 8:34 AM, Pid wrote: > > > >> On 26/01/2012 04:56, Monika Solanki wrote: > >>> I am using tomcat 7.x. I would like to redirect requests to a site on > >>> apache, port 80 to one of

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Pid
On 27/01/2012 14:41, André Warnier wrote: > Luciano Andress Martini wrote: >> Humm sorry friends im not trying to fight, i just really need to do that. >> >> I will try to draw what i want to happen, maybe my english is very poor. >> >> (TOMCAT SERVER) says >> -Yes i can access >> /var/lib/tomcat

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread Pid
This is top-posting, for anyone who's watching & doesn't know. p On 27/01/2012 14:26, gnath wrote: > We defined our data sources in spring configuration file. We did not have any > DB configuration defined on Server. > > > From: Pid * > To: Tomcat Users List

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Thank you friends and sorry for all this thing. Now i think i have a solution... Remember this application is running an apache tunneling the connections to the tomcat virtual servers? So, i blocked the directories in apache2 when it tunnels to tomcat ... and worked. Thank you very much for the

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Pid and Andre, i will talk with the developer about this, solved or not, can generate new problems, as you said, the files will be deleted, so i will talk with him. 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: > Thank you friends and sorry for all this thing. > > Now i think i have a

Re: Dead lock with tomcat-jdbc.jar on Tomcat 6.0.35

2012-01-27 Thread Pid
On 27/01/2012 14:25, gnath wrote: > We have Mysql 5.0. > What version should be stable enough to not run into these issues for my > Mysql version? Please let me know. A version compatible with 5.0 probably so as documented on the MySQL site - I remember using a v5 version of that driver, I think.

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 14:53, bxqdev wrote: > Hello, Developers! > > 1. What are the premises to use either > apache.coyote.http11.Http11NioProtocol or > org.apache.coyote.http11.Http11NioProtocol connectors? Eh? Is that what you really mean? > 2. Do i get any advantages if i use Sync Servlet Api with

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Mark Thomas
On 27/01/2012 14:53, bxqdev wrote: > Hello, Developers! > > 1. What are the premises to use either > apache.coyote.http11.Http11NioProtocol or > org.apache.coyote.http11.Http11NioProtocol connectors? There is no such protocol as "apache.coyote.http11.Http11NioProtocol" so if you try using it, tha

Java.lang.out.of.memory not clearly....

2012-01-27 Thread Luciano Andress Martini
I need to know if the error is from my part (server administrator), from the developer or from the hardware/vms. Some times that occurs when processing two milion of registry (i am talking from expressocard a company of credit cards). Its a rarely error because this processing occurs rarely. in f

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
If you want to tunnel a connection to one apache to an internal tomcat server you can with that: Open a config file from a site like /etc/apache2/sites-available/000-default and put this: ProxyPass /est http://192.168.3.38:8080/est ProxyPassReverse /est http://192.168.3.38:8080/est =] This is v

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
For facility your understaing, you can do exactly that: Apache Front: http://data.example.com Edit the configuration of the VirtualHost for this domain, example: /etc/apache2/sites-enable/000-default #ServerName data.example.com ProxyRequests Off ProxyPreserveHost On RewriteEngine On ProxyPass

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread André Warnier
Monika Solanki wrote: ... When tomcat sends back the response, the page looks for the transformation file, http://data.example.com/transformation/test.xsl and of course cannot find it. Monika, tell us *exactly* how the link to the XSL file is, in the html page that the browser receives. Ope

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Monika Solanki
Hi Andre, The link to the xsl file in the page is On Fri, Jan 27, 2012 at 4:43 PM, André Warnier wrote: > Monika Solanki wrote: > ... > > >> When tomcat sends back the response, the page looks for the transformation >> file, >> http://data.example.com/**transformation/test.xsl

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread André Warnier
Luciano Andress Martini wrote: For facility your understaing, you can do exactly that: Apache Front: http://data.example.com Edit the configuration of the VirtualHost for this domain, example: /etc/apache2/sites-enable/000-default #ServerName data.example.com ProxyRequests Off ProxyPreserveHo

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
ummm im really sorry =[ 2012/1/27, André Warnier : > Luciano Andress Martini wrote: >> For facility your understaing, you can do exactly that: >> >> Apache Front: >> http://data.example.com >> >> Edit the configuration of the VirtualHost for this domain, example: >> >> /etc/apache2/sites-enable/0

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread André Warnier
Luciano Andress Martini wrote: Pid and Andre, i will talk with the developer about this, solved or not, can generate new problems, as you said, the files will be deleted, so i will talk with him. Luciano, This application appears to be related to finance. To me that suggests that you should w

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
Yes.. in fact you can't access this servers from internet directly, you be-passed in an apache2 server, that encrypt and tunnel the connections. 2012/1/27, André Warnier : > Luciano Andress Martini wrote: >> Pid and Andre, >> i will talk with the developer about this, solved or not, can generate

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Luciano Andress Martini
This is how i designed the services. Router -> Firewall -> Apache2 Tunnel (with iptables rules) -> Apache Tomcat6 Server The developers do not have a lot of experience with tomcat. But they are good. 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: > Yes.. in fact you can't access this s

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread André Warnier
Monika Solanki wrote: Hi Andre, The link to the xsl file in the page is Ok, so what you say below is not correct. The browser is looking for "http://data.example.com/myapp/transformation/test.xsl";. And the server at "http://data.example.com"; only proxies to Tomcat, the URLs which start

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
On 27/01/2012 16:29, Luciano Andress Martini wrote: > I need to know if the error is from my part (server administrator), > from the developer or from the hardware/vms. Some times that occurs > when processing two milion of registry (i am talking from expressocard > a company of credit cards). > >

Re: HTTP pseudostreaming in tomcat

2012-01-27 Thread Pid
On 27/01/2012 15:21, André Warnier wrote: > Jason Fowler wrote: >> Hi all. New to the list. I had a quick question. >> >> First, the obligatory... >> Server version: Apache Tomcat/6.0.26 >> Server built: March 9 2010 1805 >> Server number: 6.0.26.0 >> OS Name:Linux >> OS Version: 2.6

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Luciano Andress Martini
its 64 bits? How can i increase the object heap? 2012/1/27, Pid : > On 27/01/2012 16:29, Luciano Andress Martini wrote: >> I need to know if the error is from my part (server administrator), >> from the developer or from the hardware/vms. Some times that occurs >> when processing two milion of r

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Luciano Andress Martini
-Xmx512m -Xmx1024 ? 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: > its 64 bits? How can i increase the object heap? > > > > 2012/1/27, Pid : >> On 27/01/2012 16:29, Luciano Andress Martini wrote: >>> I need to know if the error is from my part (server administrator), >>> from the devel

Catching Exception "in Application"

2012-01-27 Thread Jonathan Rosenberg
Vital stats: Apache Tomcat/7.0.221.6.0_20-b20Sun Microsystems Inc. Linux 2.6.34.7-56.40.amzn1.i686 I have a CAS server deployed on this instance. I am trying to catch errors within the server (e.g., DB down) so I can display friendly page to user & log error. In the web.xml fo

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
On 27/01/2012 17:54, Luciano Andress Martini wrote: > -Xmx512m -Xmx1024 ? Please post your replies below the questions I asked. Someone reading this thread would see the first bit of this message and wonder what it referred to. p > 2012/1/27, Luciano Andress Martini <777u...@gmail.com>: >> its

Not able to send reply for the post

2012-01-27 Thread gnath
Hi all, Im not able to reply to some of my posts. I have been getting this failure notice saying: : Remote host said: 552 spam score (7.4) exceeded threshold (FREEMAIL_FORGED_REPLYTO,FU_COMMON_SUBS2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS ) [BODY] Is there any workaround or solution for th

Re: Catching Exception "in Application"

2012-01-27 Thread Pid
On 27/01/2012 18:00, Jonathan Rosenberg wrote: > Vital stats: > > Apache Tomcat/7.0.22 1.6.0_20-b20Sun Microsystems Inc. Linux > 2.6.34.7-56.40.amzn1.i686 > > I have a CAS server deployed on this instance. > > I am trying to catch errors within the server (e.g., DB down) so I can >

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Mark H. Wood
On Fri, Jan 27, 2012 at 01:34:30PM +0100, Thomas Rohde wrote: > Am 27.01.2012 13:23, schrieb Luciano Andress Martini: > > I need to do this in tomcat6: > > Apache2 form: > > > > Order allow,deny > > deny from all > > > You need to define a Remote Adress Filter fo

Re: Catching Exception "in Application"

2012-01-27 Thread Jonathan Rosenberg
That is in the original CAS server web.xml. I left it untouched. -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ On Fri, Jan 27, 2012 at 1:35 PM, Pid wrote: > On 27/01/2012 18:00, Jonathan Rosenberg wrote: >> Vital stats: >> >> Apac

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Luciano Andress Martini
i dont know how to increase the heap space is using the parameter -Xmx? 2012/1/27, Pid : > On 27/01/2012 17:54, Luciano Andress Martini wrote: >> -Xmx512m -Xmx1024 ? > > Please post your replies below the questions I asked. > > Someone reading this thread would see the first bit of this message a

Re: Catching Exception "in Application"

2012-01-27 Thread Pid
On 27/01/2012 18:38, Jonathan Rosenberg wrote: > That is in the original CAS server web.xml. I left it untouched. For the rest of the day, as an experiment I will bottom-post to any thread containing a reply via top-post. > On Fri, Jan 27, 2012 at 1:35 PM, Pid wrote: >> On 27/01/2012 18:00, Jo

RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Caldarale, Charles R
> From: verlag.preis...@t-online.de [mailto:verlag.preis...@t-online.de] > Subject: Re: Path of log files changed in Tomcat 7.0.25 when installing as > Windows Service > So it seems the Tomcat logs are stored in > "C:\tomcat7\bin\${catalina.base}\logs\", whereas the Daemon > logs are stored in

Re: Catching Exception "in Application"

2012-01-27 Thread Jonathan Rosenberg
On Fri, Jan 27, 2012 at 1:45 PM, Pid wrote: > On 27/01/2012 18:38, Jonathan Rosenberg wrote: >> That is in the original CAS server web.xml.  I left it untouched. > > For the rest of the day, as an experiment I will bottom-post to any > thread containing a reply via top-post. > > >> On Fri, Jan 27,

Re: Not able to send reply for the post

2012-01-27 Thread Mark Thomas
On 27/01/2012 18:34, gnath wrote: > Hi all, > > > Im not able to reply to some of my posts. I have been getting this failure > notice saying: > : > Remote > host said: 552 spam score (7.4) exceeded threshold > (FREEMAIL_FORGED_REPLYTO,FU_COMMON_SUBS2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS >

Re: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Mark Thomas
On 27/01/2012 18:49, Caldarale, Charles R wrote: >> From: verlag.preis...@t-online.de >> [mailto:verlag.preis...@t-online.de] Subject: Re: Path of log files >> changed in Tomcat 7.0.25 when installing as Windows Service > >> So it seems the Tomcat logs are stored in >> "C:\tomcat7\bin\${catalina.

TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread David Rees
I've been working on upgrading some Tomcat 5.5 servers to Tomcat 7 since 5.5 will be EOL soon. One thing I noticed on one of my first upgrades is that TC7 can often take a long time to start up due to slow initialization of the SessionIdGenerator - it can take up to nearly 2 minutes! It appears t

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
On 27/01/2012 18:39, Luciano Andress Martini wrote: > i dont know how to increase the heap space is using the parameter -Xmx? > > > 2012/1/27, Pid : >> On 27/01/2012 17:54, Luciano Andress Martini wrote: >>> -Xmx512m -Xmx1024 ? >> >> Please post your replies below the questions I asked. >> >> Som

Re: Catching Exception "in Application"

2012-01-27 Thread Pid
On 27/01/2012 18:53, Jonathan Rosenberg wrote: > On Fri, Jan 27, 2012 at 1:45 PM, Pid wrote: >> On 27/01/2012 18:38, Jonathan Rosenberg wrote: >>> That is in the original CAS server web.xml. I left it untouched. >> >> For the rest of the day, as an experiment I will bottom-post to any >> thread c

RE: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Caldarale, Charles R
> From: David Rees [mailto:dree...@gmail.com] > Subject: TC7 very slow SessionIdGenerator SecureRandom initialization > Google turns up lots of hits which suggest using > -Djava.security.egd=file:/dev/./urandom to work around the issue - but > I'd rather not give up security for start up speed.

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread André Warnier
Exactly. (this is responding to Pid) Pid wrote: On 27/01/2012 17:54, Luciano Andress Martini wrote: -Xmx512m -Xmx1024 ? Please post your replies below the questions I asked. Someone reading this thread would see the first bit of this message and wonder what it referred to. p 2012/1/27, L

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Pid
On 27/01/2012 20:23, David Rees wrote: > I've been working on upgrading some Tomcat 5.5 servers to Tomcat 7 > since 5.5 will be EOL soon. > > One thing I noticed on one of my first upgrades is that TC7 can often > take a long time to start up due to slow initialization of the > SessionIdGenerator

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
On 27/01/2012 20:51, André Warnier wrote: > Exactly. > (this is responding to Pid) > > Pid wrote: >> On 27/01/2012 17:54, Luciano Andress Martini wrote: >>> -Xmx512m -Xmx1024 ? >> >> Please post your replies below the questions I asked. >> >> Someone reading this thread would see the first bit of

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/27/2012 8:29 PM, Mark Thomas wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? There is no such protocol as "apache.coyote.http11.Http11Nio

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? Eh? Is that what you really mean? i mean what are the reasons to

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Mark Thomas
On 27/01/2012 21:03, bxqdev wrote: > > > On 1/27/2012 8:29 PM, Mark Thomas wrote: >> On 27/01/2012 14:53, bxqdev wrote: >>> Hello, Developers! >>> >>> 1. What are the premises to use either >>> apache.coyote.http11.Http11NioProtocol or >>> org.apache.coyote.http11.Http11NioProtocol connectors? >>

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 21:06, bxqdev wrote: > > > On 1/27/2012 8:27 PM, Pid wrote: >> On 27/01/2012 14:53, bxqdev wrote: >>> Hello, Developers! >>> >>> 1. What are the premises to use either >>> apache.coyote.http11.Http11NioProtocol or >>> org.apache.coyote.http11.Http11NioProtocol connectors? >> >> Eh?

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 1:14 AM, Mark Thomas wrote: On 27/01/2012 21:03, bxqdev wrote: On 1/27/2012 8:29 PM, Mark Thomas wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioPro

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Mark Thomas
On 27/01/2012 21:31, bxqdev wrote: > > On 1/28/2012 1:14 AM, Mark Thomas wrote: >> On 27/01/2012 21:03, bxqdev wrote: >>> >>> >>> On 1/27/2012 8:29 PM, Mark Thomas wrote: On 27/01/2012 14:53, bxqdev wrote: > Hello, Developers! > > 1. What are the premises to use either > apach

Re: upgrading tomcat when installed via apt-get

2012-01-27 Thread Mark Thomas
On 27/01/2012 21:41, S Ahmed wrote: > If I need to upgrade an existing live application that is running off a > tomcat install that was installed via apt-get (ubuntu), how would I go > about updating tomcat? Don't know. That would be a question for an Ubuntu support forum. > I would have to under

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 1:53 AM, Mark Thomas wrote: On 27/01/2012 21:31, bxqdev wrote: On 1/28/2012 1:14 AM, Mark Thomas wrote: On 27/01/2012 21:03, bxqdev wrote: On 1/27/2012 8:29 PM, Mark Thomas wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Mark Thomas
On 27/01/2012 22:22, bxqdev wrote: > ok, so what about this case: > http nio connector + async servlet > i would say that in this variant there're 2 points of asynchronism - > both connector and servlet code are async. > is there a case when i would need such a combination? Where someone might ne

Re: upgrading tomcat when installed via apt-get

2012-01-27 Thread S Ahmed
But before do that, you would have to know if the tomcat config file has changed format wise correct? e.g. if the server.xml file was updated (I'm sure it is rare but still) Can you please outline exactly what you do to upgrade tomcat? thanks much appreciated! On Fri, Jan 27, 2012 at 4:55 PM,

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 21:35, bxqdev wrote: > > > On 1/28/2012 1:16 AM, Pid wrote: >> On 27/01/2012 21:06, bxqdev wrote: >>> >>> >>> On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: > Hello, Developers! > > 1. What are the premises to use either > apache.coyote.http

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 2:28 AM, Mark Thomas wrote: On 27/01/2012 22:22, bxqdev wrote: ok, so what about this case: http nio connector + async servlet i would say that in this variant there're 2 points of asynchronism - both connector and servlet code are async. is there a case when i would need such a

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Mark Thomas
On 27/01/2012 22:41, bxqdev wrote: > > > On 1/28/2012 2:28 AM, Mark Thomas wrote: >> On 27/01/2012 22:22, bxqdev wrote: >>> ok, so what about this case: >>> http nio connector + async servlet >>> i would say that in this variant there're 2 points of asynchronism - >>> both connector and servlet

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Ht

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread David Rees
On Fri, Jan 27, 2012 at 12:58 PM, Pid wrote: > On 27/01/2012 20:23, David Rees wrote: >> Google turns up lots of hits which suggest using >> -Djava.security.egd=file:/dev/./urandom to work around the issue - but >> I'd rather not give up security for start up speed. >> >> It seems that something o

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 2:49 AM, Mark Thomas wrote: On 27/01/2012 22:41, bxqdev wrote: On 1/28/2012 2:28 AM, Mark Thomas wrote: On 27/01/2012 22:22, bxqdev wrote: ok, so what about this case: http nio connector + async servlet i would say that in this variant there're 2 points of asynchronism - both

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 22:51, bxqdev wrote: > > > On 1/28/2012 2:39 AM, Pid wrote: >> On 27/01/2012 21:35, bxqdev wrote: >>> >>> >>> On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: > > > On 1/27/2012 8:27 PM, Pid wrote: >> On 27/01/2012 14:53, bxqdev wrote: >>>

RE: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Caldarale, Charles R
> From: David Rees [mailto:dree...@gmail.com] > Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization > Hmm, yes, the systems I've checked running Java 1.7.0_02 list > /dev/urandom as the securerandom.source. Unfortunately, there's a misguided part of the JRE that insists it'

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 3:16 AM, Pid wrote: On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Dev

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Pid
On 27/01/2012 23:00, David Rees wrote: > On Fri, Jan 27, 2012 at 12:58 PM, Pid wrote: >> On 27/01/2012 20:23, David Rees wrote: >>> Google turns up lots of hits which suggest using >>> -Djava.security.egd=file:/dev/./urandom to work around the issue - but >>> I'd rather not give up security for st

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Pid
On 27/01/2012 23:25, Caldarale, Charles R wrote: >> From: David Rees [mailto:dree...@gmail.com] >> Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization > >> Hmm, yes, the systems I've checked running Java 1.7.0_02 list >> /dev/urandom as the securerandom.source. > > Unfortun

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 23:35, bxqdev wrote: > > > On 1/28/2012 3:16 AM, Pid wrote: >> On 27/01/2012 22:51, bxqdev wrote: >>> >>> >>> On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: > > > On 1/28/2012 1:16 AM, Pid wrote: >> On 27/01/2012 21:06, bxqdev wrote: >>>

RE: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization > > that's why the setting of /dev/./urandom is important, even > > though it would seem to be equivalent. > So editing the file fixes this, or just using the system property? Good

Re: Catching Exception "in Application"

2012-01-27 Thread Terence M. Bandoian
On 1:59 PM, Pid wrote: On 27/01/2012 18:53, Jonathan Rosenberg wrote: On Fri, Jan 27, 2012 at 1:45 PM, Pid wrote: On 27/01/2012 18:38, Jonathan Rosenberg wrote: That is in the original CAS server web.xml. I left it untouched. For the rest of the day, as an experiment I will bottom-post to

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread bxqdev
On 1/28/2012 3:41 AM, Pid wrote: On 27/01/2012 23:35, bxqdev wrote: On 1/28/2012 3:16 AM, Pid wrote: On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/

  1   2   >