Re: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Pid
On 26/03/2012 15:46, Witoslaw Koczewski wrote: Shouldn't there be a switch in Tomcat to turn off this checks? Why? If you don't want the Security Manager, don't turn it on. I don't, WebStart does. Usualy when I turn on a feature in software A, I don't expect it to affect software B. You

Re: Trying to suppress keystore and truststore password in Cent OS process listings.

2012-03-25 Thread Pid *
On 25 Mar 2012, at 06:25, Brian Hand handbri...@gmail.com wrote: Hello all I been working with getting JMX working with SSL with client side authentication working on tomcat. All is working well in this regard. However, I noticed that if I do a ps -ef | grep jsvc on the Cent OS linux

Re: Tomcat 6.0.24 java emailing configuration problem

2012-03-25 Thread Pid *
On 25 Mar 2012, at 04:03, Huanyuan Sheng hy_sh...@hotmail.com wrote: When I run the application the server gives the following error: javax.mail.Session cannot be cast to javax.mail.Session. No email is sent. This is usually indicative of a classpath error - meaning that you have the class

Re: jdbc driver location in TC 7

2012-03-25 Thread Pid *
On 25 Mar 2012, at 03:10, Terence M. Bandoian tere...@tmbsw.com wrote: On 1:59 PM, Pid * wrote: On 23 Mar 2012, at 21:59, David Kerberdcker...@verizon.net wrote: On 3/23/2012 6:51 PM, Terence M. Bandoian wrote: On 1:59 PM, David kerber wrote: On 3/23/2012 11:19 AM, Caldarale, Charles R

Re: partial response from non-browser clients

2012-03-25 Thread Pid *
On 23 Mar 2012, at 15:26, Serdyn du Toit dutoi...@gmail.com wrote: Hi, Using Tomcat 6.0.35 I got the server up and running and could retrieve webpages from my application perfectly - using the browser. Now I've written some client code of my own in Java and for one or other reason it

Re: chunked encoding

2012-03-25 Thread Pid
On 25/03/2012 08:54, Alex Samad - Yieldbroker wrote: [snip] 1. http://en.wikipedia.org/wiki/Chunked_transfer_encoding 2. RFC 2616 (the specification of HTTP/1.1 protocol) Thanks, I had also hoped to get a bit of debate on the !experimental! nature of it in the connector What makes you

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-25 Thread Pid
On 22/03/2012 20:46, bfinkel...@aaamissouri.com wrote: New Question that is related to the bin folder: I extracted the missing items from the bin. and restarted and now Tom cat won't load any JSP's. It will load servlets...just not jsp's getting the following error: It's throwing a

Re: jdbc driver location in TC 7

2012-03-24 Thread Pid *
On 23 Mar 2012, at 21:59, David Kerber dcker...@verizon.net wrote: On 3/23/2012 6:51 PM, Terence M. Bandoian wrote: On 1:59 PM, David kerber wrote: On 3/23/2012 11:19 AM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: jdbc driver location in TC 7

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Pid
On 22/03/2012 15:47, Lobb, Janos wrote: On Mar 22, 2012, at 7:40 AM, André Warnier wrote: Martin Gainty wrote: Mitch One possible cause FE Application creates session passes queryString or posted Data (hopefully in Sesion) to backend Axis WebService Objects are serialized to disk with

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Pid
On 22/03/2012 17:05, André Warnier wrote: Pid wrote: On 22/03/2012 15:47, Lobb, Janos wrote: On Mar 22, 2012, at 7:40 AM, André Warnier wrote: Martin Gainty wrote: Mitch One possible cause FE Application creates session passes queryString or posted Data (hopefully in Sesion) to backend

Re: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Pid
On 22/03/2012 18:34, bfinkel...@aaamissouri.com wrote: Chuck, Thaks for the info.. Was banging my head up against this cube wall! :) However I don't see a windows installer for the x86 side on the tomcat site. Is there windows installer with all these as well? If so do you have a link?

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Pid
On 22/03/2012 21:12, Mark Eggers wrote: From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 22, 2012 5:35 AM Subject: Re: java.lang.IllegalStateException Question -BEGIN PGP SIGNED

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Pid
On 22/03/2012 20:03, André Warnier wrote: bfinkel...@aaamissouri.com wrote: my system time was messed up and ahead. I think this could have caused the issue. I updated my system time. Good that you waited before posting this message, or you could have ended up ahead of yourself. Did you

