Skip to content
Advertisement

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 environments. I heard there was a way to do this using replacement config

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 script? If yes, could anyone please point out the file and the required

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 it is LISTENING Any

eclipse/tomcat: deploy doesn’t work any more (ClassNotFoundException)

I’m running Eclipse Helios Service Release 1, with Tomcat 7.0.12 in Linux Ubuntu Natty Narwhal. I’ve been happily hot re-deploying my webapp until it stopped working for apparently no reason. The following exception is displayed: In Servers tab I’ve “Tomcat v7.0 Server at localhost [Started,Synchronized] My project appears as a child of Tomcat v7.0 Server In Properties, Java Build Path,

Advertisement