Re: Tomcat None Page Pool creeps up until OS crashes

2011-11-29 Thread Pid
On 29/11/2011 09:32, Doron Tsur wrote: > On Tue, Nov 29, 2011 at 9:52 AM, Pid * wrote: > >> On 28 Nov 2011, at 18:09, Doron Tsur wrote: >> >>> Hi All >>> >>> I've been having an issue in one of our production servers. The Non Paged >>>

Re: Tomcat None Page Pool creeps up until OS crashes

2011-11-29 Thread Pid
On 29/11/2011 09:32, Doron Tsur wrote: > Issue is Non Paged pool of tomcat increases until the OS crashes Please post replies below the question so people can follow the conversation. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: increase in file descriptor use from Tomcat 7.0.21 to 7.0.23

2011-11-29 Thread Pid *
file descriptors open. > These numbers are what I get from running this shell command: ls -l > /proc/[pid]/fd | wc -l > > All of the servers are getting about the same amount of traffic. The > only difference is the Tomcat version. > > Can anyone explain why Tomcat 7.0.23 would ha

Re: Tomcat None Page Pool creeps up until OS crashes

2011-11-28 Thread Pid *
On 28 Nov 2011, at 18:09, Doron Tsur wrote: > Hi All > > I've been having an issue in one of our production servers. The Non Paged > Pool creeps up slowly until the system hangs and than crash. > > Tomcat: 6.0.16 So the latest release is 6.0.33. Yours is over 3 years old. > Java: 1.5.16 Java 5

Re: Tomcat 5.5 crashes after changing server IP

2011-11-26 Thread Pid
On 26/11/2011 15:19, Christopher Schultz wrote: > Sirwiz, > > On 11/25/11 10:16 PM, sir...@8host.pl wrote: >> 2011-11-26 00:42:34 org.apache.catalina.core.AprLifecycleListener >> init INFO: The APR based Apache Tomcat Native library which allows >> optimal performance in production environments wa

Re: How to get the tomcat internal log out?