Re: Tomcat Classloader leaks

2012-03-21 Thread Pid *
On 21 Mar 2012, at 02:41, Dale Ogilvie dale_ogil...@trimble.com wrote: In our webapps running on Tomcat 7 we have seen quite a number of classloader memory leaks. The end result is that after a number of application reloads and redeploys, we run out of permanent generation memory and Tomcat

Re: Tomcat, JSP and LDAP

2012-03-20 Thread Pid *
les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: neilmu...@gmail.com Date: Mon, 19 Mar 2012 10:35:54 + Subject: Re: Tomcat, JSP and LDAP To: users@tomcat.apache.org On 18 March 2012 18:04, Pid p

Re: Tomcat, JSP and LDAP

2012-03-18 Thread Pid
On 18/03/2012 13:34, Neil Munro wrote: snip As for moving my login and fail_login jsp to web-inf the pages could not be located and a had a go working in the web.xml file pointing to a path relative to /../web-inf/ or similar, I shall try again but I did try your suggestion and will try

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-18 Thread Pid
On 16/03/2012 18:08, pricyber wrote: I am doing this at the moment. I am away all of this week, but I've got a note to look into the traffic class config on Windows when I get back. Can you just confirm that setting: -Djava.net.preferIPv4Stack=true made no difference to the Java 7 setup? p

Re: disabling SessionListener Logging

2012-03-17 Thread Pid *
On 17 Mar 2012, at 07:21, Brian Hand handbri...@gmail.com wrote: Hello I am currently running Apache Tomcat 7.0.25 in a two server clustered configuration. Everything is working fine in this regard. I have confirmed that sessions and session variables are being updated on each server

Re: disabling SessionListener Logging

2012-03-17 Thread Pid *
web app. I am open to any other ideas. Thanks Brian On 3/17/2012 2:23 AM, Pid * wrote: On 17 Mar 2012, at 07:21, Brian Handhandbri...@gmail.com wrote: Hello I am currently running Apache Tomcat 7.0.25 in a two server clustered configuration. Everything is working fine in this regard

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 10:23, Neil Munro wrote: On 15 March 2012 18:24, Christopher Schultz ch...@christopherschultz.net wrote: Neil, On 3/15/12 1:05 PM, Neil Munro wrote: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://my.ldap.server.com;

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Pid
On 15/03/2012 23:44, Johannes Ernst wrote: I've implemented my own org.apache.catalina.loader.WebappLoader. It consults a bunch of JARs held in the file system outside of the WAR. Would one of the shared/common classloaders in Tomcat not achieve the same thing - what is unique about the

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
roleSearch=(uniqueMember={0}) userPattern=uid={0},ou=my company users,dc=mycompany,dc=com / On 16 March 2012 12:05, Pid p...@pidster.com wrote: On 16/03/2012 10:23, Neil Munro wrote: On 15 March 2012 18:24, Christopher Schultz ch

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
On 16/03/2012 14:56, Neil Munro wrote: On 16 March 2012 14:41, Pid p...@pidster.com wrote: On 16/03/2012 14:13, Neil Munro wrote: I have since made some minor progress with LDAP query's this login.jsp file as you can see query's for a list of valid users and creates a drop down list to choose

Re: Tomcat, JSP and LDAP

2012-03-16 Thread Pid
Subject: Re: Tomcat, JSP and LDAP On 16 March 2012 14:41, Pid p...@pidster.com wrote: On 16/03/2012 14:13, Neil Munro wrote: I have since made some minor progress with LDAP query's this login.jsp file as you can see query's for a list of valid users and creates a drop down list to choose from

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Pid
On 16/03/2012 15:58, ayouB __ wrote: Hi every one, I'm ayoub and i'm a new member of this mailing list :) Well, i want to configure SSL under Tomcat 7 so i have followed steps said in http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html, but when i deploy my project in tomcat server

Re: Tomcat 7 Cluster Issue

2012-03-15 Thread Pid
you add the -Djava.net.preferIPv4Stack=true to your service startup settings? See thread: Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem for more details. p -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, March 12, 2012 5:13 PM To: Tomcat Users List Subject: Re

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-15 Thread Pid
On 15/03/2012 01:08, pricyber wrote: I did nothing in the xml files, but in the embedded tomcat I did this instead. connector = embedded.createConnector((String)null, port, Http11NioProtocol.class.getName()); OK. 1. Can you set the address field manually, rather than letting the defaults

