Skip to content

Tag: tomcat

Externalizing Tomcat webapp config from .war file

I am having trouble with configuring a webapp in Tomcat 7. In my WAR file, there is a properties file myApp/WEB-INF/classes/myProps.props, and it contains environment-specific properites. I am trying to override that configuration file on the server, so that the same WAR file will deploy to multiple environme…

handling vps numproc limits

this is my vps package £14.99 uk pounds a month, so not to expensive. Thay are limiting numproc to 96, they didn’t make it obvious that this was a limit when I signed up, but I suppose it is my fault for not asking. I am running Tomcat and if I run out of numproc then Java will crash and

Tomcat 6 log4j – linux – safely remove catalina.out

Adding log4j [1] in tomcat 6.0.x forces tomcat to produce logs in “catalina” file. However, the default catalina.out is still produced and populated with logs. So, questions: Is it safe to delete catalina.out file (while server running)? If yes, could this deletion be added to tomcat startup scrip…

Tomcat is running but 8080 port is not responding

I have installed sun jdk 1.6 x64 and tomcat in a linux x64 machine through ssh, I don’t have root privileges so I installed both in my home dir. I managed to successful run tomcat but if I try to enter mydomain.com:8080 there’s no answer from the server. With this command: I checked the port and i…