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() on the

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 digital

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 ideally users access

Re: tomcat http connector

2011-11-22 Thread Pid *
On 22 Nov 2011, at 07:53, Jan Vávra va...@602.cz 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

Re: tomcat http connector

2011-11-22 Thread Pid
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. +1 front-ending Tomcat with Apache also gives you access to the powerful traffic filtering, security and other

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: Host name=demo1.company.com appBase=webapps\demos 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

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 for production if your production traffic is light

Re: where to put static files?

2011-11-21 Thread Pid *
On 21 Nov 2011, at 03:15, S Ahmed sahmed1...@gmail.com 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

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 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

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 cruisingat90...@gmail.com wrote: Below is my entire server.xml (minus commented lines) ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SecretCommand Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on /

Re: Tomcat recycling

2011-11-21 Thread Pid *
On 21 Nov 2011, at 13:24, Jan Vávra va...@602.cz 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 See

Re: where to put static files?

2011-11-21 Thread Pid *
On 21 Nov 2011, at 18:52, André Warnier a...@ice-sa.com 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

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 16:11, Terence M. Bandoian tere...@tmbsw.com 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

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 16:25, Martin O'Shea app...@dsl.pipex.com 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

Re: Connection pooling issue with MySQLNonTransientConnectionException and Java webapp

2011-11-21 Thread Pid *
On 21 Nov 2011, at 20:09, Martin O'Shea app...@dsl.pipex.com 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 21:25, Martin O'Shea app...@dsl.pipex.com 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

Re: Tomcat dependency setup

2011-11-21 Thread Pid *
On 21 Nov 2011, at 22:09, John Hinnegan john.hinne...@gmail.com 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)

Re: tomcat http connector

2011-11-21 Thread Pid *
On 22 Nov 2011, at 07:15, Asha K S a...@adobe.com 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

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

2011-11-20 Thread Pid *
// // 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 PID/Program name tcp0 0 127.0.0.1:3306 0.0.0.0

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 icici...@gmail.com 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 knst.koli...@gmail.com wrote:

Re: mod_jk connection pool configuration

2011-11-18 Thread Pid *
On 17 Nov 2011, at 20:39, Christopher Schultz ch...@christopherschultz.net 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 * 10 Server children

Re: CLOSE_WAIT Connection Issue

2011-11-18 Thread Pid *
294 0 10.168.43.69:8080 115.113.7.178:4271 CLOSE_WAIT 10761/java On Fri, Nov 18, 2011 at 1:22 PM, Pid * p...@pidster.com wrote: On 18 Nov 2011, at 07:34, Chandrakant Solanki solanki.chandrak...@gmail.com wrote: Hi All, I am using apache-tomcat 6.0.26 and below is my

Re: Tomcat Causes Server to go Panic/Crash

2011-11-18 Thread Pid *
On 18 Nov 2011, at 08:34, Adrian Zara adrian.z...@aonhewitt.com 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

Re: Tomcat recycling

2011-11-18 Thread Pid *
On 18 Nov 2011, at 15:36, Jan Vávra va...@602.cz 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

Re: CLOSE_WAIT Connection Issue

2011-11-17 Thread Pid *
On 18 Nov 2011, at 07:34, Chandrakant Solanki solanki.chandrak...@gmail.com wrote: Hi All, I am using apache-tomcat 6.0.26 and below is my server.xml Connector port=8080 protocol=org.apache.coyote. http11.Http11NioProtocol redirectPort=8443 maxKeepAliveRequests=1

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 connection pool configuration

2011-11-16 Thread Pid *
On 16 Nov 2011, at 13:47, Pid * p...@pidster.com 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

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 peak, will be made to 20 Tomcat instances? - From

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

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 “double”

Re: mod_jk Avoid loadbalancing

2011-11-15 Thread Pid
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 is correct. If you are worried about performance, you could drop the HTTPD

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 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

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 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

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 other app? The

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 sent

Re: JVM config for tomcat7.0.19

2011-11-11 Thread Pid
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=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

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: 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

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 through

Re: sessionCookieDomain and sessionCookiePath

2011-11-10 Thread Pid *
On 10 Nov 2011, at 13:06, Ionut Stoian isto...@tremend.ro 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 p...@pidster.com To: Tomcat Users List users

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 to

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. That changes

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: Clustering and session persistence across restarts?

2011-11-08 Thread Pid *
On 7 Nov 2011, at 22:23, Al DiVenuti aloviciou...@gmail.com 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

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

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. Was

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 a

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: 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 datasource

Re: Custom Standard Classloader

2011-11-04 Thread Pid *
On 4 Nov 2011, at 11:24, Paul Wilson paulalexwil...@gmail.com 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

Re: Session expiration - browser -Web application

2011-11-04 Thread Pid *
On 4 Nov 2011, at 19:24, Tim Watts t...@cliftonfarm.org 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

Re: IPv6 question

2011-11-02 Thread Pid *
On 31 Oct 2011, at 14:47, Jeffrey Janner jeffrey.jan...@polydyne.com 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

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 anantaneni.ha...@vertexsoft.com 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

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 lmhe...@orange.fr 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

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't

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 is a problem

Re: context.xml not being read

2011-10-28 Thread Pid *
On 28 Oct 2011, at 02:07, jilen jilen.zh...@gmail.com 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.

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

2011-10-27 Thread Pid *
On 26 Oct 2011, at 12:47, Konstantin Kolinko knst.koli...@gmail.com 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

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 anantaneni.har...@vertexsoft.com 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

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: 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 just

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Pid
-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, Hodchenkov, Paul wrote: Hi all, I have configured tomcat 7 cluster

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 work ), then if I understand right, I have no choice but to make