Re: Document base/ Document root

2012-03-15 Thread Pid *
On 15 Mar 2012, at 15:40, Michael Gesundheit mi...@rocketmail.com wrote: Hi, I have a problem which assume has to do with my document base.My environmet is Jboss.I keep getting the 404 page always saying the the page:AppName/whatever is not found.AppName is my servlet context. I'm unable

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Pid *
On 15 Mar 2012, at 16:23, Neil Munro neilmu...@gmail.com wrote: Hi all, I am trying to implement a means to authenticate a user on a web app via ldap, I have been trying for some time and am now intimately familiar with the files I need to edit, but not exactly how. I know that

Re: Help with ROOT.xml and vhosting please? (fwd)

2012-03-15 Thread Pid *
On 15 Mar 2012, at 15:05, Dave Shevett shev...@homeport.org wrote: On 3/14/12 6:35 PM, Pid wrote: If it didn't start, that would explain why you can't get it to respond. What is the stacktrace? So, just to finish this up, I got everything working Just Peachy. The failed deployment was why

Re: Tomcat, JSP and LDAP

2012-03-15 Thread Pid *
On 15 Mar 2012, at 17:06, Neil Munro neilmu...@gmail.com wrote: On 15 March 2012 17:01, Pid * p...@pidster.com wrote: On 15 Mar 2012, at 16:23, Neil Munro neilmu...@gmail.com wrote: Hi all, I am trying to implement a means to authenticate a user on a web app via ldap, I have been

Re: Socket Error in tomcat, white screen in browser

2012-03-15 Thread Pid *
On 15 Mar 2012, at 20:23, morciuch mark_orci...@ngsltd.com wrote: I had similar problem on Windows Server 2008. After some research, I added the following JVM option to make it work: -Djava.net.preferIPv4Stack=true A thread that's been dormant for 2 whole years lurches back into life... p

Re: Where to place custom classloader in Tomcat5?

2012-03-14 Thread Pid
On 14/03/2012 10:58, Volodymyr Bezuglyy wrote: Hi! Where to place custom WebappClassLoader in Tomcat? Should I place it in Tomcat5\server\classes directory only? Is it possible to place it in WEB-INF\clases directory of my web application? If it's in the classes directory of your

Re: Info on PermSize and MaxPermSize

2012-03-14 Thread Pid
On 14/03/2012 09:22, André Warnier wrote: Geet Chandra wrote: how to set -XX:PermSize and -XX:MaxPermSize at startup of Tomcat?. Please let me know Considering that you don't really seem to know what they are, you probably shouldn't. By default, the JVM on your platform will use

Re: Tomcat advantages

2012-03-14 Thread Pid
On 14/03/2012 09:13, André Warnier wrote: Pid * wrote: On 13 Mar 2012, at 16:03, Allen Reese are...@yahoo-inc.com wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 13, 2012 7:46 AM To: Tomcat Users List Subject: Re: Tomcat advantages On 13/03/2012

Re: Initializing webapps in a certain order

2012-03-14 Thread Pid
On 14/03/2012 13:29, Caldarale, Charles R wrote: From: Paul Singleton [mailto:p...@jbgb.com] Subject: Re: Initializing webapps in a certain order Does the servlet spec require that no web app may use the services of another web app? No that's perfectly alright. The key point of the

Re: parallel deployment: multiple applications responding

2012-03-14 Thread Pid
On 27/02/2012 22:23, Aristedes Maniatis wrote: On 28/02/12 12:14 AM, Christopher Schultz wrote: Chuck, On 2/26/12 11:29 PM, Caldarale, Charles R wrote: From: Aristedes Maniatis [mailto:amania...@apache.org] Subject: Re: parallel deployment: multiple applications responding What happens if

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-14 Thread Pid
On 14/03/2012 18:04, pricyber wrote: It look like a similar issue with Tomcat 7 http://tomcat.10.n6.nabble.com/Tomcat-7-Cluster-Issue-td4562937.html I couldn't replicate the issue on OSX with Oracle Java 7u4 or OpenJDK. The other thread referred to NIO configuration in the Cluster, which