2011-11-26 Thread Pid
On 26/11/2011 05:31, MiB wrote: > > 25 nov 2011 14.37 Christopher Schultz wrote: > >>> >> >> +1 >> >> Any webapp that runs on 5.5 that doesn't run on Tomcat 7 represents >> either a regression in Tomcat or a webapp that has been tied-into >> Tomcat's internal classes (which it shouldn't have been

Re: Tomcat user roles

2011-11-25 Thread Pid *
On 25 Nov 2011, at 04:43, Bill Wang wrote: > Hi Mark, > > Thanks, with your help, I find out this link: > http://onjava.com/onjava/2001/07/24/tomcat.html, 2001! :) p > seems you need me setup > MemoryRealm, then setup security constraint > in webapps/manager/WEB-INF/web.xml > > There is a

Re: How to get the tomcat internal log out?

2011-11-25 Thread Pid *
On 25 Nov 2011, at 03:15, "飞翔鸟" wrote: > Hello : > >Why tomcat 7? Are there some features which can make classes updated > without restart tomcat? > > > Thanks . Please post your replies below the question. 5.5 is very old and will soon stop being supported. The latest release is 7.0, n

Re: Single war file - multiple hosts - can't get log4j to log to different files

2011-11-23 Thread Pid
On 22/11/2011 22:35, Christopher Schultz wrote: > Chris, > > On 11/22/11 2:28 PM, chris derham wrote: >> Java running on windows 2008 r2 against tomcat 7.0.19 java version >> "1.6.0_24" > > Thanks! > >> I have a single war file, and would like to host multiple demo >> sites of our app. So ideall

Re: Single war file - multiple hosts - can't get log4j to log to different files

2011-11-23 Thread Pid
On 23/11/2011 13:06, chris derham wrote: > I just wanted to see everything > in a single place - from what I have read this can't be done Correct. It could be done, but the apps would need to look outside of their local host. p -- [key:62590808] signature.asc Description: OpenPGP digita

Re: Query related to detection of the Source IP Address in Load-balancing mode

2011-11-23 Thread Pid
On 23/11/2011 06:37, Faseela K wrote: > > Hi, > > I have applications running on two tomcat servers which are in load balancing > mode. OK so far. > If I try to access the application from the first server,and if the request > is forwarded to the second server, > the request.getRemoteAddr() o

Re: Adding an additional static resource directory to a webapp via API

2011-11-23 Thread Pid
On 23/11/2011 18:06, Benson Margulies wrote: > I'm launching Tomcat 7 via the API. > > One of the uses of this is that I can launch from Eclipse and > 'live-edit' my static files, without tangling myself up in the Eclipse > JEE facilities, which I have never succeeded in using very well. > > Now,

Re: tomcat http connector

2011-11-22 Thread Pid
On 22/11/2011 20:08, André Warnier wrote: > Pid wrote: >> On 22/11/2011 16:21, Caldarale, Charles R wrote: >>>> From: Shanti Suresh [mailto:sha...@umich.edu] Subject: Re: tomcat >>>> http connector >>>> Tomcat's built-in HTTP connector can be used

Re: Single war file - multiple hosts - can't get log4j to log to different files

2011-11-22 Thread Pid
On 22/11/2011 19:28, chris derham wrote: >unpackWARs="false" autoDeploy="false"> The appBase I find a little concerning... You don't have any apps directly place in webapps do you? p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: tomcat http connector

2011-11-22 Thread Pid
ior to Tomcat. > > Another incorrect statement; with Tomcat's APR connector, the I/O is > identical - since it's all the same code. Regardless, as Pid pointed out, > overall performance is rarely limited by the connector; the application > architecture is the critical factor

Re: tomcat http connector

2011-11-22 Thread Pid *
On 22 Nov 2011, at 07:53, "Jan Vávra" wrote: > Hello, > I use ajp, because on tomcat I make authentication based on client > certificate. That you cannot do via http connector. Oh dear. Of course it can. CLIENT_CERT auth is part of the Servlet spec. p > Jan. >> Hi, >> >> Is there any docum

Re: tomcat http connector

2011-11-21 Thread Pid *
On 22 Nov 2011, at 07:15, Asha K S wrote: > Is there any performance comparison document available already between http > and AJP Please don't top-post. Post your questions below the answers so it's possible to read the conversation without jumping up and down the page. The AJP and HTTP connec

Re: Tomcat dependency setup

2011-11-21 Thread Pid *
On 21 Nov 2011, at 22:09, John Hinnegan wrote: Hi, I'm looking for a resource for how to set dependencies on tomcat. I'm using SBT and looking to replace Jetty with Tomcat in the test/build phase. (SBT is a build tool written in Scala - I had to look it up) http://catb.org/~esr/faqs/*smart*

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 21:25, Martin O'Shea wrote: Well, I hope I’m reading VisualVM correctly, because when I run the JMeter test first time around, I see 40 ‘connector’ threads created in VisualVM, all of which run for so long and then return to a wait state. I always forget to tell people to get

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 20:09, Martin O'Shea wrote: > Are you able to provide any more information about what I am actually > looking for in VisualVM? Depends how you defined the Db. Did you define a global Resource in server.xml? Or perhaps in conf/context.xml? p > -

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 16:25, Martin O'Shea wrote: > Thanks Terence. > > Yes, I have been. Increasing the number of connections in MySQL, the > max_connections parameter, seems to have helped somewhat. If you are leaking connections it will just delay the problem, even make it worse. Connect Visual

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 16:11, "Terence M. Bandoian" wrote: > > On 1:59 PM, Martin O'Shea wrote: >> Caused by: >> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data >> source rejected establishment of connection, message from server: "Too many >> connections" > > I'd check int

Re: where to put static files?

2011-11-21 Thread Pid *
On 21 Nov 2011, at 18:52, "André Warnier" wrote: > Hi. > > What we are trying to say is this : > > The WEB-INF and META-INF sub-directories of a Tomcat webapp, are supposed to > contain files > that should NOT be accessed by the users. For example, in the WEB-INF and > META-INF > subdirectorie

Re: Tomcat recycling

2011-11-21 Thread Pid *
On 21 Nov 2011, at 13:24, "Jan Vávra" wrote: > >>> Hello, >>> is there any way how to tell tomcat: Recycle after X minutes OR Y requests >>> like it is eg. on the IIS server? >> IIS can reboot itself after N requests? >> That's awesome. What could possibly go wrong? > > Yes, IIS can do recycling

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-21 Thread Pid *
On 21 Nov 2011, at 02:44, Eric Kemp wrote: > Below is my entire server.xml (minus commented lines) > > > > > className="org.apache.catalina.core.AprLifecycleListener" > SSLEngine="on" /> > > className="org.apache.catalina.core.JasperListener" /> > > className="org.apache.catalina.core.JreMem

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 09:28, "app...@dsl.pipex.com" wrote: > Hello > > I don't think this is a Tomcat issue but I thought I would post here just in > case. > > I have a Java, JSP and MySQL application running under Apache Tomcat 6.0.26 > which I've been testing with JMeter. > What I find is that f

Re: where to put static files?

2011-11-21 Thread Pid *
On 21 Nov 2011, at 03:15, S Ahmed wrote: > I have a spring project (web app), in my project where should I be putting > my static files like images/css/javascript? > > In my WEB-INF like: > > /WEB-INF/Assets {images/css/js} You can't serve files directly from WEB-INF. > I know when I go in prod

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Pid *
On 20 Nov 2011, at 12:49, Igor Cicimov wrote: > Isnt 8005 shutdown port for tomcat? I can see sshd bound to that port > already. I think that's the line above... There is a java process holding 8005 > On Nov 20, 2011 6:33 PM, "Konstantin Kolinko" > wrote: > >> 2011/11/19 Eric Kemp : >>> Summa

Re: APR SSL error: "Socket bind failed: [98] Address already in use"

2011-11-20 Thread Pid *
VM 1.7.0_01-b08 > > // > // Prior to configuring SSL, and after starting Tomcat I run "netstat > -tulpn" and see that port 8443 is not used: > // > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address > State

Re: Tomcat recycling

2011-11-18 Thread Pid *
On 18 Nov 2011, at 15:36, "Jan Vávra" wrote: > Hello, > is there any way how to tell tomcat: Recycle after X minutes OR Y requests > like it is eg. on the IIS server? IIS can reboot itself after N requests? That's awesome. What could possibly go wrong? I might file an enhancement request for T

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Pid *
On 18 Nov 2011, at 08:34, Adrian Zara wrote: > Hi Miki, > > Noted with thanks! I'll replace my JVM with a better one. As for the > JAVA_OPTS variable, I am planning to revert it back to its original value > of 512 and retain it there as I am not confident of removing it from the > catalina.sh. A

Re: CLOSE_WAIT Connection Issue

2011-11-18 Thread Pid *
CLOSE_WAIT 10761/java > tcp 294 0 10.168.43.69:8080 115.113.7.178:5039 > CLOSE_WAIT 10761/java > tcp1 0 10.168.43.69:8080 115.113.7.178:4783 > CLOSE_WAIT 10761/java > tcp 294 0 10.168.43.69:8080 115.113.7.178:4271 >

Re: mod_jk connection pool configuration

2011-11-18 Thread Pid *
On 17 Nov 2011, at 20:39, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Pid, > > On 11/16/11 7:20 PM, Pid wrote: >> What I'm not clear on is whether the mod_jk worker >> connection_pool_size is 60 per Server child, or 60 *

Re: CLOSE_WAIT Connection Issue

2011-11-17 Thread Pid *
On 18 Nov 2011, at 07:34, Chandrakant Solanki wrote: > Hi All, > > I am using apache-tomcat 6.0.26 and below is my server.xml > >redirectPort="8443" maxKeepAliveRequests="1" >maxThreads="5000" minSpareThreads="100" > maxSpareThreads="300" >p

Re: mod_jk connection pool configuration

2011-11-16 Thread Pid
On 16/11/2011 16:52, Christopher Schultz wrote: > Pid, > > On 11/16/11 8:47 AM, Pid * wrote: >> Tomcat 6.0.32, HTTPD (worker mpm) 2.2.19, mod_jk 1.2.31. > >> If ThreadsPerChild is 60 and ServerLimit is 10, MaxClients is 600, >> how many connections, at p

Re: mod_jk connection pool configuration

2011-11-16 Thread Pid *
On 16 Nov 2011, at 13:47, Pid * wrote: > Hi, > > Tomcat 6.0.32, HTTPD (worker mpm) 2.2.19, mod_jk 1.2.31. > > If ThreadsPerChild is 60 and ServerLimit is 10, MaxClients is 600, how > many connections, at peak, will be made to 20 Tomcat instances? I should add that 'conne

mod_jk connection pool configuration

2011-11-16 Thread Pid *
Hi, Tomcat 6.0.32, HTTPD (worker mpm) 2.2.19, mod_jk 1.2.31. If ThreadsPerChild is 60 and ServerLimit is 10, MaxClients is 600, how many connections, at peak, will be made to 20 Tomcat instances? Will this change If Tomcat instances start failing? p ---

Re: mod_jk Avoid loadbalancing

2011-11-15 Thread Pid
t; Is that correct? > You state that you want to eliminate Level 2. > However, from a performance standpoint, why would you? Without the Level 2 > balancing, it is conceivable that one of the 3 Tomcats could end up > processing the bulk the JSP requests. Why? p > However, Pid

Re: mod_jk Avoid loadbalancing

2011-11-15 Thread Pid
On 14/11/2011 10:42, Alexander Diedler wrote: > Hello > > > > It is possible in a three node TC 6.0 / TC7.0 Cluster to avoid the > loadbalancing between these three nodes? We only need the session > replication. The Loadbalancing with failover will be done by a Big-IP > F5, so we don´t need a “

Re: Having different apps (contexts) on different ports

2011-11-15 Thread Pid
On 15/11/2011 08:01, Mario Splivalo wrote: > Can I have several Tomcat contexts on different ports? > > I need to have manager app listening only on 8080, and all the other > apps on 80. Is something like that possible, within one Tomcat Service? You can have more than one Connector. You can't as

Re: SSL Tomcat 6 & 7

2011-11-13 Thread Pid
On 13/11/2011 10:03, Lau Eng Huat wrote: > Hi everybody, > > I have followed this example on setting up the SSL on Tomcat Expert > http://www.tomcatexpert.com/knowledge-base/using-openssl-configure-ssl-certificates-tomcat > . > The question that I have is how do you use Apache Common HttpClient to

Re: 403 error starting tomcat 7.0.22 application on windows 7

2011-11-13 Thread Pid
On 13/11/2011 09:31, bas...@obninsk.com wrote: >>> Hi. >>> >>> I updated winXp to win7 and cannot start my tomcat 7.0.22 >>> web-application. >>> The tomcat returns 403 error. When i run manager application >>> everything is ok. >> >> The manager app is ok, or running the manager app fixes your ot

Re: 403 error starting tomcat 7.0.22 application on windows 7

2011-11-13 Thread Pid *
On 13 Nov 2011, at 08:46, "bas...@obninsk.com" wrote: >> Hi. >> >> I updated winXp to win7 and cannot start my tomcat 7.0.22 web-application. >> The tomcat returns 403 error. When i run manager application everything is >> ok. > > The manager app is ok, or running the manager app fixes your oth

Re: 403 error starting tomcat 7.0.22 application on windows 7

2011-11-13 Thread Pid *
On 13 Nov 2011, at 07:07, "bas...@obninsk.com" wrote: > Hi. > > I updated winXp to win7 and cannot start my tomcat 7.0.22 web-application. > The tomcat returns 403 error. When i run manager application everything is ok. The manager app is ok, or running the manager app fixes your other app? >

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Pid
ole (both are included with the JDK) to measure heap/non-heap usage and compare it to the amount that the OS says the process is using. p > Pid * wrote: >> >> On 10/11/2011 22:45, Igor Cicimov wrote: >>>> >>>> JAVA_OPTS=-Xms2048M -Xmx2048M -XX:Permsize=512

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Pid
On 10/11/2011 22:45, Igor Cicimov wrote: >> >> JAVA_OPTS=-Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m >> > > You are allocating here 2.5GB of memory to tomcat ... how do you expect it > to start on a box with 2GB in total of which only 500MB are available? +1 It's the perfect way t

Re: sessionCookieDomain and sessionCookiePath

2011-11-10 Thread Pid *
On 10 Nov 2011, at 13:06, Ionut Stoian wrote: > It was a typo, i meant "/". > > They are available also on tomcat > 6.0.27: > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > > -- Forwarded message -- > From: Pid > To: Tomcat Us

Re: Unable to receive message through TCP channel

2011-11-10 Thread Pid
On 10/11/2011 10:20, uwe.hellm...@t-systems.com wrote: > Hello together, > > I am using to Tomcat 5.5.26 Servers. I took over the responsibility for this > system some time ago. > Since then we already got the following error message. > > SEVERE: Manager [/mywebapp]: Unable to receive message th

Re: sessionCookieDomain and sessionCookiePath

2011-11-10 Thread Pid
On 10/11/2011 08:39, Ionut Stoian wrote: > Hello, > > I have an application serving several subdomains (a1.domain.com, > a2.domain.com etc.) and i want to be able to have a single session cookie > shared between subdomains (registered on domain ".domain.com"). > > However, when using Tomcat's ses

Re: graceful restart tomcat

2011-11-10 Thread Pid
On 10/11/2011 08:28, Kaushal Shriyan wrote: > Hi, > > Is there a way to forcefully graceful restart tomcat server using bash > script via cron.Any sample bash script ? Which is it: forceful or graceful? The two are not usually compatible. 'graceful' is found in Apache HTTPD: [the] signal causes

Re: SSL for modjk and tomcat

2011-11-09 Thread Pid
On 09/11/2011 11:20, Harsimranjit singh Kler wrote: Please don't top-post. > hi > > Thanks for reply. > > There are some parameters whate they are for i saw like: > : > > > > JkExtractSSL On > > JkHTTPSIndicator HTTPS > > JkSESSIONIndicator SSL_SESSION_ID > > JkCIPHERIndicator SSL_CIPHER

Re: how to connect to datasource

2011-11-09 Thread Pid
On 09/11/2011 08:34, spike@12 wrote: Please don't top-post. >> Read: >> >> http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html >> >> Pay attention to the paragraph which refers to the 'validationQuery' >> attribute. > > No. I am using tomcat 6.0, java 6.0, linux system. Crikey.

Re: how to connect to datasource

2011-11-08 Thread Pid
On 09/11/2011 07:00, spike@12 wrote: > > Hi, > > I have setup my application using with tomcat and it is working fine. But > when I have restarted my DB machine, my application is not working. If I > have restart my tomcat server then it is working fine. > may I know, how to connect to datasourc

Re: AW: mod_jk - Browser displays HTML Sourcecode

2011-11-08 Thread Pid
On 08/11/2011 15:54, André Warnier wrote: > > But obviously it isn't, so there's something wrong with this JkMount. Jumping ahead, that bit comes next when the OP's sorted their layout out... ;) p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: o Tomcat alter the page encoding for JSP file created via Netbeans 7.01

2011-11-08 Thread Pid
On 05/11/2011 17:57, Kiran Badi wrote: > Hi All, > I am aware this might be offtopic but being a silent member to this > list, I think this list can give me better suggestion than doing a > google.So posting here. Unfortunately it was on someone else's topic. In future please don't just edit

Re: AW: mod_jk - Browser displays HTML Sourcecode

2011-11-08 Thread Pid
On 08/11/2011 15:12, Alexander Diedler wrote: > Hello > >> That most probably means that the URL mappings for mod_jk are not correct, > and that Apache httpd is serving that content directly. >> Look at (or show here) the JkMount lines that should be somewhere in your > Apache configuration. > >

Re: problem with loading Bouncy Castle

2011-11-08 Thread Pid
On 08/11/2011 08:47, Jan Vávra wrote: > Hello, > I have a problem with loading bouncy castle. > My code snippet is: > > int position = Security.addProvider(new BouncyCastleProvider()); > KeyStore store = KeyStore.getInstance("PKCS12", "BC"); > > In the application log I have message that Bounc

Re: Clustering and session persistence across restarts?

2011-11-08 Thread Pid *
On 7 Nov 2011, at 22:23, Al DiVenuti wrote: > Hello, > > I am currently configuring a sandbox development environment with two > clustered Tomcat 6.0.32 instances running on the same Windows XP SP3 > (32-bit) hosts. > > I have a question regarding whether or not the "Manager" > implementations av

Re: Session expiration - browser -Web application

2011-11-04 Thread Pid *
On 4 Nov 2011, at 19:24, Tim Watts wrote: > Léa, > > Life needn't be this difficult. :-) You're reinventing wheels here > instead of understanding how the wheels you already have work. Again, > read the spec. Pretty please. So many questions will be answered. +1 JSP != PHP The Servlet Cont

Re: Custom Standard Classloader

2011-11-04 Thread Pid *
On 4 Nov 2011, at 11:24, Paul Wilson wrote: > Hi there, > > I'd like to specify a custom implementation of 'StandardClassLoader' for > Tomcat 6. Why? > I've written such an implementation of > 'org.apache.catalina.loader.StandardClassLoader' and dropped it onto the > classpath What does the a

Re: Tomcat 5.5.26 running 'select_user' for every transaction

2011-11-02 Thread Pid
On 02/11/2011 16:23, David Kirtland wrote: > It isn't something obvious built into our webapp, but it would seem to be a > method we are calling in the jdbc driver. There is no record of a > 'select_user' anywhere when doing a grep, but our Java developers have found > the issue now. The code wasn'

Re: Compile, build and prepare Webapp for Tomcat in command line

2011-11-02 Thread Pid *
On 1 Nov 2011, at 11:34, "Léa Massiot" wrote: > > @Christopher : > Thank you for your answer. > I wouldn't mind using "Maven" instead of "Ant"... yet it doesn't look like I > can a find a nice and simple (hello world) example to get started with it > (like the one I found for "Ant", cf. the link

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-11-02 Thread Pid *
On 1 Nov 2011, at 01:43, Anantaneni Harish wrote: > > Any thoughts about this? Only one. Why doesn't request.getParameterXxxx work for you? p > > Thanks and Regards, > Harish > -Original Message- > From: Anantaneni Harish > Sent: Monday, October 31, 2011 11:23 AM > To: Tomcat Users L

Re: Filter by HTTP_REFERER

2011-11-02 Thread Pid *
On 31 Oct 2011, at 18:25, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Richardo, > > On 10/31/2011 12:33 PM, Ricardo Bayley wrote: >> You are right. What I intend to do is prevent hot linking. > > We get what you are trying to do: you'll just have to write your

Re: IPv6 question

2011-11-02 Thread Pid *
On 31 Oct 2011, at 14:47, Jeffrey Janner wrote: >> -Original Message- >> From: Issac Goldstand [mailto:mar...@beamartyr.net] >> Sent: Monday, October 31, 2011 6:40 AM >> To: users@tomcat.apache.org >> Subject: IPv6 question >> >> Hi Tomcat community >> >> I'm planning to give a short blur

Re: Rollback in Tomcat7 under parallel deployment

2011-10-29 Thread Pid
On 29/10/2011 12:41, chris derham wrote: >> >>> Also, what happens if ROOT##001 and ##002 have the same log4j configs >>> and are writing to the same log file?? How have people handled this >>> situation? >> >> You'll certainly end up with both apps writing to the same file. Whether >> or not that

Re: context.xml not being read

2011-10-28 Thread Pid *
On 28 Oct 2011, at 02:07, jilen wrote: > On 10/28/2011 06:45 AM, Rajkumar Singh wrote: >> Hi Chuck, >> >> Once again appreciate your response. >> >> What I did was I created a WAR file and dropped it under the tomcat >> webapps folder and started it. This helped in overcoming my problem. >> >> Th

Re: HOW TO detect what app server you're running in

2011-10-26 Thread Pid *
On 26 Oct 2011, at 12:47, Konstantin Kolinko wrote: > Note, that this method is unreliable. > > 1) The actual value can be configured by server administrator. > 2) There are 3-rd party repackaged distributions of Tomcat, which > may/should change the value. > > It would be better to rely on prese

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-25 Thread Pid *
On 26 Oct 2011, at 06:31, Anantaneni Harish wrote: > We have an environment using HTTP connector, > customer environment using AJP connector. In HTTP environment this issue is > not occured. > but in the AJP environment cannot read complete HTTP request body. It reads > only 8192 characters > >

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Pid
s already accessible elsewhere. p > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Monday, October 24, 2011 3:59 PM > To: Tomcat Users List > Subject: Re: Tomcat clustering session attribute is changed without request > > On 24/10/2011 11:55, Ho

