Re: Memory Usage

2004-03-15 Thread James Black
. Is there some formula I should be using (based on projected traffic)? The links above, esp the third one, should help you to determine what is a good size. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED

Re: Memory Usage

2004-03-15 Thread James Black
, while the unit test is running. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to deploy a web application under Tomcat 5

2004-03-24 Thread James Black
files in there, then use: jar -cf MyApp.war MyApp -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Tomcat Site slow and stops responding after certain number of threads

2004-04-05 Thread James Black
your apps are, more cpu intensive should use fewer threads, imo. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

re: integrating Tomcat5 with Apache2

2003-11-14 Thread James Black
Hello, I recently upgraded to tomcat5 and now have a problem with trying to do the integration. I used to use (under Tomcat4) in server.xml Listener className=org.apache.ajp.tomcat4.config.ApacheConfig ... / but now I can't find any ApacheConfig. I am trying to get tomcat to create

Re: How to monitor RAM Usage

2003-11-14 Thread James Black
neal cabage wrote: I'm currently having a problem wherein Tomcat crashes about once per week and gives the error Java.error.OutOfMemory but I can't see any diagnostics by which to establish any patterns. I also can't find this information on the Apache site, after having looked for 1/2 hour.

RE: How to monitor RAM Usage

2003-11-14 Thread James Black
Thanks. Out of curiosity, what sort of RAM allocations would you typically do on a production UNIX machine? Obviously I don't want to use up all of my memory, but this and mySQL are my only two production apps. It depends on what your application does. Mine does a lot of graphs, and the

Re: Increase The Heap

2003-11-17 Thread James Black
Scott Purcell wrote: As a baseline, I would like to increase the JVM memory on tomcat 4.06 (running as a service). I am having trouble isolating where this is done. I have searched through the config directory for jmx but found nothing. In catalina.sh do: JAVA_OPT=-mx512m if you want it to be

re: compiling tomcat-5.0.16 from source

2003-12-04 Thread James Black
Hello, I am curious how I compile all the components of tomcat from source code. I am having various problems, the only one that made sense was that I had to upgrade mail.jar. From the $HOME_DIR/jakarta-tomcat-5.0.16/src I should just be able to type 'ant' and have it compile, but it

re: unit testing when application level scoping used

2003-12-22 Thread James Black
Hello, I am trying to write a unit test for an application I didn't write. There are classes in the classes directory I want to test directly. The problem is that the application uses application and session scoping for some of the classes, so they can reference the instance without having

Re: Why JBoss (and Tomcat)?

2003-12-22 Thread James Black
Michael Coughlan wrote: I agree. Sorry to be so thick, everyone. I hope I am not too far off topic with this conversation thread, but I simply don't understand how JBoss differs from the J2EE SDK. There is a specification for J2EE, and then Sun makes an implementation of that specification,

Re: Why JBoss (and Tomcat)?

2003-12-22 Thread James Black
Michael Coughlan wrote: It seems to me that I might want to blow away my Tomcat install and unpack JBoss (with Tomcat). You should look at what you will need, in terms of features, and what you can spend, and then decide. Sun's implementation also uses Tomcat as do at least some of the other

Re: Why JBoss (and Tomcat)?

2003-12-22 Thread James Black
Michael Coughlan wrote: Thanks for the post. Can you please clarify? Are you saying that the J2EE SDK is not production quality while JBoss is? I believe the reference implementation is not meant for production, from Sun, but for $2k or $10k/cpu you can buy one that is.

Re: unit testing when application level scoping used

2003-12-22 Thread James Black
Shapira, Yoav wrote: You can use MockObjects for this type of thing, assuming that you mean the ServletContext and similar scopes. We are using a commercial application that is buggy. I am trying to test it to see if a new version is better or not than the current version, but I can't test

RE: unit testing when application level scoping used

2003-12-24 Thread James Black
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 10:03 AM To: Tomcat Users List Subject: RE: unit testing when application level scoping used Cactus works beautifully with regards to servlet context and general environment setup.

RE: java.lang.OutOfMemoryError

2003-12-27 Thread James Black
You may need to go modify Catalina.bat (I guess that is what it would be on Win2k), add a JAVA_OPT variable, such as JAVA_OPT=-mx512M. I don't remember if it is -mx or -mX though. This will set the highest heap size that the java application can use. You may want to set it to 2 or 3GB

Re: tomcat memory usage

2003-12-30 Thread James Black
Andrei Ivanov wrote: I've created a context for my application and I used the manager to reload the context and now I've configured the context to be reloadable. First, start with using a profiler to ensure that your application isn't leaking memory. Look at

Re: tomcat memory usage

2003-12-30 Thread James Black
Andrei Ivanov wrote: I've searched bugzilla, but there doesn't seem to be any bug filled about something like this. About using a profiler... could you recommend one ? JProfiler I like, mainly because of the cost, but also because it integrates in well with Netbeans. g Look at

Re: Tomcat Tuning Memory leak

2003-12-30 Thread James Black
David Strupl wrote: I have already changed this ;-) Also added the fork attribute to true for jsp compile. It is not caused by the app - after the app starts and first 100 or so users connect the memory jumps up to approx 130 MB. But during the next 24 hours it eats more than 300 megs. From

Re: Classes cannot be found

2003-12-30 Thread James Black
Jeff Greenland wrote: Does anyone know a way around the serialization problem? If there's an easy solution, I would jump on moving all of our classes into a package immediately -- something we've been wanting to do for a few years. Thanks for the help everyone, hopefully someone has a

Re: [OT] connecting a profiler (WAS: Re: Connector debug)

2004-12-07 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 QM wrote: | I've changed the subject, since this your question is effectively a new | train of thought. | | On Tue, Dec 07, 2004 at 11:08:58AM -0800, Sunitha Kumar wrote: | : Is there a way we could attach a debugger to an already running instance | :

