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…
Tag: tomcat
Linux Mandriva: Tomcat can not get MySQL database connection, why?
I installed Tomcat 7 and MySQL database on Linux Mandriva, but the application is deployed in the container can not get a connection. I wrote two simple tests, and when to run them from the client, I get the connection – Part of HibernateUtil – Jdbc test – In these cases, I get a connection …
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…
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 [St…
Installing Tomcat 7 on Linux system with Native Library
How do you install native library for Tomcat 7.0 under Linux system such as CentOS? Answer Installer Native package installation tomcat file: env.sh