Re: Tomcat with 8 GB memory

2007-07-28 Thread Ron Wheeler
If you read the article that I cited from Microsoft, you will find a discussion about 32 bit and 64 bit performance that includes a lot of these discussions including why a 64 bit Java Virtual Machine is better than a 32 bit version of Java. A 32 bit OS will limit you to a 2 GB process space

Re: Tomcat with 8 GB memory

2007-07-28 Thread Alexey Solofnenko
The 32 versus 64 bit was discussed on a different branch of this thread. - Alexey. Ron Wheeler wrote: If you read the article that I cited from Microsoft, you will find a discussion about 32 bit and 64 bit performance that includes a lot of these discussions including why a 64 bit Java

Re: Tomcat with 8 GB memory

2007-07-28 Thread Ron Wheeler
Why would you write down something in a serious forum that you just made up with no basis in fact. This is just fantasy that you could not have found anywhere unless it was in a satirical send-up on science and technology. If any of your stuff was even remotely true, then the top scientists

Re: Tomcat with 8 GB memory

2007-07-28 Thread Ron Wheeler
2GB is the limit for 32 bit applications. Ron Joe Nathan wrote: ronatartifact wrote: This is what Microsoft has to say on 64 bit using Websphere. Basically 32bit better for small volume servers that can live with a 2GB memory ceiling. If you have applications that can benefit from

Re: Serving ActiveX from Tomcat ?

2007-07-28 Thread Johnny Kewl
- Original Message - From: Dick Eastin [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Saturday, July 28, 2007 2:10 AM Subject: Serving ActiveX from Tomcat ? Hi - Sorry to be asking a dumb question; but, maybe the answer is simple and fast and will save me even more hours. I'm

Re: Regarding Text field editor in JSP

2007-07-28 Thread Girish Havaldar
Hello Paul thank you, the openWYSIYUG is working fine, in my application i have five textarea, i want to make use of only one editor tool bar, which will formate all textarea. i don't want to bind the editor to all 5 textarea separately, is there any way to accomplish this. Girish S.Havaldar.

Re: Serving ActiveX from Tomcat ?

2007-07-28 Thread Brantley Hobbs
With stuff like this, I've had good success simply using telnet and a manual GET to see what the correct headers are supposed to look like. A sniffer would work just as well. Good luck! Brantley Dick Eastin wrote: Hi - Sorry to be asking a dumb question; but, maybe the answer is simple and

RE: Tomcat with 8 GB memory

2007-07-28 Thread Caldarale, Charles R
From: Ron Wheeler [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat with 8 GB memory 2GB is the limit for 32 bit applications. Minor correction: some versions of 32-bit Windows Server have a boot-time option to use 3 GB for each user process, which allows a slightly bigger JVM heap. (The

RE: Tomcat with 8 GB memory

2007-07-28 Thread Caldarale, Charles R
From: Alexey Solofnenko [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat with 8 GB memory No, each of two 4GB processes will have only a half of the objects under the same load. There's a significant amount of objects created by the container and the webapps that are essentially permanent;

Re: Regarding Text field editor in JSP

2007-07-28 Thread Hassan Schroeder
On 7/28/07, Girish Havaldar [EMAIL PROTECTED] wrote: the openWYSIYUG is working fine, in my application i have five textarea, i want to make use of only one editor tool bar, which will formate all textarea. i don't want to bind the editor to all 5 textarea separately, is there any way to

Re: Tomcat with 8 GB memory

2007-07-28 Thread Alexey Solofnenko
I can only tell that we run performance testing for our platform and found that best performance was achieved by using a separate server per user (reusable pool). However the memory requirements were abysmal, so we are running two processes in parallel by default achieving good performance

Throttling load using semaphore in a servlet?

2007-07-28 Thread Robert Casties
Is it OK to use a semaphore in a servlet? Are there any special problems that arise? My problem is that I have an image processing servlet that uses a lot of CPU depending on certain circumstances. Therefore I want to limit the number of concurrently running servlets running heavy operations

Subdomains/ Virtual Hosts+ Tomcat 5.5/6.0

2007-07-28 Thread Łukasz Łapiński
Hello, I am not really sure where to start. Whether it should be a dns modification or virtual hosts in tomcat? I am doing a web portal that a user after registration would have its own domain, such as: max.foo.com jarek.foo.com at my server foo.com. How to add programmatically, without

Re: Subdomains/ Virtual Hosts+ Tomcat 5.5/6.0

2007-07-28 Thread Lucas Galfaso
.) I think the original question is not for this newsgroup. .) You can use domain identifiers with wildcards, like *.foo.com .) Tomcat load balancing should have no issues with this if the web app does not have an issue with it. On 7/28/07, Łukasz Łapiński [EMAIL PROTECTED] wrote: Hello, I am

get servlet instance

2007-07-28 Thread Skijor
How to I obtain a reference to a servlet from another servlet? For example, I want to call a public method on another servlet because that servlet has cached information I need. Thanks Looking for a

Re: get servlet instance

2007-07-28 Thread Leon Rosenberg
you could save the instance in a static variable, which would be very bad style, but would work. A better style would be to use the application or session scope (depending on the nature of the cached information) for inter-servlet communication. Or a third class which can make the shared

Re: get servlet instance

2007-07-28 Thread David Smith
I strongly recommend you make that cached information available via another means like a request or session attribute. Servlets should ideally be stateless because they can serve any request for that resource with no guarantee any of them will be in the same session or from the same client as

Re: get servlet instance

2007-07-28 Thread Skijor
communication. Or a third class which can make the shared information accessible by both servlets. I opted for this. creating a singleton with synchronized accessors. Boardwalk for $500? In 2007?

Re: kerberos,JAAS, and container managed security

2007-07-28 Thread hanasaki
Take a look at CAS. It has the added value of: - keeps passwords away from your container and its applications - gives SSO ! - integrates well behind apache for a balancer and other mod_* - works with other languages - existing application integration I have used it with success and replaced an

Re: If xerces is in WEB-INF/lib this is used for deployment/web.xml parsing on tomcat6 (bug or feature?)

2007-07-28 Thread Dan D.
I'm wondering if anyone has any input regarding this? I am having a similar problem. We are currently working on upgrading from Tomcat 5 (5.0.27) to Tomcat 6 (6.0.13) to take advantage of the better resource utilization. We are also going from mod_jk2 to mod_jk (1.2.23), as we have had

SSL problem with tomcat

2007-07-28 Thread Marco Polo
I have two services of tomcat each running on a different host. When one service calls the other on the remote host I get the following ERROR message: 28 Jul 2007 21:01:38,338 ERROR [nyu.scps.cms.tags.AuthorizeTag: 285] Could not access URL [https://x.x.x.x:8443/x/hashedAuthorities.htm]:

Resource Injection

2007-07-28 Thread John McPeek
I want to use Resource Injection and I have been looking around, but all I can find is threads about stuff that doesn't work related to JSF. Does Tomcat 6 support Resource Injection? Thanks, John - To start a new topic,