Re: specifying the content-type

2011-06-03 Thread Pid
On 03/06/2011 10:22, André Warnier wrote: > Pid wrote: >> On 01/06/2011 13:13, Lentes, Bernd wrote: >>> Andre Warnier wrote: >>> >>>> Your configuration of mod_jk below looks correct (except a >>>> small detail, see JkMount). >>&

Re: Inconsistency in user documentation

2011-06-03 Thread Pid
On 03/06/2011 14:50, Ivo Kammerath wrote: > Is this something I can do myself, If yes how can I do this? Is there > some kind of content management behind the general web pages or is this > simply static content? Am I even allowed to make this change myself? The docs are stored in xml, in the Tom

Re: error-page for http 500 error code does not work

2011-06-03 Thread Pid
On 02/06/2011 21:45, Kevin Claver wrote: > Two things I would like to note: > > 1. When I invoke the Java HMAExceptionHandlerServlet configured to be used > in the error-page block in the application specific web.xml directly from the > URL in the browser, it works. > > 2. Tomcat 5.5.33 does

Re: specifying the content-type

2011-06-03 Thread Pid
On 01/06/2011 13:13, Lentes, Bernd wrote: > Andre Warnier wrote: > >> >> Your configuration of mod_jk below looks correct (except a >> small detail, see JkMount). >> But I must say that it is difficult to believe that the >> request is actually forwarded to Tomcat, and that Tomcat then >> fails to

Re: Tomcat with Cisco ACE Load Balancer

2011-06-01 Thread Pid
On 31/05/2011 21:10, Tauqir Akhtar wrote: > Hi > > We have been using Weblogic Clusters with Cisco ACE Load Balancer > We have 8 managed servers in the weblogic Cluster distributed evenly over two > Machines. > Load Balancer distributes the load in Robin Round fashion across these 8 > managed se

Re: specifying the content-type

2011-06-01 Thread Pid
On 01/06/2011 10:55, Lentes, Bernd wrote: > lrwxrwxrwx 1 root root 20 Apr 18 16:33 webapps -> /srv/tomcat6/webapps/ What is in the webapps dir? A directory called 'mouseidgenes'? If so, what is the file tree in that directory? What is "/mouseidgenes/InputData"? Is it a servlet or a JSP? p

Re: specifying the content-type

