Re: asking advice for tomcat 7 config

2012-10-18 Thread Pid
think my problems are solved, thanks to you guys! Many thanks for the advices, Romain. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: mercredi 17 octobre 2012 11:49 To: Tomcat Users List Subject: Re: asking advice for tomcat 7 config Pid wrote

Re: asking advice for tomcat 7 config

2012-10-17 Thread Pid
On 17/10/2012 08:59, Romain Van der Keilen wrote: Hi There, I'm quiet new to this mailing list as I encounter some configuration problems with Tomcat 7.0.30. We are currently developing a web application, and we wish to have a good response time with about 200 parallel sessions. My

Re: Thread related MBean questions

2012-10-17 Thread Pid
On 16/10/2012 17:52, Shanti Suresh wrote: Greetings. I have some questions on finding the number of active threads in Tomcat. (1) On our QA system, I notice that the currenthreadsBusy MBean is either zero or one for the 8443 and 8080 connectors. ThreadCount != currentThreadsBusy One is

Re: tomcat 7 APR Connector problems

2012-10-15 Thread Pid *
On 15 Oct 2012, at 07:42, Andrey Timofeyev andrey.timofe...@gmail.com wrote: Hi Chris, thank you so much for answer, What about your Tomcat configuration: Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on/ You have no

Re: tomcat eclipse and too many connections

2012-10-15 Thread Pid *
On 15 Oct 2012, at 19:01, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 g. rgar, On 10/14/12 6:00 PM, g. rgar wrote: maybe this is related also : http://bugs.mysql.com/bug.php?id=65909 If true then a workaround must be made

Re: Debug tomcat 6.0

2012-10-11 Thread Pid *
On 11 Oct 2012, at 08:34, vicky007aggar...@yahoo.co.in vicky007aggar...@yahoo.co.in wrote: All, Please don't hijack other people's threads. p How to debug tomcat 6.0 , actually i am a Having issue with tomcat static membership cluster . But i am not seeing any relevant information in

Re: CONFIGURING HOW MUCH MEMORY TOMCAT USES

2012-10-08 Thread Pid
On 08/10/2012 08:04, CHRISTOS STAVRINOU wrote: Hello, I want to configure the following Initial memory pool Maximum memory pool Thread stack size on tomcat 7 under Centos Linux but I don't know how. The reason I want to increase the values of these parameters is because I get

Re: JDBCRealm conection timeout failure on getPassword

2012-10-07 Thread Pid *
On 7 Oct 2012, at 15:26, Aladin Dajani aladin.daj...@gmail.com wrote: OK So I tried to use DataSourceRealm. Seems simple enough. but I get the following exception: Oct 7, 2012 9:54:51 AM org.apache.catalina.realm.DataSourceRealm open SEVERE: Exception performing authentication

Re: JDBCRealm conection timeout failure on getPassword

2012-10-07 Thread Pid
: On 10/7/2012 8:22 AM, Pid * wrote: On 7 Oct 2012, at 15:26, Aladin Dajani aladin.daj...@gmail.com wrote: OK So I tried to use DataSourceRealm. Seems simple enough. but I get the following exception: Oct 7, 2012 9:54:51 AM org.apache.catalina.realm.**DataSourceRealm open SEVERE: Exception

Re: Tomcat 7.0.30 JAR Scanner ClassCastException

2012-10-04 Thread Pid
On 03/10/2012 14:44, Jesse Farinacci wrote: Greetings, I am using Apache Tomcat 7.0.30 on IBM Java 6. I have a @WebServlet inside a ROOT.war!/WEB-INF/lib/common-servlets.jar which forwards to a JSP located in common-servlets.jar!/META-INF/resources/some.jsp. When I reference the path for

Re: How to limit the number of sessions per IP address (DOS attacks)