Re: Help with ROOT.xml and vhosting please?

2012-03-14 Thread Pid
On 14/03/2012 21:00, Dave Shevett wrote: Hi folks, I'm setting up a tomcat server that will be running a few dozen vhosts all being served from the same war file. I've set up AJP connectors for wildcard hosts on apache, and I'm able to see the tomcat server from the outside world. Exactly

Re: Help with ROOT.xml and vhosting please? (fwd)

2012-03-14 Thread Pid
On 14/03/2012 22:25, Dave Shevett wrote: From: Pid p...@pidster.com Exactly which OS, Java Tomcat versions are you using? This is an AWS micro instance running some variant of CentOS Tomcat 6.0.33 [ec2-user@app01 tomcat6]$ java -version java version 1.6.0_22 OpenJDK Runtime Environment

Re: Tomcat advantages

2012-03-13 Thread Pid *
On 13 Mar 2012, at 05:27, vickyb2...@gmail.com vickyb2...@gmail.com wrote: HI All, I am new to tomcat I just want to know that is tomcat a server where i can run my web application or can it do anything more? can you please explain What else would you like it to do? p Regards Vinay

Re: servlet 3.1 support?

2012-03-13 Thread Pid
On 13/03/2012 14:06, Jess Holle wrote: On 3/13/2012 8:49 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jess, On 3/13/12 8:47 AM, Jess Holle wrote: So I read that the servlet 3.1 spec (and related EL specs, etc) is to go final in the second half of 2012.

Re: Tomcat advantages

2012-03-13 Thread Pid
On 13/03/2012 14:42, Leo Donahue - PLANDEVX wrote: -Original Message- From: Pid * [mailto:p...@pidster.com] Subject: Re: Tomcat advantages What else would you like it to do? p My list is long... ;) It can start by checking if Tomcat is not your default web server, and ask

Re: Tomcat advantages

2012-03-13 Thread Pid *
On 13 Mar 2012, at 16:03, Allen Reese are...@yahoo-inc.com wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, March 13, 2012 7:46 AM To: Tomcat Users List Subject: Re: Tomcat advantages On 13/03/2012 14:42, Leo Donahue - PLANDEVX wrote: -Original

Re: How to setup logging in Tomcat for WebappClassLoader?

2012-03-12 Thread Pid
On 12/03/2012 13:02, Volodymyr Bezuglyy wrote: Hello. Hello. Please start a new thread, rather replying to an existing one, even if it's your own. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Tomcat 7 Cluster Issue

2012-03-12 Thread Pid *
release. Thanks. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Saturday, March 10, 2012 5:26 AM To: Tomcat Users List Subject: Re: Tomcat 7 Cluster Issue On 09/03/2012 18:33, Bruce Pease wrote: I can try the rollback the jdk, and try that. However, the issue

Re: Tomcat 7 Cluster Issue

2012-03-12 Thread Pid
On 12/03/2012 17:30, Pid * wrote: I will try to reproduce using your config, shortly. The only warning I get on OSX with JDK 1.7.0 is that FarmWarDeployer only works when the Cluster is defined inside a Host. Can you provide as much detail as possible about your OS JDK 7 version please? p

Re: Source jar for tomcat-dbcp?

2012-03-11 Thread Pid
On 11/03/2012 02:08, Jim Garrison wrote: -Original Message- From: Jim Garrison [mailto:jim.garri...@troux.com] Sent: Saturday, March 10, 2012 7:07 PM To: users@tomcat.apache.org Subject: Source jar for tomcat-dbcp? I have a problem I need to debug by stepping into tomcat-dbcp

Re: ${pageContext.request.contextPath} not resolving

2012-03-11 Thread Pid
On 11/03/2012 01:05, Ole Ersoy wrote: Hi, I have a very simple jsp page like this: %@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8% html body${pageContext.request.contextPath}/body /html ${pageContext.request.contextPath} is not

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
On 11/03/2012 06:25, pricyber wrote: Hi I recently upgrade JDK from 1.6 to 1.7u3. And tomcat no longer work on Windows 2003, ie not sending response to any request either with https or plain http. But the same code/setting works on Windows 7 and my ubuntu machine. Error logs? Access logs?

Re: @HandlesTypes not resolving classes when added as repository directory