Re: deploy tomcat quietly and automatically

2011-10-24 Thread Pid
On 24/10/2011 10:46, Josh Ho wrote: > Dears > I wanna deploy tomcat on many windows servers. > A binary source has been chosen (apache-tomcat-6.0.29.exe). > Is there a way to deploy it quietly and automatically like JDK(such as : > jdk-6u24-windows-x64.exe /quiet) Why not pick the zip version & ju

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Pid
On 24/10/2011 11:55, Hodchenkov, Paul wrote: > Hi all, > I have configured tomcat 7 cluster by using [1] with DeltaManager and it > works fine. > However I have the following 2 questions: > > 1) My application stores session map in memory(admin can force logout of > any user and change some

Re: : tomcat error 404

2011-10-23 Thread Pid
Caused by: java.lang.ClassNotFoundException: javax.mail.Address > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284) > ... 25 more > > > which is a different error but seemingly stil

Re: : tomcat error 404

2011-10-23 Thread Pid
On 24/10/2011 00:07, Caldarale, Charles R wrote: >> From: Dave Filchak [mailto:sub...@zuka.net] >> Subject: Re: Re: : tomcat error 404 > >> So where should the Context be? > > Apparently, you haven't read the 5.5 docs. To quote: Apparently I'm rusty too... :s p > "For Tomcat 5, unlike Tomca

