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 I am thinking of a couple of command-line options for the JVM, to dump for example

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 loading

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 index

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

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 forward

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

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: 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: Host name=localhost appBase=webapps unpackWARs=true autoDeploy=false

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

Re: AW: Restarting Tomcat remotely

2011-05-04 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 itself)

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 Java

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 chuck.caldar...@unisys.comwrote: From: Michael Anstis [mailto:michael.ans...@gmail.com] Subject: Re: Tomcat 6:

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 chuck.caldar...@unisys.comwrote: From: Michael Anstis [mailto:michael.ans...@gmail.com

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

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 has

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

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

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

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

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. http://www.myuniportal.com/tomcatjerseyservletprofile.jpg What are we looking

Re: Performance Tuning Tomcat 7...

2011-02-14 Thread Pid
@tomcat.apache.org 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 that is only the response not the request. Pid meant

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

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)); free(str

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

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

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

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

Re: java-process blocks cpu core to 100%

2011-01-30 Thread Pid *
On 28 Jan 2011, at 14:32, Christopher Schultz ch...@christopherschultz.net 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

Re: deploying a war file and starting the application

2011-01-30 Thread Pid *
On 30 Jan 2011, at 19:29, Christopher Schultz ch...@christopherschultz.net 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

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): Realm className=org.apache.catalina.realm.JDBCRealm debug=99

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 correctly you've got a single

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 the

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 ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 1/26/2011 10:55 AM, Konstantin Kolinko wrote: 2011/1/25 Christopher Schultz ch...@christopherschultz.net: Should I expect that a request that

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

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

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

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

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:

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

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. What do you mean

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

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

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

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 new

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

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

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 the

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

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

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

Re: tomcat won't start via remote ssh command

2011-01-12 Thread Pid *
On 13 Jan 2011, at 02:42, james ja...@wintercastle.net 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

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 Linux and my goal is to

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: Configuring Embedded Tomcat

2011-01-10 Thread Pid
that. I'm out of other ideas and things to try. -- Chris On Mon, Jan 10, 2011 at 12:22 PM, Pid p...@pidster.com wrote: 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

Re: Configuring Embedded Tomcat

2011-01-10 Thread Pid
be used. Mark -- Chris On Mon, Jan 10, 2011 at 12:48 PM, Pid p...@pidster.com wrote: Can you not create a org.apache.catalina.realms.MemoryRealm and set the path to the xml file? p - To unsubscribe, e-mail: users

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

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, in my

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 logs

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

2011-01-07 Thread Pid
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 p...@pidster.com wrote: 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

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 I

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 =

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 Apache

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, sharing)

Re: Configuring Embedded Tomcat

2011-01-07 Thread Pid
? 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 p...@pidster.com wrote: On 1/7/11 6:59 PM, Christopher Gross

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 latest

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2011-01-06 Thread Pid
On 1/5/11 8:44 PM, Joe Greenawalt wrote: So i went to the appservers and sure enough it was there * -Xverify:none*, Out of interest in which config file was this set? It's not an attribute set as standard by Tomcat. p 0x62590808.asc Description: application/pgp-keys signature.asc

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 Proxy

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

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 if

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

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: httpd/Tomcat load balancing question

2011-01-05 Thread Pid
On 1/5/11 4:21 PM, Christopher Schultz wrote: In this case, only gain. I see some opportunities for loss: see above. :) p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: What is the healthy interval length for young gc?

2011-01-04 Thread Pid
On 1/3/11 7:54 PM, Pid wrote: On 1/3/11 2:41 PM, Leon Rosenberg wrote: On Mon, Jan 3, 2011 at 3:10 PM, Pid p...@pidster.com wrote: On 1/3/11 1:10 PM, Leon Rosenberg wrote: Actually no, in my understanding both are independent. I mean the gc doesn't start to copy over if young is full

Re: What is the healthy interval length for young gc?

2011-01-04 Thread Pid
On 1/4/11 1:38 PM, Leon Rosenberg wrote: On Tue, Jan 4, 2011 at 1:08 PM, Pid p...@pidster.com wrote: Having said that, you might also just try, instead: -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy I think UseParallelGC is default? I didn't think so, but I could be wrong. I've

Re: What is the healthy interval length for young gc?

2011-01-04 Thread Pid
On 1/4/11 2:47 PM, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: What is the healthy interval length for young gc? I think UseParallelGC is default? I didn't think so, but I could be wrong. It has been the default for quite some time if multiple cores

Re: Tomcat uses more and more PermGen space

2011-01-03 Thread Pid
On 1/3/11 1:48 PM, Mikolaj Rydzewski wrote: Hi all, While investigating OOM issue I discovered, that Tomcat instantly uses more and more PermGen space. At this moment I have access to one environemnt only, this is: Windows XP Java 1.6.0_22 Vanilla Tomcat 6.0.21 Are you sure it's

Re: What is the healthy interval length for young gc?

2011-01-03 Thread Pid
On 1/3/11 1:10 PM, Leon Rosenberg wrote: Hello André, On Mon, Jan 3, 2011 at 1:35 PM, André Warnier a...@ice-sa.com wrote: Leon Rosenberg wrote: I understand that this is a very application specific issue, but I'm wondering which interval is perceived as 'healthy' for young collections? I

Re: Tomcat(5.5) Clustering and Load Balancing.

2011-01-03 Thread Pid
On 1/3/11 9:40 AM, Harsimranjit singh Kler wrote: using tomcat instances only(balancer Feature) Why? http://tomcat.apache.org/tomcat-5.5-doc/balancer-howto.html#Using_the_balancer_webapp This is a simple implementation of a rules-based load balancer. It was not designed as a replacement for

Re: multipart/form-data support

2011-01-03 Thread Pid
On 1/3/11 3:06 AM, Pankaj Tiwari wrote: I have been trying to send multipart/form-data to the server. I have found that the request never reaches the server. Doesn't sound like a Tomcat problem to me then... This is my client code, if I am missing something core in here. public static

Re: GeoServer on Tomcat

2011-01-03 Thread Pid
On 1/3/11 4:05 AM, Deepak Pal wrote: Hye Guys, I have a web based application which is getting it's Geo-spatial data from Geo-Server and the Geo- Server is deployed on Tomcat I want to scale this web application by using Scalr scalability framework . My configuration in scalr framework

Re: Encoding Issue on POST

2011-01-03 Thread Pid
On 1/3/11 7:17 AM, André Warnier wrote: Try the following : in your form tag, add the attribute enctype=multipart/form-data and try again. Is it possible to include charset attribute? enctype=multipart/form-data;charset=UTF-8 p 0x62590808.asc Description: application/pgp-keys

Re: Tomcat uses more and more PermGen space

2011-01-03 Thread Pid
On 1/3/11 2:13 PM, Mikolaj Rydzewski wrote: So Tomcat, with no webapps, uses more PermGen over time? Yes. My 6.0.29 doesn't. It just sits there using ~18Mb of PermGen. No webapps, or just the example webapps? Is there any traffic to the Tomcat instance? p 0x62590808.asc Description:

[OT] Re: multipart/form-data support

2011-01-03 Thread Pid
. p On Mon, Jan 3, 2011 at 7:53 PM, Pid p...@pidster.com wrote: On 1/3/11 3:06 AM, Pankaj Tiwari wrote: I have been trying to send multipart/form-data to the server. I have found that the request never reaches the server. Doesn't sound like a Tomcat problem to me then... This is my

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