2012-03-11 Thread Pid
On 10/03/2012 17:28, Benjamin Muschko wrote: I am running an embedded container 7.0.26 that loads the web application classes and external JARS using the method http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/loader/WebappLoader.html#addRepository%28java.lang.String%29

Re: ClassNotFoundException in jnlp-servlet after restart of Tomcat

2012-03-11 Thread Pid
On 09/03/2012 13:06, Volodymyr Bezuglyy wrote: Hello! Our client use Tomcat 5.0.28. That is unfortunate. We deploy Web application with jnlp servlet on this Tomcat. From time to time after restart of Tomcat and when first user tries to download our application via Java WebStart there

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
page in Tomcat FAQ). On 2012-03-11, at 9:28 AM, Stefan Mayr-2 [via Tomcat] wrote: Am 11.03.2012 11:33, schrieb Pid: On 11/03/2012 06:25, pricyber wrote: Hi I recently upgrade JDK from 1.6 to 1.7u3. And tomcat no longer work on Windows 2003, ie not sending response to any request

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Pid
On 11/03/2012 21:07, Pid wrote: On 11/03/2012 18:28, pricyber wrote: Yes I used Http11NioProtocol , more specifically I used Http11NioProtocol.class.getName() to get the name of the class. The problem only occurs on Windows 2003 with Http11NioProtocol on Java 1.7, It works fine with Java

Re: Source jar for tomcat-dbcp?

2012-03-11 Thread Pid
On 11/03/2012 21:41, Jim Garrison wrote: It would have been nice if this was noted in the docs :-) Sounds like you're pretty close to being able to make a patch. ;) I'm willing to write something up, but am not sure how to contribute it to the doc website. I rummaged through the ASF svn

Re: Want to confirm fix of a security vulnerability

2012-03-10 Thread Pid
On 09/03/2012 23:55, Au, Leon wrote: On 3/9/12 2:19 PM, Jayant Sane jayant_s...@hotmail.com wrote: Pardon the re-post but I just wanted some kind of ack from the Tomcat dev team on the following. Has the Tomcat WAR deployment directory traversal... issue as detailed in

Re: Question about a known security vulnerability

2012-03-10 Thread Pid
On 08/03/2012 21:49, Jayant Sane wrote: Hello, This is in regard to the security vulnerability Tomcat WAR Deployment Directory Traversal Flaw May Cause Files to Be Deleted as detailed in http://securitytracker.com/id/1023504 Per the above, versions 5.5.0-5.5.28, 6.0.0-6.0.20 and

Re: Tomcat 7 Cluster Issue

2012-03-10 Thread Pid
On 09/03/2012 18:33, Bruce Pease wrote: I can try the rollback the jdk, and try that. However, the issue doesn't appear to be jdk related. Plenty of changes to NIO in Java 7 AFAIK. Let us know if Java 6 + Tomcat 7 presents the same problem. p The migration was performed by completely

Re: exception when running my struts jsp

2012-03-07 Thread Pid
On 07/03/2012 21:06, Konstantin Kolinko wrote: 2012/3/8 Oussama Jlassi oussa...@live.fr: i added my web project without the lib folder i use struts 1.3.10 in tomcat 6 when i run localhost:8080/struts1/login.jsp i got http://img15.hostingpics.net/pics/826740login.png

Re: What is the best way to view Tomcat JDBC pool properties in Tomcat 6?

2012-03-07 Thread Pid *
On 8 Mar 2012, at 02:26, hodgesz hodg...@gmail.com wrote: In 6.0.29 we used the Spring MBeanExporter to export the Tomcat JDBC pool properties. We are still able to view them with this approach in JConsole and using the JMXProxy Servlet with Tomcat 7. However since Tomcat JDBC pool is part

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread Pid *
On 6 Mar 2012, at 08:16, André Warnier a...@ice-sa.com wrote: Pid wrote: On 06/03/2012 07:12, Rainer Frey wrote: On 05.03.2012, at 14:14, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following applies

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Pid
On 05/03/2012 20:39, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: RE : Tomcat7 OutOFMemoryError I found this page which may be of interest : http://www.odi.ch/weblog/posting.php?posting=411 This one's also pretty interesting, especially the link

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Pid
On 05/03/2012 22:09, Christopher Schultz wrote: Pid, On 3/5/12 3:54 PM, Pid wrote: Varies by OS too. -XX:ThreadStackSize=512 Thread Stack Size (in Kbytes). (0 means use default stack size) [Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier); Sparc 64 bit: 1024; Linux

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-05 Thread Pid
On 05/03/2012 22:12, Christopher Schultz wrote: Chema, On 3/5/12 4:06 PM, Chema wrote: No if the connection has been reset by the instance. The query will result in a SQLException. You have to close the connection and open a new one. The query works on an open connection only. That's the