Re: prevent multiple form posts using only servlets

2004-12-09 Thread James Black
in the form, and ignore duplicate names. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBuKR98psvJTl

Re: Creator -- Tomcat

2004-06-08 Thread James Black
to put in, and repeat. I have already reported this to Sun a month or so ago. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: URL validation

2004-06-08 Thread James Black
+\@)?(www\.)?\w+(\.\w+)+(\:\d+)? -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED]

RE: Tomcat and JSF

2004-06-08 Thread James Black
You have to add some jar files to your webapp, but JSF will work on Tomcat 5, I haven't tried it on Tomcat 4 in 8 mths. Work like you don't need the money, love like you've never been hurt, and dance like no one is watching. --- Satchel Paige -Original Message- From: snpe

Re: Too many open files on Solaris

2004-06-16 Thread James Black
on the local system, you may not be closing the connection. You can use a program called losf, which is available from www.sunfreeware.com and see what it tells you about which process has the descriptors open. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black

re: auto-generating jk2.properties for tomcat5

2004-06-18 Thread James Black
Hello, I don't remember how I got this to work under tomcat4, but how would I auto-generate the jk2.properties file for tomcat5? Thank you. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED

re: authentication with ldap after doing an ldap search

2004-06-28 Thread James Black
the password that was also entered. Is there anyway to do this in Tomcat? I have the authentication working if the person known their namsid, but few people will as it is used internally. Thank you. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL

RE: authentication with ldap after doing an ldap search

2004-06-28 Thread James Black
in, the application logs in and searches for what in your case would be the namsid using the uid as a parameter. You then need to bind with the namsid that you've looked up and the password to determine authentication. Ta Matt -Original Message- From: James Black [mailto:[EMAIL PROTECTED

Re: MySql driver not available in JSP.

2004-08-23 Thread James Black
directory, perhaps? -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

re: optimizing Tomcat 5 for webservices, that is using encryption

2004-10-14 Thread James Black
When I had rolled out my application, where the client is on about 400 machines, we ran into problems when the useage was too high, but didn't have time to figure out what was going on. One thing I noticed is that one field in the webservice may be encrypted, and decrypting is a slow

re: performance difference between tomcat 5.0 and 5.5?

2004-10-22 Thread James Black
that will be used constantly, and needs to be fast. Thank you. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: How can I count the number of active requests/servlets for Tomcat?

2004-01-15 Thread James Black
Write each request into a table with the session id? Work like you don't need the money, love like you've never been hurt, and dance like no one is watching. --- Satchel Paige - To unsubscribe, e-mail: [EMAIL

re: setting up a virtual domain on tomcat

2004-02-03 Thread James Black
Hello, We have a virtual host on apache: http://virtualhost.abc.edu This actually is on host.abc.edu There is a index.php that is ran automatically when you go to virtualhost.abc.edu I now have a jsp page that I want to replace the php with. People have bookmarked virtualhost.abc.edu I

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread James Black
because of the fact that the collections have changed, in order to support generics. I haven't tried running my JDK1.5 classes under jdk1.4.2 yet, as I am still trying to get all of my unit tests to pass. g -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread James Black
Netbeans or Eclipse to stop complaining about the new features I am using. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Tomcat w Java1.5 beta problem

2004-02-09 Thread James Black
under jdk1.5. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

re: can't find org/apache/tomcat/util/buf/ByteChunk.class

2004-03-02 Thread James Black
Hello, My tomcat server is failing to start up because it can't find this class. What jar file should it be in? Thank you. I am using Tomcat 5.0.19 -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED

Re: can't find org/apache/tomcat/util/buf/ByteChunk.class

2004-03-02 Thread James Black
. Fulton Sheen James Black[EMAIL PROTECTED]

re: my problem of having a bad classpath is fixed

2004-03-02 Thread James Black
I just realized I had tomcat-coyote.jar in /usr/java/jre/lib/ext and that is what I think was causing the problem. I deleted it and it starts up fine now. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED

Re: tomcat on jdk1.5

2004-03-02 Thread James Black
well, for running tomcat under. -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Please help with PermGen OutOfMemory error

2005-06-27 Thread James Black
into my webapps directory. After about 5-8 new versions within a few hours then I get this error and have to restart tomcat. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment

Re: Please help with PermGen OutOfMemory error

2005-06-27 Thread James Black
if there is some memory leak otherwise. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

re: is this issue in the faq still correct wrt Tomcat 5.5.9?

2005-07-08 Thread James Black
redeployment. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

re: how do others deal with classloader not being recycled

2005-07-27 Thread James Black
do, in production, because of this issue? We are going to be doing some testing to see about optimizing the memory allocation, but I am curious how others handle this. Thanx. - -- Love is mutual self-giving that ends in self-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP

re: on adjusting incoming queue

2005-08-29 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - From what I understand there are two queues in Tomcat, and incoming queue and an execution queue. It appears tomcat is rejecting some clients when too many people try to hit my server at one time. During this time the cpu utilization was about

Re: How to PreCompile JSPs

2005-09-29 Thread James Black
-recovery. Fulton Sheen James Black[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDPAIUikQgpVn8xrARAjqMAJ9zT3FPwhgnXPGyG9XvrAmlptzzBQCeNfz5 9s+G7lFVcWAObuJZ5L0YYSw= =AoqJ -END PGP SIGNATURE

Re: Multipart Request

2005-10-08 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dhiren Bhatia wrote: Hi all, I'm having trouble with the HttpServletRequest object if my post contains multipart data. The request object loses all the parameters set from the html form. i.e. request.getParameter(myParam); always returns null.