Re: URI mapping

2011-10-23 Thread Pid
On 23/10/2011 20:51, Mark Eggers wrote: > - Original Message - > >> From: André Warnier >> To: Tomcat Users List >> Cc: >> Sent: Sunday, October 23, 2011 5:08 AM >> Subject: Re: URI mapping >> >> Let's restart from the beginning. >> >> You have, say, 3 Tomcat servers running, and for th

Re: : tomcat error 404

2011-10-23 Thread Pid
On 23/10/2011 19:57, Dave Filchak wrote: > I know this is probably screwed up now so I appreciate the help I have > had so far and would seriously appreciate any input as to how to > straighten this out and get the connection to the database functional. I > really need to get the site up and runnin

Re: : tomcat error 404

2011-10-23 Thread Pid
On 23/10/2011 19:57, Dave Filchak wrote: > > Please contact Nick should any questions or issues arise about > this application. > Have you tried contacting 'Nick'? p signature.asc Description: OpenPGP digital signature

Re: : tomcat error 404

2011-10-23 Thread Pid
Don't put a Context in server.xml. That is a massive can of worms all on its own. On 23/10/2011 19:57, Dave Filchak wrote: >username="#_#" > password="#" > driverClassName="com.mysql.jdbc.Driver" > > url="jdbc:mysql://localhost:33