Re: Proxypass Question

2012-03-05 Thread Pid
Please start an entirely new thread, rather than replying to and editing an existing, already rather long and confusing thread[1]. p 1. Re: [Tomcat JDBC Pool] Close pooled connections via JMX signature.asc Description: OpenPGP digital signature

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Pid
On 06/03/2012 07:12, Rainer Frey wrote: On 05.03.2012, at 14:14, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following applies: * the operating system has a limit on thread stack size * the per process memory

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-03 Thread Pid
On 03/03/2012 12:33, Michael wrote: Hi folks, I've been examining the JMX operations of the new pool and did not find a crucial one. Sometimes our Oracle database has to be restarted, the pool still keeps the pooled connections. The webapp requests a connection, receives a pooled one and

Re: Adding tomcat 7 as server in IBM RAD. But wait, there is no such option in the Server listing. How to fix this?

2012-03-02 Thread Pid
On 02/03/2012 14:54, baran topal wrote: Hi there; I am trying to add tomcat 7 as server in IBM RAD 7. But wait, there is no such option in the Server listing (up until 5.5). How to fix this? How can I add the new Tomcat servers to the eclipse based IBM RAD 7? I'm not entirely certain

Re: Getting JPA 2.0 functionality to Tomcat?

2012-02-29 Thread Pid *
On 29 Feb 2012, at 15:27, youness hajjioui hajjioui.youn...@gmail.com wrote: Hi to all, How do I get JPA 2.0 functionality to Tomcat 7.0.25 ? I'm especially interested in the @MapsId annotation ! Thank you for answering. Use OpenJPA or some other JPA implementation. Tomcat does not provide

Re: Limiting concurrent requests by user

2012-02-28 Thread Pid *
On 27 Feb 2012, at 22:18, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, Feb 27, 2012 at 12:04 PM, hernan hbe...@gmail.com wrote: - how to or where to place and access an object shared by all tomcat threads And I'd like to have a solution that can be extended to many tomcat

Re: Limiting concurrent requests by user

2012-02-28 Thread Pid *
On 27 Feb 2012, at 22:26, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hernán, On 2/27/12 3:04 PM, hernan wrote: I've a web service. In order to do a request, a user specifies a username and password via web service parameters along

Re: Create a tomcat 7 instance

2012-02-28 Thread Pid
On 28/02/2012 16:26, André Moraes wrote: Hello everyone, can someone help me to create an instance of tomcat 7 as a service? You could read: http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html Or you could email us your credit card details to gain access to our Platinum

Re: Tomcat 6 JNDI

2012-02-27 Thread Pid
On 27/02/2012 11:46, Ziggy wrote: Hi, I am really struggling with this problem described here - http://stackoverflow.com/questions/9453109/using-jndi-to-share-servlet-session-objects-and-data-in-tomcat I would really appreciate any pointers. A pointer: it's usually polite to describe the

Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Pid
On 27/02/2012 13:16, Christopher Schultz wrote: Lucas, On 2/27/12 5:36 AM, Lucas Pouzac wrote: a library (prettyfaces) uses a web-tag fragment without distributable / With metadata-complete=true, It works correctly. Interesting. +1 That seems surprising. I don't see why the fragment

Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Pid
On 27/02/2012 14:45, Mark Thomas wrote: On 27/02/2012 14:33, Pid wrote: On 27/02/2012 13:16, Christopher Schultz wrote: Lucas, On 2/27/12 5:36 AM, Lucas Pouzac wrote: a library (prettyfaces) uses a web-tag fragment without distributable / With metadata-complete=true, It works correctly

Re: Tomcat 6 with servlet 3.0 and EL 2.2

2012-02-23 Thread Pid
On 23/02/2012 10:51, André Moraes wrote: Hello everyone, i'm new to the mailing list and I have a doubt that probably someone already had. I need to adapt my tomcat 6 to run servlet 3.0 and el 2.2. I work in a company that's very resilient about changing anything in the main server, even if it