2012-10-02 Thread Pid *
On 30 Sep 2012, at 06:44, Brian Braun brianbr...@gmail.com wrote: Hi, I'm using Tomcat 7.0.22 (+Ubuntu Linux + MySQL). I'm providen a geolocation service. My users invoque a URL in my server (something like http://services.acme.com/locate?ip=..) providing the IP address, and it

Re: Failure connecting to Hbase remotely from Tomcat 6 Servlet

2012-10-02 Thread Pid *
On 1 Oct 2012, at 14:59, Mouradk mourad...@googlemail.com wrote: Hello, This is my first post so apologies if I am breaking some etiquette. I am not an expert on Hbase and have been flaying through threads of Hbase remote connection but with no luck solving my problem. I am running a

Re: Web app deployment Issues

2012-10-02 Thread Pid *
On 30 Sep 2012, at 11:52, ASIYA LABARAN a_laba...@yahoo.com wrote: Hello, I am trying to use tomcat server to deploy a webapp called mifos mfi. I created a folder in the C: (C:\MifosInstall\) where i unzipped the tomcat server 6.0.35. I created environment variables as required namely:

Re: Tomcat 6 serious issues on AIX 5.3

2012-09-29 Thread Pid *
On 28 Sep 2012, at 20:00, vincent.soo...@daimler.com vincent.soo...@daimler.com wrote: Post your DBCP configuration and let's see what can be done with it. As above. p - To unsubscribe, e-mail:

Re: exploting tomcat vulnerability with example

2012-09-19 Thread Pid *
On 19 Sep 2012, at 13:20, Daniel Mikusa dmik...@vmware.com wrote: On Sep 19, 2012, at 5:02 AM, Ragini wrote: Hi all, For my research work I want to have different attacking scenarios which exploits vulnerability of JAVA based applications. This java applications can be just any

Re: Updating Tomcat-Server from Version 6.0.16 to 7.0.30

2012-09-19 Thread Pid *
On 19 Sep 2012, at 14:45, Andreas Stadelmeier a...@michlaustderaffe.de wrote: Hello guys, i would like to install the newest stable version of the Apache Tomcat Server. I already got some stuff running on the old Tomcat v.6.0.16 Server. I want to ask you, if it is safe to do this update and

Re: Latest Tomcat release question...

2012-09-19 Thread Pid *
On 19 Sep 2012, at 16:45, Tony Anecito adanec...@yahoo.com wrote: Ok does scanning scan the classes inside the library jars the app uses? What would be the point of that? How does Tomcat know which is a special library jar and which is not? (Unless you provide it with a list of jars to

Re: Tomcat Connector for Sun ONE Web Server 7.0 and Tomcat 6.0.x

2012-09-19 Thread Pid *
On 19 Sep 2012, at 16:59, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Wed, Sep 19, 2012 at 8:02 AM, Jay Rao jay...@gmail.com wrote: Is there a Tomcat Connector for Sun ONE Web Server 7.0 and Tomcat 6.0.x running on RedHat Linux 5.7 64-bit ? If not, any idea on when will it would be

Re: sessions replication

2012-09-19 Thread Pid *
On 19 Sep 2012, at 16:59, Carrillo, Dan dcarri...@idanalytics.com wrote: Hi folks, My sessions are replicating across the cluster as indicated by my session listener debug output. E.g I can see the session created/destroyed messages in each respective log. I have a Service object that is

Re: Is there a REAL solution to the BEAST attack (CVE-2011-3389) for Tomcat 7.x

2012-09-19 Thread Pid *
Martin, You know what a turtle is? p On 15 Sep 2012, at 13:30, Martin Gainty mgai...@hotmail.com wrote: Good Morning Brian from what Im seeing this is a Redhat Enterprise 4,5,6 bug which effects any of the secure protocols such as sftp, scp and ssl and you would need to implement the

Re: Profiling tomcat 7 on ubuntu with java profiler

2012-09-19 Thread Pid *
On 17 Sep 2012, at 13:55, Ragini raginippa...@gmail.com wrote: Hi experts, I profile tomcat with a java profiler. I expect that a Java Profiler is the best way to do that. The profiler runs java agent and profiles the tomcat server. So you said. That's awesome dude. So I have created

Re: R: how to read files in file system

2012-09-19 Thread Pid *
On 18 Sep 2012, at 07:22, Ge Gestione Elaboratori(IBM Business Partner) case...@gmail.com wrote: Excuse me Dan: attached the screenshot. Zeesh. Stop attaching it, paste some info inline in the message and stop being lazy. p paolo -Messaggio originale- Da: Daniel Mikusa

Re: How to send some requests to all tomcat cluster nodes from loadbalancer

2012-09-12 Thread Pid
On 12/09/2012 12:45, Orhan Karasakal wrote: Hi, I have a distrubuted cluster system. I have set up apache server and set loadbalancing (mod_jk) conditions. And also sticky session is true mode. Among nodes, there is no multicasting Is it possible that could I send some special requests

Re: How to get heap dump of Tomcat running as windows service.

2012-09-12 Thread Pid
On 12/09/2012 11:02, Aditi Sinha wrote: Hi, We have web server hosted on Tomcat 7.0.22. Tomcat is running as windows service. When we try to get the heap dump of Tomcat using the following command *jmap -dump:format=b,file=heap.bin pid* we get below error *pid

Re: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-11 Thread Pid *
On 10 Sep 2012, at 07:53, Ch. Fawad Nazir fa...@biome.io wrote: Yes Tomcat run with Root. That's not usually a good thing. How are you starting Tomcat? p I made a copy of tomcat-users.xml to tomcat-users.xml-old before make any changes to original file. Did some changes in tomcat-users.xml

Re: Tomcat HeapMemoryUsage MBean question

2012-09-08 Thread Pid *
On 7 Sep 2012, at 22:00, Shanti Suresh sha...@umich.edu wrote: Hi Konstantin, True. JMX data can be sensitive. If you're concerned about security do not use the JMXProxy Servlet at all. Configure security on an exposed JMX port and then interact with the JVM by connecting to the port.

Re: Tuning session replication on clusters

2012-09-07 Thread Pid *
On 5 Sep 2012, at 20:51, llow...@oreillyauto.com llow...@oreillyauto.com wrote: I have a small cluster of 3 nodes running tomcat 6.0.24 with openJDK 1.6.0_20 on Ubuntu 10.04 LTS. You should really consider upgrading Java. While you're at it, try Tomcat 7.0.30 in your lab and have a look at

Re: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-05 Thread Pid *
edited for my amusement. On 5 Sep 2012, at 17:16, PJ Delsh pjdelsh...@hotmail.com wrote: Shailendra, I'm not an expert, Really? Once we fixed the leaks, Tomcat was stable. Quel surprise. After months of searching, we think the issue was having system.exit(0) in our code. A classic

Re: Access Tomcat cluster info thru MBean

2012-08-30 Thread Pid
On 29/08/2012 13:22, Mark Thomas wrote: On 29/08/2012 08:29, Awdhesh Kumar wrote: I am working with Tomcat 7.0.X. Just to be clear, do you mean Tomcat 7.0.x built from tc7.0.x/trunk in svn or do you mean some unknown Tomcat 7 version? Perhaps the OP really does mean the (until now, highly

Re: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-08-30 Thread Pid
On 30/08/2012 15:13, Christopher Schultz wrote: Shailendra, On 8/30/12 1:54 AM, Shailendra Singh wrote: We are using 64 bit Tomcat 6.0.35 with windows 2008 R2 (64 bit JVM 1.6.0_33) and facing memory leak issues(OutOfMemoryError ) after a short interval of time( ~30 minutes). We deploy

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-28 Thread Pid *
:38 PM, Pid wrote: On 27/08/2012 08:17, rathinasamy@snovabits.net wrote: Hi, Many thanks for your reply. I am asking something which should be done in apache tomcat configurations, Since I have not able to control that maxtry concept through my application (it is out of my app control

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-27 Thread Pid
On 27/08/2012 08:17, rathinasamy@snovabits.net wrote: Hi, Many thanks for your reply. I am asking something which should be done in apache tomcat configurations, Since I have not able to control that maxtry concept through my application (it is out of my app control) There's no

Re: Support for Windows 8 and Windows Server 2012

2012-08-24 Thread Pid *
On 24 Aug 2012, at 07:33, Geet Chandra gee...@gmail.com wrote: Hi, Does anybody know about Tomcat (6.x or 7.x) support for Windows 8 and Windows Server 2012. If it is there, then which version, if not when can we expect. Why not try the latest Tomcat 7 and let us know if it works? p --

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-21 Thread Pid *
On 20 Aug 2012, at 23:28, Dale Ogilvie dale_ogil...@trimble.com wrote: So, I ran with JVM option -verbose:class Then I requested a jsp from app1 and the console printed: ... [Loaded javax.el.ExpressionFactory from file:/C:/apache-tomcat-7.0.27/lib/el-api.jar] [Loaded

Re: Tomcat 6 configuration using unpackWARS no longer works in Tomcat 7

2012-08-19 Thread Pid *
On 10 Aug 2012, at 20:44, Ian Long (Opterus) ian.l...@opterus.com wrote: Hi Mark, Thanks for the info. I would rather not rename the WAR file or add the context.xml to it, because it is deployed in multiple ways on different severs and in development environments etc. Why must it be

Re: is this idea even possible in tomcat?

2012-08-19 Thread Pid *
On 11 Aug 2012, at 20:42, Elias Kopsiaftis yemi...@gmail.com wrote: I posted about this a bit earlier, and I was told WebSockets were a better approach, but I am wondering is what I am trying to do even possible? My idea is to create a program that allows two users to connect through the

Re: need help debugging why a simple app install fails

2012-08-19 Thread Pid *
On 9 Aug 2012, at 13:56, my koseli mykos...@gmail.com wrote: Hi, I am using tomcat6 in ubuntu Ubuntu 10.04.4 LTS and running into problem when installing a very simple app. When I do ant build, deploy it seems to work but when I do ant install -v I get failed to build with output below. I

Re: Tomcat 7.0.29 vs. Groovy with Java 7

2012-08-16 Thread Pid *
On 16 Aug 2012, at 17:10, Jess Holle je...@ptc.com wrote: It appears that when one installs the groovy-all-2.0.1-indy.jar in a Tomcat web app, BCEL chokes on the Java 7 specific byte-code therein ala org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-07 Thread Pid
On 07/08/2012 00:24, Dale Ogilvie wrote: Daniel Mikusa [mailto:dmik...@vmware.com] wrote: You would be using a shared class loader if you are placing JAR files used by multiple deployed web applications into the $CATALINA_BASE/lib or $CATALINA_HOME/lib directory. Are you placing any JAR

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-07 Thread Pid
On 03/08/2012 17:35, Massimo Chirivì - Ict Consultant wrote: *this is my server.xml, * *the sites on the http is ok, but the site on the https is not ok?* *thank you for help* Are you just repeating the same question over over? Have you read the documents provided previously? What version

[OT] Re: Warning: js modified in the future- not able to find the files

2012-08-05 Thread Pid
On 01/08/2012 04:35, Kiran Badi wrote: Hi All, I have TC 7.0.11/7.0.27 and Apache 2.2 all sitting in the C://Program Files/Apache Software Foundation folder. I came across a strange issue today where in close to 10+ Javascript files were missing from the folder. Below is the way I do

Re: PDF Download problem tomcat = 7.0.27

2012-08-01 Thread Pid
On 01/08/2012 08:54, André Warnier wrote: Konstantin Kolinko wrote: 2012/8/1 Jose María Zaragoza demablo...@gmail.com: The Content-Length header in the above 206 response is not from Tomcat. Tomcat's DefaultServlet does not calculate the whole size of the parts and does not set

Re: Best practice for redeployments

2012-07-31 Thread Pid
On 30/07/2012 22:57, llow...@oreillyauto.com wrote: All, I have 70-80 apps that are spread out across 3 different clusters (based on usage, availability needs etc) Currently, each night we wipe out the wars and then redeploy them with fresh copies from the end points of our promotion

Re: Permanent servlet in TC7

2012-07-26 Thread Pid
On 26/07/2012 22:38, Christopher Schultz wrote: Chip, On 7/26/12 3:19 PM, Chip McVey wrote: In TC7, is there a way to tell Tomcat to never unload a given servlet unless Tomcat itself is being shutdown? I want a single servlet instance that I can know will exist for the life of the tomcat

Re: tomcat 7.0.29 build fails with dbcp target enabled; ok if disabled.

2012-07-25 Thread Pid *
On 25 Jul 2012, at 08:06, k9...@operamail.com k9...@operamail.com wrote: On Tue, Jul 24, 2012, at 06:11 PM, Caldarale, Charles R wrote: Tomcat 7 must be built with JDK 6 due to incompatibilities introduced by Sun/Oracle in JRE 7. Once built, you may run Tomcat 7 under JRE/JDK 7. Tomcat 8

Re: Certificate chain does not seem to work and no errors in the tomcat logs

2012-07-23 Thread Pid
On 23/07/2012 19:42, Sivasubramaniam, Latha wrote: This issue got resolved, the private key was not present in the JKS file. Once we got the pfx file from the customer and pointed to that in the server.xml file, application started working. When we imported the certificate (.cer file),

Re: Forms authentication without cookies in 6.0.33

2012-07-20 Thread Pid *
On 20 Jul 2012, at 03:38, Brett Mason b.ma...@adinstruments.com wrote: Hi there, We have an application which uses the forms authentication provided by Servlet specification and is configured store session IDs in the URL rather than using cookies. This configuration has been working as

Re: Tomcat7 deployment url change - please maintain backwards compatibility

2012-07-13 Thread Pid *
On 13 Jul 2012, at 18:04, Tim Pizey tim.pi...@gmail.com wrote: Hi André, On 13 July 2012 17:32, André Warnier wrote: Tim Pizey wrote: I only joined this list this morning, and am appalled by the lack of constructive responses. Tim, this is probably a wrong initial impression, due to

Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-12 Thread Pid
On 11/07/2012 22:26, Wei, Mingzhen wrote: Konstantin, I followed the RUNNING.TXT after installing the binary release of Tomcat 5.5. But I cannot find the catalina.bat and catalina.sh for more environmental variables to set. Why tomcat is such a pain for installation? It's not.

Re: Vhost-specific configuration for deployed apps?

2012-07-12 Thread Pid
On 11/07/2012 16:12, Dave Shevett wrote: Hi folks, this has come up in the list archives a couple times, but I'm having a devil of a time getting it working right. I'm trying to set a basic set of properties to a deployed app into Tomcat. Note that this app is being deployed via the tomcat

Re: Speeding up RMI calls

2012-07-12 Thread Pid
On 09/07/2012 16:55, Andrew Kujtan wrote: Tomcat Version: 7.0.27 OS: Windows XP/7 I'm fixing an issue we are having with a webapp that does some communication over RMI with a remote server. Calls that would be instant in similar applications not inside the tomcat container are

Re: Client Authentication using SSL

2012-07-12 Thread Pid
On 12/07/2012 20:10, Burghard W.V. Britzke wrote: ?! Yep, I have no idea what they're on about either. :P p Am 12.07.2012 um 19:22 schrieb Puneet Dewan: The below way I used to deploy the war and able to use it :) -- Forwarded message -- From: Puneet Dewan

Re: [EXTERNAL] Re: Re: Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-11 Thread Pid
On 11/07/2012 13:21, Simon, Leonard wrote: Mark, I really do appreciate your time in assisting, It's these up front sessions that could lead to consulting gigs later on. There's something to look forward to. Free consultations pay off in the end. Not very often they don't. p

Re: soap location address

2012-07-06 Thread Pid
On 06/07/2012 20:00, Toman, Chuck [Stock] wrote: How do you dynamically change soap location for WSDL files? Are you asking this question on the right mailing list? This list is for questions about Apache Tomcat. p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: tomcat filters

2012-07-05 Thread Pid *
On 5 Jul 2012, at 01:51, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 7/2/12 6:15 PM, Pid wrote: On 02/07/2012 18:34, Varrun Ramani wrote: Hi I am in the process developing a web application firewall(WAF) for tomcat

Re: tomcat filters

2012-07-02 Thread Pid
On 02/07/2012 18:34, Varrun Ramani wrote: Hi I am in the process developing a web application firewall(WAF) for tomcat similar to what mod security does, and am planning to use the filter API already present in tomcat to intercept requests and do the filtering. Are there any existing

Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-02 Thread Pid
On 02/07/2012 22:34, Mark Eggers wrote: - Original Message - From: Simon, Leonard leonard.si...@hsn.net To: users@tomcat.apache.org Cc: Sent: Monday, July 2, 2012 1:32 PM Subject: General Architecture Question for multiple websites on a single RedHat server Our goals are as

Re: AprLifecycleListener initialization issue

2012-06-24 Thread Pid
On 22/06/2012 09:12, Francesco wrote: ( i found a lot easyer to manage tomcat inside a big servlet than viceversa) So what's the Servlet running in? p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Fine tune or disable JMX activity

2012-06-22 Thread Pid
On 22/06/2012 16:09, Jacopo Cappellato wrote: Hi all, I am a committer of the Apache OFBiz project; OFBiz uses Tomcat 7.0.28 in embedded mode. While doing some profiling with Java VisualVM I have noticed that a lot of object (java.util.TreeMap$Entry) are created even when there is no

Re: Fine tune or disable JMX activity

2012-06-22 Thread Pid
On 22/06/2012 16:30, Jacopo Cappellato wrote: On Jun 22, 2012, at 5:11 PM, Pid wrote: On 22/06/2012 16:09, Jacopo Cappellato wrote: Hi all, I am a committer of the Apache OFBiz project; OFBiz uses Tomcat 7.0.28 in embedded mode. While doing some profiling with Java VisualVM I have

Re: Creating separate log for each request

2012-06-21 Thread Pid
On 20/06/2012 22:39, Lahiru Gunathilake wrote: Hi Caldarale, Its not a website.. I am hosting a middleware which will be used by scientist to run their application in the Grid. So Ideal scenario is like 2--30 requests per day but they are long running and very time consuming (Some jobs

Re: Confusing tomcat error - can't find javax.servlet.http.HttpSessionAttributeListener

2012-06-21 Thread Pid
On 20/06/2012 18:57, Cassano, Chris wrote: Hi, I'm getting a fatal error when I start tomcat. Now I would think that servlet-api.jar is missing from the tomcat classpath but if I do -verbose:class I can clearly see tomcat using other classes from that jar so I know it's already included:

Re: tomcat 7 embed config img path

2012-06-21 Thread Pid
On 19/06/2012 21:08, avri shpigel wrote: Dear tomcat helper, I am using embedd tomcat 7.0.27 inside my java code. I am using minimal tomcat config as proposed in http://java.dzone.com/articles/embedded-tomcat-minimal I would like to add images in my code using html command img src=aaa.gif /

Re: Confusing tomcat error - can't find javax.servlet.http.HttpSessionAttributeListener

2012-06-21 Thread Pid
: Pid [mailto:p...@pidster.com] Sent: Thursday, June 21, 2012 7:09 AM To: Tomcat Users List Subject: Re: Confusing tomcat error - can't find javax.servlet.http.HttpSessionAttributeListener On 20/06/2012 18:57, Cassano, Chris wrote: Hi, I'm getting a fatal error when I start tomcat. Now I

Re: mixing authentication schemes

2012-06-21 Thread Pid
On 21/06/2012 20:34, Aggarwal, Ajay wrote: Sorry about the poor formatting of my message. Research OAuth. p -Original Message- From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Sent: Thursday, June 21, 2012 3:27 PM To: users@tomcat.apache.org Subject: mixing authentication

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Pid *
On 19 Jun 2012, at 06:24, Kiran Badi ki...@poonam.org wrote: Hi All, I have send mail servlet, which looks something like below, protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String emailRecipient =

Re: iis not looking for jsp in tomcat webapps folder

2012-06-18 Thread Pid
On 18/06/2012 10:10, Vijaya wrote: file=c:/tomcat-5.5.16/conf/jk2.shm So... tomcat-5.5.16 AND jk2? I had to blow the dust of the 5.x security page... http://tomcat.apache.org/security-5.html#Fixed_in_Apache_Tomcat_5.5.16,_5.0.SVN just sayin' p -- [key:62590808] signature.asc

Re: Decompression of gzip'd request body

2012-06-15 Thread Pid
On 15/06/2012 12:58, JF wrote: Tomcat v7.0.6, Windows Server 2008 SP2 Also, probably a good idea to upgrade that Tomcat sometime this decade. p I note that tomcat's connector's can be configured to automatically handle compression of 'large' respones using gzip. Tomcat can also be

Re: Accessing Tomcat Thread Pool

2012-06-15 Thread Pid
On 15/06/2012 01:05, Oguz Kologlu wrote: On 15/06/2012, at 4:35 AM, Christopher Schultz wrote: Oguz, On 6/14/12 6:24 AM, Oguz Kologlu wrote: I've seen this question bounce around some threads but there's really no good answer. I'd like to use the Tomcat 7 thread pool as worker threads

Re: Java process killed by oom-killer in Ubuntu

2012-06-14 Thread Pid
On 12/06/2012 14:50, Christopher Schultz wrote: Pid, On 6/12/12 5:47 AM, Pid wrote: On 11/06/2012 20:15, Christopher Schultz wrote: Also, your previously-posted configuration seems a little insane: Xms6g -Xmx6g -XX:NewSize=4G -XX:MaxNewSize=4G -XX:SurvivorRatio=6 -XX:MaxPermSize=512M

Re: Map domain names to different paths of a single webapp ?

2012-06-14 Thread Pid
On 13/06/2012 05:12, Oguz Kologlu wrote: You can do this but not in Tomcat itself. You'll need to use something like Apache web server to handle different sub domain and direct them to Tomcat. That's an imprecise potentially misleading answer. Please see the other answer in this thread. p

Re: Exclude url from authorized access-web.xml

2012-06-14 Thread Pid
On 14/06/2012 15:06, Rahul R wrote: Hi All, I have an issue with allowing access to a page which is secured using active directory authentication. I want some pages/content to be excluded from this. Following is my web.xml file under conf of tomcat. [code=java] security-constraint

Re: tomcat cluster for stateless web application

2012-06-13 Thread Pid *
On 12 Jun 2012, at 18:22, Albert Kam moonblade.w...@gmail.com wrote: I've noticed that in the documentation, it says a lot about session replication. I wonder what can be omitted in the configurations for a stateless java webapp setup (without any sessions), to hopefully get a simpler

Re: post redirect get to the same tomcat instance in a tomcat cluster ?

2012-06-13 Thread Pid *
On 12 Jun 2012, at 18:17, Albert Kam moonblade.w...@gmail.com wrote: Hi all ! Is it possible to do POST submit to the tomcat-A, redirect happens, and then GET to the same tomcat-A again in a tomcat cluster ? And, in hope to make things easier, all the tomcat servers in the cluster are

Re: post redirect get to the same tomcat instance in a tomcat cluster ?

2012-06-13 Thread Pid
On 13/06/2012 13:13, Pid * wrote: On 12 Jun 2012, at 18:17, Albert Kam moonblade.w...@gmail.com wrote: Hi all ! Is it possible to do POST submit to the tomcat-A, redirect happens, and then GET to the same tomcat-A again in a tomcat cluster ? And, in hope to make things easier, all

Re: HttpOnly

2012-06-13 Thread Pid
On 12/06/2012 15:11, Christopher Schultz wrote: Paul, On 6/12/12 9:03 AM, Paul Singleton wrote: On 12/06/2012 06:57, Caldarale, Charles R wrote: From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: HttpOnly Tomcat 6.0.10 For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy

Re: Jakarta ISAP Redirector

2012-06-13 Thread Pid *
On 13 Jun 2012, at 18:18, DeMarco, Alex alex.dema...@suny.edu wrote: I hope this is the right place to post this question. We have the latest Jakarta Plugin installed with IIS 7.5. Do you know, does the plugin specifically block /services requests on wsdl's No, it doesn't. If I go

Re: HttpOnly

2012-06-12 Thread Pid *
On 12 Jun 2012, at 05:58, N.s.Karthik nskarthi...@gmail.com wrote: Hi Spec JDK1.6 Tomcat 6.0.10 O/s Win / Linux(r-Hat) Browser : Crome 19.0.x / IE8 For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy in INTRANET. That's a really old version, I'd be more worried about the slew

Re: Java process killed by oom-killer in Ubuntu

2012-06-12 Thread Pid
On 11/06/2012 20:15, Christopher Schultz wrote: Jorge, On 6/11/12 3:01 PM, Jorge Medina wrote: There is not much running in the machine other than Tomcat. The JVM actually starts fine, using about 8GB (6GB of heap, + code + threads etc) but it keeps growing. In about 2 days it runs out of

Re: Java process killed by oom-killer in Ubuntu

2012-06-08 Thread Pid *
On 7 Jun 2012, at 23:03, Daniel Mikusa dmik...@vmware.com wrote: - Original Message - Only 52 java threads. It used to fluctuate more (we made some changes to the app to perform a task in a single thread rather than spawning multiple threads, but the crash still occurs) . The number

Re: check tomcat (6.0.32) log settings automatically

2012-06-08 Thread Pid
On 08/06/2012 20:09, Su Zhang wrote: Hello, We want to check the log settings (e.g.attributes need to be logged) of tomcat server and then evaluate the security level for the application. Tomcat log config and application log config are two different things. I am evaluating over a

Re: getting frustrated with web sockets

2012-06-07 Thread Pid
On 06/06/2012 15:54, Ravi wrote: Mark / Chris, Essentially, if I want to use websockets, you are asking me to rewrite my app + rewrite grails + rewrite hibernate + rewrite apache http utilities + rewrite several other web libraries I use. I don't they're asking you to do that at all. I

Re: Request for Aliases or Alias as element inside Context

2012-06-05 Thread Pid
On 04/06/2012 20:03, Christopher Schultz wrote: Esmond, On 6/3/12 9:23 PM, Esmond Pitt wrote: I have a large and growing number of requirements for aliases, and the existing (new for Tomcat 7) aliases= attribute is unwieldy for me. The line is already 289 characters long ;-( It would be

Re: ROOT.xml problem

2012-06-03 Thread Pid
On 03/06/2012 14:20, Stefan Mayr wrote: So you have a third-party app which needs to be called in the /corda context. There seems no way to make it accessible as ROOT applications. I think you just need a redirect pointing to your applications location. Steps: 1. remove everything you

Re: getting frustrated with web sockets

2012-06-03 Thread Pid
On 02/06/2012 03:38, Ravi wrote: I am trying to build an android app that connects to tomcat web sockets. I need a few java classes that can interact with tomcat websockets. I have tried 3 different implementations (strumsoft, jwebsockets and something else also) but neither one can talk

Re: ROOT.xml problem

2012-06-01 Thread Pid
On 01/06/2012 22:22, Kevin Marx wrote: I know there is a way to do this without renaming things to ROOT, that's what I'm looking for. Why make your life so difficult, what's wrong with just calling it ROOT.war? /baffled If you're really desperate to see that it's called 'corda', call the

Re: tomcat jdbc pool, creating a pool of pools, single connection memory footprint

2012-05-31 Thread Pid *
On 30 May 2012, at 23:19, André Warnier a...@ice-sa.com wrote: On Wed, May 30, 2012 at 10:07 AM, Christopher Schultz ch...@christopherschultz.net wrote: .. If my environment and requirements match yours, you'd need 1 * max_pool_size * 66KiB at peak usage. That's about 640MiB for each

Re: tomcat jdbc pool, creating a pool of pools, single connection memory footprint

2012-05-31 Thread Pid *
On 31 May 2012, at 00:49, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/30/12 6:18 PM, André Warnier wrote: Taking the same hypothetical case and figures : Assuming that you need a total of (1 * 4 connections) =

Re: tomcat full GC every 2 minutes for first 6 hours after war reload

2012-05-30 Thread Pid
On 29/05/2012 20:50, Kevin wrote: On 5/29/12 11:09 AM, Christopher Schultz ch...@christopherschultz.net wrote: Kevin, (FYI these are always a PITA to diagnose...) On 5/29/12 11:03 AM, Kevin wrote: We have a cluster of tomcat servers being used on a very high volume website. We've

Re: tomcat full GC every 2 minutes for first 6 hours after war reload

2012-05-30 Thread Pid
On 29/05/2012 16:03, Kevin wrote: Hi We have a cluster of tomcat servers being used on a very high volume website. We've noticed that for the first 5-6 hours after an application re-load that Full GC will run every 2 minutes pausing the application for anywhere between 5 and 20 seconds.

Re: After going to Tomcat 6 I get log4j problems. Why?

2012-05-25 Thread Pid
On 25/05/2012 10:03, Hermes Flying wrote: Hi, I have upgraded from Tomcat 5.5 to Tomcat 6.0.35 I am getting java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory I didn't have this problem before. Note that I have commons-logging already in my web apps WEB-INF\lib And

Re: mod_jk not working !!

2012-05-25 Thread Pid *
On 25 May 2012, at 19:21, Mark Eggers its_toas...@yahoo.com wrote: From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Friday, May 25, 2012 9:57 AM Subject: Re: mod_jk not working !! -BEGIN PGP

Re: After going to Tomcat 6 I get log4j problems. Why? (RE:)

2012-05-25 Thread Pid
On 25/05/2012 21:40, Hermes Flying wrote: Creating a new Thread as Pid recommended: Concerning the questions posed by Konstantin Kolinko: You do not say what jars are exactly where and what actual configuration (server.xml and logging) you have. I am not sure I follow: you mean the version? I

Re: Isapi redirector log file is always empty - IIS 7.5 - Tomcat 7.0.26 - Isapi 1.2.30 - Win2008 R2

2012-05-21 Thread Pid
On 18/05/2012 00:58, ann ramos wrote: Hi, I have set up our system to do SSO. The setup works fine because whenever the user access the system, they are automatically logged in to the system. Following are the steps that I used to set up Isapi: 1. Manually created the folders Apache

Re: TC7: trigger seeding of SecureRandom

2012-05-21 Thread Pid
On 21/05/2012 08:18, Jamie wrote: Hi There We've just upgraded out web app to TC7. It seems the following is being outputted repeatedly on the console for each page load: trigger seeding of SecureRandom done seeding SecureRandom Can you post the full information from the log file,

Re: aliases attribute tomcat7

2012-05-21 Thread Pid
wise. Thanks, Michael 2012/5/17, Pid p...@pidster.com: On 17/05/2012 06:41, Michael Ravits wrote: Hi Everybody, I just can't get this to work. Installed Tomcat 7.0.21 on ubuntu 11 using apt-get. I deployed ROOT.war and then went on to configure aliases. Tried adding the attribute

Re: I have /subapp/a and /subapp/b. Can i have different sessions for them?

2012-05-19 Thread Pid *
On 18 May 2012, at 20:38, Teo teomina...@gmail.com wrote: Hi, first time posting on a mailing list, hope i'm not breaking any rules of some sort. My problem is pretty simple but it seems a lot of people have trouble understanding it in other forums. Okay... Let's say i have 2 main entry

Re: aliases attribute tomcat7

2012-05-17 Thread Pid
On 17/05/2012 06:41, Michael Ravits wrote: Hi Everybody, I just can't get this to work. Installed Tomcat 7.0.21 on ubuntu 11 using apt-get. I deployed ROOT.war and then went on to configure aliases. Tried adding the attribute in: Obvious question: what exactly did you try? p

Re: tomcat slowing down

2012-05-17 Thread Pid *
On 17 May 2012, at 07:42, Christian Kaufhold kaufhol...@googlemail.com wrote: Hi Mikolaj, thanks I will do that, do you know a free tool to generate request for the simulation of about 30 clients being connected? JMeter p Am 16.05.2012 um 21:49 schrieb Mikolaj Rydzewski: On

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-16 Thread Pid
On 15/05/2012 23:32, Miguel González Castaños wrote: On 15/05/2012 17:22, André Warnier wrote: Vickie Troy-McKoy wrote: ... Thank you Andre for your help. After I configured it as you specified, the behavior was the same as before I inquired on this forum. Well, it doesn't sound as if we

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