Re: tomcat error 404

2011-10-23 Thread Pid *
On 23 Oct 2011, at 17:21, Dave Filchak sub...@zuka.net 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

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
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: Context path='' docBase='/home/#/public_html/' debug='0' Resource name=jdbc/exodus auth=Container type=javax.sql.DataSource username=#_#

Re: : tomcat error 404

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

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 running

Re: URI mapping

2011-10-23 Thread Pid
On 23/10/2011 20:51, Mark Eggers wrote: - Original Message - From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org 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

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 Tomcat 4.x, it

Re: : tomcat error 404

2011-10-23 Thread Pid
which is a different error but seemingly still to do with mail? Dave On 23/10/11 6:34 PM, Pid wrote: On 23/10/2011 23:32, Dave Filchak wrote: The logs, at least the catalina.err and catalina.out files do not say anything much, at least as far as an error goes. I cannot find any other log files

Re: Undeploy fails with Tomcat 7 manager application

2011-10-22 Thread Pid
On 22/10/2011 12:38, Mike wrote: Mark Thomas markt at 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\log).

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 webapps

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: 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 system,

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 not

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 this

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 mlhlanma...@gmail.com 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 knst.koli...@gmail.comwrote: 2011/10/14 ML Harmon mlhlanma...@gmail.com: I

Re: Tomcat configuration under webApp

2011-10-18 Thread Pid *
On 18 Oct 2011, at 16:12, ettoregia ettore...@gmail.com 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?

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. Frequent

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 ettore...@gmail.com 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

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 7 won't run as Windows service

2011-10-16 Thread Pid
in the service configuration somehow? Or does the JAVA_HOME env var have to be set in the environment of the service that's trying to run, every time it starts? David On 10/15/2011 10:31 AM, Pid wrote: On 14/10/2011 13:16, Konstantin Kolinko wrote: 2011/10/14 David Rushda...@rushtone.com

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 karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com wrote: On 14/10/2011 22:36, sailendra karthik wrote: I need to maintain a session object between Realm and Servlet. I have written a CustomRealm

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 p...@pidster.com wrote: On 16/10/2011 05:57, sailendra karthik wrote: On 10/16/11, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com wrote: On 14/10/2011 22:36, sailendra

Re: Configure tomcat using init.d

2011-10-15 Thread Pid
On 14/10/2011 16:31, Mark Thomas wrote: On 14/10/2011 16:15, Mark H. Wood wrote: This I can agree with. They don't allow application managers access to Tomcat's config., but anyone can drop stuff into /etc/init.d, whence it will run as root? Really? Something is not right here. +1 These

Re: appbase directory deleted partically

2011-10-15 Thread Pid
On 14/10/2011 04:07, Osamu Ochiai wrote: Hello The problem: Tomcat started successfully but the deployed webapp did not work because the appbase directory was deleted partially. Maybe the directory was deletedby mistake without user's intention. Can

Re: filters on j_security_check

2011-10-15 Thread Pid
On 13/10/2011 20:53, Caldarale, Charles R wrote: If you want to do programmatic security in addition to declarative security, Or use the Servlet 3.0 APIs, supported by Tomcat. p signature.asc Description: OpenPGP digital signature

Re: Session across Realm and Servlet

2011-10-15 Thread Pid
On 14/10/2011 22:36, sailendra karthik wrote: I need to maintain a session object between Realm and Servlet. I have written a CustomRealm and every thing working fine and now it is required to send an object to servlets (possibly by HttpRequestServlet ) But i know/think Servlet is not yet

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

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... Because,

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 da...@rushtone.com: 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

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 (line:

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 which

Re: filters on j_security_check

2011-10-13 Thread Pid
On 13/10/2011 15:09, Alejandro Soto wrote: Hi, my name is Alejandro, I am working with Tomcat 7.0.20 and I need to know how can I apply filters to j_security_check to verify the status of login before continue with my authentication process. You can't use Filters because the Authentication

Re: Pound Signs in Context/Paths

2011-10-12 Thread Pid
On 12/10/2011 15:55, Richard W. Adams wrote: My Tomcat Version: 6.0.18.0 (running under Jboss) That's old. I'm trying to understand the script we use to deploy to our Tomcat server. = The scripts uses pound signs (#) instead of slashes in the path to the WAR = file being deployed.

Re: redirection error due to context path after JAAS authentication with mod_proxy

2011-10-12 Thread Pid
On 12/10/2011 17:51, Woonsan Ko wrote: - Original Message - From: André Warnier a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Wednesday, October 12, 2011 11:52 AM Subject: Re: redirection error due to context path after JAAS authentication with

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Pid
On 11/10/2011 07:28, Dan Checkoway wrote: Hello, I run several webapps under one instance of tomcat (7.0.21 currently, fwiw), and each webapp uses JDK logging and needs to log to its own separate log file. I accomplish this by placing logging.properties in WEB-INF/classes, and an example

Re: parallel webapp initialization

2011-10-11 Thread Pid
On 11/10/2011 08:20, Alexander Knöller wrote: Hi Felix. Then you are already working on a patch? I haven't done any tomcat development, yet. And I am not familiar with the ettiquette for developing patches. http://tomcat.apache.org/getinvolved.html So if you are already working on it, I

Re: Loading Super Classes with ClassLoader in Tomcat

2011-10-11 Thread Pid
On 11/10/2011 12:59, Peter Lavin wrote: Hi Christopher, Pid, Filippo, thanks for your help. I have got this working as required on my Tomcat server. Here is the code that works. public class MyCustomClassLoader extends ClassLoader { public MyCustomClassLoader(ClassLoader

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