Re: Documentation Question

2012-02-21 Thread Pid
On 20/02/2012 17:10, Jim Showalter wrote: Is there a version of the Tomcat documentation that consistently handles word-wrap? Some of the segments are very difficult to read while others do word wrap properly? Answer 1: Yes, we maintain several versions of the documentation, with various

Re: distributable mode does not work with Servlet 3.0

2012-02-21 Thread Pid
On 20/02/2012 09:16, Lucas Pouzac wrote: Hi, I have a concern about replication sessions when using the standard Servlet 3.0. Do you have an idea for this to work? https://issues.apache.org/bugzilla/show_bug.cgi?id=52685 *If in web.xml, I declare: web-app

Re: Documentation Question

2012-02-21 Thread Pid
slightly and read the documentation by just scrolling down. If I have to go back and forth too much it is very distracting. Ugh. That is definitely wrong. I will take a look later on as to the cause. p Thanks, Jim -Original Message- From: Pid [mailto:p...@pidster.com] Sent

Re: Free Memory vs. Total Memory vs. Max Memory

2012-02-20 Thread Pid
On 17/02/2012 04:58, Robinson, Eric wrote: What are the possible downsides of setting a low initial memory pool and a high max pool? If a tomcat app usually needs approximately 64MB of heap space, but sometimes as much as 300-400MB, would it cause any problems to set the initial pool to 16M

Re: DBCP Connections build up on one server

2012-02-18 Thread Pid *
On 17 Feb 2012, at 22:02, Shanti Suresh sha...@umich.edu wrote: The threaddump look the same across both servers. The heapdump shows increasing heap on the suspect server in the Finalizer class. The Finalizer class is holding references to another class which is a wrapper class for

Re: generic deployment question

2012-02-17 Thread Pid
On 16/02/2012 21:12, Jeffrey Janner wrote: Assume latest Tomcat 6.x for current deployment, and 7.x for future deployments. I host an app for a couple of dozen customers. Naturally, upgrade time can be a bit of a pain, and I'd like to simplify things. Assuming that all the

Re: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-17 Thread Pid
On 17/02/2012 08:41, Purvis Robert (NHS CONNECTING FOR HEALTH) wrote: I have found that some versions of mod_jk 1.2 don’t work. I use 1.2.14.1 with Apache 2.0.52, and Tomcat 5.5.23. When I tried going up to a higher version of mod_jk then the connection to Tomcat was ignore, as if there was

Re: Tomcat as Application Server

2012-02-17 Thread Pid
On 17/02/2012 16:43, Caldarale, Charles R wrote: From: Anjib Mulepati [mailto:anji...@hotmail.com] Subject: Re: Tomcat as Application Server So can I say Tomcat is Web Server but doesn't not support as full application Server? That rather depends on to whom you want to say it. Again,

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Pid
On 17/02/2012 17:56, Michela, Andrew J (LABOR) wrote: I am sorry this code was in the web.xml NOT server.xml Please don't top post. Are you actually replying to someone else's thread with your own problem? Or are you also known as Sachin Mehrotra? p -Original Message- From:

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Pid
On 16/02/2012 12:30, Sachin Mehrotra wrote: Hi After upgrade from Tomcat 6 to Tomcat 7.0.20, our Basic Authentication valve is not hitting. It seems it is overlooking our implementation of Basic Authentication. Below is the implementation: We are having Realm that is doing authentication

Re: Is it possible to start multiple tomcat servers with port-offset mechanism

2012-02-16 Thread Pid
On 16/02/2012 11:34, Konstantin Kolinko wrote: 2012/2/16 Pradeep Fernando pradee...@gmail.com: I want to start multiple tomcat server instances by giving a port offset kind of parameter. I dont want to hard code the port. A port.offset system property would be ideal. say my default port is

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Pid
. Thanks Sachin On 2/16/12, Pid p...@pidster.com wrote: On 16/02/2012 12:30, Sachin Mehrotra wrote: Hi After upgrade from Tomcat 6 to Tomcat 7.0.20, our Basic Authentication valve is not hitting. It seems it is overlooking our implementation of Basic Authentication. Below

Re: Application Scope Replication in 6.0.x