2011-06-01 Thread Pid
On 01/06/2011 11:04, André Warnier wrote: >> JkMount /mouseidgenes/* appl01 > > This will forward a request like "/mouseidgenes/index.jsp", but will not > forward the URL "/mouseidgenes". You may want to add > JkMount /mouseidgenes appl01 There is a syntax method to address this situat

Re: Tomcat reset connection before completing the request

2011-05-31 Thread Pid
On 31/05/2011 15:03, Chaminda Divitotawela wrote: > I am using two tomcat 6.0.13 servers loadblanced by a apache httpd-2.2.4 You really, really need to upgrade Tomcat. That version is old & many problems have been fixed since then. p signature.asc Description: OpenPGP digital signature

Re: Switching native Tomcat logging system

2011-05-31 Thread Pid
On 31/05/2011 19:49, Francis GALIEGUE wrote: > Hello, > > For some obscure reasons, Tomcat insists on having its own "native" > implementation of a logging system, namely juli. > > This is beyond my understanding. Log4j has existed for years, is much > better than even the native Sun's JDK loggin

Re: Monitoring memory usage of JVM

2011-05-26 Thread Pid
On 26/05/2011 21:50, André Warnier wrote: > André Warnier wrote: >> Pid wrote: >>> On 26/05/2011 20:16, Caldarale, Charles R wrote: >>>>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring >>>>> memory usage of JVM >>>>>

Re: Monitoring memory usage of JVM

2011-05-26 Thread Pid
On 26/05/2011 20:16, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Monitoring memory usage of JVM > >> I am thinking of a couple of command-line options for the JVM, >> to dump for example some information each time a GC happens, > > Try -verbose:gc and

Re: Issues with getRemoteAddress

2011-05-26 Thread Pid
On 26/05/2011 15:43, Filippo Machi wrote: > Ciao Christopher, > we don't trust 85.18.x.x., it doesn't belong to us, that's why I posted my > question. > We're not able to explain how is possible that a request from localhost to > localhost > appear to be issued from a different ip. If it's not one

Re: Overriding error page displayed when a context fails to initialize

2011-05-25 Thread Pid
On 25/05/2011 13:36, Sai Pullabhotla wrote: > Thanks for the replies and suggestions. > > I don't think Tomcat falls back to the ROOT context if another context > fails to start (unless I'm missing something). > > Just to try it out, I did create a subfolder called "context1" in > ROOT, with an i

Re: problems get tomcat6 running

2011-05-25 Thread Pid
On 25/05/2011 13:55, Christian Röttger wrote: > Dear List, > > i installed tomcat6.0.24 on a ubuntu 10.04 server with this installation > guide ( https://help.ubuntu.com/10.04/serverguide/C/tomcat.html ) > without changing the port. > > when i try to access the page on myserver:8080 it remains lo

Re: java.lang.ClassNotFoundException - JSP pages

2011-05-23 Thread Pid
On 23/05/2011 14:10, Tom Wolf wrote: > If anyone has any tips, I'll appreciate it. Precompile the JSPs and build a WAR file, deploy that instead. p signature.asc Description: OpenPGP digital signature

Re: New Birthday Calendar

2011-05-20 Thread Pid
On 19/05/2011 15:43, Mark Thomas wrote: > Way ahead of you. The unsubscribe command went out about 30s after the > original message arrived in my inbox. > > Mark > > PS Rather than re-post messages like this to the list (which just > repeats the URL and further annoys the other subscribes) just f

Re: Tomcat download stream gets broken

2011-05-20 Thread Pid
Oh dear. On 19/05/2011 17:09, Rob GB wrote: > > Hi,I sent it from gmail in the right format some minutes ago, you should had > already received it.Here it goes again. Thanks. > > public void service(HttpServletRequest request, HttpServletResponse > response) throws IOException {by

Re: New Birthday Calendar

2011-05-19 Thread Pid
Unsubscribe this dude someone, please. p On 17/05/2011 11:42, Abhay Adgurwar wrote: > Hello > > Click on the link below and please enter your birthday for me. It will take > less than one minute. > > http://www.birthdayalarm.com/bd2/83842497a620634935b1537677409c348957808d1386 > > Thank You

Re: Tomcat download stream gets broken

2011-05-19 Thread Pid
On 19/05/2011 11:44, Rob GB wrote: > > Hi all, > I have a file download servlet running on Tomcat, the code is > > public void service(HttpServletRequest request, HttpServletResponse > response) throws IOException {byte buf[] = new byte[1024 * 4]; > try {File file

Re: Multiple context paths for single deployment

2011-05-13 Thread Pid
On 12/05/2011 11:28, JanAa wrote: > > Hi, > > I want to have more than one context path for a single deployment in Tomcat > 5.5.28. Whatever I do I seem to get multiple deployments. > In server.xml I have: > unpackWARs="true" autoDeploy="false" deployIgnore="alternative" >xm

Re: Suggestions for really getting to the bottom of memory leak issues on hot-deploys

2011-05-11 Thread Pid
On 5/10/11 8:55 PM, Gary Weaver wrote: > Here's what I did and what little I came up with: > http://stufftohelpyouout.blogspot.com/2011/05/diagnosing-webappportlet-hot-deploy.html > > I'm definitely not an expert at diagnosing leaks, so if you have any > recommendations/comments, please let me kno

Re: AW: Restarting Tomcat remotely

2011-05-03 Thread Pid
On 5/3/11 6:54 AM, Alexander Diedler wrote: > If it is a Windows Server you can use the MMC vor Services to connect remotly > to the Services and restart it. > > > Hi, > > Can anybody please let me know if there is way to start/stop Tomcat > remotely(Not start/stop of applications but server

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-02 Thread Pid
On 5/2/11 7:07 PM, Varuna Seneviratna wrote: > Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or > refer me to relevant documentation.I am Unable to understand what is > documented at http://tomcat.apache.org/tomcat-5.5-doc/setup.html and > configure Tomcat in order to create a J

Re: Tomcat 6: Classloading: META-INF\services: Nested JARs

2011-04-26 Thread Pid
On 4/22/11 11:00 PM, Michael Anstis wrote: > Hi, > > I am trying to resolve a problem that I assume relates to class loading. > > My application contains a JAR that contains a file in META-INF\services:- > > MyApp > \-- WEB-INF > \-- lib > \-- AJar.jar > \-- META-INF >

Re: Tomcat 6: Classloading: META-INF\services: Nested JARs

2011-04-26 Thread Pid
On 4/27/11 12:46 AM, Pid wrote: > On 4/23/11 9:47 AM, Michael Anstis wrote: >> Hey, no problem. I deserved it. >> >> I'm happy your answer fixed my problem :) >> >> >> On 23 April 2011 01:09, Caldarale, Charles R >> wrote: >> &g

Re: Tomcat 6: Classloading: META-INF\services: Nested JARs

2011-04-26 Thread Pid
On 4/23/11 9:47 AM, Michael Anstis wrote: > Hey, no problem. I deserved it. > > I'm happy your answer fixed my problem :) > > > On 23 April 2011 01:09, Caldarale, Charles R > wrote: > >>> From: Michael Anstis [mailto:michael.ans...@gmail.com] >>> Subject: Re: Tomcat 6: Classloading: META-INF\s

Re: AW: Setting the maxHTTPHeaderSize to 'infinity'

2011-04-19 Thread Pid
On 4/19/11 12:20 PM, André Warnier wrote: > Hi. > > I will let someone else comment on your code. I can say that doesn't look like i'd expect it to, per the example code from the Commons HTTP 3.x or HTTP Client 4.x versions. > (But remember, this is a help forum for Tomcat, which is the server

Re: tomcat class loaders problem

2011-04-17 Thread Pid
On 4/17/11 5:32 AM, Michal Singer wrote: > Hi, I am using tomcat version: apache-tomcat-6.0.18 Upgrade to a newer version of Tomcat 6 and then carefully monitor the logs during a webapp reload cycle. p > I have a problem on raise some times (hard to reproduce) where the tomcat > creates two in

Re: Working of Tomcat with MS Access

2011-04-16 Thread Pid
On 4/15/11 6:58 PM, RAHUL RAJ wrote: > This is like a small assignment that has to be submitted urgently Is this student coursework? p signature.asc Description: OpenPGP digital signature

Re: Tomcat on a Linux virtual machine

2011-04-16 Thread Pid
On 4/16/11 4:18 AM, Darryl Lewis wrote: > I have an application (commercial) running on a virtual instance of Linux > talking to a Postgres database. > We are continually getting locks on the DB that are crashing the app. > I think it's just bad programming on the suppliers side, but the supplier

Re: Which data structure (whether FIFO queue or Input stream) is used by Tomcat server

2011-04-11 Thread Pid
On 4/10/11 5:54 PM, vinod hv wrote: > Hello everyone.. > > What i mean in the above question is that, when we send a HTTP request to > the apache tomcat server in which data structure does it get stored for > further action(like processing it and serving the request) > > I am designing a testing

Re: Log File Problems in tomcat

2011-04-08 Thread Pid
On 4/8/11 8:18 PM, Harsimranjit singh Kler wrote: > hi > > Using tomcat 5.5.27 on Linux machine . > > Whenever i am deleting log files(catalina,localhost etc log files) from > tomcat_home\logs path.These are not auto genrating .Everytime i need to > restart tomcat to get thise files i dont want

Re: How to hide tomcat console when installed as service

2011-04-07 Thread Pid
On 4/7/11 9:13 AM, Amit k wrote: > I am using tomcat 6.0.29 (32bit) source to build the tomcat. Why not just use the binary? How are you starting Tomcat when it exhibits the issue, exactly? p signature.asc Description: OpenPGP digital signature

Re: JDBC Pool Disconnections

2011-04-07 Thread Pid
On 4/6/11 8:36 PM, הילה wrote: > I wanted to add it, bu the company that developed the application that runs > on the tomcat, says that it affect performance and has issues. Which DB driver are you using? In my experience some of the jTDS driver variations have issues. p > what do you mean "v

Re: Session sharing between context

2011-04-07 Thread Pid
On 4/6/11 7:52 PM, Christopher Schultz wrote: > Sergio, > > On 4/5/2011 9:03 AM, Sergio wrote: >> We have an environment where there will be several instance of the same >> webapp running on tomcat (sharing libraries when possible), each >> connecting to different database. My idea is to have a we

Re: Tomcat calling into itself

2011-04-05 Thread Pid
On 4/5/11 7:56 AM, Michael McCutcheon wrote: > Hello, > > I have a java webapp that is going to make calls to Solr. Both the > webapp and Solr will be on the same server. OK. Note it's a good idea to tell us what exact OS, Java, Tomcat versions you're running. > I have heard that it is not re

Re: password encryption

2011-04-01 Thread Pid
On 01/04/2011 15:47, Henry Lu wrote: > I tried the following command and failed as tomcat home directory: Please don't hijack threads. p signature.asc Description: OpenPGP digital signature

Re: Tomcat GzipOutputFilter

2011-04-01 Thread Pid
On 01/04/2011 13:31, John Baker wrote: > The AJP connector doesn't support compression (a missing useful feature > in my opinion) so I found myself looking for a filter. Thanks for > letting me know it won't work. I'll look at the example filter. Surely you want to be doing that at the HTTPD edge?

Re: maxThreads

2011-04-01 Thread Pid
On 01/04/2011 06:58, Kaushal Shriyan wrote: > Hi, > > What are the implications or issues if maxThreads are increased from the > default 150 to 300 threads. Are there any performance issues ? Yes, may be at risk of improving performance. p > I am using TC 5.5.27 , Ubuntu Linux Server 8.04 , Su

Re: Installing Tomcat the Brute Force Way?

2011-03-19 Thread Pid
On 19/03/2011 17:57, André Warnier wrote: > ken dias wrote: >> >> >> I had installed Tomcat 6 with no problem. Then started having >> problems, so uninstalled it and reinstalled but the icon does not >> appear on the taskbar and hence server does not work and localhost >> also. Not sure how to pr

Re: 500 Internal Server Error after 5 minutes

2011-02-18 Thread Pid
On 2/17/11 5:55 PM, Martin Gainty wrote: > we need more information to assist with your problem: > clients name: > clients billing address LOL Man, you crack me up. p signature.asc Description: OpenPGP digital signature

Re: Performance Tuning Tomcat 7...

2011-02-15 Thread Pid
On 2/15/11 2:34 PM, Christopher Schultz wrote: > Pid, > > On 2/14/2011 5:39 AM, Pid wrote: >> On 2/13/11 8:15 PM, Tony Anecito wrote: >>> Hi Mark, >>> >>> Here is the link to the screenshot I tried to send as an attachement. >>> >>&g

Re: Performance Tuning Tomcat 7...

2011-02-14 Thread Pid
mas > To: Tomcat Users List > Sent: Sun, February 13, 2011 2:54:53 AM > Subject: Re: Performance Tuning Tomcat 7... > > On 13/02/2011 04:33, Tony Anecito wrote: >> Thanks Pid. >> >> Odd though I did a GET with no attachments. >> I do return a complex object but

Re: Performance Tuning Tomcat 7...

2011-02-12 Thread Pid
On 2/12/11 10:23 PM, Tony Anecito wrote: > I attached the screenshot of visualvm showing what I mean. The list strips attachments... p signature.asc Description: OpenPGP digital signature

Re: Tomcat 7 and parsers...

2011-02-11 Thread Pid
On 2/11/11 10:40 PM, Tony Anecito wrote: > Hi All, > > Is it possible to replace xml parsers in Tomcat 7? Not really AFAIK. > Which xml parsers are used? Tomcat only parses XML at server or app startup. > I am just doing some performance testing of Tocat 7.0.8 and wondering. > Perhaps > onl

Re: Is IBM Right About Java?

2011-02-10 Thread Pid
On 2/9/11 8:01 PM, Edward Bicker wrote: > > I agree, I have enjoying Charles remarks and comments as well. > I say to PID, he needs to PIDDLE off and leave us alone. > /Ed // eds_sense_of_humor is a little-known but primitive type char *str = (char *)malloc(sizeof(eds_sense_of_humor

Re: Is IBM Right About Java?

2011-02-08 Thread Pid
On 2/8/11 4:27 PM, Robinson, Eric wrote: > Saw this statement on an IBM web site: Please don't hijack threads. Start a new email to the list, just like you would to a person. p signature.asc Description: OpenPGP digital signature

Re: Is IBM Right About Java?

2011-02-08 Thread Pid
On 2/8/11 4:27 PM, Robinson, Eric wrote: > Saw this statement on an IBM web site: Please don't hijack threads. Start a new email to the list, just like you would to a person. p signature.asc Description: OpenPGP digital signature

Re: Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Pid
On 07/02/2011 12:37, Gabriele Bulfon wrote: > Sorry, I thought it was an already known issue. > I'm using SWFUpload, a mix of javascript/flash that enables multiple > files to be uploaded > with multiselection. It uses JSESSIONID to mantain session. > > I have read these two links about the proble

Re: Tomcat7 - Firefox - SWF Upload

2011-02-07 Thread Pid
On 07/02/2011 11:26, Gabriele Bulfon wrote: > Hi, I've been running a web app under Tomcat6 for ages, where swf upload > worked. > Once switching to Tomcat7, swf upload stopped working only on firefox. > Googling around I see some posts about a change on JSESSIONID wich may > cause the swf upload >

Re: Does tomcat use some kind of virtualization technology or sharing/mounting network filesystem?

2011-02-07 Thread Pid
On 07/02/2011 10:19, Astghik Mkrtchyan wrote: > Does tomcat use some kind of virtualization technology or sharing/mounting > network filesystem? Or what kind of reason can be for such behavior and how > to fix? No it doesn't. p signature.asc Description: OpenPGP digital signature

Re: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-03 Thread Pid
On 02/02/2011 09:40, henry human wrote: > Hi I get the following error when I try to call a smal java application(hello > friends!) which i placed in a jar file. the application has the log4j.jar in > its lib directory (and classpath) and calls the log4j.logger like this: > private static final L

Re: apache question

2011-02-03 Thread Pid
On 02/02/2011 19:00, Lava Saleem wrote: > Hi everyone, > I'm sorry for not providing the system informations earlier, the linux I'm > using is centos 2.6.18 and the apache tomcat is 7.0.4 java is 1.6.0_22 I > know the difference between apache tomcat and apache httpd, I need > to configure apach

Re: CLOSE_WAIT

2011-02-03 Thread Pid
What factor caused so many people to hijack this thread? Dear Bw57899, Please, in future, do not edit the subject line & body of a reply to an existing thread, create a new email and address it to users@tomcat.apache.org - otherwise you leave all of the mail headers intact. This frowned-upon pr

Re: how to refresh connection pool before it gets completely busy

2011-02-03 Thread Pid
On 02/02/2011 06:53, Rhonny David wrote: > Dear All, > > We are facing connection pool busy problem in tomcat 6.0.29. Till we finalize > our investigation, we need connection pool to be refreshed before all > connections get busy. Say for example if we have connection pool size 60, > then > it

Re: deploying a war file and starting the application

2011-01-30 Thread Pid *
On 30 Jan 2011, at 19:29, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Robert, > > On 1/28/2011 6:05 PM, robert.jen...@surecomp.com wrote: >> Well after playing with web.xml I got my app up and partly working in Tomcat >> 7. > > Good that it's working... sorry

Re: java-process blocks cpu core to 100%

2011-01-30 Thread Pid *
On 28 Jan 2011, at 14:32, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris, > > On 1/28/2011 9:16 AM, Christoph Balthaus wrote: >> Sorry, not possible - it's running on a remote machine where I can just use >> the ibm package and in theirs JDK jstack is not i

Re: Pid OpenSSO request for Tomcat Form Authentication that requires no password for third party SSO

2011-01-30 Thread Pid *
On 28 Jan 2011, at 18:53, "beau.hutche...@thomsonreuters.com" wrote: > @Pid: The SSo third party app knows the SSO entry point into my Tomcat app. I > am supplied an encrypted token which contains the username and my tomcat app > has the libraries to unencrypt that t

Re: Tomcat reuses threads and connection instances

2011-01-28 Thread Pid
On 1/26/11 11:37 PM, Christopher Schultz wrote: > Blake, > > On 1/26/2011 4:05 PM, Blake McBride wrote: >> The first time a particular web service is called tomcat starts a thread to >> run it on and creates an instance of the class that implements the web >> service. All fine. However, if after

Re: Pid OpenSSO request for Tomcat Form Authentication that requires no password for third party SSO

2011-01-28 Thread Pid
On 1/27/11 3:57 PM, beau.hutche...@thomsonreuters.com wrote: > Chris: > Thanks for your reply. > Currently I am using Tomcat 6.0.29 > > @Pid: Would you have any ideas on how to set something up like this? What details are you providing to Tomcat? If I read the thread correct

Re: Valid values for digestEncoding attribute?

2011-01-28 Thread Pid
On 1/27/11 11:01 AM, Ing. Etienne V. Depasquale wrote: > I beg pardon...I should have included the following extract from my > context.xml file (with placeholders for database, user and password): > >driverName="org.gjt.mm.mysql.Driver" Are you really using such an old driver - I've got a

Re: 400 error when a request does not map to a context

2011-01-27 Thread Pid *
On 26 Jan 2011, at 23:23, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Konstantin, > > On 1/26/2011 10:55 AM, Konstantin Kolinko wrote: >> 2011/1/25 Christopher Schultz : >>> Should I expect that a request that doesn't map to a running context >>> should return

Re: 400 error when a request does not map to a context

2011-01-25 Thread Pid
On 1/25/11 5:37 PM, Michael Ludwig wrote: > Christopher Schultz schrieb am 25.01.2011 um 11:48 (-0500): >> >> Should I expect that a request that doesn't map to a running context >> should return a 400 error? I would have expected a 404 Not Found. > > Definitely 404, as long as it isn't a "bad req

Re: Security question about Multiple instances of Tomcat running as non-admin users on a single box

2011-01-22 Thread Pid
On 1/21/11 5:56 PM, Guy Pontecorvo wrote: > Because Xserve is being discontinued we are considering the possibility of > migrating our environment to Windows 2008 R2 The JDK tools have a few more small functions on *nix than Windows - small but rather useful. This IMHO, is one key reason to stick

Re: IPR issues

2011-01-22 Thread Pid
On 1/21/11 11:54 AM, apache tomcat wrote: > > > Hi Mark > thanks for your prompt answer. > More in detail > I'd like to know if there is any patent infringement tied to the product. Are you asking if the Apache Software Foundation's Tomcat application server is shipped with code which is know

Re: Programatic JAAS login in Tomcat 6.0.26!

2011-01-20 Thread Pid
On 1/20/11 5:41 PM, neo21 zerro wrote: > How do I set it?Is it a configuration is my deployment descriptor or in the > server.xml file?In tomcat 7 .. If you're using Tomcat 7.0, just login programmatically using the HttpServletRequest.login(user, pass) method. p 0x62590808.asc Descripti

Re: Why cant the the classes (in the jars) places in Tomcat/lib see the classes from the webapp/WEB-INF/lib.

2011-01-19 Thread Pid
On 1/19/11 7:27 PM, Reinwald Warapen wrote: > On 1/20/2011 12:47 AM, Mark Thomas wrote: >> On 19/01/2011 19:17, Reinwald Warapen wrote: >>> I am writing a serializer/deserializer functionality (used in my custom >>> session manager that extends ManagerBase). When deserializing I get >>> loads of ja

Re: Tomcat web app versioning

2011-01-17 Thread Pid
On 1/17/11 5:21 PM, Gabriele Bulfon wrote: > Hello, > I read somewhere that the latest Tomcat 7 is able to handle web app > versioning, but I can't > find any documentation about it. > What is it about? There's a description towards the end of the introduction: http://tomcat.apache.org/tomcat-7.

Re: Applet, session-ID - TC 6 vs. TC7

2011-01-15 Thread Pid
On 1/15/11 5:45 PM, spr...@gmx.eu wrote: >> The interaction between the settings isn't documented as far as I >> recall. (Patches welcome) > > Can I patch it? The docs are patchable, yes. Find them in Tomcat's SVN - create a diff and attach it to a bug report in bugzilla. p 0x62590808.asc De

Re: Applet, session-ID - TC 6 vs. TC7

2011-01-15 Thread Pid
On 1/15/11 11:00 AM, spr...@gmx.eu wrote: >>> Hm, ok. I do not use tomcat's auth mechanisms. I use spring >> security. >>> Something must have changed between TC 6.0 and 7.0. And I >> have no idea >>> what... >> >> As has already been explained, the session ID changes on >> authentication. > >

Re: tomcat 6.0.29 webdav servlet support for file uploading with browser

2011-01-15 Thread Pid
On 1/15/11 12:58 AM, Al wq wrote: > > I started the tomcat webdav servlet and everything works fine. > I can both explore and write to the directory with a webdav client as 'DAV > explorer'. > However when using a browser as firefox or chrome I could explore the > directory and download as u

Re: sslHandshakeException

2011-01-14 Thread Pid
On 1/14/11 10:31 PM, g f wrote: > Hello all, > Not sure if this is the proper area to post but here goes. > I have a debian os running Apache 2.2.16(debian) along with tomcat 6.0.29. I > use mod_jk as well as mod_auth_kerb module for apache. > > I use common access cards and allow apache kerb modu

Re: Applet, session-ID - TC 6 vs. TC7

2011-01-14 Thread Pid
On 1/14/11 10:13 PM, spr...@gmx.eu wrote: >> What are you using the session id for? > > I use form auth. Subsequent calls after a successful login in the same > session are not authenticated again. > This is standard I would say. Are you unable to retrieve the new session id? >> Don't rely on th

Re: Applet, session-ID - TC 6 vs. TC7

2011-01-14 Thread Pid
On 1/14/11 8:12 PM, spr...@gmx.eu wrote: > Hi, > > I have a web app where the user logs in and starts an applet which uploads a > file and then opens a page in the browser. I use Java 1.6_16. > > When I do this in TC 6.0.13 the session-ID stays the same after login. Fine. > When I do this in TC 7

Re: how to start 1 to n daemon threads at deploy time

2011-01-14 Thread Pid
On 1/14/11 3:48 PM, alexis wrote: > Hi, im recently suscribed to the list and my apologies if this topic has been > treated before, if so, please point me to those threads :) > > I have an application running as daemon, this application handles n queue > managers (one per thread) reading those q

Re: [ANN] Apache Tomcat 7.0.6 released

2011-01-14 Thread Pid
On 1/14/11 9:15 AM, Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat 7.0.6. > > This is the first stable release of the Tomcat 7 branch. Congrats. :) p > Apache Tomcat 7.0.6 contains further performance improvements in session > management, a

Re: Tomcat JMX connection - Authentication failed.

2011-01-14 Thread Pid
On 1/13/11 5:09 PM, Ziggy wrote: > Given that Jconsole can connect to the Tomcat JMX without any user > credentials (locally), i am guessing that i dont need to supply these > credentials but how do i connect to the JMX server without supplying the > port number? (by specifying the port number it m

Re: tomcat won't start via remote ssh command

2011-01-14 Thread Pid
On 1/13/11 4:34 PM, James Chase wrote: > >> Tomcat version? >> >> Did you know there's some memory leak detection and prevention in >> recent versions of 6.0? > Apache Tomcat Version 6.0.18 That's old. Consider updating to the recently released 6.0.30. >> If you have a memory leak, why not fix

Re: Tomcat JMX connection - Authentication failed.

2011-01-13 Thread Pid
On 1/13/11 3:15 PM, Ziggy wrote: > Aha... i didnt realise that i needed to supply the credentials from the > client. I thought Tomcat would get those from the password files. Ok im off > to the documentation now. :) It could do, but you'd have to point the client at those files and read their cont

Re: tomcat won't start via remote ssh command

2011-01-12 Thread Pid *
On 13 Jan 2011, at 02:42, "james" wrote: > I created a simple (i thought) script to restart a tomcat server when our > alerting system sees the site as down (almost always a memory issue that a > reboot of the tomcat server fixes). Tomcat version? Did you know there's some memory leak detection

Re: Apache Portable Runtime (APR) based Native library for Tomcat

2011-01-12 Thread Pid
On 1/12/11 2:51 PM, Peter Sparkes wrote: > Hello, > > I have a number of Tomcat6 instances, using mod_jk, each of which runs a > separate website (linux debian lenny). > > My catalina.out files contain: > > INFO: The APR based Apache Tomcat Native library which allows optimal > performance in p

Re: Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-11 Thread Pid
On 1/11/11 5:08 PM, Christopher Schultz wrote: > Mark, > > On 1/11/2011 11:41 AM, Mark Thomas wrote: >> On 11/01/2011 16:37, Christopher Schultz wrote: >>> Kevin, >>> >>> On 1/10/2011 5:21 PM, Kevin Murray wrote: I currently have a functioning Tomcat 5.5.25 server installed on 64-bit Lin

Re: Q? is it possible to patch an existing Tomcat server install in order to advance it 'in place' to a higher version?

2011-01-10 Thread Pid *
On 10 Jan 2011, at 22:22, Kevin Murray wrote: > Hi, > > I currently have a functioning Tomcat 5.5.25 server installed on 64-bit > Linux and my goal is to advance to version Tomcat version 5.5.31 > Is the a method akin to applying a patch to my existing Tomcat 5.5.25 > install which will advance i

Re: Configuring Embedded Tomcat

2011-01-10 Thread Pid
;>>>> I created a MemoryRealm object, pointed it to my tomcat-users.xml file, >>>>> added that realm to the embedded (no luck) and to the specific context >>>> (no >>>>> luck either). For both, it just plain loads the page -- doesn't ask

Re: Configuring Embedded Tomcat

2011-01-10 Thread Pid
code that it uses to get everything started up so that I can build from > that. I'm out of other ideas and things to try. > > -- Chris > > > On Mon, Jan 10, 2011 at 12:22 PM, Pid wrote: > >> On 1/10/11 2:28 PM, Christopher Gross wrote: >>> It is specifie

Re: Configuring Embedded Tomcat

2011-01-10 Thread Pid
On 1/10/11 2:28 PM, Christopher Gross wrote: > It is specified there -- but I don't have a server.xml file set up. Since > I'm using the embedded version, I set up the tomcat on the fly and just have > the java code start it. What's stopping you from programmatically creating the Realm and adding

Re: Tomcat 6 logging clog

2011-01-08 Thread Pid
On 1/8/11 7:10 AM, Tim Space wrote: > > > > > As advised I removed every version of tomcat on my system. There were two or > three others besides the version I was running: > /usr/share/java/tomcat5 > /etc/tomcat5 > /var/lib/tomcat5 > I have always started Tomcat with the sh startup.sh script

Re: Tomcat6 with mod_jk

2011-01-07 Thread Pid
On 1/7/11 10:10 PM, Peter Sparkes wrote: > Hi, > > I am having difficulties integrating tomcat6 with mod_jk. Please, does > anyone have a user friendly guide that I can use? http://tomcat.apache.org/connectors-doc/ ? There's an excellent example workers.properties file in the tarball of the lat

Re: Configuring Embedded Tomcat

2011-01-07 Thread Pid
as > users/passwords? Is there a way for me to tell the Embedded object where it > is, or will it look in a certain spot by default? The file location is specified in a property of the Realm, no? p > Thanks! > > -- Chris > > > On Fri, Jan 7, 2011 at 3:55 PM, Pid

Re: can't start tomcat5.5.31

2011-01-07 Thread Pid
On 1/7/11 9:16 PM, Caldarale, Charles R wrote: >> From: Tim Clotworthy [mailto:tclotwor...@integratedsecure.com] >> Subject: RE: can't start tomcat5.5.31 > >> java version "1.6.0_13" >> Java(TM) SE Runtime Environment (build 1.6.0_13-b03) >> Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode,

Re: can't start tomcat5.5.31

2011-01-07 Thread Pid
On 1/7/11 8:44 PM, Tim Clotworthy wrote: > Hi, > I am not able to get tomcat5.5.31 to start. I installed using the Windows > Service Installer. The system event viewer provides the following error with > each attempt at starting Apache Tomcat service manually from the services > tool: > > The A

Re: Configuring Embedded Tomcat

2011-01-07 Thread Pid
On 1/7/11 6:59 PM, Christopher Gross wrote: > I've been looking around, but I can't seem to find somewhere that shows how > you can configure Tomcat when you embed it into an application. > > My code is like this: > > public void start() throws Exception { >String hostname = System.getPropert

Re: reading jvmRoute property specified in server.xml

2011-01-07 Thread Pid
On 1/7/11 11:10 AM, loteq wrote: > > Hi > > I have the same problem. I need to read the jvmRoute property of the tomcat > engine, but I have no access to the request, because I am in a Quartz > thread. > > Has anyone solved this issue? I don't know how old the thread you're replying to is, but

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-07 Thread Pid
ation of the different states the web module can > be? I'd look in the source or the javadocs, in the normal place. p > Thanks > > On Fri, Jan 7, 2011 at 12:43 AM, Pid wrote: > >> On 1/6/11 7:33 PM, Ziggy wrote: >>> I have gone through all the mbeans by using Jcon

Re: Tomcat 6 logging clog

2011-01-07 Thread Pid
On 1/7/11 9:40 AM, Tim Space wrote: > > Hi, > > I'm getting huge logs (50MB after startup) in catalina.out despite having > turned all logging up to SEVERE in my logging.property files. > I'm hoping someone can point me to the right thread, as I'm sure others > wouldn't have put up with 50MB

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-06 Thread Pid
On 1/6/11 7:33 PM, Ziggy wrote: > I have gone through all the mbeans by using Jconsole but i cant find the one > i need that tells me that the application is active and running. You want Catalina:type=WebModule or Catalina:type=Manager depending on what your requirements are. I'm pretty sure I've

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-06 Thread Pid
On 1/6/11 6:48 PM, Ziggy wrote: > Hi, > > Thanks for your response. I am aware of the activeSessions attribute under > "Catalina:type=Manager,path=/testapp,host=localhost". I am actually doing > this programmatically and would like to know of an Mbean that would tell me > if the application is ava

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-06 Thread Pid
On 1/6/11 6:07 PM, Ziggy wrote: > I was looking at the code for the Tomcat Manager application to try and find > out how it is determining whether a webapp/context is running and how many > sesions are active. Looking at the code i think it uses these two methods > > Context.getAvailalbe() //check

Re: Tomcat monitoring using JMX

2011-01-06 Thread Pid
On 1/6/11 12:44 PM, Ziggy wrote: > Hi, > > I am using JMX to connect to a Tomcat instance and looking at attributes for > a jdbc datasource as shown below. > > MBeanServerConnection conn = jmxc.getMBeanServerConnection(); > ObjectName on = new > ObjectName("Catalina:type=DataSource,path=/appdb,ho

Re: url prefixes behind proxy

2011-01-06 Thread Pid
On 1/6/11 11:02 AM, Gabor Pinter wrote: > Dear list, > > I have a very trivial problem. > > My setup: > CentOS 5.5 > nginx 0.8.53 > Tomcat6 You're using the unreleased, but highly experimental and potentially dangerous version 6.3.7!? ;) > net ---> nginx:80 (proxy_pass) ---> tomcat:8080 > >

<    6   7   8   9   10   11   12   13   14   15   >