RE: Java heap space

2006-10-07 Thread Caldarale, Charles R
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] > Subject: RE: Java heap space > > It's more that I wonder if I should bump the number up to > -Xmx2048m. Too big for 32-bit Windows (or most other 32-bit OS implementations), but is o.k. for 64-bit. > Is there a reason to choose 256m? Not p

Webapp works in reg tomcat, fails in embedded tomcat

2006-10-07 Thread Mark Miller
I am using an embedded version of Tomcat 5.5.20. I have a jar that you can run and it will install the embedded tomcat's directory structure to a specified location. I then use the api to start up tomcat and add my webapp. I can then access the Manager webapp, and thing work alright. When I try

JNDI inside a JAAS LoginModule

2006-10-07 Thread John McPeek
Hi all, I am hitting a database form a LoginModule. I would like to use a datasource. I don't have any problem configuring the datasource and accessing it from an app. I have a global resource ... ... And I add a in the element. All is well in the app. When I

mod_ajp: conflicting ajp connectors on localhost

2006-10-07 Thread hv @ Fashion Content
I seem to have hit a snag with proxying to ajp under httpd 2.2.3 & Tomcat 5.5.20 My configuration include 5 virtual hosts on 2 domains. One directs everything on to Tomcat. One directs a single application on to Tomcat, while the other directs on to a Python server. The odd thing is that the f

Re: Java heap space

2006-10-07 Thread Bruno Georges
Hi Daniel Redhat/JBoss organize on regular basis an event called JBoss ON the Road. One of the item on the agenda is: Performance Tuning: JBoss on linux. I thinks it is a free event. I suggest you have a look at it. Check www.jboss.com events for dates and locations. Best Regards Bruno Georges

Re: Which version of Tomcat 5.5.x is best to use with Vignette 7.2.1

2006-10-07 Thread Mark Thomas
Siphiwe Madi wrote: > Hi, > > I'm working on the preliminary investigation stage of a project and have > been assigned the task of finding the best version of Tomcat: > > - Tomcat 5.5.x > > to use with specifically Vignette Application Portal 7.2.1. > > I need to find the best version of To

Re: how to handle null values when storing db data from jsp forms?

2006-10-07 Thread Len Popp
You can use a variable that is null unless the corresponding parameter isn't empty. Like this: INSERT INTO my_database_table (firstname, middlename, lastname, suffix, email_address) VALUES (?, ?, ?, ?, ?) Note that this works with MySQL, but not some other databas

RE: Java heap space

2006-10-07 Thread Daniel Blumenthal
The problem has only occurred twice, so I can't reliably reproduce it. It's more that I wonder if I should bump the number up to -Xmx2048m. Is there a reason to choose 256m? What is the default? The maximum? > -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent:

Re: Java heap space

2006-10-07 Thread Martin Gainty
Dan What happens when you increase your JVM max memory parameter (say to 256MB) with -Xmx256m in your %java_home%\jre\lib\jvm.cfg restart tomcat? Martin -- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients

RE: Java heap space

2006-10-07 Thread Daniel Blumenthal
The quick answer is no - all of the code is non-reentrant, and there aren't many places for a memory leak to hide from the garbage collector, but saying that there isn't a leak is like saying your code is bug free. The one area that is suspect is the database code - I'm fairly careful, but every o

Re: Tomcat not serving pages

2006-10-07 Thread Edoardo Panfili
mike dorian ha scritto: Hi, Having a bit of a problem on running Tomcat on my Windows XP Home. If I startup Apache server, and type http://localhost it will display the webpage in /htdocs. However, if I startup Tomcat server, and type http://localhost it doesn't display /webapps/Hello.html I

Tomcat not serving pages

2006-10-07 Thread mike dorian
Hi, Having a bit of a problem on running Tomcat on my Windows XP Home. If I startup Apache server, and type http://localhost it will display the webpage in /htdocs. However, if I startup Tomcat server, and type http://localhost it doesn't display /webapps/Hello.html Would someone be kind enou

tomcat5.5.3 with apache2.0.54 on different machines

2006-10-07 Thread Danish
Hi, Im trying to configure apache 2.0.54 on Fedora4 and tomcat 5.5.3 on RHEL3 so that I can access jsp pages on the RHEL3 machine using the apache 2.0.54 web server. Im trying to accomplish using the mod_jk conector. Althoug, I was able to use the mod_jk connector properly on the localhost, but mod

RE: Java heap space

2006-10-07 Thread Caldarale, Charles R
> From: Santosh Puranshettiwar [mailto:[EMAIL PROTECTED] > Subject: Re: Java heap space > > Are you sure there isn't any memory leak? Extremely likely that there's a memory leak in the application. First, read the FAQ: http://tomcat.apache.org/faq/memory.html There are numerous discussions abo

Re: Java heap space

2006-10-07 Thread Santosh Puranshettiwar
Are you sure there isn't any memory leak? I mean it might happen that you are increasing the heap size just to delay the OutOfMemoryErrors. Santosh. Daniel Blumenthal wrote: I've been running a struts app on a plain vanilla install of Tomcat (5.0.28), and recently I've been getting some OutOf