2012-02-16 Thread Pid
On 16/02/2012 15:55, Gregory Werner wrote: In-line responses. Thanks for the ideas, I really do appreciate it. On Thu, Feb 16, 2012 at 10:43 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregory, On 2/16/12 10:34 AM,

Re: Logging issue in Eclipse/WTP (disable request logging)

2012-02-15 Thread Pid
On 14/02/2012 21:49, Marcel Stör wrote: It seems nowadays you need a PHD just to understand Tomcat logging...sigh. In one of my Eclipse/WTP projects Tomcat logs each request (before and after): ... 13.02.2012 20:50:47 org.apache.catalina.core.ApplicationContext log INFO: After request

Re: Application Scope Replication in 6.0.x

2012-02-15 Thread Pid *
On 15 Feb 2012, at 20:33, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregory, On 2/15/12 11:11 AM, Gregory Werner wrote: I saw an email back in 2007 which went unanswered. Currently, I have load balancer running for a 2 Tomcat

Re: Keystore password not masked in server.xml file

2012-02-14 Thread Pid *
On 14 Feb 2012, at 14:27, Luca Marchesano luca.marches...@ericsson.com wrote: Hi all, I'm trying to configure a Tomcat 7.0.21 server in order to use the SSL connector. I've generated a keystore and specified it in the server.xml file, but I have to specify the keystore's password in clear

Re: memory heap size

2012-02-14 Thread Pid *
On 14 Feb 2012, at 17:11, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alfredo, On 2/14/12 10:05 AM, Alfredo Alessandrini wrote: Now I've put in setenv.sh this settings: export JAVA_OPTS=-Xms64m -Xmx128m -XX:MaxPermSize=128m So,

Re: memory heap size

2012-02-14 Thread Pid
On 14/02/2012 20:58, Christopher Schultz wrote: On 2/14/12 3:41 PM, André Warnier wrote: Or just get a mess restrictive hosting environment. Or a lore permissive one. LOL :) Habbing a code affects my spelling. p -- [key:62590808] signature.asc Description: OpenPGP digital

Re: IIS + Tomcat

2012-02-13 Thread Pid *
On 13 Feb 2012, at 03:14, Ermal Aliraj ermal.ali...@gmail.com wrote: Hello, I have installed Tomcat7 in a macchine where is running IIS (WinServer 2008 R2 Enterprise). I need to deploy an e-commerce web application from which I expect an hight number of user interactions. The application

Re: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Pid
On 13/02/2012 18:16, Propes, Barry L wrote: Hello Tomcat users and developers. I am using Tomcat 6.0.26 on a few machines - Win XP Pro on two of them, and Windows Server 2003 on the production machine. Also using jdk1.6.0_18 and was on Ora10g, now 111g. Today, Tomcat stopped logging on

Re: controlling Server Authentication only vs Mutual authentication

2012-02-13 Thread Pid
On 13/02/2012 17:42, Christopher Schultz wrote: Sanjeev, On 2/9/12 11:17 AM, Sanjeev Sharma wrote: I work on an java web-app running on Tomcat 7. The entire application is required be doing SSL on port 443 (everything is accessed via https://). Two different login options are given to

Re: Client Side caching

2012-02-12 Thread Pid *
On 12 Feb 2012, at 07:12, vicky b vickyb2...@gmail.com wrote: HI All, I want to enable client side cache for my http request , can any body please let me know the configuration for this. If your client is a web browser it already does 'client-side caching', no need for extra configuration.

Re: desperate for help to set up straightforward mod_jk connection between Apache2 webserver and web container

2012-02-11 Thread Pid *
On 11 Feb 2012, at 23:36, modjkl...@comcast.net modjkl...@comcast.net wrote: I'm trying to get Apache2 Webserver talking to Glassfish3 using mod_jk on CentOS, where everything is a fresh install (new server), no load balancing, no clustering, and everything is all on one server (so no firewall

Re: desperate for help to set up straightforward mod_jk connection between Apache2 webserver and web container

2012-02-11 Thread Pid *
On 12 Feb 2012, at 00:03, modjkl...@comcast.net modjkl...@comcast.net wrote: Hi Pid, 1. When I say GlassFish embeds Tomcat I just mean it's derived from Tomcat (could be fork, etc.) 2. I should have mentioned the configuration for GlassFish to talk to mod_jk. I used the example

<    1   2   3   4   5   6   7   8   9   10   >