Re: : tomcat error 404

2011-10-23 Thread Pid
On 23/10/2011 19:57, Dave Filchak wrote: > My environment.xml file @ /home/##/public_html/WEB-INF/conf/ Once again: this is not a Tomcat configuration file, it's application specific. p signature.asc Description: OpenPGP digital signature

Re: tomcat error 404

2011-10-23 Thread Pid *
On 23 Oct 2011, at 17:21, Dave Filchak wrote: > Ok, perhaps this will be more helpful. To follow is the way the db > connection is set up now, and I am not sure it is correct because, as I > understand it, you are supposed to add a context to the server.xml ... not recommended in the last 2 majo

Re: URI mapping

2011-10-23 Thread Pid
On 22/10/2011 23:37, Eldon Olmstead wrote: > > > On 2011-10-22 5:57 PM, Pid wrote: >> On 22/10/2011 17:42, Eldon Olmstead wrote: >>> Thanks for the response Mark, >>> >>> Ok so if I want to keep mod_jk as part of this, ( it is what we use at >>

Re: URI mapping

2011-10-22 Thread Pid
On 22/10/2011 17:42, Eldon Olmstead wrote: > Thanks for the response Mark, > > Ok so if I want to keep mod_jk as part of this, ( it is what we use at > work ), then if I understand right, I have no choice but to make tomcat > support /tomcat7/ in the path. Do I do this just by moving all the > web

Re: Undeploy fails with Tomcat 7 manager application

2011-10-22 Thread Pid
On 22/10/2011 12:38, Mike wrote: > Mark Thomas apache.org> writes: >> >> Where is the log file created? Why are you trying to delete it? >> >> Mark >> > > The logfile is created within the application deployed to the webapps > directory of tomcat (and there within "[applicationName]\resources\lo

Re: Tomcat application startup - Lifecycleexception

2011-10-21 Thread Pid
On 21/10/2011 00:26, ramsri wrote: > I now know that there is no longer a need to mess around with setclasspath.sh. I'm not sure there ever was. p signature.asc Description: OpenPGP digital signature

Re: Tomcat application startup - Lifecycleexception

2011-10-20 Thread Pid
On 20/10/2011 23:27, ramsri wrote: > > I have been struggling for a week now getting my application deployed on > Tomcat 7. I am unable to make much progress with it and request your help. I > am not very good with Tomcat. So please bear with me and request details in > your solution. I can see th

Re: Error starting Tomcat

2011-10-20 Thread Pid
On 20/10/2011 20:16, ramsri wrote: > > Konstantin: > > I am very glad that I found this thread. For a week I have been struggling > with this problem. If this is a new problem, please start a new thread. > I have Tomcat7 running. My application which was running just fine under > Tomcat5 does

Re: JAR locked in Tomcat after using addUrl to dynamically add JAR to running webapp

2011-10-20 Thread Pid
On 20/10/2011 18:18, Bob DeRemer wrote: > Hi Tomcat Community: > > BACKGROUND: > I have a Servlet-based WEBAPP that is running in Tomcat7, JDK 1.6.0_27 on > Windows Server 2008 R2 64-bit - all 64-bit. We make use of class.newInstance > quite a bit as we have a fairly modular, interface-based sy

Re: Using the Apache Tomcat 6.0 SSL Configuration HOW-TO guide, but it is not working

2011-10-19 Thread Pid *
On 19 Oct 2011, at 16:15, ML Harmon wrote: > I don't see any log file? what would be the log files name? Please don't top post (see below). > On Fri, Oct 14, 2011 at 9:55 AM, Konstantin Kolinko > wrote: > >> 2011/10/14 ML Harmon : >>> >>> I don't even know enough about Tomcat to know how to tr

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid
On 18/10/2011 23:29, Tim Watts wrote: >> Sorry I meant /tomcat/apps/myAppName/conf/ and under conf all the files >> > mentioned above > That is a strange layout. Is it possible that the IT people are running > each webapp in a separate JVM and pointing CATALINA_BASE > to /tomcat/apps/appName ? >

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid
On 18/10/2011 23:29, Tim Watts wrote: > On Tue, 2011-10-18 at 09:15 -0700, ettoregia wrote: >> >> >> Pid * wrote: >>> >>> On 18 Oct 2011, at 16:12, ettoregia wrote: >>> >>>> >>>> My system: Tomcat 6.0.18 --- Linux Red Hat 4

Re: Reuse mod ajp proxy connections

2011-10-18 Thread Pid
On 18/10/2011 20:40, Christopher Schultz wrote: > Dimitar, > > On 10/18/2011 2:15 PM, Dimitar Georgievski wrote: >> We have a Tomcat 5.5.25 server connected to Apache 2.2.9 over >> mod_ajp_proxy. Monitoring of the servers shows that AJP proxy >> connections are not reused but closed and reopened.

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid *
On 18 Oct 2011, at 16:12, ettoregia wrote: > > My system: Tomcat 6.0.18 --- Linux Red Hat 4 -- Java 6 > > Hi folk, > > does anyone of you knows where I can get some materials in order to > understand how Tomcat works with sub-directories within an exploded-war > file? http://tomcat.apache.org/ ?

Re: Session across Realm and Servlet

2011-10-16 Thread Pid
On 16/10/2011 12:01, sailendra karthik wrote: > On Sun, Oct 16, 2011 at 2:25 PM, Pid wrote: > >> On 16/10/2011 05:57, sailendra karthik wrote: >>> On 10/16/11, sailendra karthik wrote: >>>> On 10/15/11, Pid wrote: >>>>> On 14/10/2011 22:36, sail

Re: Session across Realm and Servlet

2011-10-16 Thread Pid
On 16/10/2011 05:57, sailendra karthik wrote: > On 10/16/11, sailendra karthik wrote: >> On 10/15/11, Pid wrote: >>> On 14/10/2011 22:36, sailendra karthik wrote: >>>> I need to maintain a session object between Realm and Servlet. >>>> >>>>

Re: Tomcat 7 won't run as Windows service

2011-10-16 Thread Pid
e Java version you wish to run. p Is it a matter of having JAVA_HOME set at the time that the > service is created, and it "keeps" that value in the service > configuration somehow? Or does the JAVA_HOME env var have to be set in > the environment of the service that&#x

Re: WebApp access to a LAN share

2011-10-15 Thread Pid
On 15/10/2011 19:38, Léa Massiot wrote: > > Hello, > > Thank you for reading my post. > > Here is my problem: > - I have two machines S and M on the same LAN. > - S is a Debian machine running a Tomcat server. > - And I have a WebApp W deployed on this Tomcat server. > - M is a Windows machine w

Re: Problem in spring-tomcat project

2011-10-15 Thread Pid
On 14/10/2011 17:41, Anisha Karki wrote: > I am following the tutorial: > http://static.springsource.org/docs/Spring-MVC-step-by-step/part2.html > > on developing and configuring the views and the controller. But i am getting > following error: > > > org.apache.jasper.JasperException: /index.jsp

Re: Tomcat 7 won't run as Windows service

2011-10-15 Thread Pid
On 14/10/2011 13:16, Konstantin Kolinko wrote: > 2011/10/14 David Rush : >> I've been running Tomcat 6.0.18 for a long time, and am now trying to >> upgrade to 7.0.22 (64 bit .zip download). >> >> I can start Tomcat 7 with startup.bat and it's working fine. >> >> The script to install it as a servi

Re: Classloaders in catalina.properties

2011-10-15 Thread Pid
On 14/10/2011 17:52, spr...@gmx.eu wrote: > Hi, > > in catalina.properties I can define paths for common, server and shared > loaders. > > Where do I find them here in the docs?: > > http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html > > Here we have only system and common... Beca

Re: Help with mixed SSL and non-SSL pages in Tomcat 7.0

2011-10-15 Thread Pid
On 14/10/2011 21:09, Janet Preston wrote: > I have a web site with a login page that has to be accessed using SSL so > that the password is not sent as clear text. That's good. > The rest of the site is non-SSL. Oh. Why not? p signature.asc Description: OpenPGP digital signature

<    3   4   5   6   7   8   9   10   11   12   >