-
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'm currently developing a set of SOAP webservices over Axis2, deployed over a clustered WebLogic 10.3.2 environment.
My webservices use some user settings that I want to be editable without the need for recompiling and regenerating the AAR archive. With this in mind, I chose to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am using a .Jar file containing a .properties file in my CF code, however it seems unable to find the .properties file when run from CF.
My java code is:
String key ="";
String value ="";
try {
File file = new File("src/test.properties");
FileInputStream fileInput…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is it right that the procedure of using log4j looks like this:
1) put a .properties file somewhere in a project folder
2) in an initialization method, that runs only once, invoke
PropertyConfigurator.configure("path_to_file");
3) in every method we need to use logger we define a static logger…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey
This is a bit of a weird request but I am trying to set some jvmargs in the log4j.properties file. At present I use ant to for example set some args....
jvmarg value="-Dmail.smtp.socketFactory.port=465"
... but it would be great to group a few of these logging relevant arguments into the .properties…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I would like to include a default default.properties file in my .jar library. The idea is to allow the user to override my default is he so desires.
I'm having trouble getting the classloader to play nicely with this setup, I've tried to look a at popular jars such as log4j, common-* and…
>>> More