-
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'
This is the log4j.properties that i have in my app
log4j.rootLogger=B C
log4j.logger.A=INFO, A1
log4j.debug=false
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %C - %m%n
log4j.logger…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Here is my current log4j settings file. Are these settings ideal for production use or is there something I should remove/tweak or change? I ask because I was getting all my threads being hung due to log4j blocking. I checked my open file descriptors I was only using 113.
# ***** Set root logger…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm having troubles understanding the relation between additivity, category logging level and appender threshold...
here's the scenario (my log4j.properties file):
log4j.category.GeneralPurpose.classTypes=INFO, webAppLogger
log4j.additivity.GeneralPurpose.classTypes=true
log4j.category.GeneralPurpose=ERROR…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The following is a basic log4j configuration inside Config.groovy using the log4j DSL with Grails 1.2, it works as expected (log all errors to the given file):
log4j = {
appenders {
file name:'file', file:"c:/error.log"
}
error 'grails.app'
root {
error 'file'
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I've got log4j configured on my Java project with the following log4j.properties:
log4j.rootLogger=WARNING, X
log4j.appender.X=org.apache.log4j.ConsoleAppender
log4j.appender.X.layout=org.apache.log4j.PatternLayout
log4j.appender.X.layout.ConversionPattern=%p %m %n
log4j.logger.org.hibernate…
>>> More