RE: Tomcat on Windows: advantages of running as a service?

2005-10-12 Thread Dale, Matt
Running from a service makes it a no brainer to start up tomcat when you reboot the machine as it does it automatically. Disadvantages I would see is that it hides the console and makes it difficult to changes options like JAVA_OPTS. -Original Message- From: Ben Souther

RE: [OT] How much RAM can java use

2005-10-06 Thread Dale, Matt
Hi, This will depend on which architecture of machine you are using. You will need both a 64 bit machine and a 64bit JVM to use that much memory. We use 12GB here with no problems on 64 bit solaris. Ta Matt -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: 06

RE: [OT] How much RAM can java use

2005-10-06 Thread Dale, Matt
On the 32 bit system you definitely won't get more the 2G without some kernel hacking and you may well see even less than that. On the 64 with a 64 bit JVM you should be able to use however much you like obviously leaving some space for the OS to run in. -Original Message- From: Leon

RE: connecting httpd with Tomcat

2005-09-26 Thread Dale, Matt
JK 1.2.13 is the latest mod_jk and the one you should use. Development on mod_jk has been abandoned due to lack of developer interest and most of the features backported to JK. -Original Message- From: Peter Menzel [mailto:[EMAIL PROTECTED] Sent: 26 September 2005 16:53 To: Tomcat

RE: session problems: www.blahblah.com versus blahblah.com

2005-08-16 Thread Dale, Matt
I'm not sure if this is the only or best way but you could create virtual hosts within your server.xml, one for each domain. Then obviously your code will only exist in one of the domains and the other you can do the redirect stuff. -Original Message- From: Michael Teter [mailto:[EMAIL

RE: session problems: www.blahblah.com versus blahblah.com

2005-08-16 Thread Dale, Matt
Ignore my last mail, this way is better. Ta Matt -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 16 August 2005 13:42 To: Tomcat Users List Subject: Re: session problems: www.blahblah.com versus blahblah.com I would imagine the other way to do this is to implement

RE: session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Dale, Matt
I'm not sure if there is a technical way to do this or not as it's the browser that saves the cookie based on the current URL. The way I would do this is to not allow the user to create a session in one of them in the first place. ie, if they browse to blahblah.com then just redirect them to

RE: can't start tomcat as user

2005-07-21 Thread Dale, Matt
That is operating system dependent. On linux you will have to write a script and put it in /etc/rc.d/init.d then symlink it from the relevant run level directories. Ta Matt -Original Message- From: dummy [mailto:[EMAIL PROTECTED] Sent: 21 July 2005 04:09 To: Tomcat Users List Subject:

RE: Tomcat memory question

2005-06-14 Thread Dale, Matt
Both active sessions and the number of webapps will fill up your heap. Within 64MB I think you will struggle to run 15-20 webapps but without knowing the exact size of them all and the amount of hits you expect I couldn't say for sure. Ta Matt -Original Message- From: Charl Gerber

RE: [Q] when to share jars

2005-06-14 Thread Dale, Matt
They need to be in common/lib when they need to be accessed by tomcat itself as well as the webapps. shared/lib would just be the webapps. I don't know about struts and jstl but you'd more than likely need a log4j in each webapp to get seperate webapp logging. Ta Matt -Original

RE: Tomcat memory question

2005-06-14 Thread Dale, Matt
If Tomcat does run out of memory, what will happen? Will a user just temporarily not be able to access the apps until another session becomes available, or will it crash and I have to restart? Will 128MB be fine? --- Dale, Matt [EMAIL PROTECTED] wrote: Both active sessions and the number

RE: Where can I download the admin package?

2005-05-31 Thread Dale, Matt
Although Tomcat doesn't include the httpd server it can itself display web pages so depending on what you are doing it may be enough. Ta Matt -Original Message- From: egan0019 [mailto:[EMAIL PROTECTED] Sent: 31 May 2005 16:30 To: Tomcat Users List Subject: Re: Where can I download the

RE: Class not found

2005-05-31 Thread Dale, Matt
Is it in the lib directory of WEB-INF or just in the root of it. You should put it in the lib sub-directory -Original Message- From: Ram Sriram [mailto:[EMAIL PROTECTED] Sent: 31 May 2005 17:52 To: Tomcat Users List Subject: Re: Class not found That didn't work. Is there any

RE: Error at tomcat start up

2005-05-22 Thread Dale, Matt
The error may be in your main tomcat web.xml rather than your webapps as it appears to be at line 331 and your webapp web.xml does not have that many lines. Ta Matt -Original Message- From: tushar S Kulkarni [mailto:[EMAIL PROTECTED] Sent: 21 May 2005 19:10 To:

RE: Clustering Tomcat

2005-05-22 Thread Dale, Matt
It looks like your machine is unable to send a multicast message. It will be an operating system configuration. Ta Matt -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: 21 May 2005 02:11 To: Tomcat Subject: Clustering Tomcat Hi I'm trying to configure clustering of 2

RE: No such list! s (AM I THE ONLY ONE GETTING THIS SPAM)?

2005-05-17 Thread Dale, Matt
no you are not the only one -Original Message- From: Guy Katz [mailto:[EMAIL PROTECTED] Sent: 17 May 2005 06:47 To: Tomcat Users List Subject: RE: No such list! s (AM I THE ONLY ONE GETTING THIS SPAM)? am i the only one getting this annoying spam from the tomcat lisy? -Original

RE: server opts

2005-05-14 Thread Dale, Matt
What is the platform and error message? You haven't given us much to go on. -Original Message- From: Sergey Livanov [mailto:[EMAIL PROTECTED] Sent: 14 May 2005 18:56 To: Tomcat users Subject: server opts I have loaded 5.5.9 server. I want to set JVM options for Tomcat. When I add

RE: Jakarta Tomcat + Windows + PHP

2005-05-11 Thread Dale, Matt
The simple thing that you have missed is that you are following instructions to add PHP to Apache HTTPD, not Apache Tomcat. I think you can install PHP in Tomcat but I don't personally know how. Apache is an organisation, which makes many applications, it is not the name of a particular

RE: Jakarta Tomcat + Windows + PHP

2005-05-11 Thread Dale, Matt
- I guess i knew that. Maybe my question should have been simpler, ie How do I install PHP to Tomcat? Dale, Matt wrote: The simple thing that you have missed is that you are following instructions to add PHP to Apache HTTPD, not Apache Tomcat. I think you can install PHP in Tomcat but I don't

RE: tomcat restart?

2005-05-10 Thread Dale, Matt
This is not possible as even if it could be shut down then the servlet will no longer exist to restart it. The only way would be for the servlet to notify some external process that the tomcat needs to be restarted and the external process will do the stopping and starting. Ta Matt

activation.jar / Tomcat 5.5 / JDK 5

2005-05-06 Thread Dale, Matt
Hi, I've seen this mentioned before but no solution. I'm trying to use javamail with the above set up but I keep getting java.lang.NoClassDefFoundError: javax/activation/DataSource. I have the activation.jar and have tried it in common/lib, shared/lib and WEB-INF/lib with no success and it is

RE: activation.jar / Tomcat 5.5 / JDK 5

2005-05-06 Thread Dale, Matt
/lib and not in your web application lib folder. Allistair -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: 06 May 2005 11:10 To: Tomcat Users List (E-mail) Subject: activation.jar / Tomcat 5.5 / JDK 5 Hi, I've seen this mentioned before but no solution

RE: activation.jar / Tomcat 5.5 / JDK 5

2005-05-06 Thread Dale, Matt
no? -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: 06 May 2005 11:27 To: Tomcat Users List Subject: RE: activation.jar / Tomcat 5.5 / JDK 5 Have done that. Only ever had one copy of the jar. Ta -Original Message- From: Allistair Crossley [mailto:[EMAIL

RE: Tomcat j2sdk and image

2005-05-02 Thread Dale, Matt
I'd be surprised if anyone could with the scant information you have provided. You haven't even mentioned the image library that you are using. I would suggest that you get a profiler or debugger in order to work out what your code is doing at the time that it is generating the image and which

RE: Catalina.out eats my harddisk space

2005-04-29 Thread Dale, Matt
Under normal use very little appears in catalina.out. What exactly is filling up the file? I would suggest that it is application output or errors and that you need to sort that out. I would also suggest that you use a proper logging package like log4j which will allow you to have rotatable

RE: unable to send a java mail

2005-04-28 Thread Dale, Matt
The problem appears to be with your SMTP server and not java. Looks like you might need to open it up a bit to relaying. Ta Matt -Original Message- From: vishwam [mailto:[EMAIL PROTECTED] Sent: 28 April 2005 14:18 To: Tomcat Users List Subject: unable to send a java mail iam trying

RE: All threads (250) are currently busy

2005-04-27 Thread Dale, Matt
You can use the tomcat manager application to find out which threads are busy. And secondly send a SIGHUP to the JVM and it will do a thread dump allowing you to work out what your threads are doing. You possibly have some kind of thread leak causing you to run out. Ta Matt -Original

RE: out of memory error

2005-04-26 Thread Dale, Matt
Or you simply don't have enough memory allocated to the JVM and you need to increase it. -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: 26 April 2005 15:41 To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org Subject: RE: out of memory error I hit this issue

RE: Clustering application scope replication

2005-04-22 Thread Dale, Matt
Only objects that you put in the session would be a session attribute. Any other classes are irrelevant whether they are serializable or not. Ta Matt -Original Message- From: J. Ryan Earl [mailto:[EMAIL PROTECTED] Sent: 22 April 2005 16:24 To: Tomcat Users List; Lionel Farbos Subject:

RE: Heap not expanding beyond -Xms512m

2005-04-20 Thread Dale, Matt
This is expected behaviour. The heap will not grow if the memory required can be gained through a garbage collection. The heap will only grow if after a garbage collection it still cannot allocate the required memory or is over a certain percentage (I forget what the default is). I would

RE: Multiple tomcat instances

2005-04-15 Thread Dale, Matt
yes, just modify the server.xml on the 2nd instance so it runs on different ports. Ta Matt -Original Message- From: Kelly, Steve [mailto:[EMAIL PROTECTED] Sent: 15 April 2005 10:33 To: tomcat-user@jakarta.apache.org Subject: Multiple tomcat instances Hi, Is it possible to run

RE: tomcat 5.5 help

2005-04-13 Thread Dale, Matt
I've had this problem with the activation jar required for emailing. My suspicion is that it is from a 1.4 J2EE so there is some funniness going on there but I haven't been able to solve it yet. Would be interested in the answer to this. Ta Matt -Original Message- From: dummy

RE: Tomcat Requirements

2005-04-12 Thread Dale, Matt
There is no way for anyone to even guess at that without benchmarks of your application. I'd suggest you use Jmeter and simulate users to see how it affects a server that you have already. 3000 is a lot of users so perhaps some kind of clustered environment should be considered. -Original

RE: Connector on Solaris 10

2005-04-04 Thread Dale, Matt
Are you saying that you can't get gcc to work? This would be why you are having difficulty compling JK. Get gcc to work then worry about the connector. Ta Matt -Original Message- From: jefou [mailto:[EMAIL PROTECTED] Sent: 04 April 2005 17:00 To: Tomcat Users List Cc: [EMAIL PROTECTED]

RE: Clustering question

2005-04-01 Thread Dale, Matt
Yes this is a problem. All objects contained within a serializable object must in turn be serializable themselves. -Original Message- From: Steven Pannell [mailto:[EMAIL PROTECTED] Sent: 01 April 2005 12:33 To: 'tomcat-user@jakarta.apache.org' Subject: Clustering question Hi, I have

RE: possibly stupid question

2005-03-30 Thread Dale, Matt
Are you running it as a service? If so you may find that the output is going to stdout.log Ta Matt -Original Message- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: 30 March 2005 10:54 To: tomcat-user@jakarta.apache.org Subject: possibly stupid question I am running tomcat 5.5 on

RE: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Dale, Matt
1.2.6 is the latest and should work with Apache 2 so you don't have to go back to apache 1. Ta Matt -Original Message- From: Paul Puschmann [mailto:[EMAIL PROTECTED] Sent: 14 March 2005 12:28 To: Tomcat Users List Subject: Re: jk2 for Apache2 and Tomcat 4 Mladen Turk wrote: Paul

RE: I'm using a linux server (fedora core 2) which has

2005-03-13 Thread Dale, Matt
Install the latest from the 1.2.X line as JK2 is not longer being developed. I thought the latest was higher but I was obviously wrong. You can get 1.2.8 at http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi -Original Message- From: Pete Eakle [mailto:[EMAIL

RE: Too many open files exception

2005-03-11 Thread Dale, Matt
Sounds like you need to up the number of open files allowed at the operating system level. Ta Matt -Original Message- From: Moderate Extremist [mailto:[EMAIL PROTECTED] Sent: 11 March 2005 12:38 To: tomcat-user@jakarta.apache.org Subject: Too many open files exception A coworker of

RE: Query on changing the path for catalina.out

2005-03-09 Thread Dale, Matt
The location of the catalina.out log file is not controlled from server.xml. This is other log files. Look in catalina.sh for $CATALINA_BASE/logs/catalina.out 21 and change that, to change the location of catalina.out. Ta Matt -Original Message- From: [EMAIL PROTECTED]

RE: OutOfMemory / JMeter / Profiler questions

2005-03-04 Thread Dale, Matt
Hi, Tomcat always serializes sessions on shutdown and reloads them on startup. This is the default behaviour but can be changed. You are right in thinking that sessions are serialized per context though. Are you using the standard manager or the persistent manager as they are stored

RE: OutOfMemory / JMeter / Profiler questions

2005-03-04 Thread Dale, Matt
: OutOfMemory / JMeter / Profiler questions Matt, Thanks for your feedbackwhich triggered more questions below! -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: 04 March 2005 15:26 To: Tomcat Users List Subject: RE: OutOfMemory / JMeter / Profiler questions Hi

RE: Tomcat multiple instancies

2005-03-01 Thread Dale, Matt
You just have to change the ports that are used in the server.xml. Ta Matt -Original Message- From: Andrea Anastasescu [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 09:35 To: Tomcat Users List Subject: Tomcat multiple instancies Hello everybody, I need to run 2 different instacies of

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Dale, Matt
I would guess that this means you have an object in your session that does not implement the serializable interface. Ta Matt -Original Message- From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Sent: 28 February 2005 09:21 To: tomcat-user@jakarta.apache.org Subject: Tomcat clustering and

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Dale, Matt
objects. When we switched to clustering I was surprised at how many of my session objects I needed to add serializable to. But it was easy work and quickl done. HTH - Richard Dale, Matt wrote: I would guess that this means you have an object in your session that does not implement

RE: Getting other Sessions

2005-02-23 Thread Dale, Matt
Hi, That doesn't answer Joseph's question. It tells him how to access the objects in his own session but not how to access other peoples sessions. I would be interested to see how this is done as well. Ta Matt -Original Message- From: Bernhard Slominski [mailto:[EMAIL PROTECTED]

RE: moving all classes to shared

2005-02-20 Thread Dale, Matt
I'm not sure what you're getting at here. The number of users are irrelevant to the classes. You should only use shared/classes if the classes have to be shared across web apps. Although this is not usually advised as it is good practice to keep web apps self contained. WEB-INF/classes would

RE: manager application

2005-02-14 Thread Dale, Matt
To use the manager app you have to add a user into the tomcat-users.xml with the manager role. Ta Matt -Original Message- From: P.M [mailto:[EMAIL PROTECTED] Sent: 13 February 2005 14:43 To: Jarkarta - TOMCAT Apache Subject: manager application Hi, I open the localhost:8080 without

RE: Session Objects

2005-02-08 Thread Dale, Matt
Yes it will, this won't work accross a cluster. You need to use the regular session manager. Is there any reason why you put the sessions in a singleton? Ta Matt -Original Message- From: Jagadeesha T [mailto:[EMAIL PROTECTED] Sent: 08 February 2005 17:25 To:

RE: Session Objects

2005-02-08 Thread Dale, Matt
Objects Could you explain why this won't work across a cluster? Thanks. On Tue, 8 Feb 2005 17:28:59 -, Dale, Matt [EMAIL PROTECTED] wrote: Yes it will, this won't work accross a cluster. Hi all, I' am storing session objects in a SINGLEON class object to keep all active sessions

RE: outOfMemory exception under high load

2005-02-07 Thread Dale, Matt
It could be your permanent generation that is running out of space. Get a hold of jvmstat to determine if this is the case. Ta Matt -Original Message- From: Michael Cornell [mailto:[EMAIL PROTECTED] Sent: 07 February 2005 11:31 To: Tomcat Users List Subject: Re: outOfMemory exception

RE: outOfMemory exception under high load

2005-02-07 Thread Dale, Matt
- survivors I can see no reason why these should mess anything up sufficiently to produce this error. Dale, Matt wrote: It could be your permanent generation that is running out of space. Get a hold of jvmstat to determine if this is the case. Ta Matt -Original Message- From: Michael Cornell

RE: Version control tool

2005-02-07 Thread Dale, Matt
Eclipse -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: 07 February 2005 15:25 To: Tomcat Users List Subject: OT: Version control tool Does anyone know a good version control tool for code management that is free? Also, a bug tracking application would be nice

RE: Version control tool

2005-02-07 Thread Dale, Matt
better than bugzilla...yes, even $1200 better. Larry On Mon, 7 Feb 2005 15:27:48 -, Dale, Matt [EMAIL PROTECTED] wrote: Eclipse -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: 07 February 2005 15:25 To: Tomcat Users List Subject: OT: Version control tool

RE: Tomcat 5.5.4 oveload CPU

2005-01-28 Thread Dale, Matt
Do you have enough physical memory to support the size that your JVM's grow to? Ta Matt -Original Message- From: Yuval Zantkeren [mailto:[EMAIL PROTECTED] Sent: 28 January 2005 09:25 To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.4 oveload CPU Hi, I run 3 Instance of Tomcat

RE: Still having OutOfMemory Problems (Tomcat 4.1.31)

2005-01-18 Thread Dale, Matt
If it is taking these settings then either those are not enough or you are running out space in the permanent generation. Use -XX:MaxPermSize=128m to boost the max size of it. -Original Message- From: David Johnson [mailto:[EMAIL PROTECTED] Sent: 17 January 2005 17:52 To: Tomcat Users

RE: Alpha, Beeta releases--query

2005-01-18 Thread Dale, Matt
This is not just common to open source development but development in general and I suspect there is no reason than common practice. By the time a product gets out of beta it is generally stable enough for mainstream realease. The reason why this is more prominent in open source development is

RE: Why am I getting this authentication window

2005-01-14 Thread Dale, Matt
you need to add a user with the manager role to the tomcat-users.xml file. Then use this login and you will be able to access the admin app. -Original Message-From: Venkat Radha Venkataramanan [mailto:[EMAIL PROTECTED]Sent: 14 January 2005 16:43To: 'Tomcat Users

RE: Shutdown port

2005-01-12 Thread Dale, Matt
I don't think you can as tomcat uses this itself for shutting down nicely. You could use a firewall to block the port from external access and changing the SHUTDOWN command to something else will stop people guessing at it. You can also change the port to a non default one. Ta Matt

RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-07 Thread Dale, Matt
Increase the size of the heap. The default is only 64M. Ta Matt -Original Message- From: kjiang [mailto:[EMAIL PROTECTED] Sent: 06 January 2005 21:19 To: tomcat-user@jakarta.apache.org Subject: java.lang.OutOfMemoryError Tomcat4.1.30 Hi When tomcat (version 4.1.30) read in a large

RE: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread Dale, Matt
It could also be that the Permanent Generation has filled up, look up the docs on how to increase that or start with -XX:MaxPermSize=128M -Original Message- From: SANTOS, DANIEL (SBCSI) [mailto:[EMAIL PROTECTED] Sent: 06 January 2005 14:57 To: Tomcat Users List; [EMAIL PROTECTED]

RE: dynamically compile JSPs

2004-12-22 Thread Dale, Matt
This might be a long way round but you could call a system ant job to compile them. Or if it is appropriate in your environment you should just precompile them anyway, this way there will be no performance hit at all on your production server when a new deployment is made. Ta Matt

RE: dynamically compile JSPs

2004-12-22 Thread Dale, Matt
is that some of the pages are being uploaded/overwritten through a web interface, and the changes aren't immediately visible to users. (They have to wait for the scheduled recompile to happen to see the changes they made.) Matt Dale, Matt wrote: This might be a long way round but you could call

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dale, Matt
and get jvmstat from sun, it will allow you to see which area in the heap runs out of space. Ta Matt -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 15:12 To: Tomcat Users List Subject: RE: Why is tomcat (java) so memory intensive? you

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dale, Matt
Sounds like you are running out of space in the permanent generation. Add -XX:MaxPermSize=128M to your JAVA_OPTS -Original Message- From: Philippe Deslauriers [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 15:47 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Why is tomcat (java)

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dale, Matt
I think that's only with JDK 1.3 though -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 16:40 To: Tomcat Users List Subject: Re: Why is tomcat (java) so memory intensive? Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES JAVAC leaking memory

RE: mod_jk2 future?

2004-12-20 Thread Dale, Matt
The recommended ways to go are JK or mod_proxy_ajp. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 December 2004 11:17 To: [EMAIL PROTECTED] Subject: mod_jk2 future? Hi all, I've a jsp-based application (interface to an oracle db) that will go

RE: Myth or Best practice : %@ page session=false %

2004-12-15 Thread Dale, Matt
Hi, If the session has not already been created then this will ensure that this jsp does not create it. If one exists already it won't destroy it but the JSP won't have access to it. I reckon it's good practice to use this, if you don't need a session, don't create it. Ta Matt -Original

RE: log4j and tomcat 5.5

2004-12-13 Thread Dale, Matt
- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Sunday, December 12, 2004 5:22 PM To: Tomcat Users List Subject: RE: log4j and tomcat 5.5 Hopefully I explained things better and piqued your curiosity about repostiory selectors in Log4j-1.3 :-) You certainly have mine ;) shamelessPlug

RE: log4j and tomcat 5.5

2004-12-13 Thread Dale, Matt
ignore that, found the binary download. Ta Matt -Original Message- From: Dale, Matt Sent: 13 December 2004 14:37 To: Tomcat Users List Subject: RE: log4j and tomcat 5.5 Hi, Shameless plug accepted, is there somewhere I can download it or do I need to get it from CVS? Ta Matt

RE: 5.0 vs 5.5

2004-12-13 Thread Dale, Matt
Might as well go to 5.5.4 as it is stable and the way forwards. Management of the 2 is very similar. Ta Matt -Original Message- From: Dola Woolfe [mailto:[EMAIL PROTECTED] Sent: 13 December 2004 15:20 To: Tom Cat Subject: 5.0 vs 5.5 So I decided to upgrade my Tomcat (and go with the

RE: OutOfMemory Errors

2004-12-13 Thread Dale, Matt
Perhaps you just arent allocating enough memory for your application and there is no leak. As always i recommend getting a hold of jvmstat from sun and it'll give you some visual clues as to what is going on. -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: 13 December

RE: visualgc and tomcat

2004-12-13 Thread Dale, Matt
The process will be named Bootstrap if that is of any use to you. Normally this is service related as the owner of the service is not the user you are logged in as but that appears not to be so in this case. -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: 14 December

RE: prevent multiple form posts using only servlets

2004-12-12 Thread Dale, Matt
The way I handle this is to use javascript to disable the submit button after it has been clicked. This used in conjuction with the other suggestions should cover all possibilities -Original Message- From: Elihu Smails [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 7:13 PM

RE: log4j and tomcat 5.5

2004-12-12 Thread Dale, Matt
Hopefully I explained things better and piqued your curiosity about repostiory selectors in Log4j-1.3 :-) You certainly have mine ;) -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 12:06 AM To: Tomcat Users List; Marcelo Moreira Subject:

RE: Tomcat Running out of Memory

2004-12-12 Thread Dale, Matt
I've replied to this further down the thread but as an aside there are ways to bump up the max process size to 3G (with kernel shenanigans) but 32 bit java is fixed at 2G. The figure 1850MB doesnt sounds quite right but it's probably related to the default max process size of 2G and the java

RE: Tomcat 5.5 Webapp logging.

2004-12-12 Thread Dale, Matt
, December 09, 2004 6:16 PM To: Tomcat Users List Subject: RE: Tomcat 5.5 Webapp logging. Quoting Dale, Matt [EMAIL PROTECTED]: This sounds like kind of what I want but you've confused me. I basically want the System.out and stdout from a particular webapp to go to a specific log file

RE: Tomcat Running out of Memory

2004-12-12 Thread Dale, Matt
Hi, As an addition to this i'd like to add that if you are not explicitly increasing your permanent generation then I'm not surprised that many JSPs would fill it up. You will probably find that the default Maximum size of the Permanent generation is 64MB and it is that which is filling up

Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
Title: Tomcat 5.5 Webapp logging. Hi, We have a 3rd party application which has a nasty habit of chucking out a load of messages to stdout and stderr. Up until tomcat 5 we used a console Logger with swallowOutput turned on to catch all that output so it didnt end up in catalina.out.

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
, add a line like log4j.logger.rootPackageOf3rdPartyApp = WARN to the sample file at the above URL, and you should be all set. Yoav Shapira http://www.yoavshapira.com   -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 10:14 AM To: Tomcat Users

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
thought that at least the file would be created even if nothing was in it. Any ideas? Ta Matt -Original Message- From: Dale, Matt Sent: 09 December 2004 15:41 To: Tomcat Users List Subject: RE: Tomcat 5.5 Webapp logging. That's the one I tried but never got too far. I'll give it a another

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
://www.yoavshapira.com -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 11:00 AM To: Tomcat Users List Subject: RE: Tomcat 5.5 Webapp logging. Hi, I can't even get it to create the log file and see no log4j related messages in the catalina.out

RE: Tomcat 5.5 Webapp logging.

2004-12-09 Thread Dale, Matt
define loggers and appenders in a way where Tomcat's info can go to a separate log file than the stdout console or stdout log file. Jake Quoting Dale, Matt [EMAIL PROTECTED]: Hi, We have a 3rd party application which has a nasty habit of chucking out a load of messages to stdout and stderr. Up

RE: OutOfMemory! Tomcat meets sudden spikes of used memory sometimes.

2004-12-08 Thread Dale, Matt
The fact that you have the same symptons in tomcat 4 and in 5 points towards your application as being the culprit. Is there any reason why you chose tomcat 5.0.18 instead of one of the many newer releases? I would find another profiler that works with both and try your tests again. Ta Matt

RE: OT (Slightly): Large 64 bit JVMs

2004-12-07 Thread Dale, Matt
You can ignore this, I never put the -d64 switch so it was running in 32 bit mode. Ta Matt -Original Message- From: Dale, Matt Sent: 06 December 2004 20:47 To: Tomcat Users List Subject: RE: OT (Slightly): Large 64 bit JVMs I already know that the application will use that much

OT (Slightly): Large 64 bit JVMs

2004-12-06 Thread Dale, Matt
Title: OT (Slightly): Large 64 bit JVMs Hi, Does anyone have any experience of running large 64 bit JVMs on Solaris. We've got a box with 16GB of RAM and despite increasing the kernel parameter shmmax I can't get a JVM to be any bigger than about 3300MB. Any hints or tips or links

RE: OT (Slightly): Large 64 bit JVMs

2004-12-06 Thread Dale, Matt
it out with a bigger load, or maybe try -Xms4G just for testing, to see what happens ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 1:02 PM To: Tomcat Users List (E-mail) Subject: OT (Slightly

RE: tomcat-user-unsubscribe@jakarta.apache.org

2004-12-05 Thread Dale, Matt
I think you've misunderstood, you need to send an email to that address, not to the list with that address in the title. Ta Matt -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: 05 December 2004 12:15 To: Tomcat User Mailing List Subject: [EMAIL PROTECTED] Any

RE: clustering help

2004-12-03 Thread Dale, Matt
, 2004 5:23 PM To: Tomcat Users List Subject: Re: clustering help the logs are showing that everything is replicating fine. you can't change the browser url when switching to the other server, how are you testing if it works or not? Filip - Original Message - From: Dale, Matt [EMAIL

mod_proxy_ajp

2004-12-02 Thread Dale, Matt
Title: mod_proxy_ajp Hi, Anyone know where i can downloaded it? And anyone know if it works with httpd 2.0.x? Ta Matt Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are

RE: mod_proxy_ajp

2004-12-02 Thread Dale, Matt
Thanks for the info, I think i'll wait until a stable 2.2 before using it in production. Ta Matt -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 14:54 To: Tomcat Users List Subject: Re: mod_proxy_ajp Dale, Matt wrote: Hi, Anyone know where i

RE: List Won't Unsubscribe me

2004-12-02 Thread Dale, Matt
you shouldn't have to put anything in either the body or subject, try emailing the list owner if it's not successful -Original Message- From: Janet Ciavarelli [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 21:07 To: [EMAIL PROTECTED] Subject: List Won't Unsubscribe me Hello, I'm

RE: clustering help

2004-12-02 Thread Dale, Matt
do you have the distributable/ tag in your applications web.xml? -Original Message- From: Nandish Rudra [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 22:08 To: Tomcat Users List (E-mail) Subject: clustering help Hello, I an running tomcat 5.0.28 on redhat 9 and having some

RE: Runtime.exec security issue?

2004-11-29 Thread Dale, Matt
This behaviour makes sense to me as you are trying to display an application but there is not necessarily a windows display associated with Tomcat so it doesnt know where to launch the app to. And by the lack of error message i'd guess that the application is actually getting launched but not

RE: Runtime.exec security issue?

2004-11-29 Thread Dale, Matt
You could be right. I still reckon that launching graphical programs from tomcat is gonna be a bit dicey. -Original Message- From: andy wix [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 10:13 To: [EMAIL PROTECTED] Subject: RE: Runtime.exec security issue? Hi Matt, I have tried

RE: persisted Exception error

2004-11-29 Thread Dale, Matt
At least one of the objects in your session does not implement the Serializable interface, which it would need to do in order for you to persist sessions accross a tomcat reboot. Ta Matt -Original Message- From: Francesco Pellegrini [mailto:[EMAIL PROTECTED] Sent: 29 November 2004

RE: Runtime.exec security issue?

2004-11-29 Thread Dale, Matt
Have you tried the shutdown command without launching cmd? This could also be a permissions thing if you are running as a service. By default the service will run as a non-priviliged user which you'd have to change in order to reboot. -Original Message- From: andy wix [mailto:[EMAIL

RE: What Connector Should I Use?

2004-11-29 Thread Dale, Matt
JK or JK2 is the connector, the protocol is AGP. I would use the JK connector as it works and all advancements in JK2 are going to be back ported -Original Message- From: Thomas Charles Robinson [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 16:00 To: [EMAIL PROTECTED] Subject: What

RE: mod_jk.so for HP-UX 11.11

2004-11-29 Thread Dale, Matt
have you got the Gnu versions of all the tools, ie gcc, make etc? -Original Message- From: Gibson, Danny [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 18:01 To: '[EMAIL PROTECTED]' Subject: mod_jk.so for HP-UX 11.11 Hello All, Can someone put me out of my misery? I have attempted

RE: Tomcat

2004-11-26 Thread Dale, Matt
Once you get the connector working you could disable tomcat on 8080 so it is only accessible through apache. I think you can also you use filters to filter which ip addresses are allowed to connect but you'll need to read up the docs on that. -Original Message- From: Allen Beacon

  1   2   3   4   >