-
as seen on Super User
- Search for 'Super User'
I'm facing a problem setting up my tomcat with apr native lib,
I have the following:
Tomcat: 7.0.42
Java: 1.7.0_40-b43
OS: Centos 6.4 (2.6.32-358.18.1.el6.i686)
APR: 1.3.9
Native lib: 1.1.27
OpenSSL: openssl-1.0.0-27.el6_4.2.i686
My server.xml looks like:
...
<Listener className="org.apache…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi,
I am setting up a Debian server to serve Java web applications. I have done quite a bit of research for several weeks now. Tomcat's web site says it is better to use stand alone Tomcat for speed if you are not clustering. However, I have seen many people suggest that using Apache + Tomcat…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi Guys,
I am running Tomcat on a small VPS (256MB/512MB) and I want to explicitly limit the amount of memory Tomcat uses.
I understand that I can configure this somehow by passing in the java maximum heap and initial heap size arguments;
-Xmx256m
-Xms128m
But I can't find where to put this…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a problem about tomcat,
Our application designed on Tomcat 4.1.X and When I restart Tomcat 4.1.X there is no problem.
But I upgrade it to Tomcat 5.0.X. Now ,when I restart Tomcat 5.0.X session is down and application redirect me to login page.
Any idea?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello, is it possible to restart Tomcat6 by executing a JSP?
This because I would like to deploy the changes of an application by doing it remotely using the webserver.
The deploy script is written in bash and it checkouts the latest version from the svn, then package it as a war, then copy it in…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi there guys.
I have this ASP.NET/SQLServer2005 website running on a production server (Win2003, QuadCore, 4GB).
The site runs smoothly normally, but after 2-3 weeks I notice a slow performance on the site (especifically in one particular page). Also I notice that the SQL Server process is using…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Recently I got a VPS server and I'm running Coldfusion, the website was running fine until it got more and more traffic and I started to encounter 'OutOfMemory' exceptions.
I thought simply to rise the memory of the VPS server, but this didn't help.
After doing some Google searches I found a setting…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an old structure class like this: typedef vector<vector<string>> VARTYPE_T; which works as a single variable. This variable can hold from one value over a list to data like a table. Most values are long,double, string or double [3] for coordinates (x,y,z). I just convert them as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm wondering how much memory usage is normal for a ruby process in a rails application? I really need something to benchmark against.
In my dev environment WEBrick a single ruby process uses about 61mb to handle 10 simultaneous requests going non stop. In my prod environment Apache2+Passenger starts…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi. I have pointer str: char * str = new char[10];
I'm using this memory for store data.
How can I allocate more bytes for str and don't lost old data from str?
>>> More